├── README.md ├── assets ├── Tree This Folder 预览.png ├── Tree_This_Folder.exe预览.png ├── md导入xmind效果.png ├── puml导入plantuml.com.png ├── txt导入ChatGPT效果.png ├── 复制且输出多选.png ├── 点我.bat预览.png ├── 输出json效果.png ├── 输出json非常慢请耐心等待.gif ├── 输出markdown效果.png ├── 输出puml效果.png ├── 输出tree✨效果.png ├── 输出tree效果.png ├── 输出txt效果.png └── 输出效果.gif ├── binary ├── PyStand.exe ├── tree2json.py ├── tree2puml.py ├── treemd.py └── treeseedir.py ├── dist └── Tree This Folder.exe ├── runtime ├── LICENSE.txt ├── _asyncio.pyd ├── _bz2.pyd ├── _ctypes.pyd ├── _decimal.pyd ├── _elementtree.pyd ├── _hashlib.pyd ├── _lzma.pyd ├── _msi.pyd ├── _multiprocessing.pyd ├── _overlapped.pyd ├── _queue.pyd ├── _socket.pyd ├── _sqlite3.pyd ├── _ssl.pyd ├── _uuid.pyd ├── _wmi.pyd ├── _zoneinfo.pyd ├── libcrypto-3.dll ├── libffi-8.dll ├── libssl-3.dll ├── pyexpat.pyd ├── python.cat ├── python.exe ├── python3.dll ├── python312._pth ├── python312.dll ├── python312.zip ├── pythonw.exe ├── select.pyd ├── sqlite3.dll ├── unicodedata.pyd ├── vcruntime140.dll ├── vcruntime140_1.dll └── winsound.pyd ├── site-packages ├── PyQt6 │ ├── Qt6 │ │ ├── bin │ │ │ ├── Qt6Core.dll │ │ │ ├── Qt6Gui.dll │ │ │ ├── Qt6Sql.dll │ │ │ ├── Qt6Svg.dll │ │ │ ├── Qt6Widgets.dll │ │ │ ├── Qt6Xml.dll │ │ │ ├── concrt140.dll │ │ │ ├── msvcp140.dll │ │ │ ├── msvcp140_1.dll │ │ │ ├── msvcp140_2.dll │ │ │ ├── vcruntime140.dll │ │ │ └── vcruntime140_1.dll │ │ ├── plugins │ │ │ ├── generic │ │ │ │ └── qtuiotouchplugin.dll │ │ │ ├── iconengines │ │ │ │ └── qsvgicon.dll │ │ │ ├── imageformats │ │ │ │ ├── qgif.dll │ │ │ │ ├── qicns.dll │ │ │ │ ├── qico.dll │ │ │ │ ├── qjpeg.dll │ │ │ │ ├── qpdf.dll │ │ │ │ ├── qsvg.dll │ │ │ │ ├── qtga.dll │ │ │ │ ├── qtiff.dll │ │ │ │ ├── qwbmp.dll │ │ │ │ └── qwebp.dll │ │ │ ├── platforms │ │ │ │ ├── qminimal.dll │ │ │ │ ├── qoffscreen.dll │ │ │ │ └── qwindows.dll │ │ │ ├── sqldrivers │ │ │ │ ├── qsqlite.dll │ │ │ │ ├── qsqlmimer.dll │ │ │ │ ├── qsqlodbc.dll │ │ │ │ └── qsqlpsql.dll │ │ │ └── styles │ │ │ │ └── qwindowsvistastyle.dll │ │ └── translations │ │ │ ├── qt_ca.qm │ │ │ ├── qt_en.qm │ │ │ ├── qt_gl.qm │ │ │ ├── qt_he.qm │ │ │ ├── qt_help_ca.qm │ │ │ ├── qt_help_en.qm │ │ │ ├── qt_help_ja.qm │ │ │ ├── qt_help_uk.qm │ │ │ ├── qt_help_zh_CN.qm │ │ │ ├── qt_help_zh_TW.qm │ │ │ ├── qt_ja.qm │ │ │ ├── qt_uk.qm │ │ │ ├── qt_zh_CN.qm │ │ │ ├── qt_zh_TW.qm │ │ │ ├── qtbase_ca.qm │ │ │ ├── qtbase_en.qm │ │ │ ├── qtbase_ja.qm │ │ │ ├── qtbase_uk.qm │ │ │ ├── qtbase_zh_TW.qm │ │ │ ├── qtconnectivity_ca.qm │ │ │ ├── qtconnectivity_en.qm │ │ │ ├── qtconnectivity_uk.qm │ │ │ ├── qtdeclarative_en.qm │ │ │ ├── qtdeclarative_ja.qm │ │ │ ├── qtdeclarative_uk.qm │ │ │ ├── qtlocation_bg.qm │ │ │ ├── qtlocation_en.qm │ │ │ ├── qtlocation_uk.qm │ │ │ ├── qtmultimedia_ca.qm │ │ │ ├── qtmultimedia_en.qm │ │ │ ├── qtmultimedia_ja.qm │ │ │ ├── qtmultimedia_uk.qm │ │ │ ├── qtmultimedia_zh_CN.qm │ │ │ ├── qtserialport_en.qm │ │ │ ├── qtserialport_ja.qm │ │ │ ├── qtserialport_uk.qm │ │ │ ├── qtwebsockets_en.qm │ │ │ ├── qtwebsockets_ja.qm │ │ │ └── qtwebsockets_uk.qm │ ├── QtCore.pyd │ ├── QtCore.pyi │ ├── QtGui.pyd │ ├── QtGui.pyi │ ├── QtSql.pyd │ ├── QtSql.pyi │ ├── QtSvg.pyd │ ├── QtSvg.pyi │ ├── QtWidgets.pyd │ ├── QtWidgets.pyi │ ├── QtXml.pyd │ ├── QtXml.pyi │ ├── __init__.py │ ├── __pycache__ │ │ └── __init__.cpython-312.pyc │ ├── bindings │ │ ├── QtCore │ │ │ ├── QtCore.toml │ │ │ ├── QtCoremod.sip │ │ │ ├── pyqt-gpl.sip5 │ │ │ ├── qabstractanimation.sip │ │ │ ├── qabstracteventdispatcher.sip │ │ │ ├── qabstractitemmodel.sip │ │ │ ├── qabstractnativeeventfilter.sip │ │ │ ├── qabstractproxymodel.sip │ │ │ ├── qanimationgroup.sip │ │ │ ├── qanystringview.sip │ │ │ ├── qbasictimer.sip │ │ │ ├── qbitarray.sip │ │ │ ├── qbuffer.sip │ │ │ ├── qbytearray.sip │ │ │ ├── qbytearrayalgorithms.sip │ │ │ ├── qbytearraylist.sip │ │ │ ├── qbytearraymatcher.sip │ │ │ ├── qbytearrayview.sip │ │ │ ├── qcalendar.sip │ │ │ ├── qcborcommon.sip │ │ │ ├── qcborstreamreader.sip │ │ │ ├── qcborstreamwriter.sip │ │ │ ├── qchar.sip │ │ │ ├── qcollator.sip │ │ │ ├── qcommandlineoption.sip │ │ │ ├── qcommandlineparser.sip │ │ │ ├── qconcatenatetablesproxymodel.sip │ │ │ ├── qcoreapplication.sip │ │ │ ├── qcoreevent.sip │ │ │ ├── qcryptographichash.sip │ │ │ ├── qdatastream.sip │ │ │ ├── qdatetime.sip │ │ │ ├── qdeadlinetimer.sip │ │ │ ├── qdir.sip │ │ │ ├── qdiriterator.sip │ │ │ ├── qeasingcurve.sip │ │ │ ├── qelapsedtimer.sip │ │ │ ├── qeventloop.sip │ │ │ ├── qfile.sip │ │ │ ├── qfiledevice.sip │ │ │ ├── qfileinfo.sip │ │ │ ├── qfileselector.sip │ │ │ ├── qfilesystemwatcher.sip │ │ │ ├── qflags.sip │ │ │ ├── qglobal.sip │ │ │ ├── qidentityproxymodel.sip │ │ │ ├── qiodevice.sip │ │ │ ├── qiodevicebase.sip │ │ │ ├── qitemselectionmodel.sip │ │ │ ├── qjsonarray.sip │ │ │ ├── qjsondocument.sip │ │ │ ├── qjsonobject.sip │ │ │ ├── qjsonvalue.sip │ │ │ ├── qlibrary.sip │ │ │ ├── qlibraryinfo.sip │ │ │ ├── qline.sip │ │ │ ├── qlocale.sip │ │ │ ├── qlockfile.sip │ │ │ ├── qlogging.sip │ │ │ ├── qloggingcategory.sip │ │ │ ├── qmargins.sip │ │ │ ├── qmessageauthenticationcode.sip │ │ │ ├── qmetaobject.sip │ │ │ ├── qmetatype.sip │ │ │ ├── qmimedata.sip │ │ │ ├── qmimedatabase.sip │ │ │ ├── qmimetype.sip │ │ │ ├── qmutex.sip │ │ │ ├── qmutexlocker.sip │ │ │ ├── qnamespace.sip │ │ │ ├── qnumeric.sip │ │ │ ├── qobject.sip │ │ │ ├── qobjectcleanuphandler.sip │ │ │ ├── qobjectdefs.sip │ │ │ ├── qoperatingsystemversion.sip │ │ │ ├── qparallelanimationgroup.sip │ │ │ ├── qpauseanimation.sip │ │ │ ├── qpermissions.sip │ │ │ ├── qpluginloader.sip │ │ │ ├── qpoint.sip │ │ │ ├── qprocess.sip │ │ │ ├── qpropertyanimation.sip │ │ │ ├── qpycore_qhash.sip │ │ │ ├── qpycore_qlist.sip │ │ │ ├── qpycore_qmap.sip │ │ │ ├── qpycore_qset.sip │ │ │ ├── qpycore_std_pair.sip │ │ │ ├── qpycore_virtual_error_handler.sip │ │ │ ├── qrandom.sip │ │ │ ├── qreadwritelock.sip │ │ │ ├── qrect.sip │ │ │ ├── qregularexpression.sip │ │ │ ├── qresource.sip │ │ │ ├── qrunnable.sip │ │ │ ├── qsavefile.sip │ │ │ ├── qsemaphore.sip │ │ │ ├── qsequentialanimationgroup.sip │ │ │ ├── qsettings.sip │ │ │ ├── qsharedmemory.sip │ │ │ ├── qsignalmapper.sip │ │ │ ├── qsize.sip │ │ │ ├── qsocketnotifier.sip │ │ │ ├── qsortfilterproxymodel.sip │ │ │ ├── qstandardpaths.sip │ │ │ ├── qstorageinfo.sip │ │ │ ├── qstring.sip │ │ │ ├── qstringconverter.sip │ │ │ ├── qstringconverter_base.sip │ │ │ ├── qstringlist.sip │ │ │ ├── qstringlistmodel.sip │ │ │ ├── qstringview.sip │ │ │ ├── qsysinfo.sip │ │ │ ├── qsystemsemaphore.sip │ │ │ ├── qtemporarydir.sip │ │ │ ├── qtemporaryfile.sip │ │ │ ├── qtenvironmentvariables.sip │ │ │ ├── qtextboundaryfinder.sip │ │ │ ├── qtextstream.sip │ │ │ ├── qthread.sip │ │ │ ├── qthreadpool.sip │ │ │ ├── qtimeline.sip │ │ │ ├── qtimer.sip │ │ │ ├── qtimezone.sip │ │ │ ├── qtipccommon.sip │ │ │ ├── qtranslator.sip │ │ │ ├── qtransposeproxymodel.sip │ │ │ ├── qtversion.sip │ │ │ ├── qtypes.sip │ │ │ ├── qurl.sip │ │ │ ├── qurlquery.sip │ │ │ ├── quuid.sip │ │ │ ├── qvariant.sip │ │ │ ├── qvariantanimation.sip │ │ │ ├── qversionnumber.sip │ │ │ ├── qwaitcondition.sip │ │ │ ├── qwineventnotifier.sip │ │ │ └── qxmlstream.sip │ │ ├── QtGui │ │ │ ├── QtGui.toml │ │ │ ├── QtGuimod.sip │ │ │ ├── opengl_types.sip │ │ │ ├── qabstractfileiconprovider.sip │ │ │ ├── qabstracttextdocumentlayout.sip │ │ │ ├── qaction.sip │ │ │ ├── qactiongroup.sip │ │ │ ├── qbackingstore.sip │ │ │ ├── qbitmap.sip │ │ │ ├── qbrush.sip │ │ │ ├── qclipboard.sip │ │ │ ├── qcolor.sip │ │ │ ├── qcolorspace.sip │ │ │ ├── qcolortransform.sip │ │ │ ├── qcursor.sip │ │ │ ├── qdesktopservices.sip │ │ │ ├── qdrag.sip │ │ │ ├── qevent.sip │ │ │ ├── qeventpoint.sip │ │ │ ├── qfilesystemmodel.sip │ │ │ ├── qfont.sip │ │ │ ├── qfontdatabase.sip │ │ │ ├── qfontinfo.sip │ │ │ ├── qfontmetrics.sip │ │ │ ├── qgenericmatrix.sip │ │ │ ├── qglyphrun.sip │ │ │ ├── qguiapplication.sip │ │ │ ├── qicon.sip │ │ │ ├── qiconengine.sip │ │ │ ├── qimage.sip │ │ │ ├── qimageiohandler.sip │ │ │ ├── qimagereader.sip │ │ │ ├── qimagewriter.sip │ │ │ ├── qinputdevice.sip │ │ │ ├── qinputmethod.sip │ │ │ ├── qkeysequence.sip │ │ │ ├── qmatrix4x4.sip │ │ │ ├── qmovie.sip │ │ │ ├── qoffscreensurface.sip │ │ │ ├── qopenglcontext.sip │ │ │ ├── qpagedpaintdevice.sip │ │ │ ├── qpagelayout.sip │ │ │ ├── qpageranges.sip │ │ │ ├── qpagesize.sip │ │ │ ├── qpaintdevice.sip │ │ │ ├── qpaintdevicewindow.sip │ │ │ ├── qpaintengine.sip │ │ │ ├── qpainter.sip │ │ │ ├── qpainterpath.sip │ │ │ ├── qpalette.sip │ │ │ ├── qpdfwriter.sip │ │ │ ├── qpen.sip │ │ │ ├── qpicture.sip │ │ │ ├── qpixelformat.sip │ │ │ ├── qpixmap.sip │ │ │ ├── qpixmapcache.sip │ │ │ ├── qpointingdevice.sip │ │ │ ├── qpolygon.sip │ │ │ ├── qpygui_qlist.sip │ │ │ ├── qquaternion.sip │ │ │ ├── qrasterwindow.sip │ │ │ ├── qrawfont.sip │ │ │ ├── qregion.sip │ │ │ ├── qrgb.sip │ │ │ ├── qrgba64.sip │ │ │ ├── qscreen.sip │ │ │ ├── qsessionmanager.sip │ │ │ ├── qshortcut.sip │ │ │ ├── qstandarditemmodel.sip │ │ │ ├── qstatictext.sip │ │ │ ├── qstylehints.sip │ │ │ ├── qsurface.sip │ │ │ ├── qsurfaceformat.sip │ │ │ ├── qsyntaxhighlighter.sip │ │ │ ├── qtextcursor.sip │ │ │ ├── qtextdocument.sip │ │ │ ├── qtextdocumentfragment.sip │ │ │ ├── qtextdocumentwriter.sip │ │ │ ├── qtextformat.sip │ │ │ ├── qtextlayout.sip │ │ │ ├── qtextlist.sip │ │ │ ├── qtextobject.sip │ │ │ ├── qtextoption.sip │ │ │ ├── qtexttable.sip │ │ │ ├── qtransform.sip │ │ │ ├── qundogroup.sip │ │ │ ├── qundostack.sip │ │ │ ├── qutimimeconverter.sip │ │ │ ├── qvalidator.sip │ │ │ ├── qvectornd.sip │ │ │ ├── qwindow.sip │ │ │ └── qwindowdefs.sip │ │ ├── QtSql │ │ │ ├── QtSql.toml │ │ │ ├── QtSqlmod.sip │ │ │ ├── qsqldatabase.sip │ │ │ ├── qsqldriver.sip │ │ │ ├── qsqlerror.sip │ │ │ ├── qsqlfield.sip │ │ │ ├── qsqlindex.sip │ │ │ ├── qsqlquery.sip │ │ │ ├── qsqlquerymodel.sip │ │ │ ├── qsqlrecord.sip │ │ │ ├── qsqlrelationaldelegate.sip │ │ │ ├── qsqlrelationaltablemodel.sip │ │ │ ├── qsqlresult.sip │ │ │ ├── qsqltablemodel.sip │ │ │ └── qtsqlglobal.sip │ │ ├── QtSvg │ │ │ ├── QtSvg.toml │ │ │ ├── QtSvgmod.sip │ │ │ ├── qsvggenerator.sip │ │ │ └── qsvgrenderer.sip │ │ ├── QtWidgets │ │ │ ├── QtWidgets.toml │ │ │ ├── QtWidgetsmod.sip │ │ │ ├── qabstractbutton.sip │ │ │ ├── qabstractitemdelegate.sip │ │ │ ├── qabstractitemview.sip │ │ │ ├── qabstractscrollarea.sip │ │ │ ├── qabstractslider.sip │ │ │ ├── qabstractspinbox.sip │ │ │ ├── qapplication.sip │ │ │ ├── qboxlayout.sip │ │ │ ├── qbuttongroup.sip │ │ │ ├── qcalendarwidget.sip │ │ │ ├── qcheckbox.sip │ │ │ ├── qcolordialog.sip │ │ │ ├── qcolumnview.sip │ │ │ ├── qcombobox.sip │ │ │ ├── qcommandlinkbutton.sip │ │ │ ├── qcommonstyle.sip │ │ │ ├── qcompleter.sip │ │ │ ├── qdatawidgetmapper.sip │ │ │ ├── qdatetimeedit.sip │ │ │ ├── qdial.sip │ │ │ ├── qdialog.sip │ │ │ ├── qdialogbuttonbox.sip │ │ │ ├── qdockwidget.sip │ │ │ ├── qdrawutil.sip │ │ │ ├── qerrormessage.sip │ │ │ ├── qfiledialog.sip │ │ │ ├── qfileiconprovider.sip │ │ │ ├── qfilesystemmodel.sip │ │ │ ├── qfocusframe.sip │ │ │ ├── qfontcombobox.sip │ │ │ ├── qfontdialog.sip │ │ │ ├── qformlayout.sip │ │ │ ├── qframe.sip │ │ │ ├── qgesture.sip │ │ │ ├── qgesturerecognizer.sip │ │ │ ├── qgraphicsanchorlayout.sip │ │ │ ├── qgraphicseffect.sip │ │ │ ├── qgraphicsgridlayout.sip │ │ │ ├── qgraphicsitem.sip │ │ │ ├── qgraphicslayout.sip │ │ │ ├── qgraphicslayoutitem.sip │ │ │ ├── qgraphicslinearlayout.sip │ │ │ ├── qgraphicsproxywidget.sip │ │ │ ├── qgraphicsscene.sip │ │ │ ├── qgraphicssceneevent.sip │ │ │ ├── qgraphicstransform.sip │ │ │ ├── qgraphicsview.sip │ │ │ ├── qgraphicswidget.sip │ │ │ ├── qgridlayout.sip │ │ │ ├── qgroupbox.sip │ │ │ ├── qheaderview.sip │ │ │ ├── qinputdialog.sip │ │ │ ├── qitemdelegate.sip │ │ │ ├── qitemeditorfactory.sip │ │ │ ├── qkeysequenceedit.sip │ │ │ ├── qlabel.sip │ │ │ ├── qlayout.sip │ │ │ ├── qlayoutitem.sip │ │ │ ├── qlcdnumber.sip │ │ │ ├── qlineedit.sip │ │ │ ├── qlistview.sip │ │ │ ├── qlistwidget.sip │ │ │ ├── qmainwindow.sip │ │ │ ├── qmdiarea.sip │ │ │ ├── qmdisubwindow.sip │ │ │ ├── qmenu.sip │ │ │ ├── qmenubar.sip │ │ │ ├── qmessagebox.sip │ │ │ ├── qplaintextedit.sip │ │ │ ├── qprogressbar.sip │ │ │ ├── qprogressdialog.sip │ │ │ ├── qproxystyle.sip │ │ │ ├── qpushbutton.sip │ │ │ ├── qpywidgets_qlist.sip │ │ │ ├── qradiobutton.sip │ │ │ ├── qrubberband.sip │ │ │ ├── qscrollarea.sip │ │ │ ├── qscrollbar.sip │ │ │ ├── qscroller.sip │ │ │ ├── qscrollerproperties.sip │ │ │ ├── qsizegrip.sip │ │ │ ├── qsizepolicy.sip │ │ │ ├── qslider.sip │ │ │ ├── qspinbox.sip │ │ │ ├── qsplashscreen.sip │ │ │ ├── qsplitter.sip │ │ │ ├── qstackedlayout.sip │ │ │ ├── qstackedwidget.sip │ │ │ ├── qstatusbar.sip │ │ │ ├── qstyle.sip │ │ │ ├── qstyleditemdelegate.sip │ │ │ ├── qstylefactory.sip │ │ │ ├── qstyleoption.sip │ │ │ ├── qstylepainter.sip │ │ │ ├── qsystemtrayicon.sip │ │ │ ├── qtabbar.sip │ │ │ ├── qtableview.sip │ │ │ ├── qtablewidget.sip │ │ │ ├── qtabwidget.sip │ │ │ ├── qtextbrowser.sip │ │ │ ├── qtextedit.sip │ │ │ ├── qtoolbar.sip │ │ │ ├── qtoolbox.sip │ │ │ ├── qtoolbutton.sip │ │ │ ├── qtooltip.sip │ │ │ ├── qtreeview.sip │ │ │ ├── qtreewidget.sip │ │ │ ├── qtreewidgetitemiterator.sip │ │ │ ├── qundoview.sip │ │ │ ├── qwhatsthis.sip │ │ │ ├── qwidget.sip │ │ │ ├── qwidgetaction.sip │ │ │ └── qwizard.sip │ │ └── QtXml │ │ │ ├── QtXml.toml │ │ │ ├── QtXmlmod.sip │ │ │ └── qdom.sip │ ├── py.typed │ ├── sip.cp312-win_amd64.pyd │ └── sip.pyi ├── emoji │ ├── __init__.py │ ├── core.py │ ├── py.typed │ ├── tokenizer.py │ └── unicode_codes │ │ ├── __init__.py │ │ ├── data_dict.py │ │ └── py.typed ├── natsort │ ├── __init__.py │ ├── __main__.py │ ├── compat │ │ ├── __init__.py │ │ ├── fake_fastnumbers.py │ │ ├── fastnumbers.py │ │ └── locale.py │ ├── natsort.py │ ├── ns_enum.py │ ├── py.typed │ ├── unicode_numbers.py │ ├── unicode_numeric_hex.py │ └── utils.py ├── pyperclip │ ├── __init__.py │ └── __main__.py └── seedir │ ├── __init__.py │ ├── __main__.py │ ├── errors.py │ ├── fakedir.py │ ├── folderstructure.py │ ├── printing.py │ ├── realdir.py │ └── words.txt ├── start.exe ├── start.int ├── 复制文件夹结构 ├── add_treejustcopy.bat ├── remove_treejustcopy.bat ├── treejustcopy.bat ├── treejustcopy.ico └── treejustcopy.reg ├── 点我.bat └── 生成文件夹结构 ├── TreeThisFolder.ico ├── add_treegenerate.bat ├── remove_treegenerate.bat ├── tree2json.bat ├── tree2puml.bat ├── treegenerate.reg ├── treemd.bat ├── treeseedir.bat ├── treetree.bat └── treetxt.bat /assets/Tree This Folder 预览.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/Tree This Folder 预览.png -------------------------------------------------------------------------------- /assets/Tree_This_Folder.exe预览.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/Tree_This_Folder.exe预览.png -------------------------------------------------------------------------------- /assets/md导入xmind效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/md导入xmind效果.png -------------------------------------------------------------------------------- /assets/puml导入plantuml.com.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/puml导入plantuml.com.png -------------------------------------------------------------------------------- /assets/txt导入ChatGPT效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/txt导入ChatGPT效果.png -------------------------------------------------------------------------------- /assets/复制且输出多选.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/复制且输出多选.png -------------------------------------------------------------------------------- /assets/点我.bat预览.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/点我.bat预览.png -------------------------------------------------------------------------------- /assets/输出json效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出json效果.png -------------------------------------------------------------------------------- /assets/输出json非常慢请耐心等待.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出json非常慢请耐心等待.gif -------------------------------------------------------------------------------- /assets/输出markdown效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出markdown效果.png -------------------------------------------------------------------------------- /assets/输出puml效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出puml效果.png -------------------------------------------------------------------------------- /assets/输出tree✨效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出tree✨效果.png -------------------------------------------------------------------------------- /assets/输出tree效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出tree效果.png -------------------------------------------------------------------------------- /assets/输出txt效果.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出txt效果.png -------------------------------------------------------------------------------- /assets/输出效果.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/assets/输出效果.gif -------------------------------------------------------------------------------- /binary/PyStand.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/binary/PyStand.exe -------------------------------------------------------------------------------- /binary/treemd.py: -------------------------------------------------------------------------------- 1 | import os 2 | import pyperclip 3 | 4 | def level_to_string(level): 5 | """ 6 | 将层级转换为对应的Markdown标题格式 7 | """ 8 | if level <= 6: 9 | return "#" * level + " " 10 | else: 11 | return (" " * (level - 7)) + "- " 12 | 13 | def analyze_directory(path, level, level_limit, mind_map_markdown): 14 | """ 15 | 分析目录结构并生成Markdown格式的思维导图 16 | """ 17 | dirs = os.listdir(path) 18 | dirs.sort() 19 | for file in dirs: 20 | level_string = level_to_string(level) 21 | sub_path = os.path.join(path, file) 22 | mind_map_markdown.write(level_string + file + "\n") 23 | if os.path.isdir(sub_path) and level <= level_limit: 24 | sub_level = level + 1 25 | analyze_directory(sub_path, sub_level, level_limit, mind_map_markdown) 26 | 27 | # 获取当前文件夹路径和设置探索层级深度 28 | path = os.getcwd() 29 | level_limit = 20 30 | 31 | # 设置初始层级和输出文件名 32 | level = 1 33 | file_name = os.path.split(path)[-1] + '.md' 34 | 35 | # 打开Markdown文件并开始分析目录结构 36 | with open(file_name, 'w', encoding='utf-8') as mind_map_markdown: 37 | analyze_directory(path, level, level_limit, mind_map_markdown) 38 | 39 | print(f"Markdown文件 {file_name} 已生成。") 40 | 41 | def copy_txt_to_clipboard(file_path): 42 | try: 43 | with open(file_path, 'r', encoding='utf-8') as file: 44 | content = file.read() 45 | pyperclip.copy(content) 46 | print("文件内容已复制到剪贴板") 47 | except FileNotFoundError: 48 | print(f"找不到文件:{file_path}") 49 | except Exception as e: 50 | print(f"发生错误:{e}") 51 | 52 | # 用法示例 53 | txt_file_path = file_name 54 | copy_txt_to_clipboard(txt_file_path) -------------------------------------------------------------------------------- /dist/Tree This Folder.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/dist/Tree This Folder.exe -------------------------------------------------------------------------------- /runtime/_asyncio.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_asyncio.pyd -------------------------------------------------------------------------------- /runtime/_bz2.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_bz2.pyd -------------------------------------------------------------------------------- /runtime/_ctypes.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_ctypes.pyd -------------------------------------------------------------------------------- /runtime/_decimal.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_decimal.pyd -------------------------------------------------------------------------------- /runtime/_elementtree.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_elementtree.pyd -------------------------------------------------------------------------------- /runtime/_hashlib.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_hashlib.pyd -------------------------------------------------------------------------------- /runtime/_lzma.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_lzma.pyd -------------------------------------------------------------------------------- /runtime/_msi.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_msi.pyd -------------------------------------------------------------------------------- /runtime/_multiprocessing.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_multiprocessing.pyd -------------------------------------------------------------------------------- /runtime/_overlapped.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_overlapped.pyd -------------------------------------------------------------------------------- /runtime/_queue.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_queue.pyd -------------------------------------------------------------------------------- /runtime/_socket.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_socket.pyd -------------------------------------------------------------------------------- /runtime/_sqlite3.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_sqlite3.pyd -------------------------------------------------------------------------------- /runtime/_ssl.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_ssl.pyd -------------------------------------------------------------------------------- /runtime/_uuid.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_uuid.pyd -------------------------------------------------------------------------------- /runtime/_wmi.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_wmi.pyd -------------------------------------------------------------------------------- /runtime/_zoneinfo.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/_zoneinfo.pyd -------------------------------------------------------------------------------- /runtime/libcrypto-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/libcrypto-3.dll -------------------------------------------------------------------------------- /runtime/libffi-8.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/libffi-8.dll -------------------------------------------------------------------------------- /runtime/libssl-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/libssl-3.dll -------------------------------------------------------------------------------- /runtime/pyexpat.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/pyexpat.pyd -------------------------------------------------------------------------------- /runtime/python.cat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/python.cat -------------------------------------------------------------------------------- /runtime/python.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/python.exe -------------------------------------------------------------------------------- /runtime/python3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/python3.dll -------------------------------------------------------------------------------- /runtime/python312._pth: -------------------------------------------------------------------------------- 1 | python312.zip 2 | . 3 | 4 | # Uncomment to run site.main() automatically 5 | #import site 6 | -------------------------------------------------------------------------------- /runtime/python312.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/python312.dll -------------------------------------------------------------------------------- /runtime/python312.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/python312.zip -------------------------------------------------------------------------------- /runtime/pythonw.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/pythonw.exe -------------------------------------------------------------------------------- /runtime/select.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/select.pyd -------------------------------------------------------------------------------- /runtime/sqlite3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/sqlite3.dll -------------------------------------------------------------------------------- /runtime/unicodedata.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/unicodedata.pyd -------------------------------------------------------------------------------- /runtime/vcruntime140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/vcruntime140.dll -------------------------------------------------------------------------------- /runtime/vcruntime140_1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/vcruntime140_1.dll -------------------------------------------------------------------------------- /runtime/winsound.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/runtime/winsound.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/Qt6Core.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/Qt6Core.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/Qt6Gui.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/Qt6Gui.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/Qt6Sql.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/Qt6Sql.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/Qt6Svg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/Qt6Svg.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/Qt6Widgets.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/Qt6Widgets.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/Qt6Xml.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/Qt6Xml.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/concrt140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/concrt140.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/msvcp140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/msvcp140.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/msvcp140_1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/msvcp140_1.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/msvcp140_2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/msvcp140_2.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/vcruntime140.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/vcruntime140.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/bin/vcruntime140_1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/bin/vcruntime140_1.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/generic/qtuiotouchplugin.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/generic/qtuiotouchplugin.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/iconengines/qsvgicon.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/iconengines/qsvgicon.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qgif.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qgif.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qicns.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qicns.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qico.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qico.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qjpeg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qjpeg.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qpdf.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qpdf.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qsvg.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qsvg.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qtga.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qtga.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qtiff.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qtiff.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qwbmp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qwbmp.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/imageformats/qwebp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/imageformats/qwebp.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/platforms/qminimal.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/platforms/qminimal.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/platforms/qoffscreen.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/platforms/qoffscreen.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/platforms/qwindows.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/platforms/qwindows.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlite.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlite.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlmimer.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlmimer.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlodbc.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlodbc.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlpsql.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/sqldrivers/qsqlpsql.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/plugins/styles/qwindowsvistastyle.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/plugins/styles/qwindowsvistastyle.dll -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_ca.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_ca.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_gl.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_gl.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_he.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_he.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_help_ca.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_help_ca.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_help_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_help_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_help_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_help_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_help_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_help_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_help_zh_CN.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_help_zh_CN.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_help_zh_TW.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_help_zh_TW.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_zh_CN.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_zh_CN.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qt_zh_TW.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qt_zh_TW.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtbase_ca.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtbase_ca.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtbase_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtbase_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtbase_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtbase_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtbase_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtbase_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtbase_zh_TW.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtbase_zh_TW.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtconnectivity_ca.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtconnectivity_ca.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtconnectivity_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtconnectivity_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtconnectivity_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtconnectivity_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtdeclarative_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtdeclarative_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtdeclarative_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtdeclarative_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtdeclarative_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtdeclarative_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtlocation_bg.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtlocation_bg.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtlocation_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtlocation_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtlocation_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtlocation_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtmultimedia_ca.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtmultimedia_ca.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtmultimedia_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtmultimedia_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtmultimedia_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtmultimedia_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtmultimedia_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtmultimedia_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtmultimedia_zh_CN.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtmultimedia_zh_CN.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtserialport_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtserialport_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtserialport_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtserialport_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtserialport_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtserialport_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtwebsockets_en.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtwebsockets_en.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtwebsockets_ja.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtwebsockets_ja.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/Qt6/translations/qtwebsockets_uk.qm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/Qt6/translations/qtwebsockets_uk.qm -------------------------------------------------------------------------------- /site-packages/PyQt6/QtCore.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/QtCore.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/QtGui.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/QtGui.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/QtSql.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/QtSql.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/QtSvg.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/QtSvg.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/QtWidgets.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/QtWidgets.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/QtXml.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/QtXml.pyd -------------------------------------------------------------------------------- /site-packages/PyQt6/__init__.py: -------------------------------------------------------------------------------- 1 | # Copyright (c) 2023 Riverbank Computing Limited 2 | # 3 | # This file is part of PyQt6. 4 | # 5 | # This file may be used under the terms of the GNU General Public License 6 | # version 3.0 as published by the Free Software Foundation and appearing in 7 | # the file LICENSE included in the packaging of this file. Please review the 8 | # following information to ensure the GNU General Public License version 3.0 9 | # requirements will be met: http://www.gnu.org/copyleft/gpl.html. 10 | # 11 | # If you do not wish to use this file under the terms of the GPL version 3.0 12 | # then you may purchase a commercial license. For more information contact 13 | # info@riverbankcomputing.com. 14 | # 15 | # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 16 | # WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 17 | 18 | 19 | # Support PyQt6 sub-packages that have been created by setuptools. 20 | __path__ = __import__('pkgutil').extend_path(__path__, __name__) 21 | 22 | 23 | def find_qt(): 24 | import os, sys 25 | 26 | qtcore_dll = '\\Qt6Core.dll' 27 | 28 | dll_dir = os.path.dirname(sys.executable) 29 | if not os.path.isfile(dll_dir + qtcore_dll): 30 | path = os.environ['PATH'] 31 | 32 | dll_dir = os.path.dirname(__file__) + '\\Qt6\\bin' 33 | if os.path.isfile(dll_dir + qtcore_dll): 34 | path = dll_dir + ';' + path 35 | os.environ['PATH'] = path 36 | else: 37 | for dll_dir in path.split(';'): 38 | if os.path.isfile(dll_dir + qtcore_dll): 39 | break 40 | else: 41 | return 42 | 43 | try: 44 | os.add_dll_directory(dll_dir) 45 | except AttributeError: 46 | pass 47 | 48 | 49 | find_qt() 50 | del find_qt 51 | -------------------------------------------------------------------------------- /site-packages/PyQt6/__pycache__/__init__.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/__pycache__/__init__.cpython-312.pyc -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/QtCore.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated configuration for PyQt6.QtCore. 2 | 3 | sip-version = "6.8.0" 4 | sip-abi-version = "13.6" 5 | module-tags = ["Qt_6_6_0", "Windows"] 6 | module-disabled-features = [] 7 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/pyqt-gpl.sip5: -------------------------------------------------------------------------------- 1 | %License(type="gpl") 2 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qabstractnativeeventfilter.sip: -------------------------------------------------------------------------------- 1 | // qabstractnativeeventfilter.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QAbstractNativeEventFilter 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QAbstractNativeEventFilter(); 31 | virtual ~QAbstractNativeEventFilter(); 32 | virtual bool nativeEventFilter(const QByteArray &eventType, void *message, qintptr *result /Out/) = 0; 33 | 34 | private: 35 | QAbstractNativeEventFilter(const QAbstractNativeEventFilter &); 36 | }; 37 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qanimationgroup.sip: -------------------------------------------------------------------------------- 1 | // qanimationgroup.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QAnimationGroup : QAbstractAnimation 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QAnimationGroup(QObject *parent /TransferThis/ = 0); 31 | virtual ~QAnimationGroup(); 32 | QAbstractAnimation *animationAt(int index) const; 33 | int animationCount() const; 34 | int indexOfAnimation(QAbstractAnimation *animation) const; 35 | void addAnimation(QAbstractAnimation *animation /Transfer/); 36 | void insertAnimation(int index, QAbstractAnimation *animation /Transfer/); 37 | void removeAnimation(QAbstractAnimation *animation /TransferBack/); 38 | QAbstractAnimation *takeAnimation(int index) /TransferBack/; 39 | void clear(); 40 | 41 | protected: 42 | virtual bool event(QEvent *event); 43 | }; 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qbasictimer.sip: -------------------------------------------------------------------------------- 1 | // qbasictimer.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QBasicTimer 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QBasicTimer(); 31 | ~QBasicTimer(); 32 | bool isActive() const; 33 | int timerId() const; 34 | void start(int msec, Qt::TimerType timerType, QObject *obj); 35 | void start(int msec, QObject *obj); 36 | void stop(); 37 | void swap(QBasicTimer &other /Constrained/); 38 | 39 | private: 40 | QBasicTimer(const QBasicTimer &); 41 | }; 42 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qbytearrayalgorithms.sip: -------------------------------------------------------------------------------- 1 | // qbytearrayalgorithms.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %If (Qt_6_2_0 -) 24 | %ModuleCode 25 | #include 26 | %End 27 | %End 28 | 29 | %If (Qt_6_2_0 -) 30 | quint16 qChecksum(QByteArrayView data, Qt::ChecksumType standard = Qt::ChecksumIso3309); 31 | %End 32 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qbytearraymatcher.sip: -------------------------------------------------------------------------------- 1 | // qbytearraymatcher.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QByteArrayMatcher 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | %If (Qt_6_3_0 -) 31 | QByteArrayMatcher(const char *pattern /Encoding="None"/, qsizetype length = -1); 32 | %End 33 | %If (- Qt_6_3_0) 34 | QByteArrayMatcher(const char *pattern /Encoding="None"/, qsizetype length); 35 | %End 36 | %If (Qt_6_3_0 -) 37 | explicit QByteArrayMatcher(QByteArrayView pattern); 38 | %End 39 | %If (- Qt_6_3_0) 40 | %If (Qt_6_4_0 -) 41 | explicit QByteArrayMatcher(const QByteArray &pattern); 42 | %End 43 | %End 44 | QByteArrayMatcher(); 45 | QByteArrayMatcher(const QByteArrayMatcher &other); 46 | ~QByteArrayMatcher(); 47 | void setPattern(const QByteArray &pattern); 48 | %If (Qt_6_3_0 -) 49 | qsizetype indexIn(QByteArrayView data, qsizetype from = 0) const; 50 | %End 51 | %If (- Qt_6_3_0) 52 | qsizetype indexIn(const QByteArray &ba, qsizetype from = 0) const; 53 | %End 54 | qsizetype indexIn(const char *str /Encoding="None"/, qsizetype len, qsizetype from = 0) const; 55 | QByteArray pattern() const; 56 | }; 57 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qchar.sip: -------------------------------------------------------------------------------- 1 | // This is the SIP interface definition for the QChar mapped types. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | %MappedType QChar /TypeHint="str",TypeHintValue="''"/ 22 | { 23 | %TypeHeaderCode 24 | #include 25 | %End 26 | 27 | %ConvertToTypeCode 28 | if (sipIsErr == NULL) 29 | return PyUnicode_Check(sipPy); 30 | 31 | // TODO: review replacing with something more efficient. 32 | QString qs = qpycore_PyObject_AsQString(sipPy); 33 | 34 | if (qs.size() != 1) 35 | { 36 | PyErr_SetString(PyExc_ValueError, "string of length 1 expected"); 37 | *sipIsErr = 1; 38 | return 0; 39 | } 40 | 41 | *sipCppPtr = new QChar(qs.at(0)); 42 | 43 | return sipGetState(sipTransferObj); 44 | %End 45 | 46 | %ConvertFromTypeCode 47 | // TODO: replace with... 48 | // return PyUnicode_FromKindAndData(PyUnicode_2BYTE_KIND, sipCpp, 1); 49 | return qpycore_PyObject_FromQString(QString(*sipCpp)); 50 | %End 51 | }; 52 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qelapsedtimer.sip: -------------------------------------------------------------------------------- 1 | // qelapsedtimer.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QElapsedTimer 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QElapsedTimer(); 31 | 32 | enum ClockType 33 | { 34 | SystemTime, 35 | MonotonicClock, 36 | TickCounter, 37 | MachAbsoluteTime, 38 | PerformanceCounter, 39 | }; 40 | 41 | static QElapsedTimer::ClockType clockType(); 42 | static bool isMonotonic(); 43 | void start(); 44 | qint64 restart(); 45 | void invalidate(); 46 | bool isValid() const; 47 | qint64 elapsed() const; 48 | bool hasExpired(qint64 timeout) const; 49 | qint64 msecsSinceReference() const; 50 | qint64 msecsTo(const QElapsedTimer &other) const; 51 | qint64 secsTo(const QElapsedTimer &other) const; 52 | qint64 nsecsElapsed() const; 53 | }; 54 | 55 | bool operator<(const QElapsedTimer &v1, const QElapsedTimer &v2); 56 | bool operator==(const QElapsedTimer &lhs, const QElapsedTimer &rhs); 57 | bool operator!=(const QElapsedTimer &lhs, const QElapsedTimer &rhs); 58 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qfileselector.sip: -------------------------------------------------------------------------------- 1 | // qfileselector.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QFileSelector : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QFileSelector(QObject *parent /TransferThis/ = 0); 31 | virtual ~QFileSelector(); 32 | QString select(const QString &filePath) const; 33 | QUrl select(const QUrl &filePath) const; 34 | QStringList extraSelectors() const; 35 | void setExtraSelectors(const QStringList &list); 36 | QStringList allSelectors() const; 37 | }; 38 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qfilesystemwatcher.sip: -------------------------------------------------------------------------------- 1 | // qfilesystemwatcher.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QFileSystemWatcher : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QFileSystemWatcher(QObject *parent /TransferThis/ = 0); 31 | QFileSystemWatcher(const QStringList &paths, QObject *parent /TransferThis/ = 0); 32 | virtual ~QFileSystemWatcher(); 33 | bool addPath(const QString &file); 34 | QStringList addPaths(const QStringList &files); 35 | QStringList directories() const; 36 | QStringList files() const; 37 | bool removePath(const QString &file); 38 | QStringList removePaths(const QStringList &files); 39 | 40 | signals: 41 | void directoryChanged(const QString &path); 42 | void fileChanged(const QString &path); 43 | }; 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qflags.sip: -------------------------------------------------------------------------------- 1 | // This is the SIP interface definition for the QFlags based mapped types. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | template 22 | %MappedType QFlags /PyQtFlags=1, TypeHint="ENUM"/ 23 | { 24 | %TypeHeaderCode 25 | #include 26 | %End 27 | 28 | %ConvertToTypeCode 29 | bool is_enm = true; 30 | unsigned enm = (unsigned)sipConvertToEnum(sipPy, sipType_ENUM); 31 | 32 | if (PyErr_Occurred()) 33 | { 34 | PyErr_Clear(); 35 | is_enm = false; 36 | } 37 | 38 | if (sipIsErr == NULL) 39 | return is_enm; 40 | 41 | *sipCppPtr = new QFlags(static_cast(enm)); 42 | 43 | return sipGetState(sipTransferObj); 44 | %End 45 | 46 | %ConvertFromTypeCode 47 | return sipConvertFromEnum(sipCpp->operator::QFlags::Int(), sipType_ENUM); 48 | %End 49 | }; 50 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qiodevicebase.sip: -------------------------------------------------------------------------------- 1 | // qiodevicebase.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QIODeviceBase 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum OpenModeFlag /BaseType=Flag/ 31 | { 32 | NotOpen, 33 | ReadOnly, 34 | WriteOnly, 35 | ReadWrite, 36 | Append, 37 | Truncate, 38 | Text, 39 | Unbuffered, 40 | NewOnly, 41 | ExistingOnly, 42 | }; 43 | 44 | typedef QFlags OpenMode; 45 | 46 | protected: 47 | %If (Qt_6_3_0 -) 48 | ~QIODeviceBase(); 49 | %End 50 | }; 51 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qlibraryinfo.sip: -------------------------------------------------------------------------------- 1 | // qlibraryinfo.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QLibraryInfo 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | static bool isDebugBuild(); 31 | %If (Qt_6_5_0 -) 32 | static bool isSharedBuild(); 33 | %End 34 | static QString path(QLibraryInfo::LibraryPath p) /ReleaseGIL/; 35 | static QVersionNumber version(); 36 | 37 | private: 38 | QLibraryInfo(); 39 | 40 | public: 41 | enum LibraryPath 42 | { 43 | PrefixPath, 44 | DocumentationPath, 45 | HeadersPath, 46 | LibrariesPath, 47 | LibraryExecutablesPath, 48 | BinariesPath, 49 | PluginsPath, 50 | Qml2ImportsPath, 51 | ArchDataPath, 52 | DataPath, 53 | TranslationsPath, 54 | ExamplesPath, 55 | TestsPath, 56 | SettingsPath, 57 | %If (Qt_6_2_0 -) 58 | QmlImportsPath, 59 | %End 60 | }; 61 | }; 62 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qlockfile.sip: -------------------------------------------------------------------------------- 1 | // qlockfile.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QLockFile 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QLockFile(const QString &fileName); 31 | ~QLockFile(); 32 | bool lock() /ReleaseGIL/; 33 | bool tryLock(int timeout = 0) /ReleaseGIL/; 34 | void unlock() /ReleaseGIL/; 35 | void setStaleLockTime(int); 36 | int staleLockTime() const; 37 | bool isLocked() const /ReleaseGIL/; 38 | bool getLockInfo(qint64 *pid /Out/, QString *hostname /Out/, QString *appname /Out/) const; 39 | bool removeStaleLockFile() /ReleaseGIL/; 40 | 41 | enum LockError 42 | { 43 | NoError, 44 | LockFailedError, 45 | PermissionError, 46 | UnknownError, 47 | }; 48 | 49 | QLockFile::LockError error() const; 50 | QString fileName() const; 51 | 52 | private: 53 | QLockFile(const QLockFile &); 54 | }; 55 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qloggingcategory.sip: -------------------------------------------------------------------------------- 1 | // qloggingcategory.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QLoggingCategory 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QLoggingCategory(const char *category, QtMsgType severityLevel = QtDebugMsg); 31 | ~QLoggingCategory(); 32 | bool isEnabled(QtMsgType type) const; 33 | void setEnabled(QtMsgType type, bool enable); 34 | bool isDebugEnabled() const; 35 | bool isInfoEnabled() const; 36 | bool isWarningEnabled() const; 37 | bool isCriticalEnabled() const; 38 | const char *categoryName() const; 39 | QLoggingCategory &operator()(); 40 | static QLoggingCategory *defaultCategory(); 41 | static void setFilterRules(const QString &rules); 42 | 43 | private: 44 | QLoggingCategory(const QLoggingCategory &); 45 | }; 46 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qmimedata.sip: -------------------------------------------------------------------------------- 1 | // qmimedata.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QMimeData : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QMimeData(); 31 | virtual ~QMimeData(); 32 | QList urls() const; 33 | void setUrls(const QList &urls); 34 | bool hasUrls() const; 35 | QString text() const; 36 | void setText(const QString &text); 37 | bool hasText() const; 38 | QString html() const; 39 | void setHtml(const QString &html); 40 | bool hasHtml() const; 41 | QVariant imageData() const; 42 | void setImageData(const QVariant &image); 43 | bool hasImage() const; 44 | QVariant colorData() const; 45 | void setColorData(const QVariant &color); 46 | bool hasColor() const; 47 | QByteArray data(const QString &mimetype) const; 48 | void setData(const QString &mimetype, const QByteArray &data); 49 | virtual bool hasFormat(const QString &mimetype) const; 50 | virtual QStringList formats() const; 51 | void clear(); 52 | void removeFormat(const QString &mimetype); 53 | 54 | protected: 55 | virtual QVariant retrieveData(const QString &mimetype, QMetaType preferredType) const; 56 | }; 57 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qmimetype.sip: -------------------------------------------------------------------------------- 1 | // qmimetype.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QMimeType 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QMimeType(); 31 | QMimeType(const QMimeType &other); 32 | ~QMimeType(); 33 | void swap(QMimeType &other /Constrained/); 34 | bool operator==(const QMimeType &other) const; 35 | bool operator!=(const QMimeType &other) const; 36 | bool isValid() const; 37 | bool isDefault() const; 38 | QString name() const; 39 | QString comment() const; 40 | QString genericIconName() const; 41 | QString iconName() const; 42 | QStringList globPatterns() const; 43 | QStringList parentMimeTypes() const; 44 | QStringList allAncestors() const; 45 | QStringList aliases() const; 46 | QStringList suffixes() const; 47 | QString preferredSuffix() const; 48 | bool inherits(const QString &mimeTypeName) const; 49 | QString filterString() const; 50 | Py_hash_t __hash__() const; 51 | %MethodCode 52 | sipRes = qHash(*sipCpp); 53 | %End 54 | }; 55 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qmutex.sip: -------------------------------------------------------------------------------- 1 | // qmutex.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QMutex 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QMutex(); 31 | ~QMutex(); 32 | // Methods from QBasicMutex. 33 | void lock() /ReleaseGIL/; 34 | bool tryLock() /ReleaseGIL/; 35 | void unlock() /ReleaseGIL/; 36 | %If (Qt_6_6_0 -) 37 | bool tryLock(QDeadlineTimer timeout) /ReleaseGIL/; 38 | %End 39 | bool tryLock(int timeout) /ReleaseGIL/; 40 | 41 | private: 42 | QMutex(const QMutex &); 43 | }; 44 | 45 | class QRecursiveMutex 46 | { 47 | %TypeHeaderCode 48 | #include 49 | %End 50 | 51 | public: 52 | QRecursiveMutex(); 53 | ~QRecursiveMutex(); 54 | void lock() /ReleaseGIL/; 55 | %If (Qt_6_6_0 -) 56 | bool tryLock(QDeadlineTimer) /ReleaseGIL/ [bool (QDeadlineTimer timer = {})]; 57 | %End 58 | bool tryLock(int timeout = 0) /ReleaseGIL/; 59 | void unlock() /ReleaseGIL/; 60 | 61 | private: 62 | QRecursiveMutex(const QRecursiveMutex &); 63 | }; 64 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qnumeric.sip: -------------------------------------------------------------------------------- 1 | // qnumeric.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %ModuleCode 24 | #include 25 | %End 26 | 27 | bool qIsInf(double d); 28 | bool qIsFinite(double d); 29 | bool qIsNaN(double d); 30 | double qInf(); 31 | double qSNaN(); 32 | double qQNaN(); 33 | quint64 qFloatDistance(double a, double b); 34 | %If (Qt_6_5_0 -) 35 | double qAbs(const double &t); 36 | %End 37 | %If (Qt_6_5_0 -) 38 | int qRound(double d); 39 | %End 40 | %If (Qt_6_5_0 -) 41 | qint64 qRound64(double d); 42 | %End 43 | %If (Qt_6_5_0 -) 44 | bool qFuzzyCompare(double p1, double p2); 45 | %End 46 | %If (Qt_6_5_0 -) 47 | bool qFuzzyIsNull(double d); 48 | %End 49 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qobjectcleanuphandler.sip: -------------------------------------------------------------------------------- 1 | // qobjectcleanuphandler.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QObjectCleanupHandler : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QObjectCleanupHandler(); 31 | virtual ~QObjectCleanupHandler(); 32 | QObject *add(QObject *object); 33 | void remove(QObject *object); 34 | bool isEmpty() const; 35 | void clear(); 36 | }; 37 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qparallelanimationgroup.sip: -------------------------------------------------------------------------------- 1 | // qparallelanimationgroup.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QParallelAnimationGroup : QAnimationGroup 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QParallelAnimationGroup(QObject *parent /TransferThis/ = 0); 31 | virtual ~QParallelAnimationGroup(); 32 | virtual int duration() const; 33 | 34 | protected: 35 | virtual bool event(QEvent *event); 36 | virtual void updateCurrentTime(int currentTime); 37 | virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); 38 | virtual void updateDirection(QAbstractAnimation::Direction direction); 39 | }; 40 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qpauseanimation.sip: -------------------------------------------------------------------------------- 1 | // qpauseanimation.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QPauseAnimation : QAbstractAnimation 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QPauseAnimation(QObject *parent /TransferThis/ = 0); 31 | QPauseAnimation(int msecs, QObject *parent /TransferThis/ = 0); 32 | virtual ~QPauseAnimation(); 33 | virtual int duration() const; 34 | void setDuration(int msecs); 35 | 36 | protected: 37 | virtual bool event(QEvent *e); 38 | virtual void updateCurrentTime(int); 39 | }; 40 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qpluginloader.sip: -------------------------------------------------------------------------------- 1 | // qpluginloader.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QPluginLoader : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QPluginLoader(QObject *parent /TransferThis/ = 0); 31 | QPluginLoader(const QString &fileName, QObject *parent /TransferThis/ = 0); 32 | virtual ~QPluginLoader(); 33 | QObject *instance(); 34 | static QObjectList staticInstances(); 35 | bool load(); 36 | bool unload(); 37 | bool isLoaded() const; 38 | void setFileName(const QString &fileName); 39 | QString fileName() const; 40 | QString errorString() const; 41 | void setLoadHints(QLibrary::LoadHints loadHints); 42 | QLibrary::LoadHints loadHints() const; 43 | }; 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qpropertyanimation.sip: -------------------------------------------------------------------------------- 1 | // qpropertyanimation.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QPropertyAnimation : QVariantAnimation 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QPropertyAnimation(QObject *parent /TransferThis/ = 0); 31 | QPropertyAnimation(QObject *target /KeepReference=0/, const QByteArray &propertyName, QObject *parent /TransferThis/ = 0); 32 | virtual ~QPropertyAnimation(); 33 | QObject *targetObject() const; 34 | void setTargetObject(QObject *target /KeepReference=0/); 35 | QByteArray propertyName() const; 36 | void setPropertyName(const QByteArray &propertyName); 37 | 38 | protected: 39 | virtual bool event(QEvent *event); 40 | virtual void updateCurrentValue(const QVariant &value); 41 | virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); 42 | }; 43 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qpycore_virtual_error_handler.sip: -------------------------------------------------------------------------------- 1 | // This is the implementation of the PyQt-specific virtual error handler. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | %VirtualErrorHandler PyQt6 22 | pyqt6_err_print(); 23 | %End 24 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qrandom.sip: -------------------------------------------------------------------------------- 1 | // qrandom.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QRandomGenerator 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QRandomGenerator(quint32 seed = 1); 31 | QRandomGenerator(const QRandomGenerator &other); 32 | quint32 generate(); 33 | quint64 generate64(); 34 | double generateDouble(); 35 | double bounded(double highest /Constrained/); 36 | qint64 bounded(qint64 lowest, qint64 highest); 37 | qint64 bounded(qint64 highest); 38 | typedef quint32 result_type; 39 | QRandomGenerator::result_type operator()(); 40 | void seed(quint32 seed = 1); 41 | void discard(unsigned long long z); 42 | static QRandomGenerator::result_type min(); 43 | static QRandomGenerator::result_type max(); 44 | static QRandomGenerator *system(); 45 | static QRandomGenerator *global(); 46 | static QRandomGenerator securelySeeded(); 47 | }; 48 | 49 | bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2); 50 | bool operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2); 51 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qrunnable.sip: -------------------------------------------------------------------------------- 1 | // qrunnable.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QRunnable /Supertype=PyQt6.sip.wrapper/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QRunnable(); 31 | virtual ~QRunnable(); 32 | virtual void run() = 0 /NewThread/; 33 | bool autoDelete() const; 34 | void setAutoDelete(bool _autoDelete); 35 | static QRunnable *create(SIP_PYCALLABLE functionToRun /KeepReference,TypeHint="Callable[[], None]"/) /Factory/; 36 | %MethodCode 37 | sipRes = QRunnable::create([a0]() { 38 | SIP_BLOCK_THREADS 39 | 40 | PyObject *res; 41 | 42 | res = PyObject_CallObject(a0, NULL); 43 | 44 | if (res) 45 | Py_DECREF(res); 46 | else 47 | pyqt6_err_print(); 48 | 49 | SIP_UNBLOCK_THREADS 50 | }); 51 | %End 52 | 53 | private: 54 | QRunnable(const QRunnable &); 55 | }; 56 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qsemaphore.sip: -------------------------------------------------------------------------------- 1 | // qsemaphore.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSemaphore 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QSemaphore(int n = 0); 31 | ~QSemaphore(); 32 | void acquire(int n = 1) /ReleaseGIL/; 33 | bool tryAcquire(int n = 1); 34 | %If (Qt_6_6_0 -) 35 | bool tryAcquire(int n, QDeadlineTimer timeout) /ReleaseGIL/; 36 | %End 37 | bool tryAcquire(int n, int timeout) /ReleaseGIL/; 38 | void release(int n = 1); 39 | int available() const; 40 | 41 | private: 42 | QSemaphore(const QSemaphore &); 43 | }; 44 | 45 | class QSemaphoreReleaser /NoDefaultCtors/ 46 | { 47 | %TypeHeaderCode 48 | #include 49 | %End 50 | 51 | public: 52 | QSemaphoreReleaser(); 53 | QSemaphoreReleaser(QSemaphore *sem, int n = 1); 54 | ~QSemaphoreReleaser(); 55 | void swap(QSemaphoreReleaser &other); 56 | QSemaphore *semaphore() const; 57 | QSemaphore *cancel(); 58 | }; 59 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qsequentialanimationgroup.sip: -------------------------------------------------------------------------------- 1 | // qsequentialanimationgroup.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSequentialAnimationGroup : QAnimationGroup 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QSequentialAnimationGroup(QObject *parent /TransferThis/ = 0); 31 | virtual ~QSequentialAnimationGroup(); 32 | QPauseAnimation *addPause(int msecs); 33 | QPauseAnimation *insertPause(int index, int msecs); 34 | QAbstractAnimation *currentAnimation() const; 35 | virtual int duration() const; 36 | 37 | signals: 38 | void currentAnimationChanged(QAbstractAnimation *current); 39 | 40 | protected: 41 | virtual bool event(QEvent *event); 42 | virtual void updateCurrentTime(int); 43 | virtual void updateState(QAbstractAnimation::State newState, QAbstractAnimation::State oldState); 44 | virtual void updateDirection(QAbstractAnimation::Direction direction); 45 | }; 46 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qsignalmapper.sip: -------------------------------------------------------------------------------- 1 | // qsignalmapper.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSignalMapper : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QSignalMapper(QObject *parent /TransferThis/ = 0); 31 | virtual ~QSignalMapper(); 32 | void setMapping(QObject *sender, int id); 33 | void setMapping(QObject *sender, const QString &text); 34 | void setMapping(QObject *sender, QObject *object); 35 | void removeMappings(QObject *sender); 36 | QObject *mapping(int id) const; 37 | QObject *mapping(const QString &text) const; 38 | QObject *mapping(QObject *object) const; 39 | 40 | signals: 41 | void mappedInt(int); 42 | void mappedString(const QString &); 43 | void mappedObject(QObject *); 44 | 45 | public slots: 46 | void map(); 47 | void map(QObject *sender); 48 | }; 49 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qsocketnotifier.sip: -------------------------------------------------------------------------------- 1 | // qsocketnotifier.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSocketNotifier : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum Type 31 | { 32 | Read, 33 | Write, 34 | Exception, 35 | }; 36 | 37 | %If (Qt_6_1_0 -) 38 | QSocketNotifier(QSocketNotifier::Type, QObject *parent /TransferThis/ = 0); 39 | %End 40 | QSocketNotifier(qintptr socket, QSocketNotifier::Type, QObject *parent /TransferThis/ = 0); 41 | virtual ~QSocketNotifier(); 42 | qintptr socket() const; 43 | QSocketNotifier::Type type() const; 44 | bool isEnabled() const; 45 | void setEnabled(bool); 46 | %If (Qt_6_1_0 -) 47 | void setSocket(qintptr socket); 48 | %End 49 | %If (Qt_6_1_0 -) 50 | bool isValid() const; 51 | %End 52 | 53 | signals: 54 | void activated(int socket); 55 | 56 | protected: 57 | virtual bool event(QEvent *); 58 | }; 59 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qstring.sip: -------------------------------------------------------------------------------- 1 | // This is the SIP interface definition for the QString mapped type. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | %MappedType QString /AllowNone, TypeHintIn="Optional[str]", TypeHintOut="str", TypeHintValue="''"/ 22 | { 23 | %TypeHeaderCode 24 | #include 25 | %End 26 | 27 | %ConvertToTypeCode 28 | if (sipIsErr == NULL) 29 | return (sipPy == Py_None || PyUnicode_Check(sipPy)); 30 | 31 | if (sipPy == Py_None) 32 | { 33 | // None is the only way to create a null (as opposed to empty) QString. 34 | *sipCppPtr = new QString(); 35 | 36 | return sipGetState(sipTransferObj); 37 | } 38 | 39 | *sipCppPtr = new QString(qpycore_PyObject_AsQString(sipPy)); 40 | 41 | return sipGetState(sipTransferObj); 42 | %End 43 | 44 | %ConvertFromTypeCode 45 | return qpycore_PyObject_FromQString(*sipCpp); 46 | %End 47 | }; 48 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qstringview.sip: -------------------------------------------------------------------------------- 1 | // This is the SIP interface definition for the QStringView mapped type. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | %MappedType QStringView /TypeHint="str",TypeHintValue="''"/ 22 | { 23 | %TypeHeaderCode 24 | #include 25 | %End 26 | 27 | %ConvertToTypeCode 28 | if (sipIsErr == NULL) 29 | return PyUnicode_Check(sipPy); 30 | 31 | // TODO: consider creating the view directly from the Python object if it is 32 | // using UTF-16. 33 | QString *qs = new QString(qpycore_PyObject_AsQString(sipPy)); 34 | *sipCppPtr = new QStringView(*qs); 35 | *sipUserStatePtr = qs; 36 | 37 | return sipGetState(sipTransferObj); 38 | %End 39 | 40 | %ConvertFromTypeCode 41 | return qpycore_PyObject_FromQString(sipCpp->toString()); 42 | %End 43 | 44 | %ReleaseCode 45 | delete sipCpp; 46 | delete reinterpret_cast(sipUserState); 47 | %End 48 | }; 49 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qsysinfo.sip: -------------------------------------------------------------------------------- 1 | // qsysinfo.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSysInfo 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum Sizes 31 | { 32 | WordSize, 33 | }; 34 | 35 | enum Endian 36 | { 37 | BigEndian, 38 | LittleEndian, 39 | ByteOrder, 40 | }; 41 | 42 | static QString buildCpuArchitecture(); 43 | static QString currentCpuArchitecture(); 44 | static QString buildAbi(); 45 | static QString kernelType(); 46 | static QString kernelVersion(); 47 | static QString productType(); 48 | static QString productVersion(); 49 | static QString prettyProductName(); 50 | static QString machineHostName(); 51 | static QByteArray machineUniqueId(); 52 | static QByteArray bootUniqueId(); 53 | }; 54 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qtemporarydir.sip: -------------------------------------------------------------------------------- 1 | // qtemporarydir.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QTemporaryDir 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QTemporaryDir(); 31 | explicit QTemporaryDir(const QString &templateName); 32 | ~QTemporaryDir(); 33 | bool isValid() const; 34 | bool autoRemove() const; 35 | void setAutoRemove(bool b); 36 | bool remove(); 37 | QString path() const; 38 | QString errorString() const; 39 | QString filePath(const QString &fileName) const; 40 | %If (Qt_6_4_0 -) 41 | void swap(QTemporaryDir &other); 42 | %End 43 | 44 | private: 45 | QTemporaryDir(const QTemporaryDir &); 46 | }; 47 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qtemporaryfile.sip: -------------------------------------------------------------------------------- 1 | // qtemporaryfile.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QTemporaryFile : QFile 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QTemporaryFile(); 31 | explicit QTemporaryFile(const QString &templateName); 32 | explicit QTemporaryFile(QObject *parent /TransferThis/); 33 | QTemporaryFile(const QString &templateName, QObject *parent /TransferThis/); 34 | virtual ~QTemporaryFile(); 35 | bool autoRemove() const; 36 | void setAutoRemove(bool b); 37 | bool open() /ReleaseGIL/; 38 | virtual QString fileName() const; 39 | QString fileTemplate() const; 40 | void setFileTemplate(const QString &name); 41 | static QTemporaryFile *createNativeFile(const QString &fileName) /Factory,ReleaseGIL/; 42 | static QTemporaryFile *createNativeFile(QFile &file) /Factory,ReleaseGIL/; 43 | bool rename(const QString &newName); 44 | 45 | protected: 46 | virtual bool open(QIODeviceBase::OpenMode flags) /ReleaseGIL/; 47 | }; 48 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qtenvironmentvariables.sip: -------------------------------------------------------------------------------- 1 | // qtenvironmentvariables.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %If (Qt_6_5_0 -) 24 | %ModuleCode 25 | #include 26 | %End 27 | %End 28 | 29 | %If (Qt_6_5_0 -) 30 | QString qEnvironmentVariable(const char *varName, const QString &defaultValue); 31 | %End 32 | %If (Qt_6_5_0 -) 33 | QString qEnvironmentVariable(const char *varName); 34 | %End 35 | %If (Qt_6_5_0 -) 36 | bool qEnvironmentVariableIsEmpty(const char *varName); 37 | %End 38 | %If (Qt_6_5_0 -) 39 | bool qEnvironmentVariableIsSet(const char *varName); 40 | %End 41 | %If (Qt_6_5_0 -) 42 | int qEnvironmentVariableIntValue(const char *varName, bool *ok = 0); 43 | %End 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qtranslator.sip: -------------------------------------------------------------------------------- 1 | // qtranslator.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QTranslator : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QTranslator(QObject *parent /TransferThis/ = 0); 31 | virtual ~QTranslator(); 32 | virtual QString translate(const char *context, const char *sourceText, const char *disambiguation = 0, int n = -1) const; 33 | virtual bool isEmpty() const; 34 | bool load(const QString &fileName, const QString &directory = QString(), const QString &searchDelimiters = QString(), const QString &suffix = QString()) /ReleaseGIL/; 35 | bool load(const QLocale &locale, const QString &fileName, const QString &prefix = QString(), const QString &directory = QString(), const QString &suffix = QString()) /ReleaseGIL/; 36 | bool load(const uchar *data /Array/, int len /ArraySize/, const QString &directory = QString()) /PyName=loadFromData,ReleaseGIL/; 37 | QString language() const; 38 | QString filePath() const; 39 | }; 40 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qtversion.sip: -------------------------------------------------------------------------------- 1 | // qtversion.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %If (Qt_6_5_0 -) 24 | %ModuleCode 25 | #include 26 | %End 27 | %End 28 | 29 | %If (Qt_6_5_0 -) 30 | const char *qVersion(); 31 | %End 32 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qwaitcondition.sip: -------------------------------------------------------------------------------- 1 | // qwaitcondition.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtCore Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QWaitCondition 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QWaitCondition(); 31 | ~QWaitCondition(); 32 | bool wait(QMutex *lockedMutex, QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever)) /ReleaseGIL/; 33 | bool wait(QMutex *lockedMutex, unsigned long time) /ReleaseGIL/; 34 | bool wait(QReadWriteLock *lockedReadWriteLock, QDeadlineTimer deadline = QDeadlineTimer(QDeadlineTimer::Forever)) /ReleaseGIL/; 35 | bool wait(QReadWriteLock *lockedReadWriteLock, unsigned long time) /ReleaseGIL/; 36 | void wakeOne(); 37 | void wakeAll(); 38 | 39 | private: 40 | QWaitCondition(const QWaitCondition &); 41 | }; 42 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtCore/qwineventnotifier.sip: -------------------------------------------------------------------------------- 1 | // This is the SIP specification of the QWinEventNotifier class. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | %If (Windows) 22 | 23 | // This hack is for the activated() signal. 24 | typedef Qt::HANDLE HANDLE; 25 | 26 | class QWinEventNotifier: QObject 27 | { 28 | %TypeHeaderCode 29 | #include 30 | %End 31 | 32 | public: 33 | explicit QWinEventNotifier(QObject *parent /TransferThis/ = 0); 34 | explicit QWinEventNotifier(Qt::HANDLE hEvent, QObject *parent /TransferThis/ = 0); 35 | ~QWinEventNotifier(); 36 | 37 | Qt::HANDLE handle() const; 38 | bool isEnabled() const; 39 | void setHandle(Qt::HANDLE hEvent); 40 | 41 | public slots: 42 | void setEnabled(bool enable); 43 | 44 | signals: 45 | void activated(HANDLE hEvent); 46 | 47 | protected: 48 | bool event(QEvent *e); 49 | 50 | private: 51 | QWinEventNotifier(const QWinEventNotifier &); 52 | }; 53 | 54 | %End 55 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/QtGui.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated configuration for PyQt6.QtGui. 2 | 3 | sip-version = "6.8.0" 4 | sip-abi-version = "13.6" 5 | module-tags = ["Qt_6_6_0", "Windows"] 6 | module-disabled-features = ["PyQt_OpenGL_ES2"] 7 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/opengl_types.sip: -------------------------------------------------------------------------------- 1 | // This implements the typedefs for the OpenGL data types. 2 | // 3 | // Copyright (c) 2023 Riverbank Computing Limited 4 | // 5 | // This file is part of PyQt6. 6 | // 7 | // This file may be used under the terms of the GNU General Public License 8 | // version 3.0 as published by the Free Software Foundation and appearing in 9 | // the file LICENSE included in the packaging of this file. Please review the 10 | // following information to ensure the GNU General Public License version 3.0 11 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 12 | // 13 | // If you do not wish to use this file under the terms of the GPL version 3.0 14 | // then you may purchase a commercial license. For more information contact 15 | // info@riverbankcomputing.com. 16 | // 17 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 18 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | 21 | %If (PyQt_OpenGL) 22 | 23 | typedef char GLchar; 24 | typedef qint8 GLbyte; 25 | typedef quint8 GLubyte; 26 | typedef quint8 GLboolean; 27 | typedef qint16 GLshort; 28 | typedef quint16 GLushort; 29 | typedef qint32 GLint; 30 | typedef qint32 GLsizei; 31 | typedef quint32 GLuint; 32 | typedef quint32 GLenum; 33 | typedef quint32 GLbitfield; 34 | %If (!PyQt_OpenGL_ES2) 35 | typedef quint64 GLuint64; // This is in OpenGL ES v3. 36 | typedef double GLdouble; 37 | %End 38 | typedef float GLfloat; 39 | typedef float GLclampf; 40 | typedef long GLintptr; 41 | typedef long GLsizeiptr; 42 | 43 | %End 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qabstractfileiconprovider.sip: -------------------------------------------------------------------------------- 1 | // qabstractfileiconprovider.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QAbstractFileIconProvider 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum IconType 31 | { 32 | Computer, 33 | Desktop, 34 | Trashcan, 35 | Network, 36 | Drive, 37 | Folder, 38 | File, 39 | }; 40 | 41 | enum Option /BaseType=Flag/ 42 | { 43 | DontUseCustomDirectoryIcons, 44 | }; 45 | 46 | typedef QFlags Options; 47 | QAbstractFileIconProvider(); 48 | virtual ~QAbstractFileIconProvider(); 49 | virtual QIcon icon(QAbstractFileIconProvider::IconType) const; 50 | virtual QIcon icon(const QFileInfo &) const; 51 | virtual QString type(const QFileInfo &) const; 52 | virtual void setOptions(QAbstractFileIconProvider::Options); 53 | virtual QAbstractFileIconProvider::Options options() const; 54 | 55 | private: 56 | QAbstractFileIconProvider(const QAbstractFileIconProvider &); 57 | }; 58 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qbackingstore.sip: -------------------------------------------------------------------------------- 1 | // qbackingstore.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QBackingStore /NoDefaultCtors/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QBackingStore(QWindow *window); 31 | ~QBackingStore(); 32 | QWindow *window() const; 33 | QPaintDevice *paintDevice(); 34 | void flush(const QRegion ®ion, QWindow *window = 0, const QPoint &offset = QPoint()); 35 | void resize(const QSize &size); 36 | QSize size() const; 37 | bool scroll(const QRegion &area, int dx, int dy); 38 | void beginPaint(const QRegion &); 39 | void endPaint(); 40 | void setStaticContents(const QRegion ®ion); 41 | QRegion staticContents() const; 42 | bool hasStaticContents() const; 43 | }; 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qbitmap.sip: -------------------------------------------------------------------------------- 1 | // qbitmap.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QBitmap : QPixmap 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QBitmap(); 31 | QBitmap(int w, int h); 32 | explicit QBitmap(const QSize &); 33 | QBitmap(const QString &fileName, const char *format = 0); 34 | QBitmap(const QVariant &variant /GetWrapper/) /NoDerived/; 35 | %MethodCode 36 | if (a0->canConvert()) 37 | sipCpp = new sipQBitmap(a0->value()); 38 | else 39 | sipError = sipBadCallableArg(0, a0Wrapper); 40 | %End 41 | 42 | %If (Qt_6_3_0 -) 43 | virtual ~QBitmap(); 44 | %End 45 | void clear(); 46 | static QBitmap fromImage(const QImage &image, Qt::ImageConversionFlags flags = Qt::AutoColor); 47 | static QBitmap fromPixmap(const QPixmap &pixmap); 48 | static QBitmap fromData(const QSize &size, const uchar *bits, QImage::Format format = QImage::Format_MonoLSB); 49 | QBitmap transformed(const QTransform &matrix) const; 50 | void swap(QBitmap &other /Constrained/); 51 | }; 52 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qcolortransform.sip: -------------------------------------------------------------------------------- 1 | // qcolortransform.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QColorTransform 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QColorTransform(); 31 | QColorTransform(const QColorTransform &colorTransform); 32 | ~QColorTransform(); 33 | void swap(QColorTransform &other /Constrained/); 34 | QRgb map(QRgb argb) const; 35 | QRgba64 map(QRgba64 rgba64) const; 36 | QColor map(const QColor &color) const; 37 | %If (Qt_6_4_0 -) 38 | bool isIdentity() const; 39 | %End 40 | }; 41 | 42 | %If (Qt_6_4_0 -) 43 | bool operator==(const QColorTransform &ct1, const QColorTransform &ct2); 44 | %End 45 | %If (Qt_6_4_0 -) 46 | bool operator!=(const QColorTransform &ct1, const QColorTransform &ct2); 47 | %End 48 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qfontinfo.sip: -------------------------------------------------------------------------------- 1 | // qfontinfo.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QFontInfo 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QFontInfo(const QFont &); 31 | QFontInfo(const QFontInfo &); 32 | ~QFontInfo(); 33 | QString family() const; 34 | int pixelSize() const; 35 | int pointSize() const; 36 | qreal pointSizeF() const; 37 | bool italic() const; 38 | QFont::Style style() const; 39 | int weight() const; 40 | bool bold() const; 41 | bool fixedPitch() const; 42 | QFont::StyleHint styleHint() const; 43 | bool exactMatch() const; 44 | QString styleName() const; 45 | void swap(QFontInfo &other /Constrained/); 46 | }; 47 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qoffscreensurface.sip: -------------------------------------------------------------------------------- 1 | // qoffscreensurface.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QOffscreenSurface : QObject, QSurface 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QOffscreenSurface(QScreen *screen = 0, QObject *parent /TransferThis/ = 0); 31 | virtual ~QOffscreenSurface(); 32 | virtual QSurface::SurfaceType surfaceType() const; 33 | void create(); 34 | void destroy(); 35 | bool isValid() const; 36 | void setFormat(const QSurfaceFormat &format); 37 | virtual QSurfaceFormat format() const; 38 | QSurfaceFormat requestedFormat() const; 39 | virtual QSize size() const; 40 | QScreen *screen() const; 41 | void setScreen(QScreen *screen); 42 | 43 | signals: 44 | void screenChanged(QScreen *screen); 45 | }; 46 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qpagedpaintdevice.sip: -------------------------------------------------------------------------------- 1 | // qpagedpaintdevice.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QPagedPaintDevice : QPaintDevice /NoDefaultCtors/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | virtual ~QPagedPaintDevice(); 31 | virtual bool newPage() = 0; 32 | 33 | enum PdfVersion 34 | { 35 | PdfVersion_1_4, 36 | PdfVersion_A1b, 37 | PdfVersion_1_6, 38 | }; 39 | 40 | virtual bool setPageSize(const QPageSize &pageSize); 41 | virtual bool setPageLayout(const QPageLayout &pageLayout); 42 | QPageLayout pageLayout() const; 43 | virtual bool setPageOrientation(QPageLayout::Orientation orientation); 44 | virtual bool setPageMargins(const QMarginsF &margins, QPageLayout::Unit units = QPageLayout::Millimeter); 45 | virtual void setPageRanges(const QPageRanges &ranges); 46 | QPageRanges pageRanges() const; 47 | }; 48 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qpaintdevicewindow.sip: -------------------------------------------------------------------------------- 1 | // qpaintdevicewindow.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QPaintDeviceWindow : QWindow, QPaintDevice /NoDefaultCtors/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | void update(const QRect &rect); 31 | void update(const QRegion ®ion); 32 | 33 | public slots: 34 | void update(); 35 | 36 | protected: 37 | virtual void paintEvent(QPaintEvent *event); 38 | virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; 39 | virtual void exposeEvent(QExposeEvent *); 40 | virtual bool event(QEvent *event); 41 | }; 42 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qpdfwriter.sip: -------------------------------------------------------------------------------- 1 | // qpdfwriter.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QPdfWriter : QObject, QPagedPaintDevice 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QPdfWriter(const QString &filename); 31 | explicit QPdfWriter(QIODevice *device); 32 | virtual ~QPdfWriter(); 33 | QString title() const; 34 | void setTitle(const QString &title); 35 | QString creator() const; 36 | void setCreator(const QString &creator); 37 | virtual bool newPage(); 38 | 39 | protected: 40 | virtual QPaintEngine *paintEngine() const; 41 | virtual int metric(QPaintDevice::PaintDeviceMetric id) const; 42 | 43 | public: 44 | void setResolution(int resolution); 45 | int resolution() const; 46 | void setPdfVersion(QPagedPaintDevice::PdfVersion version); 47 | QPagedPaintDevice::PdfVersion pdfVersion() const; 48 | void setDocumentXmpMetadata(const QByteArray &xmpMetadata); 49 | QByteArray documentXmpMetadata() const; 50 | void addFileAttachment(const QString &fileName, const QByteArray &data, const QString &mimeType = QString()); 51 | }; 52 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qrasterwindow.sip: -------------------------------------------------------------------------------- 1 | // qrasterwindow.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QRasterWindow : QPaintDeviceWindow 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QRasterWindow(QWindow *parent /TransferThis/ = 0); 31 | virtual ~QRasterWindow(); 32 | 33 | protected: 34 | virtual int metric(QPaintDevice::PaintDeviceMetric metric) const; 35 | }; 36 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qrgb.sip: -------------------------------------------------------------------------------- 1 | // qrgb.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %ModuleCode 24 | #include 25 | %End 26 | 27 | typedef unsigned int QRgb; 28 | int qRed(QRgb rgb); 29 | int qGreen(QRgb rgb); 30 | int qBlue(QRgb rgb); 31 | int qAlpha(QRgb rgb); 32 | QRgb qRgb(int r, int g, int b); 33 | QRgb qRgba(int r, int g, int b, int a); 34 | int qGray(int r, int g, int b); 35 | int qGray(QRgb rgb); 36 | QRgb qPremultiply(QRgb x); 37 | QRgb qUnpremultiply(QRgb p); 38 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qstatictext.sip: -------------------------------------------------------------------------------- 1 | // qstatictext.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QStaticText 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum PerformanceHint 31 | { 32 | ModerateCaching, 33 | AggressiveCaching, 34 | }; 35 | 36 | QStaticText(); 37 | explicit QStaticText(const QString &text); 38 | QStaticText(const QStaticText &other); 39 | ~QStaticText(); 40 | void setText(const QString &text); 41 | QString text() const; 42 | void setTextFormat(Qt::TextFormat textFormat); 43 | Qt::TextFormat textFormat() const; 44 | void setTextWidth(qreal textWidth); 45 | qreal textWidth() const; 46 | void setTextOption(const QTextOption &textOption); 47 | QTextOption textOption() const; 48 | QSizeF size() const; 49 | void prepare(const QTransform &matrix = QTransform(), const QFont &font = QFont()); 50 | void setPerformanceHint(QStaticText::PerformanceHint performanceHint); 51 | QStaticText::PerformanceHint performanceHint() const; 52 | bool operator==(const QStaticText &) const; 53 | bool operator!=(const QStaticText &) const; 54 | void swap(QStaticText &other /Constrained/); 55 | }; 56 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qsurface.sip: -------------------------------------------------------------------------------- 1 | // qsurface.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSurface /Abstract/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum SurfaceClass 31 | { 32 | Window, 33 | Offscreen, 34 | }; 35 | 36 | enum SurfaceType 37 | { 38 | RasterSurface, 39 | OpenGLSurface, 40 | RasterGLSurface, 41 | OpenVGSurface, 42 | VulkanSurface, 43 | MetalSurface, 44 | %If (Qt_6_1_0 -) 45 | Direct3DSurface, 46 | %End 47 | }; 48 | 49 | virtual ~QSurface(); 50 | QSurface::SurfaceClass surfaceClass() const; 51 | virtual QSurfaceFormat format() const = 0; 52 | virtual QSurface::SurfaceType surfaceType() const = 0; 53 | virtual QSize size() const = 0; 54 | bool supportsOpenGL() const; 55 | 56 | protected: 57 | explicit QSurface(QSurface::SurfaceClass type); 58 | }; 59 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qtextdocumentfragment.sip: -------------------------------------------------------------------------------- 1 | // qtextdocumentfragment.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QTextDocumentFragment 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QTextDocumentFragment(); 31 | explicit QTextDocumentFragment(const QTextDocument *document); 32 | explicit QTextDocumentFragment(const QTextCursor &range); 33 | QTextDocumentFragment(const QTextDocumentFragment &rhs); 34 | ~QTextDocumentFragment(); 35 | bool isEmpty() const; 36 | QString toPlainText() const; 37 | QString toHtml() const; 38 | static QTextDocumentFragment fromPlainText(const QString &plainText); 39 | static QTextDocumentFragment fromHtml(const QString &html, const QTextDocument *resourceProvider = 0); 40 | %If (Qt_6_4_0 -) 41 | QString toRawText() const; 42 | %End 43 | %If (Qt_6_4_0 -) 44 | QString toMarkdown(QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub) const; 45 | %End 46 | %If (Qt_6_4_0 -) 47 | static QTextDocumentFragment fromMarkdown(const QString &markdown, QTextDocument::MarkdownFeatures features = QTextDocument::MarkdownDialectGitHub); 48 | %End 49 | }; 50 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qtextdocumentwriter.sip: -------------------------------------------------------------------------------- 1 | // qtextdocumentwriter.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QTextDocumentWriter 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QTextDocumentWriter(); 31 | QTextDocumentWriter(QIODevice *device, const QByteArray &format); 32 | QTextDocumentWriter(const QString &fileName, const QByteArray &format = QByteArray()); 33 | ~QTextDocumentWriter(); 34 | void setFormat(const QByteArray &format); 35 | QByteArray format() const; 36 | void setDevice(QIODevice *device); 37 | QIODevice *device() const; 38 | void setFileName(const QString &fileName); 39 | QString fileName() const; 40 | bool write(const QTextDocument *document); 41 | bool write(const QTextDocumentFragment &fragment); 42 | static QList supportedDocumentFormats(); 43 | 44 | private: 45 | QTextDocumentWriter(const QTextDocumentWriter &); 46 | }; 47 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qtextlist.sip: -------------------------------------------------------------------------------- 1 | // qtextlist.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QTextList : QTextBlockGroup 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QTextList(QTextDocument *doc); 31 | virtual ~QTextList(); 32 | int count() const /__len__/; 33 | QTextBlock item(int i) const; 34 | int itemNumber(const QTextBlock &) const; 35 | QString itemText(const QTextBlock &) const; 36 | void removeItem(int i); 37 | void remove(const QTextBlock &); 38 | void add(const QTextBlock &block); 39 | QTextListFormat format() const; 40 | void setFormat(const QTextListFormat &aformat); 41 | }; 42 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qutimimeconverter.sip: -------------------------------------------------------------------------------- 1 | // qutimimeconverter.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %If (Qt_6_5_0 -) 24 | %If (macOS) 25 | 26 | class QUtiMimeConverter 27 | { 28 | %TypeHeaderCode 29 | #include 30 | %End 31 | 32 | public: 33 | QUtiMimeConverter(); 34 | virtual ~QUtiMimeConverter(); 35 | bool canConvert(const QString &mime, const QString &uti) const; 36 | virtual QList convertFromMime(const QString &mime, const QVariant &data, const QString &uti) const = 0; 37 | virtual QString utiForMime(const QString &mime) const = 0; 38 | virtual QString mimeForUti(const QString &uti) const = 0; 39 | virtual QVariant convertToMime(const QString &mime, const QList &data, const QString &uti) const = 0; 40 | virtual int count(const QMimeData *mimeData) const; 41 | 42 | private: 43 | QUtiMimeConverter(const QUtiMimeConverter &); 44 | }; 45 | 46 | %End 47 | %End 48 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtGui/qwindowdefs.sip: -------------------------------------------------------------------------------- 1 | // qwindowdefs.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtGui Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | typedef QList QWindowList; 24 | typedef quintptr WId; 25 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtSql/QtSql.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated configuration for PyQt6.QtSql. 2 | 3 | sip-version = "6.8.0" 4 | sip-abi-version = "13.6" 5 | module-tags = ["Qt_6_6_0", "Windows"] 6 | module-disabled-features = ["PyQt_OpenGL_ES2"] 7 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtSql/qsqlerror.sip: -------------------------------------------------------------------------------- 1 | // qsqlerror.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtSql Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSqlError 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum ErrorType 31 | { 32 | NoError, 33 | ConnectionError, 34 | StatementError, 35 | TransactionError, 36 | UnknownError, 37 | }; 38 | 39 | QSqlError(const QString &driverText = QString(), const QString &databaseText = QString(), QSqlError::ErrorType type = QSqlError::NoError, const QString &errorCode = QString()); 40 | QSqlError(const QSqlError &other); 41 | ~QSqlError(); 42 | QString driverText() const; 43 | QString databaseText() const; 44 | QSqlError::ErrorType type() const; 45 | QString text() const; 46 | bool isValid() const; 47 | bool operator==(const QSqlError &other) const; 48 | bool operator!=(const QSqlError &other) const; 49 | QString nativeErrorCode() const; 50 | void swap(QSqlError &other /Constrained/); 51 | }; 52 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtSql/qsqlindex.sip: -------------------------------------------------------------------------------- 1 | // qsqlindex.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtSql Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSqlIndex : QSqlRecord 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QSqlIndex(const QString &cursorName = QString(), const QString &name = QString()); 31 | QSqlIndex(const QSqlIndex &other); 32 | ~QSqlIndex(); 33 | void setCursorName(const QString &cursorName); 34 | QString cursorName() const; 35 | void setName(const QString &name); 36 | QString name() const; 37 | void append(const QSqlField &field); 38 | void append(const QSqlField &field, bool desc); 39 | bool isDescending(int i) const; 40 | void setDescending(int i, bool desc); 41 | %If (Qt_6_6_0 -) 42 | void swap(QSqlIndex &other /Constrained/); 43 | %End 44 | }; 45 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtSql/qsqlrelationaldelegate.sip: -------------------------------------------------------------------------------- 1 | // qsqlrelationaldelegate.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtSql Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSqlRelationalDelegate : QStyledItemDelegate 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QSqlRelationalDelegate(QObject *parent /TransferThis/ = 0); 31 | virtual ~QSqlRelationalDelegate(); 32 | virtual QWidget *createEditor(QWidget *parent /TransferThis/, const QStyleOptionViewItem &option /NoCopy/, const QModelIndex &index) const; 33 | virtual void setEditorData(QWidget *editor, const QModelIndex &index) const; 34 | virtual void setModelData(QWidget *editor, QAbstractItemModel *model /KeepReference/, const QModelIndex &index) const; 35 | }; 36 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtSql/qtsqlglobal.sip: -------------------------------------------------------------------------------- 1 | // qtsqlglobal.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtSql Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | namespace QSql 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | enum Location 30 | { 31 | BeforeFirstRow, 32 | AfterLastRow, 33 | }; 34 | 35 | enum ParamTypeFlag /BaseType=Flag/ 36 | { 37 | In, 38 | Out, 39 | InOut, 40 | Binary, 41 | }; 42 | 43 | typedef QFlags ParamType; 44 | 45 | enum TableType 46 | { 47 | Tables, 48 | SystemTables, 49 | Views, 50 | AllTables, 51 | }; 52 | 53 | enum NumericalPrecisionPolicy 54 | { 55 | LowPrecisionInt32, 56 | LowPrecisionInt64, 57 | LowPrecisionDouble, 58 | HighPrecision, 59 | }; 60 | }; 61 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtSvg/QtSvg.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated configuration for PyQt6.QtSvg. 2 | 3 | sip-version = "6.8.0" 4 | sip-abi-version = "13.6" 5 | module-tags = ["Qt_6_6_0", "Windows"] 6 | module-disabled-features = ["PyQt_OpenGL_ES2"] 7 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/QtWidgets.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated configuration for PyQt6.QtWidgets. 2 | 3 | sip-version = "6.8.0" 4 | sip-abi-version = "13.6" 5 | module-tags = ["Qt_6_6_0", "Windows"] 6 | module-disabled-features = ["PyQt_OpenGL_ES2"] 7 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qbuttongroup.sip: -------------------------------------------------------------------------------- 1 | // qbuttongroup.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QButtonGroup : QObject 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QButtonGroup(QObject *parent /TransferThis/ = 0); 31 | virtual ~QButtonGroup(); 32 | void setExclusive(bool); 33 | bool exclusive() const; 34 | void addButton(QAbstractButton *, int id = -1); 35 | void removeButton(QAbstractButton *); 36 | QList buttons() const; 37 | QAbstractButton *button(int id) const; 38 | QAbstractButton *checkedButton() const; 39 | void setId(QAbstractButton *button, int id); 40 | int id(QAbstractButton *button) const; 41 | int checkedId() const; 42 | 43 | signals: 44 | void buttonClicked(QAbstractButton *); 45 | void buttonPressed(QAbstractButton *); 46 | void buttonReleased(QAbstractButton *); 47 | void buttonToggled(QAbstractButton *, bool); 48 | void idClicked(int); 49 | void idPressed(int); 50 | void idReleased(int); 51 | void idToggled(int, bool); 52 | }; 53 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qcheckbox.sip: -------------------------------------------------------------------------------- 1 | // qcheckbox.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QCheckBox : QAbstractButton 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QCheckBox(QWidget *parent /TransferThis/ = 0); 31 | QCheckBox(const QString &text, QWidget *parent /TransferThis/ = 0); 32 | virtual ~QCheckBox(); 33 | virtual QSize sizeHint() const; 34 | void setTristate(bool on = true); 35 | bool isTristate() const; 36 | Qt::CheckState checkState() const; 37 | void setCheckState(Qt::CheckState state); 38 | virtual QSize minimumSizeHint() const; 39 | 40 | signals: 41 | void stateChanged(int); 42 | 43 | protected: 44 | virtual bool hitButton(const QPoint &pos) const; 45 | virtual void checkStateSet(); 46 | virtual void nextCheckState(); 47 | virtual bool event(QEvent *e); 48 | virtual void paintEvent(QPaintEvent *); 49 | virtual void mouseMoveEvent(QMouseEvent *); 50 | virtual void initStyleOption(QStyleOptionButton *option) const; 51 | }; 52 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qcommandlinkbutton.sip: -------------------------------------------------------------------------------- 1 | // qcommandlinkbutton.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QCommandLinkButton : QPushButton 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QCommandLinkButton(QWidget *parent /TransferThis/ = 0); 31 | QCommandLinkButton(const QString &text, QWidget *parent /TransferThis/ = 0); 32 | QCommandLinkButton(const QString &text, const QString &description, QWidget *parent /TransferThis/ = 0); 33 | virtual ~QCommandLinkButton(); 34 | QString description() const; 35 | void setDescription(const QString &description); 36 | virtual QSize sizeHint() const; 37 | virtual int heightForWidth(int) const; 38 | virtual QSize minimumSizeHint() const; 39 | %If (Qt_6_1_0 -) 40 | virtual void initStyleOption(QStyleOptionButton *option) const; 41 | %End 42 | 43 | protected: 44 | virtual bool event(QEvent *e); 45 | virtual void paintEvent(QPaintEvent *); 46 | }; 47 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qdial.sip: -------------------------------------------------------------------------------- 1 | // qdial.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QDial : QAbstractSlider 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QDial(QWidget *parent /TransferThis/ = 0); 31 | virtual ~QDial(); 32 | bool wrapping() const; 33 | int notchSize() const; 34 | void setNotchTarget(double target); 35 | qreal notchTarget() const; 36 | bool notchesVisible() const; 37 | virtual QSize sizeHint() const; 38 | virtual QSize minimumSizeHint() const; 39 | 40 | public slots: 41 | void setNotchesVisible(bool visible); 42 | void setWrapping(bool on); 43 | 44 | protected: 45 | virtual void initStyleOption(QStyleOptionSlider *option) const; 46 | virtual bool event(QEvent *e); 47 | virtual void resizeEvent(QResizeEvent *re); 48 | virtual void paintEvent(QPaintEvent *pe); 49 | virtual void mousePressEvent(QMouseEvent *me); 50 | virtual void mouseReleaseEvent(QMouseEvent *me); 51 | virtual void mouseMoveEvent(QMouseEvent *me); 52 | virtual void sliderChange(QAbstractSlider::SliderChange change); 53 | }; 54 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qerrormessage.sip: -------------------------------------------------------------------------------- 1 | // qerrormessage.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QErrorMessage : QDialog 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QErrorMessage(QWidget *parent /TransferThis/ = 0); 31 | virtual ~QErrorMessage(); 32 | static QErrorMessage *qtHandler(); 33 | 34 | public slots: 35 | void showMessage(const QString &message); 36 | void showMessage(const QString &message, const QString &type); 37 | 38 | protected: 39 | virtual void changeEvent(QEvent *e); 40 | virtual void done(int); 41 | }; 42 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qfileiconprovider.sip: -------------------------------------------------------------------------------- 1 | // qfileiconprovider.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QFileIconProvider : QAbstractFileIconProvider 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QFileIconProvider(); 31 | virtual ~QFileIconProvider(); 32 | virtual QIcon icon(QAbstractFileIconProvider::IconType type) const; 33 | virtual QIcon icon(const QFileInfo &info) const; 34 | }; 35 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qfilesystemmodel.sip: -------------------------------------------------------------------------------- 1 | // qfilesystemmodel.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qfocusframe.sip: -------------------------------------------------------------------------------- 1 | // qfocusframe.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QFocusFrame : QWidget 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QFocusFrame(QWidget *parent /TransferThis/ = 0); 31 | virtual ~QFocusFrame(); 32 | void setWidget(QWidget *widget); 33 | QWidget *widget() const; 34 | 35 | protected: 36 | virtual void initStyleOption(QStyleOption *option) const; 37 | virtual bool eventFilter(QObject *, QEvent *); 38 | virtual bool event(QEvent *e); 39 | virtual void paintEvent(QPaintEvent *); 40 | }; 41 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qgesturerecognizer.sip: -------------------------------------------------------------------------------- 1 | // qgesturerecognizer.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QGestureRecognizer /Supertype=PyQt6.sip.wrapper/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum ResultFlag /BaseType=Flag/ 31 | { 32 | Ignore, 33 | MayBeGesture, 34 | TriggerGesture, 35 | FinishGesture, 36 | CancelGesture, 37 | ConsumeEventHint, 38 | }; 39 | 40 | typedef QFlags Result; 41 | QGestureRecognizer(); 42 | virtual ~QGestureRecognizer(); 43 | virtual QGesture *create(QObject *target) /Factory/; 44 | virtual QGestureRecognizer::Result recognize(QGesture *state, QObject *watched, QEvent *event) = 0; 45 | virtual void reset(QGesture *state); 46 | static Qt::GestureType registerRecognizer(QGestureRecognizer *recognizer /Transfer/); 47 | static void unregisterRecognizer(Qt::GestureType type); 48 | }; 49 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qgraphicslayout.sip: -------------------------------------------------------------------------------- 1 | // qgraphicslayout.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QGraphicsLayout : QGraphicsLayoutItem 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QGraphicsLayout(QGraphicsLayoutItem *parent /TransferThis/ = 0); 31 | virtual ~QGraphicsLayout(); 32 | void setContentsMargins(qreal left, qreal top, qreal right, qreal bottom); 33 | virtual void getContentsMargins(qreal *left, qreal *top, qreal *right, qreal *bottom) const; 34 | void activate(); 35 | bool isActivated() const; 36 | virtual void invalidate(); 37 | virtual void widgetEvent(QEvent *e); 38 | virtual int count() const = 0 /__len__/; 39 | virtual QGraphicsLayoutItem *itemAt(int i) const = 0; 40 | virtual void removeAt(int index) = 0; 41 | virtual void updateGeometry(); 42 | 43 | protected: 44 | void addChildLayoutItem(QGraphicsLayoutItem *layoutItem /Transfer/); 45 | }; 46 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qitemeditorfactory.sip: -------------------------------------------------------------------------------- 1 | // qitemeditorfactory.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QItemEditorCreatorBase /Supertype=PyQt6.sip.wrapper/ 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | virtual ~QItemEditorCreatorBase(); 31 | virtual QWidget *createWidget(QWidget *parent /TransferThis/) const = 0 /Factory/; 32 | virtual QByteArray valuePropertyName() const = 0; 33 | }; 34 | 35 | class QItemEditorFactory /Supertype=PyQt6.sip.wrapper/ 36 | { 37 | %TypeHeaderCode 38 | #include 39 | %End 40 | 41 | public: 42 | QItemEditorFactory(); 43 | virtual ~QItemEditorFactory(); 44 | virtual QWidget *createEditor(int userType, QWidget *parent /TransferThis/) const; 45 | virtual QByteArray valuePropertyName(int userType) const; 46 | void registerEditor(int userType, QItemEditorCreatorBase *creator /Transfer/); 47 | static const QItemEditorFactory *defaultFactory(); 48 | static void setDefaultFactory(QItemEditorFactory *factory /Transfer/); 49 | }; 50 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qradiobutton.sip: -------------------------------------------------------------------------------- 1 | // qradiobutton.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QRadioButton : QAbstractButton 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QRadioButton(QWidget *parent /TransferThis/ = 0); 31 | QRadioButton(const QString &text, QWidget *parent /TransferThis/ = 0); 32 | virtual ~QRadioButton(); 33 | virtual QSize sizeHint() const; 34 | virtual QSize minimumSizeHint() const; 35 | 36 | protected: 37 | virtual void initStyleOption(QStyleOptionButton *button) const; 38 | virtual bool hitButton(const QPoint &) const; 39 | virtual bool event(QEvent *e); 40 | virtual void paintEvent(QPaintEvent *); 41 | virtual void mouseMoveEvent(QMouseEvent *); 42 | }; 43 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qrubberband.sip: -------------------------------------------------------------------------------- 1 | // qrubberband.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QRubberBand : QWidget 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum Shape 31 | { 32 | Line, 33 | Rectangle, 34 | }; 35 | 36 | QRubberBand(QRubberBand::Shape, QWidget *parent /TransferThis/ = 0); 37 | virtual ~QRubberBand(); 38 | QRubberBand::Shape shape() const; 39 | void setGeometry(const QRect &r); 40 | void setGeometry(int ax, int ay, int aw, int ah); 41 | void move(const QPoint &p); 42 | void move(int ax, int ay); 43 | void resize(int w, int h); 44 | void resize(const QSize &s); 45 | 46 | protected: 47 | virtual void initStyleOption(QStyleOptionRubberBand *option) const; 48 | virtual bool event(QEvent *e); 49 | virtual void paintEvent(QPaintEvent *); 50 | virtual void changeEvent(QEvent *); 51 | virtual void showEvent(QShowEvent *); 52 | virtual void resizeEvent(QResizeEvent *); 53 | virtual void moveEvent(QMoveEvent *); 54 | }; 55 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qscrollarea.sip: -------------------------------------------------------------------------------- 1 | // qscrollarea.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QScrollArea : QAbstractScrollArea 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QScrollArea(QWidget *parent /TransferThis/ = 0); 31 | virtual ~QScrollArea(); 32 | QWidget *widget() const; 33 | void setWidget(QWidget *w /Transfer/); 34 | QWidget *takeWidget() /TransferBack/; 35 | bool widgetResizable() const; 36 | void setWidgetResizable(bool resizable); 37 | Qt::Alignment alignment() const; 38 | void setAlignment(Qt::Alignment); 39 | virtual QSize sizeHint() const; 40 | virtual bool focusNextPrevChild(bool next); 41 | void ensureVisible(int x, int y, int xMargin = 50, int yMargin = 50); 42 | void ensureWidgetVisible(QWidget *childWidget, int xMargin = 50, int yMargin = 50); 43 | 44 | protected: 45 | virtual bool event(QEvent *); 46 | virtual bool eventFilter(QObject *, QEvent *); 47 | virtual void resizeEvent(QResizeEvent *); 48 | virtual void scrollContentsBy(int dx, int dy); 49 | virtual QSize viewportSizeHint() const; 50 | }; 51 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qscrollbar.sip: -------------------------------------------------------------------------------- 1 | // qscrollbar.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QScrollBar : QAbstractSlider 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QScrollBar(QWidget *parent /TransferThis/ = 0); 31 | QScrollBar(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); 32 | virtual ~QScrollBar(); 33 | virtual QSize sizeHint() const; 34 | virtual bool event(QEvent *event); 35 | 36 | protected: 37 | virtual void initStyleOption(QStyleOptionSlider *option) const; 38 | virtual void paintEvent(QPaintEvent *); 39 | virtual void mousePressEvent(QMouseEvent *); 40 | virtual void mouseReleaseEvent(QMouseEvent *); 41 | virtual void mouseMoveEvent(QMouseEvent *); 42 | virtual void hideEvent(QHideEvent *); 43 | virtual void contextMenuEvent(QContextMenuEvent *); 44 | virtual void wheelEvent(QWheelEvent *); 45 | virtual void sliderChange(QAbstractSlider::SliderChange change); 46 | }; 47 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qsizegrip.sip: -------------------------------------------------------------------------------- 1 | // qsizegrip.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSizeGrip : QWidget 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QSizeGrip(QWidget *parent /TransferThis/); 31 | virtual ~QSizeGrip(); 32 | virtual QSize sizeHint() const; 33 | virtual void setVisible(bool); 34 | 35 | protected: 36 | virtual void paintEvent(QPaintEvent *); 37 | virtual void mousePressEvent(QMouseEvent *); 38 | virtual void mouseReleaseEvent(QMouseEvent *mouseEvent); 39 | virtual void mouseMoveEvent(QMouseEvent *); 40 | virtual bool eventFilter(QObject *, QEvent *); 41 | virtual bool event(QEvent *); 42 | virtual void moveEvent(QMoveEvent *moveEvent); 43 | virtual void showEvent(QShowEvent *showEvent); 44 | virtual void hideEvent(QHideEvent *hideEvent); 45 | }; 46 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qslider.sip: -------------------------------------------------------------------------------- 1 | // qslider.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSlider : QAbstractSlider 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | enum TickPosition 31 | { 32 | NoTicks, 33 | TicksAbove, 34 | TicksLeft, 35 | TicksBelow, 36 | TicksRight, 37 | TicksBothSides, 38 | }; 39 | 40 | explicit QSlider(QWidget *parent /TransferThis/ = 0); 41 | QSlider(Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0); 42 | virtual ~QSlider(); 43 | virtual QSize sizeHint() const; 44 | virtual QSize minimumSizeHint() const; 45 | void setTickPosition(QSlider::TickPosition position); 46 | QSlider::TickPosition tickPosition() const; 47 | void setTickInterval(int ti); 48 | int tickInterval() const; 49 | virtual bool event(QEvent *event); 50 | 51 | protected: 52 | virtual void initStyleOption(QStyleOptionSlider *option) const; 53 | virtual void paintEvent(QPaintEvent *ev); 54 | virtual void mousePressEvent(QMouseEvent *ev); 55 | virtual void mouseReleaseEvent(QMouseEvent *ev); 56 | virtual void mouseMoveEvent(QMouseEvent *ev); 57 | }; 58 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qsplashscreen.sip: -------------------------------------------------------------------------------- 1 | // qsplashscreen.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QSplashScreen : QWidget 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QSplashScreen(const QPixmap &pixmap = QPixmap(), Qt::WindowFlags flags = Qt::WindowFlags()); 31 | QSplashScreen(QScreen *screen, const QPixmap &pixmap = QPixmap(), Qt::WindowFlags flags = Qt::WindowFlags()); 32 | virtual ~QSplashScreen(); 33 | void setPixmap(const QPixmap &pixmap); 34 | const QPixmap pixmap() const; 35 | void finish(QWidget *w); 36 | void repaint(); 37 | QString message() const; 38 | 39 | public slots: 40 | void showMessage(const QString &message, int alignment = Qt::AlignLeft, const QColor &color = Qt::black); 41 | void clearMessage(); 42 | 43 | signals: 44 | void messageChanged(const QString &message); 45 | 46 | protected: 47 | virtual void drawContents(QPainter *painter); 48 | virtual bool event(QEvent *e); 49 | virtual void mousePressEvent(QMouseEvent *); 50 | }; 51 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qstackedwidget.sip: -------------------------------------------------------------------------------- 1 | // qstackedwidget.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QStackedWidget : QFrame 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QStackedWidget(QWidget *parent /TransferThis/ = 0); 31 | virtual ~QStackedWidget(); 32 | int addWidget(QWidget *w /Transfer/); 33 | int insertWidget(int index, QWidget *w /Transfer/); 34 | void removeWidget(QWidget *w); 35 | QWidget *currentWidget() const; 36 | int currentIndex() const; 37 | int indexOf(const QWidget *) const; 38 | QWidget *widget(int) const; 39 | int count() const /__len__/; 40 | 41 | public slots: 42 | void setCurrentIndex(int index); 43 | void setCurrentWidget(QWidget *w); 44 | 45 | signals: 46 | void currentChanged(int); 47 | void widgetRemoved(int index); 48 | 49 | protected: 50 | virtual bool event(QEvent *e); 51 | }; 52 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qstylefactory.sip: -------------------------------------------------------------------------------- 1 | // qstylefactory.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QStyleFactory 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | static QStringList keys(); 31 | static QStyle *create(const QString &) /Factory/; 32 | }; 33 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qstylepainter.sip: -------------------------------------------------------------------------------- 1 | // qstylepainter.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QStylePainter : QPainter 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | QStylePainter(); 31 | explicit QStylePainter(QWidget *w); 32 | QStylePainter(QPaintDevice *pd, QWidget *w); 33 | bool begin(QWidget *w); 34 | bool begin(QPaintDevice *pd, QWidget *w); 35 | QStyle *style() const; 36 | void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption &opt); 37 | void drawControl(QStyle::ControlElement ce, const QStyleOption &opt); 38 | void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex &opt); 39 | void drawItemText(const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole = QPalette::NoRole); 40 | void drawItemPixmap(const QRect &r, int flags, const QPixmap &pixmap); 41 | }; 42 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qtooltip.sip: -------------------------------------------------------------------------------- 1 | // qtooltip.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QToolTip 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | QToolTip(); 30 | 31 | public: 32 | static void showText(const QPoint &pos, const QString &text, QWidget *widget = 0, const QRect &rect = {}, int msecShowTime = -1); 33 | static QPalette palette(); 34 | static void hideText(); 35 | static void setPalette(const QPalette &); 36 | static QFont font(); 37 | static void setFont(const QFont &); 38 | static bool isVisible(); 39 | static QString text(); 40 | }; 41 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qundoview.sip: -------------------------------------------------------------------------------- 1 | // qundoview.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QUndoView : QListView 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QUndoView(QWidget *parent /TransferThis/ = 0); 31 | QUndoView(QUndoStack *stack, QWidget *parent /TransferThis/ = 0); 32 | QUndoView(QUndoGroup *group, QWidget *parent /TransferThis/ = 0); 33 | virtual ~QUndoView(); 34 | QUndoStack *stack() const; 35 | QUndoGroup *group() const; 36 | void setEmptyLabel(const QString &label); 37 | QString emptyLabel() const; 38 | void setCleanIcon(const QIcon &icon); 39 | QIcon cleanIcon() const; 40 | 41 | public slots: 42 | void setStack(QUndoStack *stack /KeepReference/); 43 | void setGroup(QUndoGroup *group /KeepReference/); 44 | }; 45 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qwhatsthis.sip: -------------------------------------------------------------------------------- 1 | // qwhatsthis.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QWhatsThis 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | QWhatsThis(); 30 | 31 | public: 32 | static void enterWhatsThisMode(); 33 | static bool inWhatsThisMode(); 34 | static void leaveWhatsThisMode(); 35 | static void showText(const QPoint &pos, const QString &text, QWidget *widget = 0); 36 | static void hideText(); 37 | static QAction *createAction(QObject *parent /TransferThis/ = 0) /Factory/; 38 | }; 39 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtWidgets/qwidgetaction.sip: -------------------------------------------------------------------------------- 1 | // qwidgetaction.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtWidgets Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | class QWidgetAction : QAction 24 | { 25 | %TypeHeaderCode 26 | #include 27 | %End 28 | 29 | public: 30 | explicit QWidgetAction(QObject *parent /TransferThis/); 31 | virtual ~QWidgetAction(); 32 | void setDefaultWidget(QWidget *w /Transfer/); 33 | QWidget *defaultWidget() const; 34 | QWidget *requestWidget(QWidget *parent); 35 | void releaseWidget(QWidget *widget); 36 | 37 | protected: 38 | virtual bool event(QEvent *); 39 | virtual bool eventFilter(QObject *, QEvent *); 40 | virtual QWidget *createWidget(QWidget *parent); 41 | virtual void deleteWidget(QWidget *widget); 42 | QList createdWidgets() const; 43 | }; 44 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtXml/QtXml.toml: -------------------------------------------------------------------------------- 1 | # Automatically generated configuration for PyQt6.QtXml. 2 | 3 | sip-version = "6.8.0" 4 | sip-abi-version = "13.6" 5 | module-tags = ["Qt_6_6_0", "Windows"] 6 | module-disabled-features = [] 7 | -------------------------------------------------------------------------------- /site-packages/PyQt6/bindings/QtXml/QtXmlmod.sip: -------------------------------------------------------------------------------- 1 | // QtXmlmod.sip generated by MetaSIP 2 | // 3 | // This file is part of the QtXml Python extension module. 4 | // 5 | // Copyright (c) 2023 Riverbank Computing Limited 6 | // 7 | // This file is part of PyQt6. 8 | // 9 | // This file may be used under the terms of the GNU General Public License 10 | // version 3.0 as published by the Free Software Foundation and appearing in 11 | // the file LICENSE included in the packaging of this file. Please review the 12 | // following information to ensure the GNU General Public License version 3.0 13 | // requirements will be met: http://www.gnu.org/copyleft/gpl.html. 14 | // 15 | // If you do not wish to use this file under the terms of the GPL version 3.0 16 | // then you may purchase a commercial license. For more information contact 17 | // info@riverbankcomputing.com. 18 | // 19 | // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 20 | // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 | 22 | 23 | %Module(name=PyQt6.QtXml, keyword_arguments="Optional", use_limited_api=True) 24 | 25 | %Import QtCore/QtCoremod.sip 26 | 27 | %Copying 28 | Copyright (c) 2023 Riverbank Computing Limited 29 | 30 | This file is part of PyQt6. 31 | 32 | This file may be used under the terms of the GNU General Public License 33 | version 3.0 as published by the Free Software Foundation and appearing in 34 | the file LICENSE included in the packaging of this file. Please review the 35 | following information to ensure the GNU General Public License version 3.0 36 | requirements will be met: http://www.gnu.org/copyleft/gpl.html. 37 | 38 | If you do not wish to use this file under the terms of the GPL version 3.0 39 | then you may purchase a commercial license. For more information contact 40 | info@riverbankcomputing.com. 41 | 42 | This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 43 | WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 44 | %End 45 | 46 | %DefaultSupertype PyQt6.sip.simplewrapper 47 | 48 | %Include qdom.sip 49 | -------------------------------------------------------------------------------- /site-packages/PyQt6/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/py.typed -------------------------------------------------------------------------------- /site-packages/PyQt6/sip.cp312-win_amd64.pyd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/PyQt6/sip.cp312-win_amd64.pyd -------------------------------------------------------------------------------- /site-packages/emoji/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/emoji/py.typed -------------------------------------------------------------------------------- /site-packages/emoji/unicode_codes/__init__.py: -------------------------------------------------------------------------------- 1 | from emoji.unicode_codes.data_dict import * 2 | 3 | __all__ = [ 4 | 'get_emoji_unicode_dict', 'get_aliases_unicode_dict', 5 | 'EMOJI_DATA', 'STATUS', 'LANGUAGES' 6 | ] 7 | 8 | 9 | _EMOJI_UNICODE = {lang: None for lang in LANGUAGES} # Cache for the language dicts 10 | 11 | _ALIASES_UNICODE = {} # Cache for the aliases dict 12 | 13 | 14 | def get_emoji_unicode_dict(lang): 15 | """Generate dict containing all fully-qualified and component emoji name for a language 16 | The dict is only generated once per language and then cached in _EMOJI_UNICODE[lang]""" 17 | 18 | if _EMOJI_UNICODE[lang] is None: 19 | _EMOJI_UNICODE[lang] = {data[lang]: emj for emj, data in EMOJI_DATA.items() 20 | if lang in data and data['status'] <= STATUS['fully_qualified']} 21 | 22 | return _EMOJI_UNICODE[lang] 23 | 24 | 25 | def get_aliases_unicode_dict(): 26 | """Generate dict containing all fully-qualified and component aliases 27 | The dict is only generated once and then cached in _ALIASES_UNICODE""" 28 | 29 | if not _ALIASES_UNICODE: 30 | _ALIASES_UNICODE.update(get_emoji_unicode_dict('en')) 31 | for emj, data in EMOJI_DATA.items(): 32 | if 'alias' in data and data['status'] <= STATUS['fully_qualified']: 33 | for alias in data['alias']: 34 | _ALIASES_UNICODE[alias] = emj 35 | 36 | return _ALIASES_UNICODE 37 | -------------------------------------------------------------------------------- /site-packages/emoji/unicode_codes/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/emoji/unicode_codes/py.typed -------------------------------------------------------------------------------- /site-packages/natsort/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | 3 | from natsort.natsort import ( 4 | NatsortKeyType, 5 | OSSortKeyType, 6 | as_ascii, 7 | as_utf8, 8 | decoder, 9 | humansorted, 10 | index_humansorted, 11 | index_natsorted, 12 | index_realsorted, 13 | natsort_key, 14 | natsort_keygen, 15 | natsorted, 16 | numeric_regex_chooser, 17 | order_by_index, 18 | os_sort_key, 19 | os_sort_keygen, 20 | os_sorted, 21 | realsorted, 22 | ) 23 | from natsort.ns_enum import NSType, ns 24 | from natsort.utils import KeyType, NatsortInType, NatsortOutType, chain_functions 25 | 26 | __version__ = "8.4.0" 27 | 28 | __all__ = [ 29 | "natsort_key", 30 | "natsort_keygen", 31 | "natsorted", 32 | "humansorted", 33 | "realsorted", 34 | "index_natsorted", 35 | "index_humansorted", 36 | "index_realsorted", 37 | "order_by_index", 38 | "decoder", 39 | "as_ascii", 40 | "as_utf8", 41 | "ns", 42 | "chain_functions", 43 | "numeric_regex_chooser", 44 | "os_sort_key", 45 | "os_sort_keygen", 46 | "os_sorted", 47 | "NatsortKeyType", 48 | "OSSortKeyType", 49 | "KeyType", 50 | "NatsortInType", 51 | "NatsortOutType", 52 | "NSType", 53 | ] 54 | 55 | # Add the ns keys to this namespace for convenience. 56 | globals().update({name: value for name, value in ns.__members__.items()}) 57 | -------------------------------------------------------------------------------- /site-packages/natsort/compat/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/natsort/compat/__init__.py -------------------------------------------------------------------------------- /site-packages/natsort/py.typed: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/site-packages/natsort/py.typed -------------------------------------------------------------------------------- /site-packages/natsort/unicode_numbers.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | Pre-determine the collection of unicode decimals, digits, and numerals. 4 | """ 5 | 6 | import unicodedata 7 | 8 | from natsort.unicode_numeric_hex import numeric_hex 9 | 10 | # Convert each hex into the literal Unicode character. 11 | # Stop if a ValueError is raised in case of a narrow Unicode build. 12 | # The extra check with unicodedata is in case this Python version 13 | # does not support some characters. 14 | numeric_chars = [] 15 | for a in numeric_hex: 16 | try: 17 | character = chr(a) 18 | except ValueError: # pragma: no cover 19 | break 20 | if unicodedata.numeric(character, None) is None: 21 | continue # pragma: no cover 22 | numeric_chars.append(character) 23 | 24 | # The digit characters are a subset of the numerals. 25 | digit_chars = [a for a in numeric_chars if unicodedata.digit(a, None) is not None] 26 | 27 | # The decimal characters are a subset of the numerals 28 | # (probably of the digits, but let's be safe). 29 | decimal_chars = [a for a in numeric_chars if unicodedata.decimal(a, None) is not None] 30 | 31 | # Create a single string with the above data. 32 | decimals = "".join(decimal_chars) 33 | digits = "".join(digit_chars) 34 | numeric = "".join(numeric_chars) 35 | digits_no_decimals = "".join([x for x in digits if x not in decimals]) 36 | numeric_no_decimals = "".join([x for x in numeric if x not in decimals]) 37 | -------------------------------------------------------------------------------- /site-packages/pyperclip/__main__.py: -------------------------------------------------------------------------------- 1 | import pyperclip 2 | import sys 3 | 4 | if len(sys.argv) > 1 and sys.argv[1] in ('-c', '--copy'): 5 | if len(sys.argv) > 2: 6 | pyperclip.copy(sys.argv[2]) 7 | else: 8 | pyperclip.copy(sys.stdin.read()) 9 | elif len(sys.argv) > 1 and sys.argv[1] in ('-p', '--paste'): 10 | sys.stdout.write(pyperclip.paste()) 11 | else: 12 | print('Usage: python -m pyperclip [-c | --copy] [text_to_copy] | [-p | --paste]') 13 | print() 14 | print('If a text_to_copy argument is provided, it is copied to the') 15 | print('clipboard. Otherwise, the stdin stream is copied to the') 16 | print('clipboard. (If reading this in from the keyboard, press') 17 | print('CTRL-Z on Windows or CTRL-D on Linux/macOS to stop.') 18 | print('When pasting, the clipboard will be written to stdout.') -------------------------------------------------------------------------------- /site-packages/seedir/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | [seedir](https://github.com/earnestt1234/seedir) is a Python package for 4 | creating, editing, and reading folder tree diagrams. 5 | 6 | The general logic of seedir is based on representing directories in 3 7 | different forms: real directories on a computer, text diagrams of directories, 8 | and "fake directories" (manipulable Python folder objects). seedir provides 9 | tools for going in between these formats. 10 | 11 | .. include:: ../docs/gettingstarted.md 12 | 13 | ## Cheatsheet 14 | 15 | ![](https://raw.githubusercontent.com/earnestt1234/seedir/master/img/seedir_diagram.png) 16 | 17 | """ 18 | 19 | __pdoc__ = {'command_line' : False} 20 | 21 | #imports for package namespace 22 | from .realdir import seedir 23 | 24 | from .fakedir import (fakedir, 25 | fakedir_fromstring, 26 | populate, 27 | randomdir,) 28 | 29 | from .fakedir import FakeDir 30 | from .fakedir import FakeFile 31 | 32 | from .printing import (get_styleargs, 33 | STYLE_DICT,) 34 | -------------------------------------------------------------------------------- /site-packages/seedir/errors.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | """ 3 | Custom exceptions for seedir. 4 | 5 | """ 6 | 7 | # NOTE: SeedirError removed for 0.4.0 8 | 9 | # class SeedirError(Exception): 10 | # """Class for representing errors from module `seedir.realdir`""" 11 | 12 | class FakedirError(Exception): 13 | """Class for handling errors from module `seedir.fakedir`""" 14 | -------------------------------------------------------------------------------- /start.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/start.exe -------------------------------------------------------------------------------- /复制文件夹结构/add_treejustcopy.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/复制文件夹结构/add_treejustcopy.bat -------------------------------------------------------------------------------- /复制文件夹结构/remove_treejustcopy.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/复制文件夹结构/remove_treejustcopy.bat -------------------------------------------------------------------------------- /复制文件夹结构/treejustcopy.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd %V 3 | dir /s /b | clip -------------------------------------------------------------------------------- /复制文件夹结构/treejustcopy.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/复制文件夹结构/treejustcopy.ico -------------------------------------------------------------------------------- /复制文件夹结构/treejustcopy.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/复制文件夹结构/treejustcopy.reg -------------------------------------------------------------------------------- /点我.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | chcp 65001 3 | :main 4 | echo --------------------- 5 | echo "1. ➕添加 复制文件夹结构" 6 | echo "2. ➕添加 生成文件夹结构" 7 | echo "3. 🗑️移除 复制文件夹结构" 8 | echo "4. 🗑️移除 生成文件夹结构" 9 | echo "0. 退出" 10 | echo --------------------- 11 | set choice=99 12 | set /p choice=请输入选项并按Enter键: 13 | 14 | if "%choice%"=="0" ( 15 | echo 退出循环 16 | goto :eof 17 | ) else if "%choice%"=="1" ( 18 | Net session >nul 2>&1 || powershell start-process 复制文件夹结构\add_treejustcopy.bat -verb runas 19 | ) else if "%choice%"=="2" ( 20 | Net session >nul 2>&1 || powershell start-process 生成文件夹结构\add_treegenerate.bat -verb runas 21 | ) else if "%choice%"=="3" ( 22 | Net session >nul 2>&1 || powershell start-process 复制文件夹结构\remove_treejustcopy.bat -verb runas 23 | ) else if "%choice%"=="4" ( 24 | Net session >nul 2>&1 || powershell start-process 生成文件夹结构\remove_treegenerate.bat -verb runas 25 | ) else ( 26 | echo . 27 | ) 28 | cls 29 | goto main -------------------------------------------------------------------------------- /生成文件夹结构/TreeThisFolder.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/生成文件夹结构/TreeThisFolder.ico -------------------------------------------------------------------------------- /生成文件夹结构/add_treegenerate.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/生成文件夹结构/add_treegenerate.bat -------------------------------------------------------------------------------- /生成文件夹结构/remove_treegenerate.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/生成文件夹结构/remove_treegenerate.bat -------------------------------------------------------------------------------- /生成文件夹结构/tree2json.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | SETLOCAL EnableExtensions 3 | cd %V 4 | start "" "C:\Program Files\Tree This Folder\tree2json.exe" 5 | -------------------------------------------------------------------------------- /生成文件夹结构/tree2puml.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | SETLOCAL EnableExtensions 3 | cd %V 4 | start "" "C:\Program Files\Tree This Folder\tree2puml.exe" 5 | -------------------------------------------------------------------------------- /生成文件夹结构/treegenerate.reg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/imvanda/Tree_This_Folder/2ab6f21e37379dab7624f6dc197dabb7f13a91f1/生成文件夹结构/treegenerate.reg -------------------------------------------------------------------------------- /生成文件夹结构/treemd.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | SETLOCAL EnableExtensions 3 | cd %V 4 | start "" "C:\Program Files\Tree This Folder\treemd.exe" 5 | -------------------------------------------------------------------------------- /生成文件夹结构/treeseedir.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | SETLOCAL EnableExtensions 3 | cd %V 4 | start "" "C:\Program Files\Tree This Folder\treeseedir.exe" 5 | -------------------------------------------------------------------------------- /生成文件夹结构/treetree.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd %V 3 | tree /F > tree.txt 4 | type tree.txt | clip -------------------------------------------------------------------------------- /生成文件夹结构/treetxt.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | cd %V 3 | dir /s /b > Folder_Structure.txt 4 | type Folder_Structure.txt | clip --------------------------------------------------------------------------------