QtCore.pyi 422 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555
  1. # The PEP 484 type hints stub file for the QtCore module.
  2. #
  3. # Generated by SIP 6.15.3
  4. #
  5. # Copyright (c) 2026 Riverbank Computing Limited <info@riverbankcomputing.com>
  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. import collections, re, typing, enum
  22. try:
  23. from warnings import deprecated
  24. except ImportError:
  25. pass
  26. import PyQt6.sip
  27. # Support for QDate, QDateTime and QTime.
  28. import datetime
  29. # Support for new-style signals and slots.
  30. class pyqtSignal:
  31. signatures = ... # type: tuple[str, ...]
  32. def __init__(self, *types: typing.Any, name: str = ...) -> None: ...
  33. @typing.overload
  34. def __get__(self, instance: None, owner: type['QObject']) -> 'pyqtSignal': ...
  35. @typing.overload
  36. def __get__(self, instance: 'QObject', owner: type['QObject']) -> 'pyqtBoundSignal': ...
  37. class pyqtBoundSignal:
  38. signal = ... # type: str
  39. def __getitem__(self, key: object) -> 'pyqtBoundSignal': ...
  40. def connect(self, slot: 'PYQT_SLOT') -> 'QMetaObject.Connection': ...
  41. @typing.overload
  42. def disconnect(self) -> None: ...
  43. @typing.overload
  44. def disconnect(self, slot: typing.Union['PYQT_SLOT', 'QMetaObject.Connection']) -> None: ...
  45. def emit(self, *args: typing.Any) -> None: ...
  46. FuncT = typing.TypeVar('FuncT', bound=collections.abc.Callable)
  47. def pyqtSlot(*types, name: typing.Optional[str] = ..., result: typing.Optional[str] = ...) -> collections.abc.Callable[[FuncT], FuncT]: ...
  48. # For QObject.findChild() and QObject.findChildren().
  49. QObjectT = typing.TypeVar('QObjectT', bound=QObject)
  50. # Convenient type aliases.
  51. PYQT_SIGNAL = typing.Union[pyqtSignal, pyqtBoundSignal]
  52. PYQT_SLOT = typing.Union[collections.abc.Callable[..., Any], pyqtBoundSignal]
  53. class QtMsgType(enum.Enum):
  54. QtDebugMsg = ... # type: QtMsgType
  55. QtWarningMsg = ... # type: QtMsgType
  56. QtCriticalMsg = ... # type: QtMsgType
  57. QtFatalMsg = ... # type: QtMsgType
  58. QtSystemMsg = ... # type: QtMsgType
  59. QtInfoMsg = ... # type: QtMsgType
  60. class QCborKnownTags(enum.Enum):
  61. DateTimeString = ... # type: QCborKnownTags
  62. UnixTime_t = ... # type: QCborKnownTags
  63. PositiveBignum = ... # type: QCborKnownTags
  64. NegativeBignum = ... # type: QCborKnownTags
  65. Decimal = ... # type: QCborKnownTags
  66. Bigfloat = ... # type: QCborKnownTags
  67. COSE_Encrypt0 = ... # type: QCborKnownTags
  68. COSE_Mac0 = ... # type: QCborKnownTags
  69. COSE_Sign1 = ... # type: QCborKnownTags
  70. ExpectedBase64url = ... # type: QCborKnownTags
  71. ExpectedBase64 = ... # type: QCborKnownTags
  72. ExpectedBase16 = ... # type: QCborKnownTags
  73. EncodedCbor = ... # type: QCborKnownTags
  74. Url = ... # type: QCborKnownTags
  75. Base64url = ... # type: QCborKnownTags
  76. Base64 = ... # type: QCborKnownTags
  77. RegularExpression = ... # type: QCborKnownTags
  78. MimeMessage = ... # type: QCborKnownTags
  79. Uuid = ... # type: QCborKnownTags
  80. COSE_Encrypt = ... # type: QCborKnownTags
  81. COSE_Mac = ... # type: QCborKnownTags
  82. COSE_Sign = ... # type: QCborKnownTags
  83. Signature = ... # type: QCborKnownTags
  84. class QCborSimpleType(enum.Enum):
  85. False_ = ... # type: QCborSimpleType
  86. True_ = ... # type: QCborSimpleType
  87. Null = ... # type: QCborSimpleType
  88. Undefined = ... # type: QCborSimpleType
  89. class Qt(PyQt6.sip.simplewrapper):
  90. class ContrastPreference(enum.Enum):
  91. NoPreference = ... # type: Qt.ContrastPreference
  92. HighContrast = ... # type: Qt.ContrastPreference
  93. class ContextMenuTrigger(enum.Enum):
  94. Press = ... # type: Qt.ContextMenuTrigger
  95. Release = ... # type: Qt.ContextMenuTrigger
  96. class PermissionStatus(enum.Enum):
  97. Undetermined = ... # type: Qt.PermissionStatus
  98. Granted = ... # type: Qt.PermissionStatus
  99. Denied = ... # type: Qt.PermissionStatus
  100. class ColorScheme(enum.Enum):
  101. Unknown = ... # type: Qt.ColorScheme
  102. Light = ... # type: Qt.ColorScheme
  103. Dark = ... # type: Qt.ColorScheme
  104. class HighDpiScaleFactorRoundingPolicy(enum.Enum):
  105. Round = ... # type: Qt.HighDpiScaleFactorRoundingPolicy
  106. Ceil = ... # type: Qt.HighDpiScaleFactorRoundingPolicy
  107. Floor = ... # type: Qt.HighDpiScaleFactorRoundingPolicy
  108. RoundPreferFloor = ... # type: Qt.HighDpiScaleFactorRoundingPolicy
  109. PassThrough = ... # type: Qt.HighDpiScaleFactorRoundingPolicy
  110. class ChecksumType(enum.Enum):
  111. ChecksumIso3309 = ... # type: Qt.ChecksumType
  112. ChecksumItuV41 = ... # type: Qt.ChecksumType
  113. class EnterKeyType(enum.Enum):
  114. EnterKeyDefault = ... # type: Qt.EnterKeyType
  115. EnterKeyReturn = ... # type: Qt.EnterKeyType
  116. EnterKeyDone = ... # type: Qt.EnterKeyType
  117. EnterKeyGo = ... # type: Qt.EnterKeyType
  118. EnterKeySend = ... # type: Qt.EnterKeyType
  119. EnterKeySearch = ... # type: Qt.EnterKeyType
  120. EnterKeyNext = ... # type: Qt.EnterKeyType
  121. EnterKeyPrevious = ... # type: Qt.EnterKeyType
  122. class ItemSelectionOperation(enum.Enum):
  123. ReplaceSelection = ... # type: Qt.ItemSelectionOperation
  124. AddToSelection = ... # type: Qt.ItemSelectionOperation
  125. class TabFocusBehavior(enum.Enum):
  126. NoTabFocus = ... # type: Qt.TabFocusBehavior
  127. TabFocusTextControls = ... # type: Qt.TabFocusBehavior
  128. TabFocusListControls = ... # type: Qt.TabFocusBehavior
  129. TabFocusAllControls = ... # type: Qt.TabFocusBehavior
  130. class MouseEventFlag(enum.Flag):
  131. MouseEventCreatedDoubleClick = ... # type: Qt.MouseEventFlag
  132. class MouseEventSource(enum.Enum):
  133. MouseEventNotSynthesized = ... # type: Qt.MouseEventSource
  134. MouseEventSynthesizedBySystem = ... # type: Qt.MouseEventSource
  135. MouseEventSynthesizedByQt = ... # type: Qt.MouseEventSource
  136. MouseEventSynthesizedByApplication = ... # type: Qt.MouseEventSource
  137. class ScrollPhase(enum.Enum):
  138. ScrollBegin = ... # type: Qt.ScrollPhase
  139. ScrollUpdate = ... # type: Qt.ScrollPhase
  140. ScrollEnd = ... # type: Qt.ScrollPhase
  141. NoScrollPhase = ... # type: Qt.ScrollPhase
  142. ScrollMomentum = ... # type: Qt.ScrollPhase
  143. class NativeGestureType(enum.Enum):
  144. BeginNativeGesture = ... # type: Qt.NativeGestureType
  145. EndNativeGesture = ... # type: Qt.NativeGestureType
  146. PanNativeGesture = ... # type: Qt.NativeGestureType
  147. ZoomNativeGesture = ... # type: Qt.NativeGestureType
  148. SmartZoomNativeGesture = ... # type: Qt.NativeGestureType
  149. RotateNativeGesture = ... # type: Qt.NativeGestureType
  150. SwipeNativeGesture = ... # type: Qt.NativeGestureType
  151. class Edge(enum.Flag):
  152. TopEdge = ... # type: Qt.Edge
  153. LeftEdge = ... # type: Qt.Edge
  154. RightEdge = ... # type: Qt.Edge
  155. BottomEdge = ... # type: Qt.Edge
  156. class ApplicationState(enum.Flag):
  157. ApplicationSuspended = ... # type: Qt.ApplicationState
  158. ApplicationHidden = ... # type: Qt.ApplicationState
  159. ApplicationInactive = ... # type: Qt.ApplicationState
  160. ApplicationActive = ... # type: Qt.ApplicationState
  161. class HitTestAccuracy(enum.Enum):
  162. ExactHit = ... # type: Qt.HitTestAccuracy
  163. FuzzyHit = ... # type: Qt.HitTestAccuracy
  164. class WhiteSpaceMode(enum.Enum):
  165. WhiteSpaceNormal = ... # type: Qt.WhiteSpaceMode
  166. WhiteSpacePre = ... # type: Qt.WhiteSpaceMode
  167. WhiteSpaceNoWrap = ... # type: Qt.WhiteSpaceMode
  168. WhiteSpaceModeUndefined = ... # type: Qt.WhiteSpaceMode
  169. class FindChildOption(enum.Flag):
  170. FindDirectChildrenOnly = ... # type: Qt.FindChildOption
  171. FindChildrenRecursively = ... # type: Qt.FindChildOption
  172. class ScreenOrientation(enum.Flag):
  173. PrimaryOrientation = ... # type: Qt.ScreenOrientation
  174. PortraitOrientation = ... # type: Qt.ScreenOrientation
  175. LandscapeOrientation = ... # type: Qt.ScreenOrientation
  176. InvertedPortraitOrientation = ... # type: Qt.ScreenOrientation
  177. InvertedLandscapeOrientation = ... # type: Qt.ScreenOrientation
  178. class CursorMoveStyle(enum.Enum):
  179. LogicalMoveStyle = ... # type: Qt.CursorMoveStyle
  180. VisualMoveStyle = ... # type: Qt.CursorMoveStyle
  181. class NavigationMode(enum.Enum):
  182. NavigationModeNone = ... # type: Qt.NavigationMode
  183. NavigationModeKeypadTabOrder = ... # type: Qt.NavigationMode
  184. NavigationModeKeypadDirectional = ... # type: Qt.NavigationMode
  185. NavigationModeCursorAuto = ... # type: Qt.NavigationMode
  186. NavigationModeCursorForceVisible = ... # type: Qt.NavigationMode
  187. class GestureFlag(enum.Flag):
  188. DontStartGestureOnChildren = ... # type: Qt.GestureFlag
  189. ReceivePartialGestures = ... # type: Qt.GestureFlag
  190. IgnoredGesturesPropagateToParent = ... # type: Qt.GestureFlag
  191. class GestureType(enum.IntEnum):
  192. TapGesture = ... # type: Qt.GestureType
  193. TapAndHoldGesture = ... # type: Qt.GestureType
  194. PanGesture = ... # type: Qt.GestureType
  195. PinchGesture = ... # type: Qt.GestureType
  196. SwipeGesture = ... # type: Qt.GestureType
  197. CustomGesture = ... # type: Qt.GestureType
  198. class GestureState(enum.Enum):
  199. GestureStarted = ... # type: Qt.GestureState
  200. GestureUpdated = ... # type: Qt.GestureState
  201. GestureFinished = ... # type: Qt.GestureState
  202. GestureCanceled = ... # type: Qt.GestureState
  203. class TouchPointState(enum.Flag):
  204. TouchPointUnknownState = ... # type: Qt.TouchPointState
  205. TouchPointPressed = ... # type: Qt.TouchPointState
  206. TouchPointMoved = ... # type: Qt.TouchPointState
  207. TouchPointStationary = ... # type: Qt.TouchPointState
  208. TouchPointReleased = ... # type: Qt.TouchPointState
  209. class CoordinateSystem(enum.Enum):
  210. DeviceCoordinates = ... # type: Qt.CoordinateSystem
  211. LogicalCoordinates = ... # type: Qt.CoordinateSystem
  212. class AnchorPoint(enum.Enum):
  213. AnchorLeft = ... # type: Qt.AnchorPoint
  214. AnchorHorizontalCenter = ... # type: Qt.AnchorPoint
  215. AnchorRight = ... # type: Qt.AnchorPoint
  216. AnchorTop = ... # type: Qt.AnchorPoint
  217. AnchorVerticalCenter = ... # type: Qt.AnchorPoint
  218. AnchorBottom = ... # type: Qt.AnchorPoint
  219. class InputMethodHint(enum.Flag):
  220. ImhNone = ... # type: Qt.InputMethodHint
  221. ImhHiddenText = ... # type: Qt.InputMethodHint
  222. ImhNoAutoUppercase = ... # type: Qt.InputMethodHint
  223. ImhPreferNumbers = ... # type: Qt.InputMethodHint
  224. ImhPreferUppercase = ... # type: Qt.InputMethodHint
  225. ImhPreferLowercase = ... # type: Qt.InputMethodHint
  226. ImhNoPredictiveText = ... # type: Qt.InputMethodHint
  227. ImhDigitsOnly = ... # type: Qt.InputMethodHint
  228. ImhFormattedNumbersOnly = ... # type: Qt.InputMethodHint
  229. ImhUppercaseOnly = ... # type: Qt.InputMethodHint
  230. ImhLowercaseOnly = ... # type: Qt.InputMethodHint
  231. ImhDialableCharactersOnly = ... # type: Qt.InputMethodHint
  232. ImhEmailCharactersOnly = ... # type: Qt.InputMethodHint
  233. ImhUrlCharactersOnly = ... # type: Qt.InputMethodHint
  234. ImhExclusiveInputMask = ... # type: Qt.InputMethodHint
  235. ImhSensitiveData = ... # type: Qt.InputMethodHint
  236. ImhDate = ... # type: Qt.InputMethodHint
  237. ImhTime = ... # type: Qt.InputMethodHint
  238. ImhPreferLatin = ... # type: Qt.InputMethodHint
  239. ImhLatinOnly = ... # type: Qt.InputMethodHint
  240. ImhMultiLine = ... # type: Qt.InputMethodHint
  241. ImhNoEditMenu = ... # type: Qt.InputMethodHint
  242. ImhNoTextHandles = ... # type: Qt.InputMethodHint
  243. class TileRule(enum.Enum):
  244. StretchTile = ... # type: Qt.TileRule
  245. RepeatTile = ... # type: Qt.TileRule
  246. RoundTile = ... # type: Qt.TileRule
  247. class WindowFrameSection(enum.Enum):
  248. NoSection = ... # type: Qt.WindowFrameSection
  249. LeftSection = ... # type: Qt.WindowFrameSection
  250. TopLeftSection = ... # type: Qt.WindowFrameSection
  251. TopSection = ... # type: Qt.WindowFrameSection
  252. TopRightSection = ... # type: Qt.WindowFrameSection
  253. RightSection = ... # type: Qt.WindowFrameSection
  254. BottomRightSection = ... # type: Qt.WindowFrameSection
  255. BottomSection = ... # type: Qt.WindowFrameSection
  256. BottomLeftSection = ... # type: Qt.WindowFrameSection
  257. TitleBarArea = ... # type: Qt.WindowFrameSection
  258. class SizeHint(enum.Enum):
  259. MinimumSize = ... # type: Qt.SizeHint
  260. PreferredSize = ... # type: Qt.SizeHint
  261. MaximumSize = ... # type: Qt.SizeHint
  262. MinimumDescent = ... # type: Qt.SizeHint
  263. class SizeMode(enum.Enum):
  264. AbsoluteSize = ... # type: Qt.SizeMode
  265. RelativeSize = ... # type: Qt.SizeMode
  266. class EventPriority(enum.Enum):
  267. HighEventPriority = ... # type: Qt.EventPriority
  268. NormalEventPriority = ... # type: Qt.EventPriority
  269. LowEventPriority = ... # type: Qt.EventPriority
  270. class Axis(enum.Enum):
  271. XAxis = ... # type: Qt.Axis
  272. YAxis = ... # type: Qt.Axis
  273. ZAxis = ... # type: Qt.Axis
  274. class MaskMode(enum.Enum):
  275. MaskInColor = ... # type: Qt.MaskMode
  276. MaskOutColor = ... # type: Qt.MaskMode
  277. class TextInteractionFlag(enum.Flag):
  278. NoTextInteraction = ... # type: Qt.TextInteractionFlag
  279. TextSelectableByMouse = ... # type: Qt.TextInteractionFlag
  280. TextSelectableByKeyboard = ... # type: Qt.TextInteractionFlag
  281. LinksAccessibleByMouse = ... # type: Qt.TextInteractionFlag
  282. LinksAccessibleByKeyboard = ... # type: Qt.TextInteractionFlag
  283. TextEditable = ... # type: Qt.TextInteractionFlag
  284. TextEditorInteraction = ... # type: Qt.TextInteractionFlag
  285. TextBrowserInteraction = ... # type: Qt.TextInteractionFlag
  286. class ItemSelectionMode(enum.Enum):
  287. ContainsItemShape = ... # type: Qt.ItemSelectionMode
  288. IntersectsItemShape = ... # type: Qt.ItemSelectionMode
  289. ContainsItemBoundingRect = ... # type: Qt.ItemSelectionMode
  290. IntersectsItemBoundingRect = ... # type: Qt.ItemSelectionMode
  291. class ApplicationAttribute(enum.Enum):
  292. AA_DontShowIconsInMenus = ... # type: Qt.ApplicationAttribute
  293. AA_NativeWindows = ... # type: Qt.ApplicationAttribute
  294. AA_DontCreateNativeWidgetSiblings = ... # type: Qt.ApplicationAttribute
  295. AA_DontUseNativeMenuBar = ... # type: Qt.ApplicationAttribute
  296. AA_MacDontSwapCtrlAndMeta = ... # type: Qt.ApplicationAttribute
  297. AA_Use96Dpi = ... # type: Qt.ApplicationAttribute
  298. AA_SynthesizeTouchForUnhandledMouseEvents = ... # type: Qt.ApplicationAttribute
  299. AA_SynthesizeMouseForUnhandledTouchEvents = ... # type: Qt.ApplicationAttribute
  300. AA_ForceRasterWidgets = ... # type: Qt.ApplicationAttribute
  301. AA_UseDesktopOpenGL = ... # type: Qt.ApplicationAttribute
  302. AA_UseOpenGLES = ... # type: Qt.ApplicationAttribute
  303. AA_UseSoftwareOpenGL = ... # type: Qt.ApplicationAttribute
  304. AA_ShareOpenGLContexts = ... # type: Qt.ApplicationAttribute
  305. AA_SetPalette = ... # type: Qt.ApplicationAttribute
  306. AA_PluginApplication = ... # type: Qt.ApplicationAttribute
  307. AA_UseStyleSheetPropagationInWidgetStyles = ... # type: Qt.ApplicationAttribute
  308. AA_DontUseNativeDialogs = ... # type: Qt.ApplicationAttribute
  309. AA_SynthesizeMouseForUnhandledTabletEvents = ... # type: Qt.ApplicationAttribute
  310. AA_CompressHighFrequencyEvents = ... # type: Qt.ApplicationAttribute
  311. AA_DontCheckOpenGLContextThreadAffinity = ... # type: Qt.ApplicationAttribute
  312. AA_DisableShaderDiskCache = ... # type: Qt.ApplicationAttribute
  313. AA_DontShowShortcutsInContextMenus = ... # type: Qt.ApplicationAttribute
  314. AA_CompressTabletEvents = ... # type: Qt.ApplicationAttribute
  315. AA_DisableSessionManager = ... # type: Qt.ApplicationAttribute
  316. AA_DisableNativeVirtualKeyboard = ... # type: Qt.ApplicationAttribute
  317. AA_QtQuickUseDefaultSizePolicy = ... # type: Qt.ApplicationAttribute
  318. AA_DontUseNativeMenuWindows = ... # type: Qt.ApplicationAttribute
  319. class WindowModality(enum.Enum):
  320. NonModal = ... # type: Qt.WindowModality
  321. WindowModal = ... # type: Qt.WindowModality
  322. ApplicationModal = ... # type: Qt.WindowModality
  323. class MatchFlag(enum.Flag):
  324. MatchExactly = ... # type: Qt.MatchFlag
  325. MatchFixedString = ... # type: Qt.MatchFlag
  326. MatchContains = ... # type: Qt.MatchFlag
  327. MatchStartsWith = ... # type: Qt.MatchFlag
  328. MatchEndsWith = ... # type: Qt.MatchFlag
  329. MatchWildcard = ... # type: Qt.MatchFlag
  330. MatchCaseSensitive = ... # type: Qt.MatchFlag
  331. MatchWrap = ... # type: Qt.MatchFlag
  332. MatchRecursive = ... # type: Qt.MatchFlag
  333. MatchRegularExpression = ... # type: Qt.MatchFlag
  334. class ItemFlag(enum.Flag):
  335. NoItemFlags = ... # type: Qt.ItemFlag
  336. ItemIsSelectable = ... # type: Qt.ItemFlag
  337. ItemIsEditable = ... # type: Qt.ItemFlag
  338. ItemIsDragEnabled = ... # type: Qt.ItemFlag
  339. ItemIsDropEnabled = ... # type: Qt.ItemFlag
  340. ItemIsUserCheckable = ... # type: Qt.ItemFlag
  341. ItemIsEnabled = ... # type: Qt.ItemFlag
  342. ItemNeverHasChildren = ... # type: Qt.ItemFlag
  343. ItemIsUserTristate = ... # type: Qt.ItemFlag
  344. ItemIsAutoTristate = ... # type: Qt.ItemFlag
  345. class ItemDataRole(enum.IntEnum):
  346. DisplayRole = ... # type: Qt.ItemDataRole
  347. DecorationRole = ... # type: Qt.ItemDataRole
  348. EditRole = ... # type: Qt.ItemDataRole
  349. ToolTipRole = ... # type: Qt.ItemDataRole
  350. StatusTipRole = ... # type: Qt.ItemDataRole
  351. WhatsThisRole = ... # type: Qt.ItemDataRole
  352. FontRole = ... # type: Qt.ItemDataRole
  353. TextAlignmentRole = ... # type: Qt.ItemDataRole
  354. BackgroundRole = ... # type: Qt.ItemDataRole
  355. ForegroundRole = ... # type: Qt.ItemDataRole
  356. CheckStateRole = ... # type: Qt.ItemDataRole
  357. AccessibleTextRole = ... # type: Qt.ItemDataRole
  358. AccessibleDescriptionRole = ... # type: Qt.ItemDataRole
  359. SizeHintRole = ... # type: Qt.ItemDataRole
  360. InitialSortOrderRole = ... # type: Qt.ItemDataRole
  361. RangeModelAdapterRole = ... # type: Qt.ItemDataRole
  362. UserRole = ... # type: Qt.ItemDataRole
  363. class CheckState(enum.Enum):
  364. Unchecked = ... # type: Qt.CheckState
  365. PartiallyChecked = ... # type: Qt.CheckState
  366. Checked = ... # type: Qt.CheckState
  367. class DropAction(enum.Flag):
  368. CopyAction = ... # type: Qt.DropAction
  369. MoveAction = ... # type: Qt.DropAction
  370. LinkAction = ... # type: Qt.DropAction
  371. ActionMask = ... # type: Qt.DropAction
  372. TargetMoveAction = ... # type: Qt.DropAction
  373. IgnoreAction = ... # type: Qt.DropAction
  374. class LayoutDirection(enum.Enum):
  375. LeftToRight = ... # type: Qt.LayoutDirection
  376. RightToLeft = ... # type: Qt.LayoutDirection
  377. LayoutDirectionAuto = ... # type: Qt.LayoutDirection
  378. class ToolButtonStyle(enum.Enum):
  379. ToolButtonIconOnly = ... # type: Qt.ToolButtonStyle
  380. ToolButtonTextOnly = ... # type: Qt.ToolButtonStyle
  381. ToolButtonTextBesideIcon = ... # type: Qt.ToolButtonStyle
  382. ToolButtonTextUnderIcon = ... # type: Qt.ToolButtonStyle
  383. ToolButtonFollowStyle = ... # type: Qt.ToolButtonStyle
  384. class InputMethodQuery(enum.Flag):
  385. ImFont = ... # type: Qt.InputMethodQuery
  386. ImCursorPosition = ... # type: Qt.InputMethodQuery
  387. ImSurroundingText = ... # type: Qt.InputMethodQuery
  388. ImCurrentSelection = ... # type: Qt.InputMethodQuery
  389. ImMaximumTextLength = ... # type: Qt.InputMethodQuery
  390. ImAnchorPosition = ... # type: Qt.InputMethodQuery
  391. ImEnabled = ... # type: Qt.InputMethodQuery
  392. ImCursorRectangle = ... # type: Qt.InputMethodQuery
  393. ImHints = ... # type: Qt.InputMethodQuery
  394. ImPreferredLanguage = ... # type: Qt.InputMethodQuery
  395. ImPlatformData = ... # type: Qt.InputMethodQuery
  396. ImQueryInput = ... # type: Qt.InputMethodQuery
  397. ImQueryAll = ... # type: Qt.InputMethodQuery
  398. ImAbsolutePosition = ... # type: Qt.InputMethodQuery
  399. ImTextBeforeCursor = ... # type: Qt.InputMethodQuery
  400. ImTextAfterCursor = ... # type: Qt.InputMethodQuery
  401. ImEnterKeyType = ... # type: Qt.InputMethodQuery
  402. ImAnchorRectangle = ... # type: Qt.InputMethodQuery
  403. ImInputItemClipRectangle = ... # type: Qt.InputMethodQuery
  404. ImReadOnly = ... # type: Qt.InputMethodQuery
  405. class ContextMenuPolicy(enum.Enum):
  406. NoContextMenu = ... # type: Qt.ContextMenuPolicy
  407. PreventContextMenu = ... # type: Qt.ContextMenuPolicy
  408. DefaultContextMenu = ... # type: Qt.ContextMenuPolicy
  409. ActionsContextMenu = ... # type: Qt.ContextMenuPolicy
  410. CustomContextMenu = ... # type: Qt.ContextMenuPolicy
  411. class FocusReason(enum.Enum):
  412. MouseFocusReason = ... # type: Qt.FocusReason
  413. TabFocusReason = ... # type: Qt.FocusReason
  414. BacktabFocusReason = ... # type: Qt.FocusReason
  415. ActiveWindowFocusReason = ... # type: Qt.FocusReason
  416. PopupFocusReason = ... # type: Qt.FocusReason
  417. ShortcutFocusReason = ... # type: Qt.FocusReason
  418. MenuBarFocusReason = ... # type: Qt.FocusReason
  419. OtherFocusReason = ... # type: Qt.FocusReason
  420. NoFocusReason = ... # type: Qt.FocusReason
  421. class TransformationMode(enum.Enum):
  422. FastTransformation = ... # type: Qt.TransformationMode
  423. SmoothTransformation = ... # type: Qt.TransformationMode
  424. class ClipOperation(enum.Enum):
  425. NoClip = ... # type: Qt.ClipOperation
  426. ReplaceClip = ... # type: Qt.ClipOperation
  427. IntersectClip = ... # type: Qt.ClipOperation
  428. class FillRule(enum.Enum):
  429. OddEvenFill = ... # type: Qt.FillRule
  430. WindingFill = ... # type: Qt.FillRule
  431. class ShortcutContext(enum.Enum):
  432. WidgetShortcut = ... # type: Qt.ShortcutContext
  433. WindowShortcut = ... # type: Qt.ShortcutContext
  434. ApplicationShortcut = ... # type: Qt.ShortcutContext
  435. WidgetWithChildrenShortcut = ... # type: Qt.ShortcutContext
  436. class ConnectionType(enum.Enum):
  437. AutoConnection = ... # type: Qt.ConnectionType
  438. DirectConnection = ... # type: Qt.ConnectionType
  439. QueuedConnection = ... # type: Qt.ConnectionType
  440. BlockingQueuedConnection = ... # type: Qt.ConnectionType
  441. UniqueConnection = ... # type: Qt.ConnectionType
  442. SingleShotConnection = ... # type: Qt.ConnectionType
  443. class Corner(enum.Enum):
  444. TopLeftCorner = ... # type: Qt.Corner
  445. TopRightCorner = ... # type: Qt.Corner
  446. BottomLeftCorner = ... # type: Qt.Corner
  447. BottomRightCorner = ... # type: Qt.Corner
  448. class CaseSensitivity(enum.Enum):
  449. CaseInsensitive = ... # type: Qt.CaseSensitivity
  450. CaseSensitive = ... # type: Qt.CaseSensitivity
  451. class ScrollBarPolicy(enum.Enum):
  452. ScrollBarAsNeeded = ... # type: Qt.ScrollBarPolicy
  453. ScrollBarAlwaysOff = ... # type: Qt.ScrollBarPolicy
  454. ScrollBarAlwaysOn = ... # type: Qt.ScrollBarPolicy
  455. class DayOfWeek(enum.Enum):
  456. Monday = ... # type: Qt.DayOfWeek
  457. Tuesday = ... # type: Qt.DayOfWeek
  458. Wednesday = ... # type: Qt.DayOfWeek
  459. Thursday = ... # type: Qt.DayOfWeek
  460. Friday = ... # type: Qt.DayOfWeek
  461. Saturday = ... # type: Qt.DayOfWeek
  462. Sunday = ... # type: Qt.DayOfWeek
  463. class TimeSpec(enum.Enum):
  464. LocalTime = ... # type: Qt.TimeSpec
  465. UTC = ... # type: Qt.TimeSpec
  466. OffsetFromUTC = ... # type: Qt.TimeSpec
  467. TimeZone = ... # type: Qt.TimeSpec
  468. class DateFormat(enum.Enum):
  469. TextDate = ... # type: Qt.DateFormat
  470. ISODate = ... # type: Qt.DateFormat
  471. ISODateWithMs = ... # type: Qt.DateFormat
  472. RFC2822Date = ... # type: Qt.DateFormat
  473. class ToolBarArea(enum.Flag):
  474. LeftToolBarArea = ... # type: Qt.ToolBarArea
  475. RightToolBarArea = ... # type: Qt.ToolBarArea
  476. TopToolBarArea = ... # type: Qt.ToolBarArea
  477. BottomToolBarArea = ... # type: Qt.ToolBarArea
  478. AllToolBarAreas = ... # type: Qt.ToolBarArea
  479. NoToolBarArea = ... # type: Qt.ToolBarArea
  480. class TimerType(enum.Enum):
  481. PreciseTimer = ... # type: Qt.TimerType
  482. CoarseTimer = ... # type: Qt.TimerType
  483. VeryCoarseTimer = ... # type: Qt.TimerType
  484. class DockWidgetArea(enum.Flag):
  485. LeftDockWidgetArea = ... # type: Qt.DockWidgetArea
  486. RightDockWidgetArea = ... # type: Qt.DockWidgetArea
  487. TopDockWidgetArea = ... # type: Qt.DockWidgetArea
  488. BottomDockWidgetArea = ... # type: Qt.DockWidgetArea
  489. AllDockWidgetAreas = ... # type: Qt.DockWidgetArea
  490. NoDockWidgetArea = ... # type: Qt.DockWidgetArea
  491. class AspectRatioMode(enum.Enum):
  492. IgnoreAspectRatio = ... # type: Qt.AspectRatioMode
  493. KeepAspectRatio = ... # type: Qt.AspectRatioMode
  494. KeepAspectRatioByExpanding = ... # type: Qt.AspectRatioMode
  495. class TextFormat(enum.Enum):
  496. PlainText = ... # type: Qt.TextFormat
  497. RichText = ... # type: Qt.TextFormat
  498. AutoText = ... # type: Qt.TextFormat
  499. MarkdownText = ... # type: Qt.TextFormat
  500. class CursorShape(enum.Enum):
  501. ArrowCursor = ... # type: Qt.CursorShape
  502. UpArrowCursor = ... # type: Qt.CursorShape
  503. CrossCursor = ... # type: Qt.CursorShape
  504. WaitCursor = ... # type: Qt.CursorShape
  505. IBeamCursor = ... # type: Qt.CursorShape
  506. SizeVerCursor = ... # type: Qt.CursorShape
  507. SizeHorCursor = ... # type: Qt.CursorShape
  508. SizeBDiagCursor = ... # type: Qt.CursorShape
  509. SizeFDiagCursor = ... # type: Qt.CursorShape
  510. SizeAllCursor = ... # type: Qt.CursorShape
  511. BlankCursor = ... # type: Qt.CursorShape
  512. SplitVCursor = ... # type: Qt.CursorShape
  513. SplitHCursor = ... # type: Qt.CursorShape
  514. PointingHandCursor = ... # type: Qt.CursorShape
  515. ForbiddenCursor = ... # type: Qt.CursorShape
  516. OpenHandCursor = ... # type: Qt.CursorShape
  517. ClosedHandCursor = ... # type: Qt.CursorShape
  518. WhatsThisCursor = ... # type: Qt.CursorShape
  519. BusyCursor = ... # type: Qt.CursorShape
  520. LastCursor = ... # type: Qt.CursorShape
  521. BitmapCursor = ... # type: Qt.CursorShape
  522. CustomCursor = ... # type: Qt.CursorShape
  523. DragCopyCursor = ... # type: Qt.CursorShape
  524. DragMoveCursor = ... # type: Qt.CursorShape
  525. DragLinkCursor = ... # type: Qt.CursorShape
  526. class UIEffect(enum.Enum):
  527. UI_General = ... # type: Qt.UIEffect
  528. UI_AnimateMenu = ... # type: Qt.UIEffect
  529. UI_FadeMenu = ... # type: Qt.UIEffect
  530. UI_AnimateCombo = ... # type: Qt.UIEffect
  531. UI_AnimateTooltip = ... # type: Qt.UIEffect
  532. UI_FadeTooltip = ... # type: Qt.UIEffect
  533. UI_AnimateToolBox = ... # type: Qt.UIEffect
  534. class BrushStyle(enum.Enum):
  535. NoBrush = ... # type: Qt.BrushStyle
  536. SolidPattern = ... # type: Qt.BrushStyle
  537. Dense1Pattern = ... # type: Qt.BrushStyle
  538. Dense2Pattern = ... # type: Qt.BrushStyle
  539. Dense3Pattern = ... # type: Qt.BrushStyle
  540. Dense4Pattern = ... # type: Qt.BrushStyle
  541. Dense5Pattern = ... # type: Qt.BrushStyle
  542. Dense6Pattern = ... # type: Qt.BrushStyle
  543. Dense7Pattern = ... # type: Qt.BrushStyle
  544. HorPattern = ... # type: Qt.BrushStyle
  545. VerPattern = ... # type: Qt.BrushStyle
  546. CrossPattern = ... # type: Qt.BrushStyle
  547. BDiagPattern = ... # type: Qt.BrushStyle
  548. FDiagPattern = ... # type: Qt.BrushStyle
  549. DiagCrossPattern = ... # type: Qt.BrushStyle
  550. LinearGradientPattern = ... # type: Qt.BrushStyle
  551. RadialGradientPattern = ... # type: Qt.BrushStyle
  552. ConicalGradientPattern = ... # type: Qt.BrushStyle
  553. TexturePattern = ... # type: Qt.BrushStyle
  554. class PenJoinStyle(enum.Enum):
  555. MiterJoin = ... # type: Qt.PenJoinStyle
  556. BevelJoin = ... # type: Qt.PenJoinStyle
  557. RoundJoin = ... # type: Qt.PenJoinStyle
  558. MPenJoinStyle = ... # type: Qt.PenJoinStyle
  559. SvgMiterJoin = ... # type: Qt.PenJoinStyle
  560. class PenCapStyle(enum.Enum):
  561. FlatCap = ... # type: Qt.PenCapStyle
  562. SquareCap = ... # type: Qt.PenCapStyle
  563. RoundCap = ... # type: Qt.PenCapStyle
  564. class PenStyle(enum.Enum):
  565. NoPen = ... # type: Qt.PenStyle
  566. SolidLine = ... # type: Qt.PenStyle
  567. DashLine = ... # type: Qt.PenStyle
  568. DotLine = ... # type: Qt.PenStyle
  569. DashDotLine = ... # type: Qt.PenStyle
  570. DashDotDotLine = ... # type: Qt.PenStyle
  571. CustomDashLine = ... # type: Qt.PenStyle
  572. class ArrowType(enum.Enum):
  573. NoArrow = ... # type: Qt.ArrowType
  574. UpArrow = ... # type: Qt.ArrowType
  575. DownArrow = ... # type: Qt.ArrowType
  576. LeftArrow = ... # type: Qt.ArrowType
  577. RightArrow = ... # type: Qt.ArrowType
  578. class Key(enum.IntEnum):
  579. Key_Escape = ... # type: Qt.Key
  580. Key_Tab = ... # type: Qt.Key
  581. Key_Backtab = ... # type: Qt.Key
  582. Key_Backspace = ... # type: Qt.Key
  583. Key_Return = ... # type: Qt.Key
  584. Key_Enter = ... # type: Qt.Key
  585. Key_Insert = ... # type: Qt.Key
  586. Key_Delete = ... # type: Qt.Key
  587. Key_Pause = ... # type: Qt.Key
  588. Key_Print = ... # type: Qt.Key
  589. Key_SysReq = ... # type: Qt.Key
  590. Key_Clear = ... # type: Qt.Key
  591. Key_Home = ... # type: Qt.Key
  592. Key_End = ... # type: Qt.Key
  593. Key_Left = ... # type: Qt.Key
  594. Key_Up = ... # type: Qt.Key
  595. Key_Right = ... # type: Qt.Key
  596. Key_Down = ... # type: Qt.Key
  597. Key_PageUp = ... # type: Qt.Key
  598. Key_PageDown = ... # type: Qt.Key
  599. Key_Shift = ... # type: Qt.Key
  600. Key_Control = ... # type: Qt.Key
  601. Key_Meta = ... # type: Qt.Key
  602. Key_Alt = ... # type: Qt.Key
  603. Key_CapsLock = ... # type: Qt.Key
  604. Key_NumLock = ... # type: Qt.Key
  605. Key_ScrollLock = ... # type: Qt.Key
  606. Key_F1 = ... # type: Qt.Key
  607. Key_F2 = ... # type: Qt.Key
  608. Key_F3 = ... # type: Qt.Key
  609. Key_F4 = ... # type: Qt.Key
  610. Key_F5 = ... # type: Qt.Key
  611. Key_F6 = ... # type: Qt.Key
  612. Key_F7 = ... # type: Qt.Key
  613. Key_F8 = ... # type: Qt.Key
  614. Key_F9 = ... # type: Qt.Key
  615. Key_F10 = ... # type: Qt.Key
  616. Key_F11 = ... # type: Qt.Key
  617. Key_F12 = ... # type: Qt.Key
  618. Key_F13 = ... # type: Qt.Key
  619. Key_F14 = ... # type: Qt.Key
  620. Key_F15 = ... # type: Qt.Key
  621. Key_F16 = ... # type: Qt.Key
  622. Key_F17 = ... # type: Qt.Key
  623. Key_F18 = ... # type: Qt.Key
  624. Key_F19 = ... # type: Qt.Key
  625. Key_F20 = ... # type: Qt.Key
  626. Key_F21 = ... # type: Qt.Key
  627. Key_F22 = ... # type: Qt.Key
  628. Key_F23 = ... # type: Qt.Key
  629. Key_F24 = ... # type: Qt.Key
  630. Key_F25 = ... # type: Qt.Key
  631. Key_F26 = ... # type: Qt.Key
  632. Key_F27 = ... # type: Qt.Key
  633. Key_F28 = ... # type: Qt.Key
  634. Key_F29 = ... # type: Qt.Key
  635. Key_F30 = ... # type: Qt.Key
  636. Key_F31 = ... # type: Qt.Key
  637. Key_F32 = ... # type: Qt.Key
  638. Key_F33 = ... # type: Qt.Key
  639. Key_F34 = ... # type: Qt.Key
  640. Key_F35 = ... # type: Qt.Key
  641. Key_Super_L = ... # type: Qt.Key
  642. Key_Super_R = ... # type: Qt.Key
  643. Key_Menu = ... # type: Qt.Key
  644. Key_Hyper_L = ... # type: Qt.Key
  645. Key_Hyper_R = ... # type: Qt.Key
  646. Key_Help = ... # type: Qt.Key
  647. Key_Direction_L = ... # type: Qt.Key
  648. Key_Direction_R = ... # type: Qt.Key
  649. Key_Space = ... # type: Qt.Key
  650. Key_Any = ... # type: Qt.Key
  651. Key_Exclam = ... # type: Qt.Key
  652. Key_QuoteDbl = ... # type: Qt.Key
  653. Key_NumberSign = ... # type: Qt.Key
  654. Key_Dollar = ... # type: Qt.Key
  655. Key_Percent = ... # type: Qt.Key
  656. Key_Ampersand = ... # type: Qt.Key
  657. Key_Apostrophe = ... # type: Qt.Key
  658. Key_ParenLeft = ... # type: Qt.Key
  659. Key_ParenRight = ... # type: Qt.Key
  660. Key_Asterisk = ... # type: Qt.Key
  661. Key_Plus = ... # type: Qt.Key
  662. Key_Comma = ... # type: Qt.Key
  663. Key_Minus = ... # type: Qt.Key
  664. Key_Period = ... # type: Qt.Key
  665. Key_Slash = ... # type: Qt.Key
  666. Key_0 = ... # type: Qt.Key
  667. Key_1 = ... # type: Qt.Key
  668. Key_2 = ... # type: Qt.Key
  669. Key_3 = ... # type: Qt.Key
  670. Key_4 = ... # type: Qt.Key
  671. Key_5 = ... # type: Qt.Key
  672. Key_6 = ... # type: Qt.Key
  673. Key_7 = ... # type: Qt.Key
  674. Key_8 = ... # type: Qt.Key
  675. Key_9 = ... # type: Qt.Key
  676. Key_Colon = ... # type: Qt.Key
  677. Key_Semicolon = ... # type: Qt.Key
  678. Key_Less = ... # type: Qt.Key
  679. Key_Equal = ... # type: Qt.Key
  680. Key_Greater = ... # type: Qt.Key
  681. Key_Question = ... # type: Qt.Key
  682. Key_At = ... # type: Qt.Key
  683. Key_A = ... # type: Qt.Key
  684. Key_B = ... # type: Qt.Key
  685. Key_C = ... # type: Qt.Key
  686. Key_D = ... # type: Qt.Key
  687. Key_E = ... # type: Qt.Key
  688. Key_F = ... # type: Qt.Key
  689. Key_G = ... # type: Qt.Key
  690. Key_H = ... # type: Qt.Key
  691. Key_I = ... # type: Qt.Key
  692. Key_J = ... # type: Qt.Key
  693. Key_K = ... # type: Qt.Key
  694. Key_L = ... # type: Qt.Key
  695. Key_M = ... # type: Qt.Key
  696. Key_N = ... # type: Qt.Key
  697. Key_O = ... # type: Qt.Key
  698. Key_P = ... # type: Qt.Key
  699. Key_Q = ... # type: Qt.Key
  700. Key_R = ... # type: Qt.Key
  701. Key_S = ... # type: Qt.Key
  702. Key_T = ... # type: Qt.Key
  703. Key_U = ... # type: Qt.Key
  704. Key_V = ... # type: Qt.Key
  705. Key_W = ... # type: Qt.Key
  706. Key_X = ... # type: Qt.Key
  707. Key_Y = ... # type: Qt.Key
  708. Key_Z = ... # type: Qt.Key
  709. Key_BracketLeft = ... # type: Qt.Key
  710. Key_Backslash = ... # type: Qt.Key
  711. Key_BracketRight = ... # type: Qt.Key
  712. Key_AsciiCircum = ... # type: Qt.Key
  713. Key_Underscore = ... # type: Qt.Key
  714. Key_QuoteLeft = ... # type: Qt.Key
  715. Key_BraceLeft = ... # type: Qt.Key
  716. Key_Bar = ... # type: Qt.Key
  717. Key_BraceRight = ... # type: Qt.Key
  718. Key_AsciiTilde = ... # type: Qt.Key
  719. Key_nobreakspace = ... # type: Qt.Key
  720. Key_exclamdown = ... # type: Qt.Key
  721. Key_cent = ... # type: Qt.Key
  722. Key_sterling = ... # type: Qt.Key
  723. Key_currency = ... # type: Qt.Key
  724. Key_yen = ... # type: Qt.Key
  725. Key_brokenbar = ... # type: Qt.Key
  726. Key_section = ... # type: Qt.Key
  727. Key_diaeresis = ... # type: Qt.Key
  728. Key_copyright = ... # type: Qt.Key
  729. Key_ordfeminine = ... # type: Qt.Key
  730. Key_guillemotleft = ... # type: Qt.Key
  731. Key_notsign = ... # type: Qt.Key
  732. Key_hyphen = ... # type: Qt.Key
  733. Key_registered = ... # type: Qt.Key
  734. Key_macron = ... # type: Qt.Key
  735. Key_degree = ... # type: Qt.Key
  736. Key_plusminus = ... # type: Qt.Key
  737. Key_twosuperior = ... # type: Qt.Key
  738. Key_threesuperior = ... # type: Qt.Key
  739. Key_acute = ... # type: Qt.Key
  740. Key_mu = ... # type: Qt.Key
  741. Key_paragraph = ... # type: Qt.Key
  742. Key_periodcentered = ... # type: Qt.Key
  743. Key_cedilla = ... # type: Qt.Key
  744. Key_onesuperior = ... # type: Qt.Key
  745. Key_masculine = ... # type: Qt.Key
  746. Key_guillemotright = ... # type: Qt.Key
  747. Key_onequarter = ... # type: Qt.Key
  748. Key_onehalf = ... # type: Qt.Key
  749. Key_threequarters = ... # type: Qt.Key
  750. Key_questiondown = ... # type: Qt.Key
  751. Key_Agrave = ... # type: Qt.Key
  752. Key_Aacute = ... # type: Qt.Key
  753. Key_Acircumflex = ... # type: Qt.Key
  754. Key_Atilde = ... # type: Qt.Key
  755. Key_Adiaeresis = ... # type: Qt.Key
  756. Key_Aring = ... # type: Qt.Key
  757. Key_AE = ... # type: Qt.Key
  758. Key_Ccedilla = ... # type: Qt.Key
  759. Key_Egrave = ... # type: Qt.Key
  760. Key_Eacute = ... # type: Qt.Key
  761. Key_Ecircumflex = ... # type: Qt.Key
  762. Key_Ediaeresis = ... # type: Qt.Key
  763. Key_Igrave = ... # type: Qt.Key
  764. Key_Iacute = ... # type: Qt.Key
  765. Key_Icircumflex = ... # type: Qt.Key
  766. Key_Idiaeresis = ... # type: Qt.Key
  767. Key_ETH = ... # type: Qt.Key
  768. Key_Ntilde = ... # type: Qt.Key
  769. Key_Ograve = ... # type: Qt.Key
  770. Key_Oacute = ... # type: Qt.Key
  771. Key_Ocircumflex = ... # type: Qt.Key
  772. Key_Otilde = ... # type: Qt.Key
  773. Key_Odiaeresis = ... # type: Qt.Key
  774. Key_multiply = ... # type: Qt.Key
  775. Key_Ooblique = ... # type: Qt.Key
  776. Key_Ugrave = ... # type: Qt.Key
  777. Key_Uacute = ... # type: Qt.Key
  778. Key_Ucircumflex = ... # type: Qt.Key
  779. Key_Udiaeresis = ... # type: Qt.Key
  780. Key_Yacute = ... # type: Qt.Key
  781. Key_THORN = ... # type: Qt.Key
  782. Key_ssharp = ... # type: Qt.Key
  783. Key_division = ... # type: Qt.Key
  784. Key_ydiaeresis = ... # type: Qt.Key
  785. Key_AltGr = ... # type: Qt.Key
  786. Key_Multi_key = ... # type: Qt.Key
  787. Key_Codeinput = ... # type: Qt.Key
  788. Key_SingleCandidate = ... # type: Qt.Key
  789. Key_MultipleCandidate = ... # type: Qt.Key
  790. Key_PreviousCandidate = ... # type: Qt.Key
  791. Key_Mode_switch = ... # type: Qt.Key
  792. Key_Kanji = ... # type: Qt.Key
  793. Key_Muhenkan = ... # type: Qt.Key
  794. Key_Henkan = ... # type: Qt.Key
  795. Key_Romaji = ... # type: Qt.Key
  796. Key_Hiragana = ... # type: Qt.Key
  797. Key_Katakana = ... # type: Qt.Key
  798. Key_Hiragana_Katakana = ... # type: Qt.Key
  799. Key_Zenkaku = ... # type: Qt.Key
  800. Key_Hankaku = ... # type: Qt.Key
  801. Key_Zenkaku_Hankaku = ... # type: Qt.Key
  802. Key_Touroku = ... # type: Qt.Key
  803. Key_Massyo = ... # type: Qt.Key
  804. Key_Kana_Lock = ... # type: Qt.Key
  805. Key_Kana_Shift = ... # type: Qt.Key
  806. Key_Eisu_Shift = ... # type: Qt.Key
  807. Key_Eisu_toggle = ... # type: Qt.Key
  808. Key_Hangul = ... # type: Qt.Key
  809. Key_Hangul_Start = ... # type: Qt.Key
  810. Key_Hangul_End = ... # type: Qt.Key
  811. Key_Hangul_Hanja = ... # type: Qt.Key
  812. Key_Hangul_Jamo = ... # type: Qt.Key
  813. Key_Hangul_Romaja = ... # type: Qt.Key
  814. Key_Hangul_Jeonja = ... # type: Qt.Key
  815. Key_Hangul_Banja = ... # type: Qt.Key
  816. Key_Hangul_PreHanja = ... # type: Qt.Key
  817. Key_Hangul_PostHanja = ... # type: Qt.Key
  818. Key_Hangul_Special = ... # type: Qt.Key
  819. Key_Dead_Grave = ... # type: Qt.Key
  820. Key_Dead_Acute = ... # type: Qt.Key
  821. Key_Dead_Circumflex = ... # type: Qt.Key
  822. Key_Dead_Tilde = ... # type: Qt.Key
  823. Key_Dead_Macron = ... # type: Qt.Key
  824. Key_Dead_Breve = ... # type: Qt.Key
  825. Key_Dead_Abovedot = ... # type: Qt.Key
  826. Key_Dead_Diaeresis = ... # type: Qt.Key
  827. Key_Dead_Abovering = ... # type: Qt.Key
  828. Key_Dead_Doubleacute = ... # type: Qt.Key
  829. Key_Dead_Caron = ... # type: Qt.Key
  830. Key_Dead_Cedilla = ... # type: Qt.Key
  831. Key_Dead_Ogonek = ... # type: Qt.Key
  832. Key_Dead_Iota = ... # type: Qt.Key
  833. Key_Dead_Voiced_Sound = ... # type: Qt.Key
  834. Key_Dead_Semivoiced_Sound = ... # type: Qt.Key
  835. Key_Dead_Belowdot = ... # type: Qt.Key
  836. Key_Dead_Hook = ... # type: Qt.Key
  837. Key_Dead_Horn = ... # type: Qt.Key
  838. Key_Back = ... # type: Qt.Key
  839. Key_Forward = ... # type: Qt.Key
  840. Key_Stop = ... # type: Qt.Key
  841. Key_Refresh = ... # type: Qt.Key
  842. Key_VolumeDown = ... # type: Qt.Key
  843. Key_VolumeMute = ... # type: Qt.Key
  844. Key_VolumeUp = ... # type: Qt.Key
  845. Key_BassBoost = ... # type: Qt.Key
  846. Key_BassUp = ... # type: Qt.Key
  847. Key_BassDown = ... # type: Qt.Key
  848. Key_TrebleUp = ... # type: Qt.Key
  849. Key_TrebleDown = ... # type: Qt.Key
  850. Key_MediaPlay = ... # type: Qt.Key
  851. Key_MediaStop = ... # type: Qt.Key
  852. Key_MediaPrevious = ... # type: Qt.Key
  853. Key_MediaNext = ... # type: Qt.Key
  854. Key_MediaRecord = ... # type: Qt.Key
  855. Key_HomePage = ... # type: Qt.Key
  856. Key_Favorites = ... # type: Qt.Key
  857. Key_Search = ... # type: Qt.Key
  858. Key_Standby = ... # type: Qt.Key
  859. Key_OpenUrl = ... # type: Qt.Key
  860. Key_LaunchMail = ... # type: Qt.Key
  861. Key_LaunchMedia = ... # type: Qt.Key
  862. Key_Launch0 = ... # type: Qt.Key
  863. Key_Launch1 = ... # type: Qt.Key
  864. Key_Launch2 = ... # type: Qt.Key
  865. Key_Launch3 = ... # type: Qt.Key
  866. Key_Launch4 = ... # type: Qt.Key
  867. Key_Launch5 = ... # type: Qt.Key
  868. Key_Launch6 = ... # type: Qt.Key
  869. Key_Launch7 = ... # type: Qt.Key
  870. Key_Launch8 = ... # type: Qt.Key
  871. Key_Launch9 = ... # type: Qt.Key
  872. Key_LaunchA = ... # type: Qt.Key
  873. Key_LaunchB = ... # type: Qt.Key
  874. Key_LaunchC = ... # type: Qt.Key
  875. Key_LaunchD = ... # type: Qt.Key
  876. Key_LaunchE = ... # type: Qt.Key
  877. Key_LaunchF = ... # type: Qt.Key
  878. Key_MediaLast = ... # type: Qt.Key
  879. Key_Select = ... # type: Qt.Key
  880. Key_Yes = ... # type: Qt.Key
  881. Key_No = ... # type: Qt.Key
  882. Key_Context1 = ... # type: Qt.Key
  883. Key_Context2 = ... # type: Qt.Key
  884. Key_Context3 = ... # type: Qt.Key
  885. Key_Context4 = ... # type: Qt.Key
  886. Key_Call = ... # type: Qt.Key
  887. Key_Hangup = ... # type: Qt.Key
  888. Key_Flip = ... # type: Qt.Key
  889. Key_unknown = ... # type: Qt.Key
  890. Key_Execute = ... # type: Qt.Key
  891. Key_Printer = ... # type: Qt.Key
  892. Key_Play = ... # type: Qt.Key
  893. Key_Sleep = ... # type: Qt.Key
  894. Key_Zoom = ... # type: Qt.Key
  895. Key_Cancel = ... # type: Qt.Key
  896. Key_MonBrightnessUp = ... # type: Qt.Key
  897. Key_MonBrightnessDown = ... # type: Qt.Key
  898. Key_KeyboardLightOnOff = ... # type: Qt.Key
  899. Key_KeyboardBrightnessUp = ... # type: Qt.Key
  900. Key_KeyboardBrightnessDown = ... # type: Qt.Key
  901. Key_PowerOff = ... # type: Qt.Key
  902. Key_WakeUp = ... # type: Qt.Key
  903. Key_Eject = ... # type: Qt.Key
  904. Key_ScreenSaver = ... # type: Qt.Key
  905. Key_WWW = ... # type: Qt.Key
  906. Key_Memo = ... # type: Qt.Key
  907. Key_LightBulb = ... # type: Qt.Key
  908. Key_Shop = ... # type: Qt.Key
  909. Key_History = ... # type: Qt.Key
  910. Key_AddFavorite = ... # type: Qt.Key
  911. Key_HotLinks = ... # type: Qt.Key
  912. Key_BrightnessAdjust = ... # type: Qt.Key
  913. Key_Finance = ... # type: Qt.Key
  914. Key_Community = ... # type: Qt.Key
  915. Key_AudioRewind = ... # type: Qt.Key
  916. Key_BackForward = ... # type: Qt.Key
  917. Key_ApplicationLeft = ... # type: Qt.Key
  918. Key_ApplicationRight = ... # type: Qt.Key
  919. Key_Book = ... # type: Qt.Key
  920. Key_CD = ... # type: Qt.Key
  921. Key_Calculator = ... # type: Qt.Key
  922. Key_ToDoList = ... # type: Qt.Key
  923. Key_ClearGrab = ... # type: Qt.Key
  924. Key_Close = ... # type: Qt.Key
  925. Key_Copy = ... # type: Qt.Key
  926. Key_Cut = ... # type: Qt.Key
  927. Key_Display = ... # type: Qt.Key
  928. Key_DOS = ... # type: Qt.Key
  929. Key_Documents = ... # type: Qt.Key
  930. Key_Excel = ... # type: Qt.Key
  931. Key_Explorer = ... # type: Qt.Key
  932. Key_Game = ... # type: Qt.Key
  933. Key_Go = ... # type: Qt.Key
  934. Key_iTouch = ... # type: Qt.Key
  935. Key_LogOff = ... # type: Qt.Key
  936. Key_Market = ... # type: Qt.Key
  937. Key_Meeting = ... # type: Qt.Key
  938. Key_MenuKB = ... # type: Qt.Key
  939. Key_MenuPB = ... # type: Qt.Key
  940. Key_MySites = ... # type: Qt.Key
  941. Key_News = ... # type: Qt.Key
  942. Key_OfficeHome = ... # type: Qt.Key
  943. Key_Option = ... # type: Qt.Key
  944. Key_Paste = ... # type: Qt.Key
  945. Key_Phone = ... # type: Qt.Key
  946. Key_Calendar = ... # type: Qt.Key
  947. Key_Reply = ... # type: Qt.Key
  948. Key_Reload = ... # type: Qt.Key
  949. Key_RotateWindows = ... # type: Qt.Key
  950. Key_RotationPB = ... # type: Qt.Key
  951. Key_RotationKB = ... # type: Qt.Key
  952. Key_Save = ... # type: Qt.Key
  953. Key_Send = ... # type: Qt.Key
  954. Key_Spell = ... # type: Qt.Key
  955. Key_SplitScreen = ... # type: Qt.Key
  956. Key_Support = ... # type: Qt.Key
  957. Key_TaskPane = ... # type: Qt.Key
  958. Key_Terminal = ... # type: Qt.Key
  959. Key_Tools = ... # type: Qt.Key
  960. Key_Travel = ... # type: Qt.Key
  961. Key_Video = ... # type: Qt.Key
  962. Key_Word = ... # type: Qt.Key
  963. Key_Xfer = ... # type: Qt.Key
  964. Key_ZoomIn = ... # type: Qt.Key
  965. Key_ZoomOut = ... # type: Qt.Key
  966. Key_Away = ... # type: Qt.Key
  967. Key_Messenger = ... # type: Qt.Key
  968. Key_WebCam = ... # type: Qt.Key
  969. Key_MailForward = ... # type: Qt.Key
  970. Key_Pictures = ... # type: Qt.Key
  971. Key_Music = ... # type: Qt.Key
  972. Key_Battery = ... # type: Qt.Key
  973. Key_Bluetooth = ... # type: Qt.Key
  974. Key_WLAN = ... # type: Qt.Key
  975. Key_UWB = ... # type: Qt.Key
  976. Key_AudioForward = ... # type: Qt.Key
  977. Key_AudioRepeat = ... # type: Qt.Key
  978. Key_AudioRandomPlay = ... # type: Qt.Key
  979. Key_Subtitle = ... # type: Qt.Key
  980. Key_AudioCycleTrack = ... # type: Qt.Key
  981. Key_Time = ... # type: Qt.Key
  982. Key_Hibernate = ... # type: Qt.Key
  983. Key_View = ... # type: Qt.Key
  984. Key_TopMenu = ... # type: Qt.Key
  985. Key_PowerDown = ... # type: Qt.Key
  986. Key_Suspend = ... # type: Qt.Key
  987. Key_ContrastAdjust = ... # type: Qt.Key
  988. Key_MediaPause = ... # type: Qt.Key
  989. Key_MediaTogglePlayPause = ... # type: Qt.Key
  990. Key_LaunchG = ... # type: Qt.Key
  991. Key_LaunchH = ... # type: Qt.Key
  992. Key_ToggleCallHangup = ... # type: Qt.Key
  993. Key_VoiceDial = ... # type: Qt.Key
  994. Key_LastNumberRedial = ... # type: Qt.Key
  995. Key_Camera = ... # type: Qt.Key
  996. Key_CameraFocus = ... # type: Qt.Key
  997. Key_TouchpadToggle = ... # type: Qt.Key
  998. Key_TouchpadOn = ... # type: Qt.Key
  999. Key_TouchpadOff = ... # type: Qt.Key
  1000. Key_MicMute = ... # type: Qt.Key
  1001. Key_Red = ... # type: Qt.Key
  1002. Key_Green = ... # type: Qt.Key
  1003. Key_Yellow = ... # type: Qt.Key
  1004. Key_Blue = ... # type: Qt.Key
  1005. Key_ChannelUp = ... # type: Qt.Key
  1006. Key_ChannelDown = ... # type: Qt.Key
  1007. Key_Guide = ... # type: Qt.Key
  1008. Key_Info = ... # type: Qt.Key
  1009. Key_Settings = ... # type: Qt.Key
  1010. Key_Exit = ... # type: Qt.Key
  1011. Key_MicVolumeUp = ... # type: Qt.Key
  1012. Key_MicVolumeDown = ... # type: Qt.Key
  1013. Key_New = ... # type: Qt.Key
  1014. Key_Open = ... # type: Qt.Key
  1015. Key_Find = ... # type: Qt.Key
  1016. Key_Undo = ... # type: Qt.Key
  1017. Key_Redo = ... # type: Qt.Key
  1018. Key_Dead_Stroke = ... # type: Qt.Key
  1019. Key_Dead_Abovecomma = ... # type: Qt.Key
  1020. Key_Dead_Abovereversedcomma = ... # type: Qt.Key
  1021. Key_Dead_Doublegrave = ... # type: Qt.Key
  1022. Key_Dead_Belowring = ... # type: Qt.Key
  1023. Key_Dead_Belowmacron = ... # type: Qt.Key
  1024. Key_Dead_Belowcircumflex = ... # type: Qt.Key
  1025. Key_Dead_Belowtilde = ... # type: Qt.Key
  1026. Key_Dead_Belowbreve = ... # type: Qt.Key
  1027. Key_Dead_Belowdiaeresis = ... # type: Qt.Key
  1028. Key_Dead_Invertedbreve = ... # type: Qt.Key
  1029. Key_Dead_Belowcomma = ... # type: Qt.Key
  1030. Key_Dead_Currency = ... # type: Qt.Key
  1031. Key_Dead_a = ... # type: Qt.Key
  1032. Key_Dead_A = ... # type: Qt.Key
  1033. Key_Dead_e = ... # type: Qt.Key
  1034. Key_Dead_E = ... # type: Qt.Key
  1035. Key_Dead_i = ... # type: Qt.Key
  1036. Key_Dead_I = ... # type: Qt.Key
  1037. Key_Dead_o = ... # type: Qt.Key
  1038. Key_Dead_O = ... # type: Qt.Key
  1039. Key_Dead_u = ... # type: Qt.Key
  1040. Key_Dead_U = ... # type: Qt.Key
  1041. Key_Dead_Small_Schwa = ... # type: Qt.Key
  1042. Key_Dead_Capital_Schwa = ... # type: Qt.Key
  1043. Key_Dead_Greek = ... # type: Qt.Key
  1044. Key_Dead_Lowline = ... # type: Qt.Key
  1045. Key_Dead_Aboveverticalline = ... # type: Qt.Key
  1046. Key_Dead_Belowverticalline = ... # type: Qt.Key
  1047. Key_Dead_Longsolidusoverlay = ... # type: Qt.Key
  1048. Key_micro = ... # type: Qt.Key
  1049. Key_Keyboard = ... # type: Qt.Key
  1050. class BGMode(enum.Enum):
  1051. TransparentMode = ... # type: Qt.BGMode
  1052. OpaqueMode = ... # type: Qt.BGMode
  1053. class ImageConversionFlag(enum.Flag):
  1054. AutoColor = ... # type: Qt.ImageConversionFlag
  1055. ColorOnly = ... # type: Qt.ImageConversionFlag
  1056. MonoOnly = ... # type: Qt.ImageConversionFlag
  1057. ThresholdAlphaDither = ... # type: Qt.ImageConversionFlag
  1058. OrderedAlphaDither = ... # type: Qt.ImageConversionFlag
  1059. DiffuseAlphaDither = ... # type: Qt.ImageConversionFlag
  1060. DiffuseDither = ... # type: Qt.ImageConversionFlag
  1061. OrderedDither = ... # type: Qt.ImageConversionFlag
  1062. ThresholdDither = ... # type: Qt.ImageConversionFlag
  1063. AutoDither = ... # type: Qt.ImageConversionFlag
  1064. PreferDither = ... # type: Qt.ImageConversionFlag
  1065. AvoidDither = ... # type: Qt.ImageConversionFlag
  1066. NoOpaqueDetection = ... # type: Qt.ImageConversionFlag
  1067. NoFormatConversion = ... # type: Qt.ImageConversionFlag
  1068. class WidgetAttribute(enum.Enum):
  1069. WA_Disabled = ... # type: Qt.WidgetAttribute
  1070. WA_UnderMouse = ... # type: Qt.WidgetAttribute
  1071. WA_MouseTracking = ... # type: Qt.WidgetAttribute
  1072. WA_OpaquePaintEvent = ... # type: Qt.WidgetAttribute
  1073. WA_StaticContents = ... # type: Qt.WidgetAttribute
  1074. WA_LaidOut = ... # type: Qt.WidgetAttribute
  1075. WA_PaintOnScreen = ... # type: Qt.WidgetAttribute
  1076. WA_NoSystemBackground = ... # type: Qt.WidgetAttribute
  1077. WA_UpdatesDisabled = ... # type: Qt.WidgetAttribute
  1078. WA_Mapped = ... # type: Qt.WidgetAttribute
  1079. WA_InputMethodEnabled = ... # type: Qt.WidgetAttribute
  1080. WA_WState_Visible = ... # type: Qt.WidgetAttribute
  1081. WA_WState_Hidden = ... # type: Qt.WidgetAttribute
  1082. WA_ForceDisabled = ... # type: Qt.WidgetAttribute
  1083. WA_KeyCompression = ... # type: Qt.WidgetAttribute
  1084. WA_PendingMoveEvent = ... # type: Qt.WidgetAttribute
  1085. WA_PendingResizeEvent = ... # type: Qt.WidgetAttribute
  1086. WA_SetPalette = ... # type: Qt.WidgetAttribute
  1087. WA_SetFont = ... # type: Qt.WidgetAttribute
  1088. WA_SetCursor = ... # type: Qt.WidgetAttribute
  1089. WA_NoChildEventsFromChildren = ... # type: Qt.WidgetAttribute
  1090. WA_WindowModified = ... # type: Qt.WidgetAttribute
  1091. WA_Resized = ... # type: Qt.WidgetAttribute
  1092. WA_Moved = ... # type: Qt.WidgetAttribute
  1093. WA_PendingUpdate = ... # type: Qt.WidgetAttribute
  1094. WA_InvalidSize = ... # type: Qt.WidgetAttribute
  1095. WA_CustomWhatsThis = ... # type: Qt.WidgetAttribute
  1096. WA_LayoutOnEntireRect = ... # type: Qt.WidgetAttribute
  1097. WA_OutsideWSRange = ... # type: Qt.WidgetAttribute
  1098. WA_GrabbedShortcut = ... # type: Qt.WidgetAttribute
  1099. WA_TransparentForMouseEvents = ... # type: Qt.WidgetAttribute
  1100. WA_PaintUnclipped = ... # type: Qt.WidgetAttribute
  1101. WA_SetWindowIcon = ... # type: Qt.WidgetAttribute
  1102. WA_NoMouseReplay = ... # type: Qt.WidgetAttribute
  1103. WA_DeleteOnClose = ... # type: Qt.WidgetAttribute
  1104. WA_RightToLeft = ... # type: Qt.WidgetAttribute
  1105. WA_SetLayoutDirection = ... # type: Qt.WidgetAttribute
  1106. WA_NoChildEventsForParent = ... # type: Qt.WidgetAttribute
  1107. WA_ForceUpdatesDisabled = ... # type: Qt.WidgetAttribute
  1108. WA_WState_Created = ... # type: Qt.WidgetAttribute
  1109. WA_WState_CompressKeys = ... # type: Qt.WidgetAttribute
  1110. WA_WState_InPaintEvent = ... # type: Qt.WidgetAttribute
  1111. WA_WState_Reparented = ... # type: Qt.WidgetAttribute
  1112. WA_WState_ConfigPending = ... # type: Qt.WidgetAttribute
  1113. WA_WState_Polished = ... # type: Qt.WidgetAttribute
  1114. WA_WState_OwnSizePolicy = ... # type: Qt.WidgetAttribute
  1115. WA_WState_ExplicitShowHide = ... # type: Qt.WidgetAttribute
  1116. WA_MouseNoMask = ... # type: Qt.WidgetAttribute
  1117. WA_NoMousePropagation = ... # type: Qt.WidgetAttribute
  1118. WA_Hover = ... # type: Qt.WidgetAttribute
  1119. WA_InputMethodTransparent = ... # type: Qt.WidgetAttribute
  1120. WA_QuitOnClose = ... # type: Qt.WidgetAttribute
  1121. WA_KeyboardFocusChange = ... # type: Qt.WidgetAttribute
  1122. WA_AcceptDrops = ... # type: Qt.WidgetAttribute
  1123. WA_WindowPropagation = ... # type: Qt.WidgetAttribute
  1124. WA_NoX11EventCompression = ... # type: Qt.WidgetAttribute
  1125. WA_TintedBackground = ... # type: Qt.WidgetAttribute
  1126. WA_X11OpenGLOverlay = ... # type: Qt.WidgetAttribute
  1127. WA_AttributeCount = ... # type: Qt.WidgetAttribute
  1128. WA_AlwaysShowToolTips = ... # type: Qt.WidgetAttribute
  1129. WA_MacOpaqueSizeGrip = ... # type: Qt.WidgetAttribute
  1130. WA_SetStyle = ... # type: Qt.WidgetAttribute
  1131. WA_SetLocale = ... # type: Qt.WidgetAttribute
  1132. WA_MacShowFocusRect = ... # type: Qt.WidgetAttribute
  1133. WA_MacNormalSize = ... # type: Qt.WidgetAttribute
  1134. WA_MacSmallSize = ... # type: Qt.WidgetAttribute
  1135. WA_MacMiniSize = ... # type: Qt.WidgetAttribute
  1136. WA_LayoutUsesWidgetRect = ... # type: Qt.WidgetAttribute
  1137. WA_StyledBackground = ... # type: Qt.WidgetAttribute
  1138. WA_MacAlwaysShowToolWindow = ... # type: Qt.WidgetAttribute
  1139. WA_StyleSheet = ... # type: Qt.WidgetAttribute
  1140. WA_ShowWithoutActivating = ... # type: Qt.WidgetAttribute
  1141. WA_NativeWindow = ... # type: Qt.WidgetAttribute
  1142. WA_DontCreateNativeAncestors = ... # type: Qt.WidgetAttribute
  1143. WA_DontShowOnScreen = ... # type: Qt.WidgetAttribute
  1144. WA_X11NetWmWindowTypeDesktop = ... # type: Qt.WidgetAttribute
  1145. WA_X11NetWmWindowTypeDock = ... # type: Qt.WidgetAttribute
  1146. WA_X11NetWmWindowTypeToolBar = ... # type: Qt.WidgetAttribute
  1147. WA_X11NetWmWindowTypeMenu = ... # type: Qt.WidgetAttribute
  1148. WA_X11NetWmWindowTypeUtility = ... # type: Qt.WidgetAttribute
  1149. WA_X11NetWmWindowTypeSplash = ... # type: Qt.WidgetAttribute
  1150. WA_X11NetWmWindowTypeDialog = ... # type: Qt.WidgetAttribute
  1151. WA_X11NetWmWindowTypeDropDownMenu = ... # type: Qt.WidgetAttribute
  1152. WA_X11NetWmWindowTypePopupMenu = ... # type: Qt.WidgetAttribute
  1153. WA_X11NetWmWindowTypeToolTip = ... # type: Qt.WidgetAttribute
  1154. WA_X11NetWmWindowTypeNotification = ... # type: Qt.WidgetAttribute
  1155. WA_X11NetWmWindowTypeCombo = ... # type: Qt.WidgetAttribute
  1156. WA_X11NetWmWindowTypeDND = ... # type: Qt.WidgetAttribute
  1157. WA_TranslucentBackground = ... # type: Qt.WidgetAttribute
  1158. WA_AcceptTouchEvents = ... # type: Qt.WidgetAttribute
  1159. WA_TouchPadAcceptSingleTouchEvents = ... # type: Qt.WidgetAttribute
  1160. WA_X11DoNotAcceptFocus = ... # type: Qt.WidgetAttribute
  1161. WA_AlwaysStackOnTop = ... # type: Qt.WidgetAttribute
  1162. WA_TabletTracking = ... # type: Qt.WidgetAttribute
  1163. WA_ContentsMarginsRespectsSafeArea = ... # type: Qt.WidgetAttribute
  1164. WA_StyleSheetTarget = ... # type: Qt.WidgetAttribute
  1165. class WindowState(enum.Flag):
  1166. WindowNoState = ... # type: Qt.WindowState
  1167. WindowMinimized = ... # type: Qt.WindowState
  1168. WindowMaximized = ... # type: Qt.WindowState
  1169. WindowFullScreen = ... # type: Qt.WindowState
  1170. WindowActive = ... # type: Qt.WindowState
  1171. class WindowType(enum.IntFlag):
  1172. Widget = ... # type: Qt.WindowType
  1173. Window = ... # type: Qt.WindowType
  1174. Dialog = ... # type: Qt.WindowType
  1175. Sheet = ... # type: Qt.WindowType
  1176. Drawer = ... # type: Qt.WindowType
  1177. Popup = ... # type: Qt.WindowType
  1178. Tool = ... # type: Qt.WindowType
  1179. ToolTip = ... # type: Qt.WindowType
  1180. SplashScreen = ... # type: Qt.WindowType
  1181. Desktop = ... # type: Qt.WindowType
  1182. SubWindow = ... # type: Qt.WindowType
  1183. WindowType_Mask = ... # type: Qt.WindowType
  1184. MSWindowsFixedSizeDialogHint = ... # type: Qt.WindowType
  1185. MSWindowsOwnDC = ... # type: Qt.WindowType
  1186. X11BypassWindowManagerHint = ... # type: Qt.WindowType
  1187. FramelessWindowHint = ... # type: Qt.WindowType
  1188. CustomizeWindowHint = ... # type: Qt.WindowType
  1189. WindowTitleHint = ... # type: Qt.WindowType
  1190. WindowSystemMenuHint = ... # type: Qt.WindowType
  1191. WindowMinimizeButtonHint = ... # type: Qt.WindowType
  1192. WindowMaximizeButtonHint = ... # type: Qt.WindowType
  1193. WindowMinMaxButtonsHint = ... # type: Qt.WindowType
  1194. WindowContextHelpButtonHint = ... # type: Qt.WindowType
  1195. WindowShadeButtonHint = ... # type: Qt.WindowType
  1196. WindowStaysOnTopHint = ... # type: Qt.WindowType
  1197. WindowStaysOnBottomHint = ... # type: Qt.WindowType
  1198. WindowCloseButtonHint = ... # type: Qt.WindowType
  1199. MacWindowToolBarButtonHint = ... # type: Qt.WindowType
  1200. BypassGraphicsProxyWidget = ... # type: Qt.WindowType
  1201. WindowTransparentForInput = ... # type: Qt.WindowType
  1202. WindowOverridesSystemGestures = ... # type: Qt.WindowType
  1203. WindowDoesNotAcceptFocus = ... # type: Qt.WindowType
  1204. NoDropShadowWindowHint = ... # type: Qt.WindowType
  1205. WindowFullscreenButtonHint = ... # type: Qt.WindowType
  1206. ForeignWindow = ... # type: Qt.WindowType
  1207. BypassWindowManagerHint = ... # type: Qt.WindowType
  1208. CoverWindow = ... # type: Qt.WindowType
  1209. MaximizeUsingFullscreenGeometryHint = ... # type: Qt.WindowType
  1210. ExpandedClientAreaHint = ... # type: Qt.WindowType
  1211. NoTitleBarBackgroundHint = ... # type: Qt.WindowType
  1212. class TextElideMode(enum.Enum):
  1213. ElideLeft = ... # type: Qt.TextElideMode
  1214. ElideRight = ... # type: Qt.TextElideMode
  1215. ElideMiddle = ... # type: Qt.TextElideMode
  1216. ElideNone = ... # type: Qt.TextElideMode
  1217. class TextFlag(enum.IntFlag):
  1218. TextSingleLine = ... # type: Qt.TextFlag
  1219. TextDontClip = ... # type: Qt.TextFlag
  1220. TextExpandTabs = ... # type: Qt.TextFlag
  1221. TextShowMnemonic = ... # type: Qt.TextFlag
  1222. TextWordWrap = ... # type: Qt.TextFlag
  1223. TextWrapAnywhere = ... # type: Qt.TextFlag
  1224. TextDontPrint = ... # type: Qt.TextFlag
  1225. TextIncludeTrailingSpaces = ... # type: Qt.TextFlag
  1226. TextHideMnemonic = ... # type: Qt.TextFlag
  1227. TextJustificationForced = ... # type: Qt.TextFlag
  1228. class AlignmentFlag(enum.IntFlag):
  1229. AlignLeft = ... # type: Qt.AlignmentFlag
  1230. AlignLeading = ... # type: Qt.AlignmentFlag
  1231. AlignRight = ... # type: Qt.AlignmentFlag
  1232. AlignTrailing = ... # type: Qt.AlignmentFlag
  1233. AlignHCenter = ... # type: Qt.AlignmentFlag
  1234. AlignJustify = ... # type: Qt.AlignmentFlag
  1235. AlignAbsolute = ... # type: Qt.AlignmentFlag
  1236. AlignHorizontal_Mask = ... # type: Qt.AlignmentFlag
  1237. AlignTop = ... # type: Qt.AlignmentFlag
  1238. AlignBottom = ... # type: Qt.AlignmentFlag
  1239. AlignVCenter = ... # type: Qt.AlignmentFlag
  1240. AlignVertical_Mask = ... # type: Qt.AlignmentFlag
  1241. AlignCenter = ... # type: Qt.AlignmentFlag
  1242. AlignBaseline = ... # type: Qt.AlignmentFlag
  1243. class SortOrder(enum.Enum):
  1244. AscendingOrder = ... # type: Qt.SortOrder
  1245. DescendingOrder = ... # type: Qt.SortOrder
  1246. class FocusPolicy(enum.IntFlag):
  1247. NoFocus = ... # type: Qt.FocusPolicy
  1248. TabFocus = ... # type: Qt.FocusPolicy
  1249. ClickFocus = ... # type: Qt.FocusPolicy
  1250. StrongFocus = ... # type: Qt.FocusPolicy
  1251. WheelFocus = ... # type: Qt.FocusPolicy
  1252. class Orientation(enum.Flag):
  1253. Horizontal = ... # type: Qt.Orientation
  1254. Vertical = ... # type: Qt.Orientation
  1255. class MouseButton(enum.Flag):
  1256. NoButton = ... # type: Qt.MouseButton
  1257. AllButtons = ... # type: Qt.MouseButton
  1258. LeftButton = ... # type: Qt.MouseButton
  1259. RightButton = ... # type: Qt.MouseButton
  1260. MiddleButton = ... # type: Qt.MouseButton
  1261. XButton1 = ... # type: Qt.MouseButton
  1262. XButton2 = ... # type: Qt.MouseButton
  1263. BackButton = ... # type: Qt.MouseButton
  1264. ExtraButton1 = ... # type: Qt.MouseButton
  1265. ForwardButton = ... # type: Qt.MouseButton
  1266. ExtraButton2 = ... # type: Qt.MouseButton
  1267. TaskButton = ... # type: Qt.MouseButton
  1268. ExtraButton3 = ... # type: Qt.MouseButton
  1269. ExtraButton4 = ... # type: Qt.MouseButton
  1270. ExtraButton5 = ... # type: Qt.MouseButton
  1271. ExtraButton6 = ... # type: Qt.MouseButton
  1272. ExtraButton7 = ... # type: Qt.MouseButton
  1273. ExtraButton8 = ... # type: Qt.MouseButton
  1274. ExtraButton9 = ... # type: Qt.MouseButton
  1275. ExtraButton10 = ... # type: Qt.MouseButton
  1276. ExtraButton11 = ... # type: Qt.MouseButton
  1277. ExtraButton12 = ... # type: Qt.MouseButton
  1278. ExtraButton13 = ... # type: Qt.MouseButton
  1279. ExtraButton14 = ... # type: Qt.MouseButton
  1280. ExtraButton15 = ... # type: Qt.MouseButton
  1281. ExtraButton16 = ... # type: Qt.MouseButton
  1282. ExtraButton17 = ... # type: Qt.MouseButton
  1283. ExtraButton18 = ... # type: Qt.MouseButton
  1284. ExtraButton19 = ... # type: Qt.MouseButton
  1285. ExtraButton20 = ... # type: Qt.MouseButton
  1286. ExtraButton21 = ... # type: Qt.MouseButton
  1287. ExtraButton22 = ... # type: Qt.MouseButton
  1288. ExtraButton23 = ... # type: Qt.MouseButton
  1289. ExtraButton24 = ... # type: Qt.MouseButton
  1290. class Modifier(enum.Flag):
  1291. META = ... # type: Qt.Modifier
  1292. SHIFT = ... # type: Qt.Modifier
  1293. CTRL = ... # type: Qt.Modifier
  1294. ALT = ... # type: Qt.Modifier
  1295. MODIFIER_MASK = ... # type: Qt.Modifier
  1296. class KeyboardModifier(enum.Flag):
  1297. NoModifier = ... # type: Qt.KeyboardModifier
  1298. ShiftModifier = ... # type: Qt.KeyboardModifier
  1299. ControlModifier = ... # type: Qt.KeyboardModifier
  1300. AltModifier = ... # type: Qt.KeyboardModifier
  1301. MetaModifier = ... # type: Qt.KeyboardModifier
  1302. KeypadModifier = ... # type: Qt.KeyboardModifier
  1303. GroupSwitchModifier = ... # type: Qt.KeyboardModifier
  1304. KeyboardModifierMask = ... # type: Qt.KeyboardModifier
  1305. class GlobalColor(enum.Enum):
  1306. color0 = ... # type: Qt.GlobalColor
  1307. color1 = ... # type: Qt.GlobalColor
  1308. black = ... # type: Qt.GlobalColor
  1309. white = ... # type: Qt.GlobalColor
  1310. darkGray = ... # type: Qt.GlobalColor
  1311. gray = ... # type: Qt.GlobalColor
  1312. lightGray = ... # type: Qt.GlobalColor
  1313. red = ... # type: Qt.GlobalColor
  1314. green = ... # type: Qt.GlobalColor
  1315. blue = ... # type: Qt.GlobalColor
  1316. cyan = ... # type: Qt.GlobalColor
  1317. magenta = ... # type: Qt.GlobalColor
  1318. yellow = ... # type: Qt.GlobalColor
  1319. darkRed = ... # type: Qt.GlobalColor
  1320. darkGreen = ... # type: Qt.GlobalColor
  1321. darkBlue = ... # type: Qt.GlobalColor
  1322. darkCyan = ... # type: Qt.GlobalColor
  1323. darkMagenta = ... # type: Qt.GlobalColor
  1324. darkYellow = ... # type: Qt.GlobalColor
  1325. transparent = ... # type: Qt.GlobalColor
  1326. def ws(self, s: 'QTextStream') -> 'QTextStream': ...
  1327. def bom(self, s: 'QTextStream') -> 'QTextStream': ...
  1328. def reset(self, s: 'QTextStream') -> 'QTextStream': ...
  1329. def flush(self, s: 'QTextStream') -> 'QTextStream': ...
  1330. def endl(self, s: 'QTextStream') -> 'QTextStream': ...
  1331. def center(self, s: 'QTextStream') -> 'QTextStream': ...
  1332. def right(self, s: 'QTextStream') -> 'QTextStream': ...
  1333. def left(self, s: 'QTextStream') -> 'QTextStream': ...
  1334. def scientific(self, s: 'QTextStream') -> 'QTextStream': ...
  1335. def fixed(self, s: 'QTextStream') -> 'QTextStream': ...
  1336. def lowercasedigits(self, s: 'QTextStream') -> 'QTextStream': ...
  1337. def lowercasebase(self, s: 'QTextStream') -> 'QTextStream': ...
  1338. def uppercasedigits(self, s: 'QTextStream') -> 'QTextStream': ...
  1339. def uppercasebase(self, s: 'QTextStream') -> 'QTextStream': ...
  1340. def noforcepoint(self, s: 'QTextStream') -> 'QTextStream': ...
  1341. def noforcesign(self, s: 'QTextStream') -> 'QTextStream': ...
  1342. def noshowbase(self, s: 'QTextStream') -> 'QTextStream': ...
  1343. def forcepoint(self, s: 'QTextStream') -> 'QTextStream': ...
  1344. def forcesign(self, s: 'QTextStream') -> 'QTextStream': ...
  1345. def showbase(self, s: 'QTextStream') -> 'QTextStream': ...
  1346. def hex(self, s: 'QTextStream') -> 'QTextStream': ...
  1347. def dec(self, s: 'QTextStream') -> 'QTextStream': ...
  1348. def oct(self, s: 'QTextStream') -> 'QTextStream': ...
  1349. def bin(self, s: 'QTextStream') -> 'QTextStream': ...
  1350. class QKeyCombination(PyQt6.sip.simplewrapper):
  1351. @typing.overload
  1352. def __init__(self, key: Qt.Key = ...) -> None: ...
  1353. @typing.overload
  1354. def __init__(self, modifiers: Qt.Modifier, key: Qt.Key = ...) -> None: ...
  1355. @typing.overload
  1356. def __init__(self, modifiers: Qt.KeyboardModifier, key: Qt.Key = ...) -> None: ...
  1357. @typing.overload
  1358. def __init__(self, a0: 'QKeyCombination') -> None: ...
  1359. def __eq__(self, other: object): ...
  1360. def __ne__(self, other: object): ...
  1361. def __hash__(self) -> int: ...
  1362. def toCombined(self) -> int: ...
  1363. @staticmethod
  1364. def fromCombined(combined: int) -> 'QKeyCombination': ...
  1365. def key(self) -> Qt.Key: ...
  1366. def keyboardModifiers(self) -> Qt.KeyboardModifier: ...
  1367. class QObject(PyQt6.sip.wrapper):
  1368. staticMetaObject = ... # type: 'QMetaObject'
  1369. def __init__(self, parent: 'QObject|None' = ...) -> None: ...
  1370. def isQmlExposed(self) -> bool: ...
  1371. def isQuickItemType(self) -> bool: ...
  1372. @typing.overload
  1373. @staticmethod
  1374. def disconnect(a0: 'QMetaObject.Connection') -> bool: ...
  1375. @typing.overload
  1376. def disconnect(self) -> None: ...
  1377. def isSignalConnected(self, signal: 'QMetaMethod') -> bool: ...
  1378. def senderSignalIndex(self) -> int: ...
  1379. def disconnectNotify(self, signal: 'QMetaMethod') -> None: ...
  1380. def connectNotify(self, signal: 'QMetaMethod') -> None: ...
  1381. def customEvent(self, a0: 'QEvent|None') -> None: ...
  1382. def childEvent(self, a0: 'QChildEvent|None') -> None: ...
  1383. def timerEvent(self, a0: 'QTimerEvent|None') -> None: ...
  1384. def receivers(self, signal: PYQT_SIGNAL) -> int: ...
  1385. def sender(self) -> 'QObject|None': ...
  1386. def deleteLater(self) -> None: ...
  1387. def inherits(self, classname: str) -> bool: ...
  1388. def parent(self) -> 'QObject|None': ...
  1389. objectNameChanged: typing.ClassVar[pyqtSignal]
  1390. destroyed: typing.ClassVar[pyqtSignal]
  1391. def property(self, name: str) -> typing.Any: ...
  1392. def setProperty(self, name: str, value: typing.Any) -> bool: ...
  1393. def dynamicPropertyNames(self) -> list['QByteArray']: ...
  1394. def dumpObjectTree(self) -> None: ...
  1395. def dumpObjectInfo(self) -> None: ...
  1396. def removeEventFilter(self, a0: 'QObject|None') -> None: ...
  1397. def installEventFilter(self, a0: 'QObject|None') -> None: ...
  1398. def setParent(self, a0: 'QObject|None') -> None: ...
  1399. def children(self) -> list['QObject']: ...
  1400. def killTimer(self, id: int) -> None: ...
  1401. def startTimer(self, interval: int, timerType: Qt.TimerType = ...) -> int: ...
  1402. def moveToThread(self, thread: 'QThread|None') -> None: ...
  1403. def thread(self) -> 'QThread|None': ...
  1404. def blockSignals(self, b: bool) -> bool: ...
  1405. def signalsBlocked(self) -> bool: ...
  1406. def isWindowType(self) -> bool: ...
  1407. def isWidgetType(self) -> bool: ...
  1408. def setObjectName(self, name: 'QByteArray'|bytes|bytearray|memoryview|str|None) -> None: ...
  1409. def objectName(self) -> str: ...
  1410. @typing.overload
  1411. def findChildren(self, type: type[QObjectT], name: str|None = ..., options: Qt.FindChildOption = ...) -> list[QObjectT]: ...
  1412. @typing.overload
  1413. def findChildren(self, types: tuple[type[QObjectT], ...], name: str|None = ..., options: Qt.FindChildOption = ...) -> list[QObjectT]: ...
  1414. @typing.overload
  1415. def findChildren(self, type: type[QObjectT], re: 'QRegularExpression', options: Qt.FindChildOption = ...) -> list[QObjectT]: ...
  1416. @typing.overload
  1417. def findChildren(self, types: tuple[type[QObjectT], ...], re: 'QRegularExpression', options: Qt.FindChildOption = ...) -> list[QObjectT]: ...
  1418. @typing.overload
  1419. def findChild(self, type: type[QObjectT], name: str|None = ..., options: Qt.FindChildOption = ...) -> QObjectT: ...
  1420. @typing.overload
  1421. def findChild(self, types: tuple[type[QObjectT], ...], name: str|None = ..., options: Qt.FindChildOption = ...) -> QObjectT: ...
  1422. @staticmethod
  1423. def tr(sourceText: str, disambiguation: str = ..., n: int = ...) -> str: ...
  1424. def eventFilter(self, a0: 'QObject|None', a1: 'QEvent|None') -> bool: ...
  1425. def event(self, a0: 'QEvent|None') -> bool: ...
  1426. def pyqtConfigure(self, a0: typing.Any) -> None: ...
  1427. def metaObject(self) -> 'QMetaObject|None': ...
  1428. class QAbstractAnimation(QObject):
  1429. class DeletionPolicy(enum.Enum):
  1430. KeepWhenStopped = ... # type: QAbstractAnimation.DeletionPolicy
  1431. DeleteWhenStopped = ... # type: QAbstractAnimation.DeletionPolicy
  1432. class State(enum.Enum):
  1433. Stopped = ... # type: QAbstractAnimation.State
  1434. Paused = ... # type: QAbstractAnimation.State
  1435. Running = ... # type: QAbstractAnimation.State
  1436. class Direction(enum.Enum):
  1437. Forward = ... # type: QAbstractAnimation.Direction
  1438. Backward = ... # type: QAbstractAnimation.Direction
  1439. def __init__(self, parent: QObject|None = ...) -> None: ...
  1440. def updateDirection(self, direction: 'QAbstractAnimation.Direction') -> None: ...
  1441. def updateState(self, newState: 'QAbstractAnimation.State', oldState: 'QAbstractAnimation.State') -> None: ...
  1442. def updateCurrentTime(self, currentTime: int) -> None: ...
  1443. def event(self, event: 'QEvent|None') -> bool: ...
  1444. def setCurrentTime(self, msecs: int) -> None: ...
  1445. def stop(self) -> None: ...
  1446. def setPaused(self, a0: bool) -> None: ...
  1447. def resume(self) -> None: ...
  1448. def pause(self) -> None: ...
  1449. def start(self, policy: 'QAbstractAnimation.DeletionPolicy' = ...) -> None: ...
  1450. directionChanged: typing.ClassVar[pyqtSignal]
  1451. currentLoopChanged: typing.ClassVar[pyqtSignal]
  1452. stateChanged: typing.ClassVar[pyqtSignal]
  1453. finished: typing.ClassVar[pyqtSignal]
  1454. def totalDuration(self) -> int: ...
  1455. def duration(self) -> int: ...
  1456. def currentLoop(self) -> int: ...
  1457. def setLoopCount(self, loopCount: int) -> None: ...
  1458. def loopCount(self) -> int: ...
  1459. def currentLoopTime(self) -> int: ...
  1460. def currentTime(self) -> int: ...
  1461. def setDirection(self, direction: 'QAbstractAnimation.Direction') -> None: ...
  1462. def direction(self) -> 'QAbstractAnimation.Direction': ...
  1463. def group(self) -> 'QAnimationGroup|None': ...
  1464. def state(self) -> 'QAbstractAnimation.State': ...
  1465. class QAbstractEventDispatcher(QObject):
  1466. class TimerInfo(PyQt6.sip.simplewrapper):
  1467. interval = ... # type: int
  1468. timerId = ... # type: int
  1469. timerType = ... # type: Qt.TimerType
  1470. @typing.overload
  1471. def __init__(self, id: int, i: int, t: Qt.TimerType) -> None: ...
  1472. @typing.overload
  1473. def __init__(self, a0: 'QAbstractEventDispatcher.TimerInfo') -> None: ...
  1474. def __init__(self, parent: QObject|None = ...) -> None: ...
  1475. awake: typing.ClassVar[pyqtSignal]
  1476. aboutToBlock: typing.ClassVar[pyqtSignal]
  1477. def filterNativeEvent(self, eventType: 'QByteArray'|bytes|bytearray|memoryview, message: PyQt6.sip.voidptr) -> typing.Tuple[bool, PyQt6.sip.voidptr]: ...
  1478. def removeNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter|None') -> None: ...
  1479. def installNativeEventFilter(self, filterObj: 'QAbstractNativeEventFilter|None') -> None: ...
  1480. def remainingTime(self, timerId: int) -> int: ...
  1481. def closingDown(self) -> None: ...
  1482. def startingUp(self) -> None: ...
  1483. def interrupt(self) -> None: ...
  1484. def wakeUp(self) -> None: ...
  1485. def registeredTimers(self, object: QObject|None) -> list['QAbstractEventDispatcher.TimerInfo']: ...
  1486. def unregisterTimers(self, object: QObject|None) -> bool: ...
  1487. def unregisterTimer(self, timerId: int) -> bool: ...
  1488. @typing.overload
  1489. def registerTimer(self, interval: int, timerType: Qt.TimerType, object: QObject|None) -> int: ...
  1490. @typing.overload
  1491. def registerTimer(self, timerId: int, interval: int, timerType: Qt.TimerType, object: QObject|None) -> None: ...
  1492. def processEvents(self, flags: 'QEventLoop.ProcessEventsFlag') -> bool: ...
  1493. @staticmethod
  1494. def instance(thread: 'QThread|None' = ...) -> 'QAbstractEventDispatcher|None': ...
  1495. class QModelIndex(PyQt6.sip.simplewrapper):
  1496. @typing.overload
  1497. def __init__(self) -> None: ...
  1498. @typing.overload
  1499. def __init__(self, a0: 'QModelIndex') -> None: ...
  1500. @typing.overload
  1501. def __init__(self, a0: 'QPersistentModelIndex') -> None: ...
  1502. def __eq__(self, other: object): ...
  1503. def __ne__(self, other: object): ...
  1504. @typing.overload
  1505. def __ge__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1506. @typing.overload
  1507. def __ge__(self, rhs: 'QModelIndex') -> bool: ...
  1508. @typing.overload
  1509. def __le__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1510. @typing.overload
  1511. def __le__(self, rhs: 'QModelIndex') -> bool: ...
  1512. @typing.overload
  1513. def __gt__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1514. @typing.overload
  1515. def __gt__(self, rhs: 'QModelIndex') -> bool: ...
  1516. @typing.overload
  1517. def __lt__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1518. @typing.overload
  1519. def __lt__(self, rhs: 'QModelIndex') -> bool: ...
  1520. def __hash__(self) -> int: ...
  1521. def siblingAtRow(self, row: int) -> 'QModelIndex': ...
  1522. def siblingAtColumn(self, column: int) -> 'QModelIndex': ...
  1523. def sibling(self, arow: int, acolumn: int) -> 'QModelIndex': ...
  1524. def parent(self) -> 'QModelIndex': ...
  1525. def isValid(self) -> bool: ...
  1526. def model(self) -> 'QAbstractItemModel|None': ...
  1527. def internalId(self) -> int: ...
  1528. def internalPointer(self) -> typing.Any: ...
  1529. def flags(self) -> Qt.ItemFlag: ...
  1530. def data(self, role: int = ...) -> typing.Any: ...
  1531. def column(self) -> int: ...
  1532. def row(self) -> int: ...
  1533. class QPersistentModelIndex(PyQt6.sip.simplewrapper):
  1534. @typing.overload
  1535. def __init__(self) -> None: ...
  1536. @typing.overload
  1537. def __init__(self, index: QModelIndex) -> None: ...
  1538. @typing.overload
  1539. def __init__(self, other: 'QPersistentModelIndex') -> None: ...
  1540. def __eq__(self, other: object): ...
  1541. def __ne__(self, other: object): ...
  1542. @typing.overload
  1543. def __ge__(self, rhs: QModelIndex) -> bool: ...
  1544. @typing.overload
  1545. def __ge__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1546. @typing.overload
  1547. def __le__(self, rhs: QModelIndex) -> bool: ...
  1548. @typing.overload
  1549. def __le__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1550. @typing.overload
  1551. def __gt__(self, rhs: QModelIndex) -> bool: ...
  1552. @typing.overload
  1553. def __gt__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1554. @typing.overload
  1555. def __lt__(self, rhs: QModelIndex) -> bool: ...
  1556. @typing.overload
  1557. def __lt__(self, rhs: 'QPersistentModelIndex') -> bool: ...
  1558. def __hash__(self) -> int: ...
  1559. def swap(self, other: 'QPersistentModelIndex') -> None: ...
  1560. def isValid(self) -> bool: ...
  1561. def model(self) -> 'QAbstractItemModel|None': ...
  1562. def sibling(self, row: int, column: int) -> QModelIndex: ...
  1563. def parent(self) -> QModelIndex: ...
  1564. def flags(self) -> Qt.ItemFlag: ...
  1565. def data(self, role: int = ...) -> typing.Any: ...
  1566. def column(self) -> int: ...
  1567. def row(self) -> int: ...
  1568. class QAbstractItemModel(QObject):
  1569. class CheckIndexOption(enum.Flag):
  1570. NoOption = ... # type: QAbstractItemModel.CheckIndexOption
  1571. IndexIsValid = ... # type: QAbstractItemModel.CheckIndexOption
  1572. DoNotUseParent = ... # type: QAbstractItemModel.CheckIndexOption
  1573. ParentIsInvalid = ... # type: QAbstractItemModel.CheckIndexOption
  1574. class LayoutChangeHint(enum.Enum):
  1575. NoLayoutChangeHint = ... # type: QAbstractItemModel.LayoutChangeHint
  1576. VerticalSortHint = ... # type: QAbstractItemModel.LayoutChangeHint
  1577. HorizontalSortHint = ... # type: QAbstractItemModel.LayoutChangeHint
  1578. def __init__(self, parent: QObject|None = ...) -> None: ...
  1579. def multiData(self, index: QModelIndex, roleDataSpan: 'QModelRoleDataSpan') -> None: ...
  1580. def clearItemData(self, index: QModelIndex) -> bool: ...
  1581. def checkIndex(self, index: QModelIndex, options: 'QAbstractItemModel.CheckIndexOption' = ...) -> bool: ...
  1582. def moveColumn(self, sourceParent: QModelIndex, sourceColumn: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  1583. def moveRow(self, sourceParent: QModelIndex, sourceRow: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  1584. def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  1585. def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  1586. def canDropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  1587. def resetInternalData(self) -> None: ...
  1588. def endResetModel(self) -> None: ...
  1589. def beginResetModel(self) -> None: ...
  1590. def endMoveColumns(self) -> None: ...
  1591. def beginMoveColumns(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationColumn: int) -> bool: ...
  1592. def endMoveRows(self) -> None: ...
  1593. def beginMoveRows(self, sourceParent: QModelIndex, sourceFirst: int, sourceLast: int, destinationParent: QModelIndex, destinationRow: int) -> bool: ...
  1594. columnsMoved: typing.ClassVar[pyqtSignal]
  1595. columnsAboutToBeMoved: typing.ClassVar[pyqtSignal]
  1596. rowsMoved: typing.ClassVar[pyqtSignal]
  1597. rowsAboutToBeMoved: typing.ClassVar[pyqtSignal]
  1598. def createIndex(self, row: int, column: int, object: typing.Any = ...) -> QModelIndex: ...
  1599. def roleNames(self) -> dict[int, 'QByteArray']: ...
  1600. def supportedDragActions(self) -> Qt.DropAction: ...
  1601. def removeColumn(self, column: int, parent: QModelIndex = ...) -> bool: ...
  1602. def removeRow(self, row: int, parent: QModelIndex = ...) -> bool: ...
  1603. def insertColumn(self, column: int, parent: QModelIndex = ...) -> bool: ...
  1604. def insertRow(self, row: int, parent: QModelIndex = ...) -> bool: ...
  1605. def changePersistentIndexList(self, from_: collections.abc.Iterable[QModelIndex], to: collections.abc.Iterable[QModelIndex]) -> None: ...
  1606. def changePersistentIndex(self, from_: QModelIndex, to: QModelIndex) -> None: ...
  1607. def persistentIndexList(self) -> list[QModelIndex]: ...
  1608. def endRemoveColumns(self) -> None: ...
  1609. def beginRemoveColumns(self, parent: QModelIndex, first: int, last: int) -> None: ...
  1610. def endInsertColumns(self) -> None: ...
  1611. def beginInsertColumns(self, parent: QModelIndex, first: int, last: int) -> None: ...
  1612. def endRemoveRows(self) -> None: ...
  1613. def beginRemoveRows(self, parent: QModelIndex, first: int, last: int) -> None: ...
  1614. def endInsertRows(self) -> None: ...
  1615. def beginInsertRows(self, parent: QModelIndex, first: int, last: int) -> None: ...
  1616. def decodeData(self, row: int, column: int, parent: QModelIndex, stream: 'QDataStream') -> bool: ...
  1617. def encodeData(self, indexes: collections.abc.Iterable[QModelIndex], stream: 'QDataStream') -> None: ...
  1618. def revert(self) -> None: ...
  1619. def submit(self) -> bool: ...
  1620. modelReset: typing.ClassVar[pyqtSignal]
  1621. modelAboutToBeReset: typing.ClassVar[pyqtSignal]
  1622. columnsRemoved: typing.ClassVar[pyqtSignal]
  1623. columnsAboutToBeRemoved: typing.ClassVar[pyqtSignal]
  1624. columnsInserted: typing.ClassVar[pyqtSignal]
  1625. columnsAboutToBeInserted: typing.ClassVar[pyqtSignal]
  1626. rowsRemoved: typing.ClassVar[pyqtSignal]
  1627. rowsAboutToBeRemoved: typing.ClassVar[pyqtSignal]
  1628. rowsInserted: typing.ClassVar[pyqtSignal]
  1629. rowsAboutToBeInserted: typing.ClassVar[pyqtSignal]
  1630. layoutChanged: typing.ClassVar[pyqtSignal]
  1631. layoutAboutToBeChanged: typing.ClassVar[pyqtSignal]
  1632. headerDataChanged: typing.ClassVar[pyqtSignal]
  1633. dataChanged: typing.ClassVar[pyqtSignal]
  1634. def span(self, index: QModelIndex) -> 'QSize': ...
  1635. def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: Qt.MatchFlag = ...) -> list[QModelIndex]: ...
  1636. def buddy(self, index: QModelIndex) -> QModelIndex: ...
  1637. def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ...
  1638. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  1639. def canFetchMore(self, parent: QModelIndex) -> bool: ...
  1640. def fetchMore(self, parent: QModelIndex) -> None: ...
  1641. def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  1642. def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  1643. def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  1644. def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  1645. def supportedDropActions(self) -> Qt.DropAction: ...
  1646. def dropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  1647. def mimeData(self, indexes: collections.abc.Iterable[QModelIndex]) -> 'QMimeData|None': ...
  1648. def mimeTypes(self) -> list[str]: ...
  1649. def setItemData(self, index: QModelIndex, roles: dict[int, typing.Any]) -> bool: ...
  1650. def itemData(self, index: QModelIndex) -> dict[int, typing.Any]: ...
  1651. def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ...
  1652. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  1653. def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
  1654. def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ...
  1655. def hasChildren(self, parent: QModelIndex = ...) -> bool: ...
  1656. def columnCount(self, parent: QModelIndex = ...) -> int: ...
  1657. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  1658. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  1659. @typing.overload
  1660. def parent(self, child: QModelIndex) -> QModelIndex: ...
  1661. @typing.overload
  1662. def parent(self) -> QObject|None: ...
  1663. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  1664. def hasIndex(self, row: int, column: int, parent: QModelIndex = ...) -> bool: ...
  1665. class QAbstractTableModel(QAbstractItemModel):
  1666. def __init__(self, parent: QObject|None = ...) -> None: ...
  1667. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  1668. def parent(self) -> QObject|None: ...
  1669. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  1670. def dropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  1671. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  1672. class QAbstractListModel(QAbstractItemModel):
  1673. def __init__(self, parent: QObject|None = ...) -> None: ...
  1674. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  1675. def parent(self) -> QObject|None: ...
  1676. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  1677. def dropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  1678. def index(self, row: int, column: int = ..., parent: QModelIndex = ...) -> QModelIndex: ...
  1679. class QModelRoleData(PyQt6.sip.simplewrapper):
  1680. @typing.overload
  1681. def __init__(self, role: int) -> None: ...
  1682. @typing.overload
  1683. def __init__(self, a0: 'QModelRoleData') -> None: ...
  1684. def clearData(self) -> None: ...
  1685. def setData(self, data: typing.Any) -> None: ...
  1686. def data(self) -> typing.Any: ...
  1687. def role(self) -> int: ...
  1688. class QModelRoleDataSpan(PyQt6.sip.simplewrapper):
  1689. @typing.overload
  1690. def __init__(self) -> None: ...
  1691. @typing.overload
  1692. def __init__(self, modelRoleData: QModelRoleData) -> None: ...
  1693. @typing.overload
  1694. def __init__(self, modelRoleData: collections.abc.Iterable[QModelRoleData]) -> None: ...
  1695. @typing.overload
  1696. def __init__(self, a0: 'QModelRoleDataSpan') -> None: ...
  1697. def dataForRole(self, role: int) -> typing.Any: ...
  1698. def __getitem__(self, index: int) -> QModelRoleData: ...
  1699. def end(self) -> QModelRoleData|None: ...
  1700. def begin(self) -> QModelRoleData|None: ...
  1701. def data(self) -> QModelRoleData|None: ...
  1702. def __len__(self) -> int: ...
  1703. def length(self) -> int: ...
  1704. def size(self) -> int: ...
  1705. class QAbstractNativeEventFilter(PyQt6.sip.simplewrapper):
  1706. def __init__(self) -> None: ...
  1707. def nativeEventFilter(self, eventType: 'QByteArray'|bytes|bytearray|memoryview, message: PyQt6.sip.voidptr) -> typing.Tuple[bool, PyQt6.sip.voidptr]: ...
  1708. class QAbstractProxyModel(QAbstractItemModel):
  1709. def __init__(self, parent: QObject|None = ...) -> None: ...
  1710. def roleNames(self) -> dict[int, 'QByteArray']: ...
  1711. def clearItemData(self, index: QModelIndex) -> bool: ...
  1712. def supportedDragActions(self) -> Qt.DropAction: ...
  1713. def dropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  1714. def canDropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  1715. sourceModelChanged: typing.ClassVar[pyqtSignal]
  1716. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  1717. def supportedDropActions(self) -> Qt.DropAction: ...
  1718. def mimeTypes(self) -> list[str]: ...
  1719. def mimeData(self, indexes: collections.abc.Iterable[QModelIndex]) -> 'QMimeData|None': ...
  1720. def hasChildren(self, parent: QModelIndex = ...) -> bool: ...
  1721. def span(self, index: QModelIndex) -> 'QSize': ...
  1722. def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ...
  1723. def fetchMore(self, parent: QModelIndex) -> None: ...
  1724. def canFetchMore(self, parent: QModelIndex) -> bool: ...
  1725. def buddy(self, index: QModelIndex) -> QModelIndex: ...
  1726. def setItemData(self, index: QModelIndex, roles: dict[int, typing.Any]) -> bool: ...
  1727. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  1728. def itemData(self, index: QModelIndex) -> dict[int, typing.Any]: ...
  1729. def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ...
  1730. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  1731. def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
  1732. def data(self, proxyIndex: QModelIndex, role: int = ...) -> typing.Any: ...
  1733. def revert(self) -> None: ...
  1734. def submit(self) -> bool: ...
  1735. def mapSelectionFromSource(self, selection: 'QItemSelection') -> 'QItemSelection': ...
  1736. def mapSelectionToSource(self, selection: 'QItemSelection') -> 'QItemSelection': ...
  1737. def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ...
  1738. def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ...
  1739. def sourceModel(self) -> QAbstractItemModel|None: ...
  1740. def setSourceModel(self, sourceModel: QAbstractItemModel|None) -> None: ...
  1741. class QAnimationGroup(QAbstractAnimation):
  1742. def __init__(self, parent: QObject|None = ...) -> None: ...
  1743. def event(self, event: 'QEvent|None') -> bool: ...
  1744. def clear(self) -> None: ...
  1745. def takeAnimation(self, index: int) -> QAbstractAnimation|None: ...
  1746. def removeAnimation(self, animation: QAbstractAnimation|None) -> None: ...
  1747. def insertAnimation(self, index: int, animation: QAbstractAnimation|None) -> None: ...
  1748. def addAnimation(self, animation: QAbstractAnimation|None) -> None: ...
  1749. def indexOfAnimation(self, animation: QAbstractAnimation|None) -> int: ...
  1750. def animationCount(self) -> int: ...
  1751. def animationAt(self, index: int) -> QAbstractAnimation|None: ...
  1752. class QBasicTimer(PyQt6.sip.simplewrapper):
  1753. def __init__(self) -> None: ...
  1754. def id(self) -> int: ...
  1755. def swap(self, other: 'QBasicTimer') -> None: ...
  1756. def stop(self) -> None: ...
  1757. @typing.overload
  1758. def start(self, msec: int, timerType: Qt.TimerType, obj: QObject|None) -> None: ...
  1759. @typing.overload
  1760. def start(self, msec: int, obj: QObject|None) -> None: ...
  1761. def timerId(self) -> int: ...
  1762. def isActive(self) -> bool: ...
  1763. class QBitArray(PyQt6.sip.simplewrapper):
  1764. @typing.overload
  1765. def __init__(self) -> None: ...
  1766. @typing.overload
  1767. def __init__(self, size: int, value: bool = ...) -> None: ...
  1768. @typing.overload
  1769. def __init__(self, other: 'QBitArray') -> None: ...
  1770. def __or__(self, a0: 'QBitArray') -> 'QBitArray': ...
  1771. def __eq__(self, other: object): ...
  1772. def __ne__(self, other: object): ...
  1773. def __and__(self, a0: 'QBitArray') -> 'QBitArray': ...
  1774. def __xor__(self, a0: 'QBitArray') -> 'QBitArray': ...
  1775. def toUInt32(self, endianness: 'QSysInfo.Endian') -> typing.Tuple[int, bool]: ...
  1776. @staticmethod
  1777. def fromBits(data: bytes, len: int) -> 'QBitArray': ...
  1778. def bits(self) -> bytes: ...
  1779. def swap(self, other: 'QBitArray') -> None: ...
  1780. def __hash__(self) -> int: ...
  1781. def at(self, i: int) -> bool: ...
  1782. def __getitem__(self, i: int) -> bool: ...
  1783. def toggleBit(self, i: int) -> bool: ...
  1784. def clearBit(self, i: int) -> None: ...
  1785. @typing.overload
  1786. def setBit(self, i: int) -> None: ...
  1787. @typing.overload
  1788. def setBit(self, i: int, val: bool) -> None: ...
  1789. def testBit(self, i: int) -> bool: ...
  1790. def truncate(self, pos: int) -> None: ...
  1791. @typing.overload
  1792. def fill(self, val: bool, first: int, last: int) -> None: ...
  1793. @typing.overload
  1794. def fill(self, val: bool, size: int = ...) -> bool: ...
  1795. def __ixor__(self, a0: 'QBitArray') -> 'QBitArray': ...
  1796. def __ior__(self, a0: 'QBitArray') -> 'QBitArray': ...
  1797. def __iand__(self, a0: 'QBitArray') -> 'QBitArray': ...
  1798. def clear(self) -> None: ...
  1799. def isDetached(self) -> bool: ...
  1800. def detach(self) -> None: ...
  1801. def resize(self, size: int) -> None: ...
  1802. def isNull(self) -> bool: ...
  1803. def isEmpty(self) -> bool: ...
  1804. def __len__(self) -> int: ...
  1805. @typing.overload
  1806. def count(self) -> int: ...
  1807. @typing.overload
  1808. def count(self, on: bool) -> int: ...
  1809. def size(self) -> int: ...
  1810. class QIODeviceBase(PyQt6.sip.simplewrapper):
  1811. class OpenModeFlag(enum.Flag):
  1812. NotOpen = ... # type: QIODeviceBase.OpenModeFlag
  1813. ReadOnly = ... # type: QIODeviceBase.OpenModeFlag
  1814. WriteOnly = ... # type: QIODeviceBase.OpenModeFlag
  1815. ReadWrite = ... # type: QIODeviceBase.OpenModeFlag
  1816. Append = ... # type: QIODeviceBase.OpenModeFlag
  1817. Truncate = ... # type: QIODeviceBase.OpenModeFlag
  1818. Text = ... # type: QIODeviceBase.OpenModeFlag
  1819. Unbuffered = ... # type: QIODeviceBase.OpenModeFlag
  1820. NewOnly = ... # type: QIODeviceBase.OpenModeFlag
  1821. ExistingOnly = ... # type: QIODeviceBase.OpenModeFlag
  1822. @typing.overload
  1823. def __init__(self) -> None: ...
  1824. @typing.overload
  1825. def __init__(self, a0: 'QIODeviceBase') -> None: ...
  1826. class QIODevice(QObject, QIODeviceBase):
  1827. @typing.overload
  1828. def __init__(self) -> None: ...
  1829. @typing.overload
  1830. def __init__(self, parent: QObject|None) -> None: ...
  1831. def setErrorString(self, errorString: str|None) -> None: ...
  1832. def setOpenMode(self, openMode: QIODeviceBase.OpenModeFlag) -> None: ...
  1833. def skipData(self, maxSize: int) -> int: ...
  1834. def writeData(self, a0: PyQt6.sip.Buffer) -> int: ...
  1835. def readLineData(self, maxlen: int) -> bytes: ...
  1836. def readData(self, maxlen: int) -> bytes: ...
  1837. readyRead: typing.ClassVar[pyqtSignal]
  1838. readChannelFinished: typing.ClassVar[pyqtSignal]
  1839. channelReadyRead: typing.ClassVar[pyqtSignal]
  1840. channelBytesWritten: typing.ClassVar[pyqtSignal]
  1841. bytesWritten: typing.ClassVar[pyqtSignal]
  1842. aboutToClose: typing.ClassVar[pyqtSignal]
  1843. def errorString(self) -> str: ...
  1844. def getChar(self) -> typing.Tuple[bool, bytes]: ...
  1845. def putChar(self, c: bytes) -> bool: ...
  1846. def ungetChar(self, c: bytes) -> None: ...
  1847. def waitForBytesWritten(self, msecs: int) -> bool: ...
  1848. def waitForReadyRead(self, msecs: int) -> bool: ...
  1849. def skip(self, maxSize: int) -> int: ...
  1850. def peek(self, maxlen: int) -> bytes: ...
  1851. def write(self, a0: PyQt6.sip.Buffer) -> int: ...
  1852. def isTransactionStarted(self) -> bool: ...
  1853. def rollbackTransaction(self) -> None: ...
  1854. def commitTransaction(self) -> None: ...
  1855. def startTransaction(self) -> None: ...
  1856. def canReadLine(self) -> bool: ...
  1857. def readAll(self) -> 'QByteArray': ...
  1858. def readLineInto(self, result: 'QByteArray'|bytes|bytearray|memoryview, maxSize: int = ...) -> bool: ...
  1859. @typing.overload
  1860. def readLine(self, maxlen: int) -> bytes: ...
  1861. @typing.overload
  1862. def readLine(self) -> 'QByteArray': ...
  1863. def read(self, maxlen: int) -> bytes: ...
  1864. def bytesToWrite(self) -> int: ...
  1865. def bytesAvailable(self) -> int: ...
  1866. def reset(self) -> bool: ...
  1867. def atEnd(self) -> bool: ...
  1868. def seek(self, pos: int) -> bool: ...
  1869. def size(self) -> int: ...
  1870. def pos(self) -> int: ...
  1871. def close(self) -> None: ...
  1872. def open(self, mode: QIODeviceBase.OpenModeFlag) -> bool: ...
  1873. def setCurrentWriteChannel(self, channel: int) -> None: ...
  1874. def currentWriteChannel(self) -> int: ...
  1875. def setCurrentReadChannel(self, channel: int) -> None: ...
  1876. def currentReadChannel(self) -> int: ...
  1877. def writeChannelCount(self) -> int: ...
  1878. def readChannelCount(self) -> int: ...
  1879. def isSequential(self) -> bool: ...
  1880. def isWritable(self) -> bool: ...
  1881. def isReadable(self) -> bool: ...
  1882. def isOpen(self) -> bool: ...
  1883. def isTextModeEnabled(self) -> bool: ...
  1884. def setTextModeEnabled(self, enabled: bool) -> None: ...
  1885. def openMode(self) -> QIODeviceBase.OpenModeFlag: ...
  1886. class QBuffer(QIODevice):
  1887. @typing.overload
  1888. def __init__(self, parent: QObject|None = ...) -> None: ...
  1889. @typing.overload
  1890. def __init__(self, byteArray: 'QByteArray|None', parent: QObject|None = ...) -> None: ...
  1891. def writeData(self, a0: PyQt6.sip.Buffer) -> int: ...
  1892. def readData(self, maxlen: int) -> bytes: ...
  1893. def canReadLine(self) -> bool: ...
  1894. def atEnd(self) -> bool: ...
  1895. def seek(self, off: int) -> bool: ...
  1896. def pos(self) -> int: ...
  1897. def size(self) -> int: ...
  1898. def close(self) -> None: ...
  1899. def open(self, openMode: QIODeviceBase.OpenModeFlag) -> bool: ...
  1900. @typing.overload
  1901. def setData(self, data: 'QByteArray'|bytes|bytearray|memoryview) -> None: ...
  1902. @typing.overload
  1903. def setData(self, data: PyQt6.sip.array[bytes]) -> None: ...
  1904. def setBuffer(self, a: 'QByteArray|None') -> None: ...
  1905. def data(self) -> 'QByteArray': ...
  1906. def buffer(self) -> 'QByteArray': ...
  1907. class QByteArray(PyQt6.sip.simplewrapper):
  1908. class Base64DecodingStatus(enum.Enum):
  1909. Ok = ... # type: QByteArray.Base64DecodingStatus
  1910. IllegalInputLength = ... # type: QByteArray.Base64DecodingStatus
  1911. IllegalCharacter = ... # type: QByteArray.Base64DecodingStatus
  1912. IllegalPadding = ... # type: QByteArray.Base64DecodingStatus
  1913. class Base64Option(enum.Flag):
  1914. Base64Encoding = ... # type: QByteArray.Base64Option
  1915. Base64UrlEncoding = ... # type: QByteArray.Base64Option
  1916. KeepTrailingEquals = ... # type: QByteArray.Base64Option
  1917. OmitTrailingEquals = ... # type: QByteArray.Base64Option
  1918. IgnoreBase64DecodingErrors = ... # type: QByteArray.Base64Option
  1919. AbortOnBase64DecodingErrors = ... # type: QByteArray.Base64Option
  1920. class FromBase64Result(PyQt6.sip.simplewrapper):
  1921. decoded = ... # type: 'QByteArray'|bytes|bytearray|memoryview
  1922. decodingStatus = ... # type: 'QByteArray.Base64DecodingStatus'
  1923. @typing.overload
  1924. def __init__(self) -> None: ...
  1925. @typing.overload
  1926. def __init__(self, a0: 'QByteArray.FromBase64Result') -> None: ...
  1927. def __eq__(self, other: object): ...
  1928. def __ne__(self, other: object): ...
  1929. def __hash__(self) -> int: ...
  1930. def __int__(self) -> bool: ...
  1931. def swap(self, other: 'QByteArray.FromBase64Result') -> None: ...
  1932. @typing.overload
  1933. def __init__(self) -> None: ...
  1934. @typing.overload
  1935. def __init__(self, size: int, c: bytes) -> None: ...
  1936. @typing.overload
  1937. def __init__(self, a: 'QByteArray'|bytes|bytearray|memoryview) -> None: ...
  1938. def __add__(self, a2: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  1939. def nullTerminate(self) -> 'QByteArray': ...
  1940. def nullTerminated(self) -> 'QByteArray': ...
  1941. @staticmethod
  1942. def maxSize() -> int: ...
  1943. def max_size(self) -> int: ...
  1944. @typing.overload
  1945. def slice(self, pos: int, n: int) -> 'QByteArray': ...
  1946. @typing.overload
  1947. def slice(self, pos: int) -> 'QByteArray': ...
  1948. def assign(self, v: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  1949. def removeLast(self) -> 'QByteArray': ...
  1950. def removeFirst(self) -> 'QByteArray': ...
  1951. def removeAt(self, pos: int) -> 'QByteArray': ...
  1952. def percentDecoded(self, percent: str = ...) -> 'QByteArray': ...
  1953. def isValidUtf8(self) -> bool: ...
  1954. @typing.overload
  1955. def sliced(self, pos: int) -> 'QByteArray': ...
  1956. @typing.overload
  1957. def sliced(self, pos: int, n: int) -> 'QByteArray': ...
  1958. @staticmethod
  1959. def fromBase64Encoding(base64: 'QByteArray'|bytes|bytearray|memoryview, options: 'QByteArray.Base64Option' = ...) -> 'QByteArray.FromBase64Result': ...
  1960. def isLower(self) -> bool: ...
  1961. def isUpper(self) -> bool: ...
  1962. def compare(self, a: 'QByteArray'|bytes|bytearray|memoryview, cs: Qt.CaseSensitivity = ...) -> int: ...
  1963. def chopped(self, len: int) -> 'QByteArray': ...
  1964. def swap(self, other: 'QByteArray') -> None: ...
  1965. def repeated(self, times: int) -> 'QByteArray': ...
  1966. @staticmethod
  1967. def fromPercentEncoding(input: 'QByteArray'|bytes|bytearray|memoryview, percent: str = ...) -> 'QByteArray': ...
  1968. def toPercentEncoding(self, exclude: 'QByteArray'|bytes|bytearray|memoryview = ..., include: 'QByteArray'|bytes|bytearray|memoryview = ..., percent: str = ...) -> 'QByteArray': ...
  1969. def toHex(self, separator: bytes = ...) -> 'QByteArray': ...
  1970. def contains(self, bv: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  1971. def push_front(self, a: 'QByteArray'|bytes|bytearray|memoryview) -> None: ...
  1972. def push_back(self, a: 'QByteArray'|bytes|bytearray|memoryview) -> None: ...
  1973. def squeeze(self) -> None: ...
  1974. def reserve(self, size: int) -> None: ...
  1975. def capacity(self) -> int: ...
  1976. def data(self) -> bytes: ...
  1977. def isEmpty(self) -> bool: ...
  1978. def __imul__(self, m: int) -> 'QByteArray': ...
  1979. def __mul__(self, m: int) -> 'QByteArray': ...
  1980. def __repr__(self) -> str: ...
  1981. def __str__(self) -> str: ...
  1982. def __hash__(self) -> int: ...
  1983. def __contains__(self, bv: 'QByteArray'|bytes|bytearray|memoryview) -> int: ...
  1984. @typing.overload
  1985. def __getitem__(self, i: int) -> bytes: ...
  1986. @typing.overload
  1987. def __getitem__(self, slice: slice) -> 'QByteArray': ...
  1988. def at(self, i: int) -> bytes: ...
  1989. def __len__(self) -> int: ...
  1990. def size(self) -> int: ...
  1991. def isNull(self) -> bool: ...
  1992. def length(self) -> int: ...
  1993. @staticmethod
  1994. def fromHex(hexEncoded: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  1995. @staticmethod
  1996. def fromBase64(base64: 'QByteArray'|bytes|bytearray|memoryview, options: 'QByteArray.Base64Option' = ...) -> 'QByteArray': ...
  1997. @typing.overload
  1998. @staticmethod
  1999. def number(n: float, format: str = ..., precision: int = ...) -> 'QByteArray': ...
  2000. @typing.overload
  2001. @staticmethod
  2002. def number(n: int, base: int = ...) -> 'QByteArray': ...
  2003. @typing.overload
  2004. def setNum(self, n: float, format: str = ..., precision: int = ...) -> 'QByteArray': ...
  2005. @typing.overload
  2006. def setNum(self, n: int, base: int = ...) -> 'QByteArray': ...
  2007. def toBase64(self, options: 'QByteArray.Base64Option' = ...) -> 'QByteArray': ...
  2008. def toDouble(self) -> typing.Tuple[float, bool]: ...
  2009. def toFloat(self) -> typing.Tuple[float, bool]: ...
  2010. def toULongLong(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2011. def toLongLong(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2012. def toULong(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2013. def toLong(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2014. def toUInt(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2015. def toInt(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2016. def toUShort(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2017. def toShort(self, base: int = ...) -> typing.Tuple[int, bool]: ...
  2018. @typing.overload
  2019. def __ge__(self, s2: str|None) -> bool: ...
  2020. @typing.overload
  2021. def __ge__(self, a2: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  2022. @typing.overload
  2023. def __le__(self, s2: str|None) -> bool: ...
  2024. @typing.overload
  2025. def __le__(self, a2: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  2026. @typing.overload
  2027. def __gt__(self, s2: str|None) -> bool: ...
  2028. @typing.overload
  2029. def __gt__(self, a2: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  2030. @typing.overload
  2031. def __lt__(self, s2: str|None) -> bool: ...
  2032. @typing.overload
  2033. def __lt__(self, a2: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  2034. def __ne__(self, other: object): ...
  2035. def __eq__(self, other: object): ...
  2036. def __iadd__(self, a: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  2037. def split(self, sep: bytes) -> list['QByteArray']: ...
  2038. @typing.overload
  2039. def replace(self, before: 'QByteArray'|bytes|bytearray|memoryview, after: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  2040. @typing.overload
  2041. def replace(self, index: int, len: int, s: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  2042. def remove(self, index: int, len: int) -> 'QByteArray': ...
  2043. @typing.overload
  2044. def insert(self, i: int, data: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  2045. @typing.overload
  2046. def insert(self, i: int, count: int, c: bytes) -> 'QByteArray': ...
  2047. @typing.overload
  2048. def append(self, a: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  2049. @typing.overload
  2050. def append(self, count: int, c: bytes) -> 'QByteArray': ...
  2051. @typing.overload
  2052. def prepend(self, a: 'QByteArray'|bytes|bytearray|memoryview) -> 'QByteArray': ...
  2053. @typing.overload
  2054. def prepend(self, count: int, c: bytes) -> 'QByteArray': ...
  2055. def rightJustified(self, width: int, fill: bytes = ..., truncate: bool = ...) -> 'QByteArray': ...
  2056. def leftJustified(self, width: int, fill: bytes = ..., truncate: bool = ...) -> 'QByteArray': ...
  2057. def simplified(self) -> 'QByteArray': ...
  2058. def trimmed(self) -> 'QByteArray': ...
  2059. def toUpper(self) -> 'QByteArray': ...
  2060. def toLower(self) -> 'QByteArray': ...
  2061. def chop(self, n: int) -> None: ...
  2062. def truncate(self, pos: int) -> None: ...
  2063. def endsWith(self, bv: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  2064. def startsWith(self, bv: 'QByteArray'|bytes|bytearray|memoryview) -> bool: ...
  2065. def last(self, n: int) -> 'QByteArray': ...
  2066. def first(self, n: int) -> 'QByteArray': ...
  2067. def mid(self, index: int, length: int = ...) -> 'QByteArray': ...
  2068. def right(self, len: int) -> 'QByteArray': ...
  2069. def left(self, len: int) -> 'QByteArray': ...
  2070. @typing.overload
  2071. def count(self, bv: 'QByteArray'|bytes|bytearray|memoryview) -> int: ...
  2072. @typing.overload
  2073. def count(self) -> int: ...
  2074. def lastIndexOf(self, bv: 'QByteArray'|bytes|bytearray|memoryview, from_: int = ...) -> int: ...
  2075. def indexOf(self, bv: 'QByteArray'|bytes|bytearray|memoryview, from_: int = ...) -> int: ...
  2076. def clear(self) -> None: ...
  2077. def fill(self, c: bytes, size: int = ...) -> 'QByteArray': ...
  2078. @typing.overload
  2079. def resize(self, size: int) -> None: ...
  2080. @typing.overload
  2081. def resize(self, size: int, c: str) -> None: ...
  2082. class QByteArrayMatcher(PyQt6.sip.simplewrapper):
  2083. @typing.overload
  2084. def __init__(self, pattern: bytes, length: int = ...) -> None: ...
  2085. @typing.overload
  2086. def __init__(self, pattern: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2087. @typing.overload
  2088. def __init__(self) -> None: ...
  2089. @typing.overload
  2090. def __init__(self, other: 'QByteArrayMatcher') -> None: ...
  2091. def pattern(self) -> QByteArray: ...
  2092. @typing.overload
  2093. def indexIn(self, data: QByteArray|bytes|bytearray|memoryview, from_: int = ...) -> int: ...
  2094. @typing.overload
  2095. def indexIn(self, str: bytes, len: int, from_: int = ...) -> int: ...
  2096. def setPattern(self, pattern: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2097. class QCalendar(PyQt6.sip.simplewrapper):
  2098. class System(enum.Enum):
  2099. Gregorian = ... # type: QCalendar.System
  2100. Julian = ... # type: QCalendar.System
  2101. Milankovic = ... # type: QCalendar.System
  2102. Jalali = ... # type: QCalendar.System
  2103. IslamicCivil = ... # type: QCalendar.System
  2104. Unspecified = ... # type: int
  2105. class YearMonthDay(PyQt6.sip.simplewrapper):
  2106. day = ... # type: int
  2107. month = ... # type: int
  2108. year = ... # type: int
  2109. @typing.overload
  2110. def __init__(self) -> None: ...
  2111. @typing.overload
  2112. def __init__(self, year: int, month: int = ..., day: int = ...) -> None: ...
  2113. @typing.overload
  2114. def __init__(self, a0: 'QCalendar.YearMonthDay') -> None: ...
  2115. def isValid(self) -> bool: ...
  2116. @typing.overload
  2117. def __init__(self) -> None: ...
  2118. @typing.overload
  2119. def __init__(self, system: 'QCalendar.System') -> None: ...
  2120. @typing.overload
  2121. def __init__(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  2122. @typing.overload
  2123. def __init__(self, a0: 'QCalendar') -> None: ...
  2124. def matchCenturyToWeekday(self, parts: 'QCalendar.YearMonthDay', dow: int) -> 'QDate': ...
  2125. @staticmethod
  2126. def availableCalendars() -> list[str]: ...
  2127. def dateTimeToString(self, format: str, datetime: 'QDateTime'|datetime.datetime, dateOnly: 'QDate'|datetime.date, timeOnly: 'QTime'|datetime.time, locale: 'QLocale') -> str: ...
  2128. def standaloneWeekDayName(self, locale: 'QLocale', day: int, format: 'QLocale.FormatType' = ...) -> str: ...
  2129. def weekDayName(self, locale: 'QLocale', day: int, format: 'QLocale.FormatType' = ...) -> str: ...
  2130. def standaloneMonthName(self, locale: 'QLocale', month: int, year: int = ..., format: 'QLocale.FormatType' = ...) -> str: ...
  2131. def monthName(self, locale: 'QLocale', month: int, year: int = ..., format: 'QLocale.FormatType' = ...) -> str: ...
  2132. def dayOfWeek(self, date: 'QDate'|datetime.date) -> int: ...
  2133. def partsFromDate(self, date: 'QDate'|datetime.date) -> 'QCalendar.YearMonthDay': ...
  2134. @typing.overload
  2135. def dateFromParts(self, year: int, month: int, day: int) -> 'QDate': ...
  2136. @typing.overload
  2137. def dateFromParts(self, parts: 'QCalendar.YearMonthDay') -> 'QDate': ...
  2138. def name(self) -> str: ...
  2139. def maximumMonthsInYear(self) -> int: ...
  2140. def minimumDaysInMonth(self) -> int: ...
  2141. def maximumDaysInMonth(self) -> int: ...
  2142. def hasYearZero(self) -> bool: ...
  2143. def isProleptic(self) -> bool: ...
  2144. def isSolar(self) -> bool: ...
  2145. def isLuniSolar(self) -> bool: ...
  2146. def isLunar(self) -> bool: ...
  2147. def isGregorian(self) -> bool: ...
  2148. def isLeapYear(self, year: int) -> bool: ...
  2149. def isDateValid(self, year: int, month: int, day: int) -> bool: ...
  2150. def monthsInYear(self, year: int) -> int: ...
  2151. def daysInYear(self, year: int) -> int: ...
  2152. def daysInMonth(self, month: int, year: int = ...) -> int: ...
  2153. class QCborError(PyQt6.sip.simplewrapper):
  2154. class Code(enum.Enum):
  2155. UnknownError = ... # type: QCborError.Code
  2156. AdvancePastEnd = ... # type: QCborError.Code
  2157. InputOutputError = ... # type: QCborError.Code
  2158. GarbageAtEnd = ... # type: QCborError.Code
  2159. EndOfFile = ... # type: QCborError.Code
  2160. UnexpectedBreak = ... # type: QCborError.Code
  2161. UnknownType = ... # type: QCborError.Code
  2162. IllegalType = ... # type: QCborError.Code
  2163. IllegalNumber = ... # type: QCborError.Code
  2164. IllegalSimpleType = ... # type: QCborError.Code
  2165. InvalidUtf8String = ... # type: QCborError.Code
  2166. DataTooLarge = ... # type: QCborError.Code
  2167. NestingTooDeep = ... # type: QCborError.Code
  2168. UnsupportedType = ... # type: QCborError.Code
  2169. NoError = ... # type: QCborError.Code
  2170. @typing.overload
  2171. def __init__(self) -> None: ...
  2172. @typing.overload
  2173. def __init__(self, a0: 'QCborError') -> None: ...
  2174. def toString(self) -> str: ...
  2175. def code(self) -> 'QCborError.Code': ...
  2176. class QCborStreamReader(PyQt6.sip.simplewrapper):
  2177. class StringResultCode(enum.Enum):
  2178. EndOfString = ... # type: QCborStreamReader.StringResultCode
  2179. Ok = ... # type: QCborStreamReader.StringResultCode
  2180. Error = ... # type: QCborStreamReader.StringResultCode
  2181. class Type(enum.Enum):
  2182. UnsignedInteger = ... # type: QCborStreamReader.Type
  2183. NegativeInteger = ... # type: QCborStreamReader.Type
  2184. ByteString = ... # type: QCborStreamReader.Type
  2185. ByteArray = ... # type: QCborStreamReader.Type
  2186. TextString = ... # type: QCborStreamReader.Type
  2187. String = ... # type: QCborStreamReader.Type
  2188. Array = ... # type: QCborStreamReader.Type
  2189. Map = ... # type: QCborStreamReader.Type
  2190. Tag = ... # type: QCborStreamReader.Type
  2191. SimpleType = ... # type: QCborStreamReader.Type
  2192. HalfFloat = ... # type: QCborStreamReader.Type
  2193. Float16 = ... # type: QCborStreamReader.Type
  2194. Float = ... # type: QCborStreamReader.Type
  2195. Double = ... # type: QCborStreamReader.Type
  2196. Invalid = ... # type: QCborStreamReader.Type
  2197. @typing.overload
  2198. def __init__(self) -> None: ...
  2199. @typing.overload
  2200. def __init__(self, data: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2201. @typing.overload
  2202. def __init__(self, device: QIODevice|None) -> None: ...
  2203. def readAllByteArray(self) -> QByteArray: ...
  2204. def readAllUtf8String(self) -> QByteArray: ...
  2205. def readAllString(self) -> str: ...
  2206. def readAndAppendToByteArray(self, dst: QByteArray|bytes|bytearray|memoryview) -> bool: ...
  2207. def readAndAppendToUtf8String(self, dst: QByteArray|bytes|bytearray|memoryview) -> bool: ...
  2208. def readAndAppendToString(self, dst: str|None) -> bool: ...
  2209. def toInteger(self) -> int: ...
  2210. def toDouble(self) -> float: ...
  2211. def toSimpleType(self) -> QCborSimpleType: ...
  2212. def toUnsignedInteger(self) -> int: ...
  2213. def toBool(self) -> bool: ...
  2214. def readUtf8String(self) -> tuple[QByteArray, 'QCborStreamReader.StringResultCode']: ...
  2215. def readByteArray(self) -> tuple[QByteArray, 'QCborStreamReader.StringResultCode']: ...
  2216. def readString(self) -> tuple[str, 'QCborStreamReader.StringResultCode']: ...
  2217. def leaveContainer(self) -> bool: ...
  2218. def enterContainer(self) -> bool: ...
  2219. def isContainer(self) -> bool: ...
  2220. def __len__(self) -> int: ...
  2221. def length(self) -> int: ...
  2222. def isLengthKnown(self) -> bool: ...
  2223. def isUndefined(self) -> bool: ...
  2224. def isNull(self) -> bool: ...
  2225. def isBool(self) -> bool: ...
  2226. def isTrue(self) -> bool: ...
  2227. def isFalse(self) -> bool: ...
  2228. def isInvalid(self) -> bool: ...
  2229. def isDouble(self) -> bool: ...
  2230. def isFloat(self) -> bool: ...
  2231. def isFloat16(self) -> bool: ...
  2232. @typing.overload
  2233. def isSimpleType(self) -> bool: ...
  2234. @typing.overload
  2235. def isSimpleType(self, st: QCborSimpleType) -> bool: ...
  2236. def isTag(self) -> bool: ...
  2237. def isMap(self) -> bool: ...
  2238. def isArray(self) -> bool: ...
  2239. def isString(self) -> bool: ...
  2240. def isByteArray(self) -> bool: ...
  2241. def isInteger(self) -> bool: ...
  2242. def isNegativeInteger(self) -> bool: ...
  2243. def isUnsignedInteger(self) -> bool: ...
  2244. def type(self) -> 'QCborStreamReader.Type': ...
  2245. def next(self, maxRecursion: int = ...) -> bool: ...
  2246. def hasNext(self) -> bool: ...
  2247. def parentContainerType(self) -> 'QCborStreamReader.Type': ...
  2248. def containerDepth(self) -> int: ...
  2249. def isValid(self) -> bool: ...
  2250. def currentOffset(self) -> int: ...
  2251. def lastError(self) -> QCborError: ...
  2252. def reset(self) -> None: ...
  2253. def clear(self) -> None: ...
  2254. def reparse(self) -> None: ...
  2255. def addData(self, data: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2256. def device(self) -> QIODevice|None: ...
  2257. def setDevice(self, device: QIODevice|None) -> None: ...
  2258. class QCborStreamWriter(PyQt6.sip.simplewrapper):
  2259. @typing.overload
  2260. def __init__(self, device: QIODevice|None) -> None: ...
  2261. @typing.overload
  2262. def __init__(self, data: QByteArray|None) -> None: ...
  2263. def endMap(self) -> bool: ...
  2264. @typing.overload
  2265. def startMap(self) -> None: ...
  2266. @typing.overload
  2267. def startMap(self, count: int) -> None: ...
  2268. def endArray(self) -> bool: ...
  2269. @typing.overload
  2270. def startArray(self) -> None: ...
  2271. @typing.overload
  2272. def startArray(self, count: int) -> None: ...
  2273. def appendUndefined(self) -> None: ...
  2274. def appendNull(self) -> None: ...
  2275. @typing.overload
  2276. def append(self, ba: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2277. @typing.overload
  2278. def append(self, str: str) -> None: ...
  2279. @typing.overload
  2280. def append(self, tag: QCborKnownTags) -> None: ...
  2281. @typing.overload
  2282. def append(self, st: QCborSimpleType) -> None: ...
  2283. @typing.overload
  2284. def append(self, b: bool) -> None: ...
  2285. @typing.overload
  2286. def append(self, d: float) -> None: ...
  2287. @typing.overload
  2288. def append(self, a0: int) -> None: ...
  2289. def device(self) -> QIODevice|None: ...
  2290. def setDevice(self, device: QIODevice|None) -> None: ...
  2291. class QChar(PyQt6.sip.simplewrapper):
  2292. class Script(enum.Enum):
  2293. Script_Unknown = ... # type: QChar.Script
  2294. Script_Inherited = ... # type: QChar.Script
  2295. Script_Common = ... # type: QChar.Script
  2296. Script_Latin = ... # type: QChar.Script
  2297. Script_Greek = ... # type: QChar.Script
  2298. Script_Cyrillic = ... # type: QChar.Script
  2299. Script_Armenian = ... # type: QChar.Script
  2300. Script_Hebrew = ... # type: QChar.Script
  2301. Script_Arabic = ... # type: QChar.Script
  2302. Script_Syriac = ... # type: QChar.Script
  2303. Script_Thaana = ... # type: QChar.Script
  2304. Script_Devanagari = ... # type: QChar.Script
  2305. Script_Bengali = ... # type: QChar.Script
  2306. Script_Gurmukhi = ... # type: QChar.Script
  2307. Script_Gujarati = ... # type: QChar.Script
  2308. Script_Oriya = ... # type: QChar.Script
  2309. Script_Tamil = ... # type: QChar.Script
  2310. Script_Telugu = ... # type: QChar.Script
  2311. Script_Kannada = ... # type: QChar.Script
  2312. Script_Malayalam = ... # type: QChar.Script
  2313. Script_Sinhala = ... # type: QChar.Script
  2314. Script_Thai = ... # type: QChar.Script
  2315. Script_Lao = ... # type: QChar.Script
  2316. Script_Tibetan = ... # type: QChar.Script
  2317. Script_Myanmar = ... # type: QChar.Script
  2318. Script_Georgian = ... # type: QChar.Script
  2319. Script_Hangul = ... # type: QChar.Script
  2320. Script_Ethiopic = ... # type: QChar.Script
  2321. Script_Cherokee = ... # type: QChar.Script
  2322. Script_CanadianAboriginal = ... # type: QChar.Script
  2323. Script_Ogham = ... # type: QChar.Script
  2324. Script_Runic = ... # type: QChar.Script
  2325. Script_Khmer = ... # type: QChar.Script
  2326. Script_Mongolian = ... # type: QChar.Script
  2327. Script_Hiragana = ... # type: QChar.Script
  2328. Script_Katakana = ... # type: QChar.Script
  2329. Script_Bopomofo = ... # type: QChar.Script
  2330. Script_Han = ... # type: QChar.Script
  2331. Script_Yi = ... # type: QChar.Script
  2332. Script_OldItalic = ... # type: QChar.Script
  2333. Script_Gothic = ... # type: QChar.Script
  2334. Script_Deseret = ... # type: QChar.Script
  2335. Script_Tagalog = ... # type: QChar.Script
  2336. Script_Hanunoo = ... # type: QChar.Script
  2337. Script_Buhid = ... # type: QChar.Script
  2338. Script_Tagbanwa = ... # type: QChar.Script
  2339. Script_Coptic = ... # type: QChar.Script
  2340. Script_Limbu = ... # type: QChar.Script
  2341. Script_TaiLe = ... # type: QChar.Script
  2342. Script_LinearB = ... # type: QChar.Script
  2343. Script_Ugaritic = ... # type: QChar.Script
  2344. Script_Shavian = ... # type: QChar.Script
  2345. Script_Osmanya = ... # type: QChar.Script
  2346. Script_Cypriot = ... # type: QChar.Script
  2347. Script_Braille = ... # type: QChar.Script
  2348. Script_Buginese = ... # type: QChar.Script
  2349. Script_NewTaiLue = ... # type: QChar.Script
  2350. Script_Glagolitic = ... # type: QChar.Script
  2351. Script_Tifinagh = ... # type: QChar.Script
  2352. Script_SylotiNagri = ... # type: QChar.Script
  2353. Script_OldPersian = ... # type: QChar.Script
  2354. Script_Kharoshthi = ... # type: QChar.Script
  2355. Script_Balinese = ... # type: QChar.Script
  2356. Script_Cuneiform = ... # type: QChar.Script
  2357. Script_Phoenician = ... # type: QChar.Script
  2358. Script_PhagsPa = ... # type: QChar.Script
  2359. Script_Nko = ... # type: QChar.Script
  2360. Script_Sundanese = ... # type: QChar.Script
  2361. Script_Lepcha = ... # type: QChar.Script
  2362. Script_OlChiki = ... # type: QChar.Script
  2363. Script_Vai = ... # type: QChar.Script
  2364. Script_Saurashtra = ... # type: QChar.Script
  2365. Script_KayahLi = ... # type: QChar.Script
  2366. Script_Rejang = ... # type: QChar.Script
  2367. Script_Lycian = ... # type: QChar.Script
  2368. Script_Carian = ... # type: QChar.Script
  2369. Script_Lydian = ... # type: QChar.Script
  2370. Script_Cham = ... # type: QChar.Script
  2371. Script_TaiTham = ... # type: QChar.Script
  2372. Script_TaiViet = ... # type: QChar.Script
  2373. Script_Avestan = ... # type: QChar.Script
  2374. Script_EgyptianHieroglyphs = ... # type: QChar.Script
  2375. Script_Samaritan = ... # type: QChar.Script
  2376. Script_Lisu = ... # type: QChar.Script
  2377. Script_Bamum = ... # type: QChar.Script
  2378. Script_Javanese = ... # type: QChar.Script
  2379. Script_MeeteiMayek = ... # type: QChar.Script
  2380. Script_ImperialAramaic = ... # type: QChar.Script
  2381. Script_OldSouthArabian = ... # type: QChar.Script
  2382. Script_InscriptionalParthian = ... # type: QChar.Script
  2383. Script_InscriptionalPahlavi = ... # type: QChar.Script
  2384. Script_OldTurkic = ... # type: QChar.Script
  2385. Script_Kaithi = ... # type: QChar.Script
  2386. Script_Batak = ... # type: QChar.Script
  2387. Script_Brahmi = ... # type: QChar.Script
  2388. Script_Mandaic = ... # type: QChar.Script
  2389. Script_Chakma = ... # type: QChar.Script
  2390. Script_MeroiticCursive = ... # type: QChar.Script
  2391. Script_MeroiticHieroglyphs = ... # type: QChar.Script
  2392. Script_Miao = ... # type: QChar.Script
  2393. Script_Sharada = ... # type: QChar.Script
  2394. Script_SoraSompeng = ... # type: QChar.Script
  2395. Script_Takri = ... # type: QChar.Script
  2396. Script_CaucasianAlbanian = ... # type: QChar.Script
  2397. Script_BassaVah = ... # type: QChar.Script
  2398. Script_Duployan = ... # type: QChar.Script
  2399. Script_Elbasan = ... # type: QChar.Script
  2400. Script_Grantha = ... # type: QChar.Script
  2401. Script_PahawhHmong = ... # type: QChar.Script
  2402. Script_Khojki = ... # type: QChar.Script
  2403. Script_LinearA = ... # type: QChar.Script
  2404. Script_Mahajani = ... # type: QChar.Script
  2405. Script_Manichaean = ... # type: QChar.Script
  2406. Script_MendeKikakui = ... # type: QChar.Script
  2407. Script_Modi = ... # type: QChar.Script
  2408. Script_Mro = ... # type: QChar.Script
  2409. Script_OldNorthArabian = ... # type: QChar.Script
  2410. Script_Nabataean = ... # type: QChar.Script
  2411. Script_Palmyrene = ... # type: QChar.Script
  2412. Script_PauCinHau = ... # type: QChar.Script
  2413. Script_OldPermic = ... # type: QChar.Script
  2414. Script_PsalterPahlavi = ... # type: QChar.Script
  2415. Script_Siddham = ... # type: QChar.Script
  2416. Script_Khudawadi = ... # type: QChar.Script
  2417. Script_Tirhuta = ... # type: QChar.Script
  2418. Script_WarangCiti = ... # type: QChar.Script
  2419. Script_Ahom = ... # type: QChar.Script
  2420. Script_AnatolianHieroglyphs = ... # type: QChar.Script
  2421. Script_Hatran = ... # type: QChar.Script
  2422. Script_Multani = ... # type: QChar.Script
  2423. Script_OldHungarian = ... # type: QChar.Script
  2424. Script_SignWriting = ... # type: QChar.Script
  2425. Script_Adlam = ... # type: QChar.Script
  2426. Script_Bhaiksuki = ... # type: QChar.Script
  2427. Script_Marchen = ... # type: QChar.Script
  2428. Script_Newa = ... # type: QChar.Script
  2429. Script_Osage = ... # type: QChar.Script
  2430. Script_Tangut = ... # type: QChar.Script
  2431. Script_MasaramGondi = ... # type: QChar.Script
  2432. Script_Nushu = ... # type: QChar.Script
  2433. Script_Soyombo = ... # type: QChar.Script
  2434. Script_ZanabazarSquare = ... # type: QChar.Script
  2435. Script_Dogra = ... # type: QChar.Script
  2436. Script_GunjalaGondi = ... # type: QChar.Script
  2437. Script_HanifiRohingya = ... # type: QChar.Script
  2438. Script_Makasar = ... # type: QChar.Script
  2439. Script_Medefaidrin = ... # type: QChar.Script
  2440. Script_OldSogdian = ... # type: QChar.Script
  2441. Script_Sogdian = ... # type: QChar.Script
  2442. Script_Elymaic = ... # type: QChar.Script
  2443. Script_Nandinagari = ... # type: QChar.Script
  2444. Script_NyiakengPuachueHmong = ... # type: QChar.Script
  2445. Script_Wancho = ... # type: QChar.Script
  2446. Script_Chorasmian = ... # type: QChar.Script
  2447. Script_DivesAkuru = ... # type: QChar.Script
  2448. Script_KhitanSmallScript = ... # type: QChar.Script
  2449. Script_Yezidi = ... # type: QChar.Script
  2450. Script_CyproMinoan = ... # type: QChar.Script
  2451. Script_NagMundari = ... # type: QChar.Script
  2452. Script_OldUyghur = ... # type: QChar.Script
  2453. Script_Tangsa = ... # type: QChar.Script
  2454. Script_Toto = ... # type: QChar.Script
  2455. Script_Vithkuqi = ... # type: QChar.Script
  2456. Script_Kawi = ... # type: QChar.Script
  2457. Script_Garay = ... # type: QChar.Script
  2458. Script_GurungKhema = ... # type: QChar.Script
  2459. Script_KiratRai = ... # type: QChar.Script
  2460. Script_OlOnal = ... # type: QChar.Script
  2461. Script_Sunuwar = ... # type: QChar.Script
  2462. Script_Todhri = ... # type: QChar.Script
  2463. Script_TuluTigalari = ... # type: QChar.Script
  2464. Script_Sidetic = ... # type: QChar.Script
  2465. Script_TaiYo = ... # type: QChar.Script
  2466. Script_TolongSiki = ... # type: QChar.Script
  2467. Script_BeriaErfe = ... # type: QChar.Script
  2468. @typing.overload
  2469. def __init__(self) -> None: ...
  2470. @typing.overload
  2471. def __init__(self, a0: 'QChar') -> None: ...
  2472. def __eq__(self, other: object): ...
  2473. def __ne__(self, other: object): ...
  2474. def __ge__(self, rhs: str) -> bool: ...
  2475. def __le__(self, rhs: str) -> bool: ...
  2476. def __gt__(self, rhs: str) -> bool: ...
  2477. def __lt__(self, rhs: str) -> bool: ...
  2478. class QCollatorSortKey(PyQt6.sip.simplewrapper):
  2479. def __init__(self, other: 'QCollatorSortKey') -> None: ...
  2480. def __ge__(self, rhs: 'QCollatorSortKey') -> bool: ...
  2481. def __lt__(self, rhs: 'QCollatorSortKey') -> bool: ...
  2482. def compare(self, key: 'QCollatorSortKey') -> int: ...
  2483. def swap(self, other: 'QCollatorSortKey') -> None: ...
  2484. class QCollator(PyQt6.sip.simplewrapper):
  2485. @typing.overload
  2486. def __init__(self) -> None: ...
  2487. @typing.overload
  2488. def __init__(self, locale: 'QLocale') -> None: ...
  2489. @typing.overload
  2490. def __init__(self, a0: 'QCollator') -> None: ...
  2491. @staticmethod
  2492. def defaultSortKey(key: str) -> QCollatorSortKey: ...
  2493. @staticmethod
  2494. def defaultCompare(s1: str, s2: str) -> int: ...
  2495. def sortKey(self, string: str|None) -> QCollatorSortKey: ...
  2496. def compare(self, s1: str|None, s2: str|None) -> int: ...
  2497. def ignorePunctuation(self) -> bool: ...
  2498. def setIgnorePunctuation(self, on: bool) -> None: ...
  2499. def numericMode(self) -> bool: ...
  2500. def setNumericMode(self, on: bool) -> None: ...
  2501. def setCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ...
  2502. def caseSensitivity(self) -> Qt.CaseSensitivity: ...
  2503. def locale(self) -> 'QLocale': ...
  2504. def setLocale(self, locale: 'QLocale') -> None: ...
  2505. def swap(self, other: 'QCollator') -> None: ...
  2506. class QCommandLineOption(PyQt6.sip.simplewrapper):
  2507. class Flag(enum.Flag):
  2508. HiddenFromHelp = ... # type: QCommandLineOption.Flag
  2509. ShortOptionStyle = ... # type: QCommandLineOption.Flag
  2510. IgnoreOptionsAfter = ... # type: QCommandLineOption.Flag
  2511. @typing.overload
  2512. def __init__(self, name: str|None) -> None: ...
  2513. @typing.overload
  2514. def __init__(self, names: collections.abc.Iterable[str|None]) -> None: ...
  2515. @typing.overload
  2516. def __init__(self, name: str|None, description: str|None, valueName: str|None = ..., defaultValue: str|None = ...) -> None: ...
  2517. @typing.overload
  2518. def __init__(self, names: collections.abc.Iterable[str|None], description: str|None, valueName: str|None = ..., defaultValue: str|None = ...) -> None: ...
  2519. @typing.overload
  2520. def __init__(self, other: 'QCommandLineOption') -> None: ...
  2521. def setFlags(self, aflags: 'QCommandLineOption.Flag') -> None: ...
  2522. def flags(self) -> 'QCommandLineOption.Flag': ...
  2523. def defaultValues(self) -> list[str]: ...
  2524. def setDefaultValues(self, defaultValues: collections.abc.Iterable[str|None]) -> None: ...
  2525. def setDefaultValue(self, defaultValue: str|None) -> None: ...
  2526. def description(self) -> str: ...
  2527. def setDescription(self, description: str|None) -> None: ...
  2528. def valueName(self) -> str: ...
  2529. def setValueName(self, name: str|None) -> None: ...
  2530. def names(self) -> list[str]: ...
  2531. def swap(self, other: 'QCommandLineOption') -> None: ...
  2532. class QCommandLineParser(PyQt6.sip.simplewrapper):
  2533. class MessageType(enum.Enum):
  2534. Information = ... # type: QCommandLineParser.MessageType
  2535. Error = ... # type: QCommandLineParser.MessageType
  2536. class OptionsAfterPositionalArgumentsMode(enum.Enum):
  2537. ParseAsOptions = ... # type: QCommandLineParser.OptionsAfterPositionalArgumentsMode
  2538. ParseAsPositionalArguments = ... # type: QCommandLineParser.OptionsAfterPositionalArgumentsMode
  2539. class SingleDashWordOptionMode(enum.Enum):
  2540. ParseAsCompactedShortOptions = ... # type: QCommandLineParser.SingleDashWordOptionMode
  2541. ParseAsLongOptions = ... # type: QCommandLineParser.SingleDashWordOptionMode
  2542. def __init__(self) -> None: ...
  2543. @staticmethod
  2544. def showMessageAndExit(type: 'QCommandLineParser.MessageType', message: str|None, exitCode: int = ...) -> None: ...
  2545. def setOptionsAfterPositionalArgumentsMode(self, mode: 'QCommandLineParser.OptionsAfterPositionalArgumentsMode') -> None: ...
  2546. def showVersion(self) -> None: ...
  2547. def addOptions(self, options: collections.abc.Iterable[QCommandLineOption]) -> bool: ...
  2548. def helpText(self) -> str: ...
  2549. def showHelp(self, exitCode: int = ...) -> None: ...
  2550. def unknownOptionNames(self) -> list[str]: ...
  2551. def optionNames(self) -> list[str]: ...
  2552. def positionalArguments(self) -> list[str]: ...
  2553. @typing.overload
  2554. def values(self, name: str|None) -> list[str]: ...
  2555. @typing.overload
  2556. def values(self, option: QCommandLineOption) -> list[str]: ...
  2557. @typing.overload
  2558. def value(self, name: str|None) -> str: ...
  2559. @typing.overload
  2560. def value(self, option: QCommandLineOption) -> str: ...
  2561. @typing.overload
  2562. def isSet(self, name: str|None) -> bool: ...
  2563. @typing.overload
  2564. def isSet(self, option: QCommandLineOption) -> bool: ...
  2565. def errorText(self) -> str: ...
  2566. def parse(self, arguments: collections.abc.Iterable[str|None]) -> bool: ...
  2567. @typing.overload
  2568. def process(self, arguments: collections.abc.Iterable[str|None]) -> None: ...
  2569. @typing.overload
  2570. def process(self, app: 'QCoreApplication') -> None: ...
  2571. def clearPositionalArguments(self) -> None: ...
  2572. def addPositionalArgument(self, name: str|None, description: str|None, syntax: str|None = ...) -> None: ...
  2573. def applicationDescription(self) -> str: ...
  2574. def setApplicationDescription(self, description: str|None) -> None: ...
  2575. def addHelpOption(self) -> QCommandLineOption: ...
  2576. def addVersionOption(self) -> QCommandLineOption: ...
  2577. def addOption(self, commandLineOption: QCommandLineOption) -> bool: ...
  2578. def setSingleDashWordOptionMode(self, parsingMode: 'QCommandLineParser.SingleDashWordOptionMode') -> None: ...
  2579. class QConcatenateTablesProxyModel(QAbstractItemModel):
  2580. def __init__(self, parent: QObject|None = ...) -> None: ...
  2581. def roleNames(self) -> dict[int, QByteArray]: ...
  2582. def sourceModels(self) -> list[QAbstractItemModel]: ...
  2583. def span(self, index: QModelIndex) -> 'QSize': ...
  2584. def dropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  2585. def canDropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  2586. def mimeData(self, indexes: collections.abc.Iterable[QModelIndex]) -> 'QMimeData|None': ...
  2587. def mimeTypes(self) -> list[str]: ...
  2588. def columnCount(self, parent: QModelIndex = ...) -> int: ...
  2589. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  2590. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  2591. def parent(self, index: QModelIndex) -> QModelIndex: ...
  2592. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  2593. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  2594. def setItemData(self, index: QModelIndex, roles: dict[int, typing.Any]) -> bool: ...
  2595. def itemData(self, proxyIndex: QModelIndex) -> dict[int, typing.Any]: ...
  2596. def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
  2597. def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ...
  2598. def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ...
  2599. def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ...
  2600. def removeSourceModel(self, sourceModel: QAbstractItemModel|None) -> None: ...
  2601. def addSourceModel(self, sourceModel: QAbstractItemModel|None) -> None: ...
  2602. class QCoreApplication(QObject):
  2603. def __init__(self, argv: list[str]) -> None: ...
  2604. def requestPermission(self, permission: 'QBluetoothPermission'|'QCalendarPermission'|'QCameraPermission'|'QContactsPermission'|'QLocationPermission'|'QMicrophonePermission', handler: collections.abc.Callable[['QBluetoothPermission'|'QCalendarPermission'|'QCameraPermission'|'QContactsPermission'|'QLocationPermission'|'QMicrophonePermission'], None]) -> None: ...
  2605. def checkPermission(self, permission: 'QBluetoothPermission'|'QCalendarPermission'|'QCameraPermission'|'QContactsPermission'|'QLocationPermission'|'QMicrophonePermission') -> Qt.PermissionStatus: ...
  2606. def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ...
  2607. def __enter__(self) -> typing.Any: ...
  2608. @staticmethod
  2609. def isSetuidAllowed() -> bool: ...
  2610. @staticmethod
  2611. def setSetuidAllowed(allow: bool) -> None: ...
  2612. def removeNativeEventFilter(self, filterObj: QAbstractNativeEventFilter|None) -> None: ...
  2613. def installNativeEventFilter(self, filterObj: QAbstractNativeEventFilter|None) -> None: ...
  2614. @staticmethod
  2615. def setQuitLockEnabled(enabled: bool) -> None: ...
  2616. @staticmethod
  2617. def isQuitLockEnabled() -> bool: ...
  2618. @staticmethod
  2619. def setEventDispatcher(eventDispatcher: QAbstractEventDispatcher|None) -> None: ...
  2620. @staticmethod
  2621. def eventDispatcher() -> QAbstractEventDispatcher|None: ...
  2622. @staticmethod
  2623. def applicationPid() -> int: ...
  2624. @staticmethod
  2625. def applicationVersion() -> str: ...
  2626. @staticmethod
  2627. def setApplicationVersion(version: str|None) -> None: ...
  2628. def event(self, a0: 'QEvent|None') -> bool: ...
  2629. aboutToQuit: typing.ClassVar[pyqtSignal]
  2630. @staticmethod
  2631. def exit(returnCode: int = ...) -> None: ...
  2632. @staticmethod
  2633. def quit() -> None: ...
  2634. @staticmethod
  2635. def testAttribute(attribute: Qt.ApplicationAttribute) -> bool: ...
  2636. @staticmethod
  2637. def setAttribute(attribute: Qt.ApplicationAttribute, on: bool = ...) -> None: ...
  2638. @staticmethod
  2639. def translate(context: str, sourceText: str, disambiguation: str = ..., n: int = ...) -> str: ...
  2640. @staticmethod
  2641. def removeTranslator(messageFile: 'QTranslator|None') -> bool: ...
  2642. @staticmethod
  2643. def installTranslator(messageFile: 'QTranslator|None') -> bool: ...
  2644. @staticmethod
  2645. def removeLibraryPath(a0: str|None) -> None: ...
  2646. @staticmethod
  2647. def addLibraryPath(a0: str|None) -> None: ...
  2648. @staticmethod
  2649. def libraryPaths() -> list[str]: ...
  2650. @staticmethod
  2651. def setLibraryPaths(a0: collections.abc.Iterable[str|None]) -> None: ...
  2652. @staticmethod
  2653. def applicationFilePath() -> str: ...
  2654. @staticmethod
  2655. def applicationDirPath() -> str: ...
  2656. @staticmethod
  2657. def closingDown() -> bool: ...
  2658. @staticmethod
  2659. def startingUp() -> bool: ...
  2660. def notify(self, a0: QObject|None, a1: 'QEvent|None') -> bool: ...
  2661. @staticmethod
  2662. def removePostedEvents(receiver: QObject|None, eventType: int = ...) -> None: ...
  2663. @staticmethod
  2664. def sendPostedEvents(receiver: QObject|None = ..., eventType: int = ...) -> None: ...
  2665. @staticmethod
  2666. def postEvent(receiver: QObject|None, event: 'QEvent|None', priority: int = ...) -> None: ...
  2667. @staticmethod
  2668. def sendEvent(receiver: QObject|None, event: 'QEvent|None') -> bool: ...
  2669. @typing.overload
  2670. @staticmethod
  2671. def processEvents(flags: 'QEventLoop.ProcessEventsFlag' = ...) -> None: ...
  2672. @typing.overload
  2673. @staticmethod
  2674. def processEvents(flags: 'QEventLoop.ProcessEventsFlag', maxtime: int) -> None: ...
  2675. @typing.overload
  2676. @staticmethod
  2677. def processEvents(flags: 'QEventLoop.ProcessEventsFlag', deadline: 'QDeadlineTimer') -> None: ...
  2678. @staticmethod
  2679. def exec() -> int: ...
  2680. @staticmethod
  2681. def instance() -> 'QCoreApplication|None': ...
  2682. @staticmethod
  2683. def arguments() -> list[str]: ...
  2684. @staticmethod
  2685. def applicationName() -> str: ...
  2686. @staticmethod
  2687. def setApplicationName(application: str|None) -> None: ...
  2688. @staticmethod
  2689. def organizationName() -> str: ...
  2690. @staticmethod
  2691. def setOrganizationName(orgName: str|None) -> None: ...
  2692. @staticmethod
  2693. def organizationDomain() -> str: ...
  2694. @staticmethod
  2695. def setOrganizationDomain(orgDomain: str|None) -> None: ...
  2696. class QEvent(PyQt6.sip.wrapper):
  2697. class Type(enum.IntEnum):
  2698. None_ = ... # type: QEvent.Type
  2699. Timer = ... # type: QEvent.Type
  2700. MouseButtonPress = ... # type: QEvent.Type
  2701. MouseButtonRelease = ... # type: QEvent.Type
  2702. MouseButtonDblClick = ... # type: QEvent.Type
  2703. MouseMove = ... # type: QEvent.Type
  2704. KeyPress = ... # type: QEvent.Type
  2705. KeyRelease = ... # type: QEvent.Type
  2706. FocusIn = ... # type: QEvent.Type
  2707. FocusOut = ... # type: QEvent.Type
  2708. Enter = ... # type: QEvent.Type
  2709. Leave = ... # type: QEvent.Type
  2710. Paint = ... # type: QEvent.Type
  2711. Move = ... # type: QEvent.Type
  2712. Resize = ... # type: QEvent.Type
  2713. Show = ... # type: QEvent.Type
  2714. Hide = ... # type: QEvent.Type
  2715. Close = ... # type: QEvent.Type
  2716. Quit = ... # type: QEvent.Type
  2717. ParentChange = ... # type: QEvent.Type
  2718. ParentAboutToChange = ... # type: QEvent.Type
  2719. ThreadChange = ... # type: QEvent.Type
  2720. WindowActivate = ... # type: QEvent.Type
  2721. WindowDeactivate = ... # type: QEvent.Type
  2722. ShowToParent = ... # type: QEvent.Type
  2723. HideToParent = ... # type: QEvent.Type
  2724. Wheel = ... # type: QEvent.Type
  2725. WindowTitleChange = ... # type: QEvent.Type
  2726. WindowIconChange = ... # type: QEvent.Type
  2727. ApplicationWindowIconChange = ... # type: QEvent.Type
  2728. ApplicationFontChange = ... # type: QEvent.Type
  2729. ApplicationLayoutDirectionChange = ... # type: QEvent.Type
  2730. ApplicationPaletteChange = ... # type: QEvent.Type
  2731. PaletteChange = ... # type: QEvent.Type
  2732. Clipboard = ... # type: QEvent.Type
  2733. MetaCall = ... # type: QEvent.Type
  2734. SockAct = ... # type: QEvent.Type
  2735. WinEventAct = ... # type: QEvent.Type
  2736. DeferredDelete = ... # type: QEvent.Type
  2737. DragEnter = ... # type: QEvent.Type
  2738. DragMove = ... # type: QEvent.Type
  2739. DragLeave = ... # type: QEvent.Type
  2740. Drop = ... # type: QEvent.Type
  2741. ChildAdded = ... # type: QEvent.Type
  2742. ChildPolished = ... # type: QEvent.Type
  2743. ChildRemoved = ... # type: QEvent.Type
  2744. PolishRequest = ... # type: QEvent.Type
  2745. Polish = ... # type: QEvent.Type
  2746. LayoutRequest = ... # type: QEvent.Type
  2747. UpdateRequest = ... # type: QEvent.Type
  2748. UpdateLater = ... # type: QEvent.Type
  2749. ContextMenu = ... # type: QEvent.Type
  2750. InputMethod = ... # type: QEvent.Type
  2751. TabletMove = ... # type: QEvent.Type
  2752. LocaleChange = ... # type: QEvent.Type
  2753. LanguageChange = ... # type: QEvent.Type
  2754. LayoutDirectionChange = ... # type: QEvent.Type
  2755. TabletPress = ... # type: QEvent.Type
  2756. TabletRelease = ... # type: QEvent.Type
  2757. OkRequest = ... # type: QEvent.Type
  2758. IconDrag = ... # type: QEvent.Type
  2759. FontChange = ... # type: QEvent.Type
  2760. EnabledChange = ... # type: QEvent.Type
  2761. ActivationChange = ... # type: QEvent.Type
  2762. StyleChange = ... # type: QEvent.Type
  2763. IconTextChange = ... # type: QEvent.Type
  2764. ModifiedChange = ... # type: QEvent.Type
  2765. MouseTrackingChange = ... # type: QEvent.Type
  2766. WindowBlocked = ... # type: QEvent.Type
  2767. WindowUnblocked = ... # type: QEvent.Type
  2768. WindowStateChange = ... # type: QEvent.Type
  2769. ToolTip = ... # type: QEvent.Type
  2770. WhatsThis = ... # type: QEvent.Type
  2771. StatusTip = ... # type: QEvent.Type
  2772. ActionChanged = ... # type: QEvent.Type
  2773. ActionAdded = ... # type: QEvent.Type
  2774. ActionRemoved = ... # type: QEvent.Type
  2775. FileOpen = ... # type: QEvent.Type
  2776. Shortcut = ... # type: QEvent.Type
  2777. ShortcutOverride = ... # type: QEvent.Type
  2778. WhatsThisClicked = ... # type: QEvent.Type
  2779. ToolBarChange = ... # type: QEvent.Type
  2780. ApplicationActivate = ... # type: QEvent.Type
  2781. ApplicationActivated = ... # type: QEvent.Type
  2782. ApplicationDeactivate = ... # type: QEvent.Type
  2783. ApplicationDeactivated = ... # type: QEvent.Type
  2784. QueryWhatsThis = ... # type: QEvent.Type
  2785. EnterWhatsThisMode = ... # type: QEvent.Type
  2786. LeaveWhatsThisMode = ... # type: QEvent.Type
  2787. ZOrderChange = ... # type: QEvent.Type
  2788. HoverEnter = ... # type: QEvent.Type
  2789. HoverLeave = ... # type: QEvent.Type
  2790. HoverMove = ... # type: QEvent.Type
  2791. GraphicsSceneMouseMove = ... # type: QEvent.Type
  2792. GraphicsSceneMousePress = ... # type: QEvent.Type
  2793. GraphicsSceneMouseRelease = ... # type: QEvent.Type
  2794. GraphicsSceneMouseDoubleClick = ... # type: QEvent.Type
  2795. GraphicsSceneContextMenu = ... # type: QEvent.Type
  2796. GraphicsSceneHoverEnter = ... # type: QEvent.Type
  2797. GraphicsSceneHoverMove = ... # type: QEvent.Type
  2798. GraphicsSceneHoverLeave = ... # type: QEvent.Type
  2799. GraphicsSceneHelp = ... # type: QEvent.Type
  2800. GraphicsSceneDragEnter = ... # type: QEvent.Type
  2801. GraphicsSceneDragMove = ... # type: QEvent.Type
  2802. GraphicsSceneDragLeave = ... # type: QEvent.Type
  2803. GraphicsSceneDrop = ... # type: QEvent.Type
  2804. GraphicsSceneWheel = ... # type: QEvent.Type
  2805. GraphicsSceneResize = ... # type: QEvent.Type
  2806. GraphicsSceneMove = ... # type: QEvent.Type
  2807. KeyboardLayoutChange = ... # type: QEvent.Type
  2808. DynamicPropertyChange = ... # type: QEvent.Type
  2809. TabletEnterProximity = ... # type: QEvent.Type
  2810. TabletLeaveProximity = ... # type: QEvent.Type
  2811. NonClientAreaMouseMove = ... # type: QEvent.Type
  2812. NonClientAreaMouseButtonPress = ... # type: QEvent.Type
  2813. NonClientAreaMouseButtonRelease = ... # type: QEvent.Type
  2814. NonClientAreaMouseButtonDblClick = ... # type: QEvent.Type
  2815. MacSizeChange = ... # type: QEvent.Type
  2816. ContentsRectChange = ... # type: QEvent.Type
  2817. CursorChange = ... # type: QEvent.Type
  2818. ToolTipChange = ... # type: QEvent.Type
  2819. GrabMouse = ... # type: QEvent.Type
  2820. UngrabMouse = ... # type: QEvent.Type
  2821. GrabKeyboard = ... # type: QEvent.Type
  2822. UngrabKeyboard = ... # type: QEvent.Type
  2823. StateMachineSignal = ... # type: QEvent.Type
  2824. StateMachineWrapped = ... # type: QEvent.Type
  2825. TouchBegin = ... # type: QEvent.Type
  2826. TouchUpdate = ... # type: QEvent.Type
  2827. TouchEnd = ... # type: QEvent.Type
  2828. NativeGesture = ... # type: QEvent.Type
  2829. RequestSoftwareInputPanel = ... # type: QEvent.Type
  2830. CloseSoftwareInputPanel = ... # type: QEvent.Type
  2831. WinIdChange = ... # type: QEvent.Type
  2832. Gesture = ... # type: QEvent.Type
  2833. GestureOverride = ... # type: QEvent.Type
  2834. FocusAboutToChange = ... # type: QEvent.Type
  2835. ScrollPrepare = ... # type: QEvent.Type
  2836. Scroll = ... # type: QEvent.Type
  2837. Expose = ... # type: QEvent.Type
  2838. InputMethodQuery = ... # type: QEvent.Type
  2839. OrientationChange = ... # type: QEvent.Type
  2840. TouchCancel = ... # type: QEvent.Type
  2841. PlatformPanel = ... # type: QEvent.Type
  2842. ApplicationStateChange = ... # type: QEvent.Type
  2843. ReadOnlyChange = ... # type: QEvent.Type
  2844. PlatformSurface = ... # type: QEvent.Type
  2845. TabletTrackingChange = ... # type: QEvent.Type
  2846. GraphicsSceneLeave = ... # type: QEvent.Type
  2847. EnterEditFocus = ... # type: QEvent.Type
  2848. LeaveEditFocus = ... # type: QEvent.Type
  2849. DevicePixelRatioChange = ... # type: QEvent.Type
  2850. ChildWindowAdded = ... # type: QEvent.Type
  2851. ChildWindowRemoved = ... # type: QEvent.Type
  2852. ParentWindowAboutToChange = ... # type: QEvent.Type
  2853. ParentWindowChange = ... # type: QEvent.Type
  2854. SafeAreaMarginsChange = ... # type: QEvent.Type
  2855. User = ... # type: QEvent.Type
  2856. MaxUser = ... # type: QEvent.Type
  2857. @typing.overload
  2858. def __init__(self, type: 'QEvent.Type') -> None: ...
  2859. @typing.overload
  2860. @deprecated("""""")
  2861. def __init__(self, type: int) -> None: ...
  2862. def clone(self) -> 'QEvent|None': ...
  2863. def isSinglePointEvent(self) -> bool: ...
  2864. def isPointerEvent(self) -> bool: ...
  2865. def isInputEvent(self) -> bool: ...
  2866. @staticmethod
  2867. def registerEventType(hint: int = ...) -> int: ...
  2868. def ignore(self) -> None: ...
  2869. def accept(self) -> None: ...
  2870. def isAccepted(self) -> bool: ...
  2871. def setAccepted(self, accepted: bool) -> None: ...
  2872. def spontaneous(self) -> bool: ...
  2873. def type(self) -> 'QEvent.Type': ...
  2874. class QTimerEvent(QEvent):
  2875. def __init__(self, timerId: int) -> None: ...
  2876. def matches(self, timer: QBasicTimer) -> bool: ...
  2877. def id(self) -> int: ...
  2878. def clone(self) -> 'QTimerEvent|None': ...
  2879. def timerId(self) -> int: ...
  2880. class QChildEvent(QEvent):
  2881. @typing.overload
  2882. def __init__(self, type: QEvent.Type, child: QObject|None) -> None: ...
  2883. @typing.overload
  2884. def __init__(self, type: int, child: QObject|None) -> None: ...
  2885. def clone(self) -> 'QChildEvent|None': ...
  2886. def removed(self) -> bool: ...
  2887. def polished(self) -> bool: ...
  2888. def added(self) -> bool: ...
  2889. def child(self) -> QObject|None: ...
  2890. class QDynamicPropertyChangeEvent(QEvent):
  2891. def __init__(self, name: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2892. def clone(self) -> 'QDynamicPropertyChangeEvent|None': ...
  2893. def propertyName(self) -> QByteArray: ...
  2894. class QCryptographicHash(PyQt6.sip.simplewrapper):
  2895. class Algorithm(enum.Enum):
  2896. Md4 = ... # type: QCryptographicHash.Algorithm
  2897. Md5 = ... # type: QCryptographicHash.Algorithm
  2898. Sha1 = ... # type: QCryptographicHash.Algorithm
  2899. Sha224 = ... # type: QCryptographicHash.Algorithm
  2900. Sha256 = ... # type: QCryptographicHash.Algorithm
  2901. Sha384 = ... # type: QCryptographicHash.Algorithm
  2902. Sha512 = ... # type: QCryptographicHash.Algorithm
  2903. Sha3_224 = ... # type: QCryptographicHash.Algorithm
  2904. Sha3_256 = ... # type: QCryptographicHash.Algorithm
  2905. Sha3_384 = ... # type: QCryptographicHash.Algorithm
  2906. Sha3_512 = ... # type: QCryptographicHash.Algorithm
  2907. Keccak_224 = ... # type: QCryptographicHash.Algorithm
  2908. Keccak_256 = ... # type: QCryptographicHash.Algorithm
  2909. Keccak_384 = ... # type: QCryptographicHash.Algorithm
  2910. Keccak_512 = ... # type: QCryptographicHash.Algorithm
  2911. Blake2b_160 = ... # type: QCryptographicHash.Algorithm
  2912. Blake2b_256 = ... # type: QCryptographicHash.Algorithm
  2913. Blake2b_384 = ... # type: QCryptographicHash.Algorithm
  2914. Blake2b_512 = ... # type: QCryptographicHash.Algorithm
  2915. Blake2s_128 = ... # type: QCryptographicHash.Algorithm
  2916. Blake2s_160 = ... # type: QCryptographicHash.Algorithm
  2917. Blake2s_224 = ... # type: QCryptographicHash.Algorithm
  2918. Blake2s_256 = ... # type: QCryptographicHash.Algorithm
  2919. def __init__(self, method: 'QCryptographicHash.Algorithm') -> None: ...
  2920. @staticmethod
  2921. def supportsAlgorithm(method: 'QCryptographicHash.Algorithm') -> bool: ...
  2922. def algorithm(self) -> 'QCryptographicHash.Algorithm': ...
  2923. def swap(self, other: 'QCryptographicHash') -> None: ...
  2924. @staticmethod
  2925. def hashLength(method: 'QCryptographicHash.Algorithm') -> int: ...
  2926. @staticmethod
  2927. def hash(data: QByteArray|bytes|bytearray|memoryview, method: 'QCryptographicHash.Algorithm') -> QByteArray: ...
  2928. def resultView(self) -> QByteArray: ...
  2929. def result(self) -> QByteArray: ...
  2930. @typing.overload
  2931. def addData(self, data: QByteArray|bytes|bytearray|memoryview) -> None: ...
  2932. @typing.overload
  2933. def addData(self, data: PyQt6.sip.array[bytes]) -> None: ...
  2934. @typing.overload
  2935. def addData(self, device: QIODevice|None) -> bool: ...
  2936. def reset(self) -> None: ...
  2937. class QDataStream(QIODeviceBase):
  2938. class FloatingPointPrecision(enum.Enum):
  2939. SinglePrecision = ... # type: QDataStream.FloatingPointPrecision
  2940. DoublePrecision = ... # type: QDataStream.FloatingPointPrecision
  2941. class Status(enum.Enum):
  2942. Ok = ... # type: QDataStream.Status
  2943. ReadPastEnd = ... # type: QDataStream.Status
  2944. ReadCorruptData = ... # type: QDataStream.Status
  2945. WriteFailed = ... # type: QDataStream.Status
  2946. SizeLimitExceeded = ... # type: QDataStream.Status
  2947. class ByteOrder(enum.Enum):
  2948. BigEndian = ... # type: QDataStream.ByteOrder
  2949. LittleEndian = ... # type: QDataStream.ByteOrder
  2950. class Version(enum.IntEnum):
  2951. Qt_1_0 = ... # type: QDataStream.Version
  2952. Qt_2_0 = ... # type: QDataStream.Version
  2953. Qt_2_1 = ... # type: QDataStream.Version
  2954. Qt_3_0 = ... # type: QDataStream.Version
  2955. Qt_3_1 = ... # type: QDataStream.Version
  2956. Qt_3_3 = ... # type: QDataStream.Version
  2957. Qt_4_0 = ... # type: QDataStream.Version
  2958. Qt_4_1 = ... # type: QDataStream.Version
  2959. Qt_4_2 = ... # type: QDataStream.Version
  2960. Qt_4_3 = ... # type: QDataStream.Version
  2961. Qt_4_4 = ... # type: QDataStream.Version
  2962. Qt_4_5 = ... # type: QDataStream.Version
  2963. Qt_4_6 = ... # type: QDataStream.Version
  2964. Qt_4_7 = ... # type: QDataStream.Version
  2965. Qt_4_8 = ... # type: QDataStream.Version
  2966. Qt_4_9 = ... # type: QDataStream.Version
  2967. Qt_5_0 = ... # type: QDataStream.Version
  2968. Qt_5_1 = ... # type: QDataStream.Version
  2969. Qt_5_2 = ... # type: QDataStream.Version
  2970. Qt_5_3 = ... # type: QDataStream.Version
  2971. Qt_5_4 = ... # type: QDataStream.Version
  2972. Qt_5_5 = ... # type: QDataStream.Version
  2973. Qt_5_6 = ... # type: QDataStream.Version
  2974. Qt_5_7 = ... # type: QDataStream.Version
  2975. Qt_5_8 = ... # type: QDataStream.Version
  2976. Qt_5_9 = ... # type: QDataStream.Version
  2977. Qt_5_10 = ... # type: QDataStream.Version
  2978. Qt_5_11 = ... # type: QDataStream.Version
  2979. Qt_5_12 = ... # type: QDataStream.Version
  2980. Qt_5_13 = ... # type: QDataStream.Version
  2981. Qt_5_14 = ... # type: QDataStream.Version
  2982. Qt_5_15 = ... # type: QDataStream.Version
  2983. Qt_6_0 = ... # type: QDataStream.Version
  2984. Qt_6_1 = ... # type: QDataStream.Version
  2985. Qt_6_2 = ... # type: QDataStream.Version
  2986. Qt_6_3 = ... # type: QDataStream.Version
  2987. Qt_6_4 = ... # type: QDataStream.Version
  2988. Qt_6_5 = ... # type: QDataStream.Version
  2989. Qt_6_6 = ... # type: QDataStream.Version
  2990. Qt_6_7 = ... # type: QDataStream.Version
  2991. Qt_6_8 = ... # type: QDataStream.Version
  2992. Qt_6_9 = ... # type: QDataStream.Version
  2993. Qt_6_10 = ... # type: QDataStream.Version
  2994. Qt_6_11 = ... # type: QDataStream.Version
  2995. @typing.overload
  2996. def __init__(self) -> None: ...
  2997. @typing.overload
  2998. def __init__(self, a0: QIODevice|None) -> None: ...
  2999. @typing.overload
  3000. def __init__(self, a0: QByteArray|None, flags: QIODeviceBase.OpenModeFlag) -> None: ...
  3001. @typing.overload
  3002. def __init__(self, a0: QByteArray|bytes|bytearray|memoryview) -> None: ...
  3003. @typing.overload
  3004. def __lshift__(self, a0: QBitArray) -> 'QDataStream': ...
  3005. @typing.overload
  3006. def __lshift__(self, a0: QByteArray) -> 'QDataStream': ...
  3007. @typing.overload
  3008. def __lshift__(self, chr: str) -> 'QDataStream': ...
  3009. @typing.overload
  3010. def __lshift__(self, combination: QKeyCombination) -> 'QDataStream': ...
  3011. @typing.overload
  3012. def __lshift__(self, a0: 'QDate'|datetime.date) -> 'QDataStream': ...
  3013. @typing.overload
  3014. def __lshift__(self, a0: 'QTime'|datetime.time) -> 'QDataStream': ...
  3015. @typing.overload
  3016. def __lshift__(self, a0: 'QDateTime'|datetime.datetime) -> 'QDataStream': ...
  3017. @typing.overload
  3018. def __lshift__(self, a0: 'QEasingCurve') -> 'QDataStream': ...
  3019. @typing.overload
  3020. def __lshift__(self, a0: 'QJsonDocument') -> 'QDataStream': ...
  3021. @typing.overload
  3022. def __lshift__(self, a0: 'QJsonValue|None') -> 'QDataStream': ...
  3023. @typing.overload
  3024. def __lshift__(self, a0: 'QLine') -> 'QDataStream': ...
  3025. @typing.overload
  3026. def __lshift__(self, a0: 'QLineF') -> 'QDataStream': ...
  3027. @typing.overload
  3028. def __lshift__(self, a0: 'QLocale') -> 'QDataStream': ...
  3029. @typing.overload
  3030. def __lshift__(self, a0: 'QMargins') -> 'QDataStream': ...
  3031. @typing.overload
  3032. def __lshift__(self, a0: 'QMarginsF') -> 'QDataStream': ...
  3033. @typing.overload
  3034. def __lshift__(self, a0: 'QPoint') -> 'QDataStream': ...
  3035. @typing.overload
  3036. def __lshift__(self, a0: 'QPointF') -> 'QDataStream': ...
  3037. @typing.overload
  3038. def __lshift__(self, a0: 'QRect') -> 'QDataStream': ...
  3039. @typing.overload
  3040. def __lshift__(self, a0: 'QRectF') -> 'QDataStream': ...
  3041. @typing.overload
  3042. def __lshift__(self, re: 'QRegularExpression') -> 'QDataStream': ...
  3043. @typing.overload
  3044. def __lshift__(self, a0: 'QSize') -> 'QDataStream': ...
  3045. @typing.overload
  3046. def __lshift__(self, a0: 'QSizeF') -> 'QDataStream': ...
  3047. @typing.overload
  3048. def __lshift__(self, tz: 'QTimeZone') -> 'QDataStream': ...
  3049. @typing.overload
  3050. def __lshift__(self, revision: 'QTypeRevision') -> 'QDataStream': ...
  3051. @typing.overload
  3052. def __lshift__(self, a0: 'QUrl') -> 'QDataStream': ...
  3053. @typing.overload
  3054. def __lshift__(self, a0: 'QUuid') -> 'QDataStream': ...
  3055. @typing.overload
  3056. def __lshift__(self, p: 'QVariant|None') -> 'QDataStream': ...
  3057. @typing.overload
  3058. def __lshift__(self, version: 'QVersionNumber') -> 'QDataStream': ...
  3059. @typing.overload
  3060. def __rshift__(self, a0: QBitArray) -> 'QDataStream': ...
  3061. @typing.overload
  3062. def __rshift__(self, a0: QByteArray) -> 'QDataStream': ...
  3063. @typing.overload
  3064. def __rshift__(self, chr: QChar) -> 'QDataStream': ...
  3065. @typing.overload
  3066. def __rshift__(self, combination: QKeyCombination) -> 'QDataStream': ...
  3067. @typing.overload
  3068. def __rshift__(self, a0: 'QDate') -> 'QDataStream': ...
  3069. @typing.overload
  3070. def __rshift__(self, a0: 'QTime') -> 'QDataStream': ...
  3071. @typing.overload
  3072. def __rshift__(self, a0: 'QDateTime') -> 'QDataStream': ...
  3073. @typing.overload
  3074. def __rshift__(self, a0: 'QEasingCurve') -> 'QDataStream': ...
  3075. @typing.overload
  3076. def __rshift__(self, a0: 'QJsonDocument') -> 'QDataStream': ...
  3077. @typing.overload
  3078. def __rshift__(self, a0: 'QJsonValue|None') -> 'QDataStream': ...
  3079. @typing.overload
  3080. def __rshift__(self, a0: 'QLine') -> 'QDataStream': ...
  3081. @typing.overload
  3082. def __rshift__(self, a0: 'QLineF') -> 'QDataStream': ...
  3083. @typing.overload
  3084. def __rshift__(self, a0: 'QLocale') -> 'QDataStream': ...
  3085. @typing.overload
  3086. def __rshift__(self, a0: 'QMargins') -> 'QDataStream': ...
  3087. @typing.overload
  3088. def __rshift__(self, a0: 'QMarginsF') -> 'QDataStream': ...
  3089. @typing.overload
  3090. def __rshift__(self, a0: 'QPoint') -> 'QDataStream': ...
  3091. @typing.overload
  3092. def __rshift__(self, a0: 'QPointF') -> 'QDataStream': ...
  3093. @typing.overload
  3094. def __rshift__(self, a0: 'QRect') -> 'QDataStream': ...
  3095. @typing.overload
  3096. def __rshift__(self, a0: 'QRectF') -> 'QDataStream': ...
  3097. @typing.overload
  3098. def __rshift__(self, re: 'QRegularExpression') -> 'QDataStream': ...
  3099. @typing.overload
  3100. def __rshift__(self, a0: 'QSize') -> 'QDataStream': ...
  3101. @typing.overload
  3102. def __rshift__(self, a0: 'QSizeF') -> 'QDataStream': ...
  3103. @typing.overload
  3104. def __rshift__(self, tz: 'QTimeZone') -> 'QDataStream': ...
  3105. @typing.overload
  3106. def __rshift__(self, revision: 'QTypeRevision') -> 'QDataStream': ...
  3107. @typing.overload
  3108. def __rshift__(self, a0: 'QUrl') -> 'QDataStream': ...
  3109. @typing.overload
  3110. def __rshift__(self, a0: 'QUuid') -> 'QDataStream': ...
  3111. @typing.overload
  3112. def __rshift__(self, p: 'QVariant|None') -> 'QDataStream': ...
  3113. @typing.overload
  3114. def __rshift__(self, version: 'QVersionNumber') -> 'QDataStream': ...
  3115. def __int__(self) -> bool: ...
  3116. def writeQVariantHash(self, qvarhash: dict[str|None, typing.Any]) -> None: ...
  3117. def readQVariantHash(self) -> dict[str, typing.Any]: ...
  3118. def writeQVariantMap(self, qvarmap: dict[str|None, typing.Any]) -> None: ...
  3119. def readQVariantMap(self) -> dict[str, typing.Any]: ...
  3120. def writeQVariantList(self, qvarlst: collections.abc.Iterable[typing.Any]) -> None: ...
  3121. def readQVariantList(self) -> list[typing.Any]: ...
  3122. def writeQVariant(self, qvar: typing.Any) -> None: ...
  3123. def readQVariant(self) -> typing.Any: ...
  3124. def writeQStringList(self, qstrlst: collections.abc.Iterable[str|None]) -> None: ...
  3125. def readQStringList(self) -> list[str]: ...
  3126. def writeQString(self, qstr: str|None) -> None: ...
  3127. def readQString(self) -> str: ...
  3128. def writeString(self, str: bytes) -> None: ...
  3129. def writeDouble(self, f: float) -> None: ...
  3130. def writeFloat(self, f: float) -> None: ...
  3131. def writeBool(self, i: bool) -> None: ...
  3132. def writeUInt64(self, i: int) -> None: ...
  3133. def writeInt64(self, i: int) -> None: ...
  3134. def writeUInt32(self, i: int) -> None: ...
  3135. def writeInt32(self, i: int) -> None: ...
  3136. def writeUInt16(self, i: int) -> None: ...
  3137. def writeInt16(self, i: int) -> None: ...
  3138. def writeUInt8(self, i: int) -> None: ...
  3139. def writeInt8(self, i: int) -> None: ...
  3140. def writeInt(self, i: int) -> None: ...
  3141. def readString(self) -> bytes: ...
  3142. def readDouble(self) -> float: ...
  3143. def readFloat(self) -> float: ...
  3144. def readBool(self) -> bool: ...
  3145. def readUInt64(self) -> int: ...
  3146. def readInt64(self) -> int: ...
  3147. def readUInt32(self) -> int: ...
  3148. def readInt32(self) -> int: ...
  3149. def readUInt16(self) -> int: ...
  3150. def readInt16(self) -> int: ...
  3151. def readUInt8(self) -> int: ...
  3152. def readInt8(self) -> int: ...
  3153. def readInt(self) -> int: ...
  3154. def abortTransaction(self) -> None: ...
  3155. def rollbackTransaction(self) -> None: ...
  3156. def commitTransaction(self) -> bool: ...
  3157. def startTransaction(self) -> None: ...
  3158. def skipRawData(self, len: int) -> int: ...
  3159. def writeRawData(self, a0: PyQt6.sip.Buffer) -> int: ...
  3160. def writeBytes(self, a0: PyQt6.sip.Buffer) -> 'QDataStream': ...
  3161. def readRawData(self, len: int) -> bytes: ...
  3162. def readBytes(self) -> bytes: ...
  3163. def setVersion(self, a0: int) -> None: ...
  3164. def version(self) -> int: ...
  3165. def setByteOrder(self, a0: 'QDataStream.ByteOrder') -> None: ...
  3166. def byteOrder(self) -> 'QDataStream.ByteOrder': ...
  3167. def setFloatingPointPrecision(self, precision: 'QDataStream.FloatingPointPrecision') -> None: ...
  3168. def floatingPointPrecision(self) -> 'QDataStream.FloatingPointPrecision': ...
  3169. def resetStatus(self) -> None: ...
  3170. def setStatus(self, status: 'QDataStream.Status') -> None: ...
  3171. def status(self) -> 'QDataStream.Status': ...
  3172. def atEnd(self) -> bool: ...
  3173. def setDevice(self, a0: QIODevice|None) -> None: ...
  3174. def device(self) -> QIODevice|None: ...
  3175. class QDate(PyQt6.sip.simplewrapper):
  3176. @typing.overload
  3177. def __init__(self) -> None: ...
  3178. @typing.overload
  3179. def __init__(self, y: int, m: int, d: int) -> None: ...
  3180. @typing.overload
  3181. def __init__(self, y: int, m: int, d: int, cal: QCalendar) -> None: ...
  3182. @typing.overload
  3183. def __init__(self, a0: 'QDate') -> None: ...
  3184. def __eq__(self, other: object): ...
  3185. def __ne__(self, other: object): ...
  3186. def __ge__(self, rhs: 'QDate'|datetime.date) -> bool: ...
  3187. def __le__(self, rhs: 'QDate'|datetime.date) -> bool: ...
  3188. def __gt__(self, rhs: 'QDate'|datetime.date) -> bool: ...
  3189. def __lt__(self, rhs: 'QDate'|datetime.date) -> bool: ...
  3190. def daysTo(self, d: 'QDate'|datetime.date) -> int: ...
  3191. @typing.overload
  3192. def endOfDay(self, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ...
  3193. @typing.overload
  3194. def endOfDay(self, zone: 'QTimeZone') -> 'QDateTime': ...
  3195. @typing.overload
  3196. def startOfDay(self, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ...
  3197. @typing.overload
  3198. def startOfDay(self, zone: 'QTimeZone') -> 'QDateTime': ...
  3199. def getDate(self) -> typing.Tuple[int, int, int]: ...
  3200. @typing.overload
  3201. def setDate(self, year: int, month: int, date: int) -> bool: ...
  3202. @typing.overload
  3203. def setDate(self, year: int, month: int, day: int, cal: QCalendar) -> bool: ...
  3204. def toJulianDay(self) -> int: ...
  3205. @staticmethod
  3206. def fromJulianDay(jd: int) -> 'QDate': ...
  3207. @staticmethod
  3208. def isLeapYear(year: int) -> bool: ...
  3209. @typing.overload
  3210. @staticmethod
  3211. def fromString(string: str|None, format: Qt.DateFormat = ...) -> 'QDate': ...
  3212. @typing.overload
  3213. @staticmethod
  3214. def fromString(string: str|None, format: str|None, cal: QCalendar = ...) -> 'QDate': ...
  3215. @typing.overload
  3216. @staticmethod
  3217. def fromString(string: str|None, format: str|None, baseYear: int, cal: QCalendar = ...) -> 'QDate': ...
  3218. @staticmethod
  3219. def currentDate() -> 'QDate': ...
  3220. @typing.overload
  3221. def addYears(self, years: int) -> 'QDate': ...
  3222. @typing.overload
  3223. def addYears(self, years: int, cal: QCalendar) -> 'QDate': ...
  3224. @typing.overload
  3225. def addMonths(self, months: int) -> 'QDate': ...
  3226. @typing.overload
  3227. def addMonths(self, months: int, cal: QCalendar) -> 'QDate': ...
  3228. def addDays(self, days: int) -> 'QDate': ...
  3229. @typing.overload
  3230. def toString(self, format: str|None, cal: QCalendar = ...) -> str: ...
  3231. @typing.overload
  3232. def toString(self, format: Qt.DateFormat = ...) -> str: ...
  3233. def weekNumber(self) -> typing.Tuple[int, int]: ...
  3234. @typing.overload
  3235. def daysInYear(self) -> int: ...
  3236. @typing.overload
  3237. def daysInYear(self, cal: QCalendar) -> int: ...
  3238. @typing.overload
  3239. def daysInMonth(self) -> int: ...
  3240. @typing.overload
  3241. def daysInMonth(self, cal: QCalendar) -> int: ...
  3242. @typing.overload
  3243. def dayOfYear(self) -> int: ...
  3244. @typing.overload
  3245. def dayOfYear(self, cal: QCalendar) -> int: ...
  3246. @typing.overload
  3247. def dayOfWeek(self) -> int: ...
  3248. @typing.overload
  3249. def dayOfWeek(self, cal: QCalendar) -> int: ...
  3250. @typing.overload
  3251. def day(self) -> int: ...
  3252. @typing.overload
  3253. def day(self, cal: QCalendar) -> int: ...
  3254. @typing.overload
  3255. def month(self) -> int: ...
  3256. @typing.overload
  3257. def month(self, cal: QCalendar) -> int: ...
  3258. @typing.overload
  3259. def year(self) -> int: ...
  3260. @typing.overload
  3261. def year(self, cal: QCalendar) -> int: ...
  3262. @typing.overload
  3263. def isValid(self) -> bool: ...
  3264. @typing.overload
  3265. @staticmethod
  3266. def isValid(y: int, m: int, d: int) -> bool: ...
  3267. def __bool__(self) -> int: ...
  3268. def isNull(self) -> bool: ...
  3269. def toPyDate(self) -> datetime.date: ...
  3270. def __hash__(self) -> int: ...
  3271. def __repr__(self) -> str: ...
  3272. class QTime(PyQt6.sip.simplewrapper):
  3273. @typing.overload
  3274. def __init__(self) -> None: ...
  3275. @typing.overload
  3276. def __init__(self, h: int, m: int, second: int = ..., msec: int = ...) -> None: ...
  3277. @typing.overload
  3278. def __init__(self, a0: 'QTime') -> None: ...
  3279. def __eq__(self, other: object): ...
  3280. def __ne__(self, other: object): ...
  3281. def __ge__(self, rhs: 'QTime'|datetime.time) -> bool: ...
  3282. def __le__(self, rhs: 'QTime'|datetime.time) -> bool: ...
  3283. def __gt__(self, rhs: 'QTime'|datetime.time) -> bool: ...
  3284. def __lt__(self, rhs: 'QTime'|datetime.time) -> bool: ...
  3285. def msecsTo(self, t: 'QTime'|datetime.time) -> int: ...
  3286. def secsTo(self, t: 'QTime'|datetime.time) -> int: ...
  3287. def msecsSinceStartOfDay(self) -> int: ...
  3288. @staticmethod
  3289. def fromMSecsSinceStartOfDay(msecs: int) -> 'QTime': ...
  3290. @typing.overload
  3291. @staticmethod
  3292. def fromString(string: str|None, format: Qt.DateFormat = ...) -> 'QTime': ...
  3293. @typing.overload
  3294. @staticmethod
  3295. def fromString(s: str|None, format: str|None) -> 'QTime': ...
  3296. @staticmethod
  3297. def currentTime() -> 'QTime': ...
  3298. def addMSecs(self, ms: int) -> 'QTime': ...
  3299. def addSecs(self, secs: int) -> 'QTime': ...
  3300. def setHMS(self, h: int, m: int, s: int, msec: int = ...) -> bool: ...
  3301. @typing.overload
  3302. def toString(self, format: Qt.DateFormat = ...) -> str: ...
  3303. @typing.overload
  3304. def toString(self, format: str|None) -> str: ...
  3305. def msec(self) -> int: ...
  3306. def second(self) -> int: ...
  3307. def minute(self) -> int: ...
  3308. def hour(self) -> int: ...
  3309. @typing.overload
  3310. def isValid(self) -> bool: ...
  3311. @typing.overload
  3312. @staticmethod
  3313. def isValid(h: int, m: int, s: int, msec: int = ...) -> bool: ...
  3314. def __bool__(self) -> int: ...
  3315. def isNull(self) -> bool: ...
  3316. def toPyTime(self) -> datetime.time: ...
  3317. def __hash__(self) -> int: ...
  3318. def __repr__(self) -> str: ...
  3319. class QDateTime(PyQt6.sip.simplewrapper):
  3320. class YearRange(enum.Enum):
  3321. First = ... # type: QDateTime.YearRange
  3322. Last = ... # type: QDateTime.YearRange
  3323. class TransitionResolution(enum.Enum):
  3324. Reject = ... # type: QDateTime.TransitionResolution
  3325. RelativeToBefore = ... # type: QDateTime.TransitionResolution
  3326. RelativeToAfter = ... # type: QDateTime.TransitionResolution
  3327. PreferBefore = ... # type: QDateTime.TransitionResolution
  3328. PreferAfter = ... # type: QDateTime.TransitionResolution
  3329. PreferStandard = ... # type: QDateTime.TransitionResolution
  3330. PreferDaylightSaving = ... # type: QDateTime.TransitionResolution
  3331. LegacyBehavior = ... # type: QDateTime.TransitionResolution
  3332. @typing.overload
  3333. def __init__(self) -> None: ...
  3334. @typing.overload
  3335. def __init__(self, other: 'QDateTime'|datetime.datetime) -> None: ...
  3336. @typing.overload
  3337. def __init__(self, year: int, month: int, day: int, hour: int, minute: int, second: int = ..., msec: int = ..., timeSpec: int = ...) -> None: ...
  3338. @typing.overload
  3339. def __init__(self, date: QDate|datetime.date, time: QTime|datetime.time, resolve: 'QDateTime.TransitionResolution') -> None: ...
  3340. @typing.overload
  3341. def __init__(self, date: QDate|datetime.date, time: QTime|datetime.time, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> None: ...
  3342. @typing.overload
  3343. def __init__(self, date: QDate|datetime.date, time: QTime|datetime.time, timeZone: 'QTimeZone', resolve: 'QDateTime.TransitionResolution' = ...) -> None: ...
  3344. def __eq__(self, other: object): ...
  3345. def __ne__(self, other: object): ...
  3346. def __ge__(self, rhs: 'QDateTime'|datetime.datetime) -> bool: ...
  3347. def __le__(self, rhs: 'QDateTime'|datetime.datetime) -> bool: ...
  3348. def __gt__(self, rhs: 'QDateTime'|datetime.datetime) -> bool: ...
  3349. def __lt__(self, rhs: 'QDateTime'|datetime.datetime) -> bool: ...
  3350. def timeRepresentation(self) -> 'QTimeZone': ...
  3351. def setTime(self, time: QTime|datetime.time, resolve: 'QDateTime.TransitionResolution' = ...) -> None: ...
  3352. def setDate(self, date: QDate|datetime.date, resolve: 'QDateTime.TransitionResolution' = ...) -> None: ...
  3353. @staticmethod
  3354. def currentSecsSinceEpoch() -> int: ...
  3355. @typing.overload
  3356. @staticmethod
  3357. def fromSecsSinceEpoch(secs: int, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ...
  3358. @typing.overload
  3359. @staticmethod
  3360. def fromSecsSinceEpoch(secs: int, timeZone: 'QTimeZone') -> 'QDateTime': ...
  3361. def setSecsSinceEpoch(self, secs: int) -> None: ...
  3362. def toSecsSinceEpoch(self) -> int: ...
  3363. @typing.overload
  3364. @staticmethod
  3365. def fromMSecsSinceEpoch(msecs: int, spec: Qt.TimeSpec = ..., offsetSeconds: int = ...) -> 'QDateTime': ...
  3366. @typing.overload
  3367. @staticmethod
  3368. def fromMSecsSinceEpoch(msecs: int, timeZone: 'QTimeZone') -> 'QDateTime': ...
  3369. def toTimeZone(self, toZone: 'QTimeZone') -> 'QDateTime': ...
  3370. def toOffsetFromUtc(self, offsetSeconds: int) -> 'QDateTime': ...
  3371. def setTimeZone(self, toZone: 'QTimeZone', resolve: 'QDateTime.TransitionResolution' = ...) -> None: ...
  3372. def setOffsetFromUtc(self, offsetSeconds: int) -> None: ...
  3373. def isDaylightTime(self) -> bool: ...
  3374. def timeZoneAbbreviation(self) -> str: ...
  3375. def timeZone(self) -> 'QTimeZone': ...
  3376. def offsetFromUtc(self) -> int: ...
  3377. def swap(self, other: 'QDateTime') -> None: ...
  3378. @staticmethod
  3379. def currentMSecsSinceEpoch() -> int: ...
  3380. @staticmethod
  3381. def currentDateTimeUtc() -> 'QDateTime': ...
  3382. def msecsTo(self, a0: 'QDateTime'|datetime.datetime) -> int: ...
  3383. def setMSecsSinceEpoch(self, msecs: int) -> None: ...
  3384. def toMSecsSinceEpoch(self) -> int: ...
  3385. @typing.overload
  3386. @staticmethod
  3387. def fromString(string: str|None, format: Qt.DateFormat = ...) -> 'QDateTime': ...
  3388. @typing.overload
  3389. @staticmethod
  3390. def fromString(string: str|None, format: str|None, cal: QCalendar = ...) -> 'QDateTime': ...
  3391. @typing.overload
  3392. @staticmethod
  3393. def fromString(string: str|None, format: str|None, baseYear: int, cal: QCalendar = ...) -> 'QDateTime': ...
  3394. @typing.overload
  3395. @staticmethod
  3396. def currentDateTime() -> 'QDateTime': ...
  3397. @typing.overload
  3398. @staticmethod
  3399. def currentDateTime(zone: 'QTimeZone') -> 'QDateTime': ...
  3400. def secsTo(self, a0: 'QDateTime'|datetime.datetime) -> int: ...
  3401. def daysTo(self, a0: 'QDateTime'|datetime.datetime) -> int: ...
  3402. def toUTC(self) -> 'QDateTime': ...
  3403. def toLocalTime(self) -> 'QDateTime': ...
  3404. def toTimeSpec(self, spec: Qt.TimeSpec) -> 'QDateTime': ...
  3405. def addMSecs(self, msecs: int) -> 'QDateTime': ...
  3406. def addSecs(self, secs: int) -> 'QDateTime': ...
  3407. def addYears(self, years: int) -> 'QDateTime': ...
  3408. def addMonths(self, months: int) -> 'QDateTime': ...
  3409. def addDays(self, days: int) -> 'QDateTime': ...
  3410. @typing.overload
  3411. def toString(self, format: str|None, cal: QCalendar = ...) -> str: ...
  3412. @typing.overload
  3413. def toString(self, format: Qt.DateFormat = ...) -> str: ...
  3414. def setTimeSpec(self, spec: Qt.TimeSpec) -> None: ...
  3415. def timeSpec(self) -> Qt.TimeSpec: ...
  3416. def time(self) -> QTime: ...
  3417. def date(self) -> QDate: ...
  3418. def isValid(self) -> bool: ...
  3419. def __bool__(self) -> int: ...
  3420. def isNull(self) -> bool: ...
  3421. def toPyDateTime(self) -> datetime.datetime: ...
  3422. def __hash__(self) -> int: ...
  3423. def __repr__(self) -> str: ...
  3424. class QDeadlineTimer(PyQt6.sip.simplewrapper):
  3425. class ForeverConstant(enum.Enum):
  3426. Forever = ... # type: QDeadlineTimer.ForeverConstant
  3427. @typing.overload
  3428. def __init__(self, type: Qt.TimerType = ...) -> None: ...
  3429. @typing.overload
  3430. def __init__(self, a0: 'QDeadlineTimer.ForeverConstant', type: Qt.TimerType = ...) -> None: ...
  3431. @typing.overload
  3432. def __init__(self, msecs: int, type: Qt.TimerType = ...) -> None: ...
  3433. @typing.overload
  3434. def __init__(self, a0: 'QDeadlineTimer') -> None: ...
  3435. def __eq__(self, other: object): ...
  3436. def __ne__(self, other: object): ...
  3437. def __ge__(self, rhs: 'QDeadlineTimer') -> bool: ...
  3438. def __le__(self, rhs: 'QDeadlineTimer') -> bool: ...
  3439. def __gt__(self, rhs: 'QDeadlineTimer') -> bool: ...
  3440. def __lt__(self, rhs: 'QDeadlineTimer') -> bool: ...
  3441. def __add__(self, msecs: int) -> 'QDeadlineTimer': ...
  3442. def __radd__(self, msecs: int) -> 'QDeadlineTimer': ...
  3443. @typing.overload
  3444. def __sub__(self, msecs: int) -> 'QDeadlineTimer': ...
  3445. @typing.overload
  3446. def __sub__(self, dt2: 'QDeadlineTimer') -> int: ...
  3447. def __isub__(self, msecs: int) -> 'QDeadlineTimer': ...
  3448. def __iadd__(self, msecs: int) -> 'QDeadlineTimer': ...
  3449. @staticmethod
  3450. def current(type: Qt.TimerType = ...) -> 'QDeadlineTimer': ...
  3451. @staticmethod
  3452. def addNSecs(dt: 'QDeadlineTimer', nsecs: int) -> 'QDeadlineTimer': ...
  3453. def setPreciseDeadline(self, secs: int, nsecs: int = ..., type: Qt.TimerType = ...) -> None: ...
  3454. def setDeadline(self, msecs: int, type: Qt.TimerType = ...) -> None: ...
  3455. def deadlineNSecs(self) -> int: ...
  3456. def deadline(self) -> int: ...
  3457. def setPreciseRemainingTime(self, secs: int, nsecs: int = ..., type: Qt.TimerType = ...) -> None: ...
  3458. def setRemainingTime(self, msecs: int, type: Qt.TimerType = ...) -> None: ...
  3459. def remainingTimeNSecs(self) -> int: ...
  3460. def remainingTime(self) -> int: ...
  3461. def setTimerType(self, type: Qt.TimerType) -> None: ...
  3462. def timerType(self) -> Qt.TimerType: ...
  3463. def hasExpired(self) -> bool: ...
  3464. def isForever(self) -> bool: ...
  3465. def swap(self, other: 'QDeadlineTimer') -> None: ...
  3466. class QDir(PyQt6.sip.simplewrapper):
  3467. class SortFlag(enum.Flag):
  3468. Name = ... # type: QDir.SortFlag
  3469. Time = ... # type: QDir.SortFlag
  3470. Size = ... # type: QDir.SortFlag
  3471. Unsorted = ... # type: QDir.SortFlag
  3472. SortByMask = ... # type: QDir.SortFlag
  3473. DirsFirst = ... # type: QDir.SortFlag
  3474. Reversed = ... # type: QDir.SortFlag
  3475. IgnoreCase = ... # type: QDir.SortFlag
  3476. DirsLast = ... # type: QDir.SortFlag
  3477. LocaleAware = ... # type: QDir.SortFlag
  3478. Type = ... # type: QDir.SortFlag
  3479. NoSort = ... # type: QDir.SortFlag
  3480. class Filter(enum.Flag):
  3481. Dirs = ... # type: QDir.Filter
  3482. Files = ... # type: QDir.Filter
  3483. Drives = ... # type: QDir.Filter
  3484. NoSymLinks = ... # type: QDir.Filter
  3485. AllEntries = ... # type: QDir.Filter
  3486. TypeMask = ... # type: QDir.Filter
  3487. Readable = ... # type: QDir.Filter
  3488. Writable = ... # type: QDir.Filter
  3489. Executable = ... # type: QDir.Filter
  3490. PermissionMask = ... # type: QDir.Filter
  3491. Modified = ... # type: QDir.Filter
  3492. Hidden = ... # type: QDir.Filter
  3493. System = ... # type: QDir.Filter
  3494. AccessMask = ... # type: QDir.Filter
  3495. AllDirs = ... # type: QDir.Filter
  3496. CaseSensitive = ... # type: QDir.Filter
  3497. NoDotAndDotDot = ... # type: QDir.Filter
  3498. NoFilter = ... # type: QDir.Filter
  3499. NoDot = ... # type: QDir.Filter
  3500. NoDotDot = ... # type: QDir.Filter
  3501. @typing.overload
  3502. def __init__(self, path: str|None, nameFilter: str|None, sort: 'QDir.SortFlag' = ..., filters: 'QDir.Filter' = ...) -> None: ...
  3503. @typing.overload
  3504. def __init__(self, a0: 'QDir') -> None: ...
  3505. @typing.overload
  3506. def __init__(self, path: str|None = ...) -> None: ...
  3507. def __eq__(self, other: object): ...
  3508. def __ne__(self, other: object): ...
  3509. def isEmpty(self, filters: 'QDir.Filter' = ...) -> bool: ...
  3510. @staticmethod
  3511. def listSeparator() -> str: ...
  3512. def swap(self, other: 'QDir') -> None: ...
  3513. def removeRecursively(self) -> bool: ...
  3514. @staticmethod
  3515. def searchPaths(prefix: str|None) -> list[str]: ...
  3516. @staticmethod
  3517. def addSearchPath(prefix: str|None, path: str|None) -> None: ...
  3518. @staticmethod
  3519. def setSearchPaths(prefix: str|None, searchPaths: collections.abc.Iterable[str|None]) -> None: ...
  3520. @staticmethod
  3521. def fromNativeSeparators(pathName: str|None) -> str: ...
  3522. @staticmethod
  3523. def toNativeSeparators(pathName: str|None) -> str: ...
  3524. @staticmethod
  3525. def cleanPath(path: str|None) -> str: ...
  3526. @typing.overload
  3527. @staticmethod
  3528. def match(filters: collections.abc.Iterable[str|None], fileName: str|None) -> bool: ...
  3529. @typing.overload
  3530. @staticmethod
  3531. def match(filter: str|None, fileName: str|None) -> bool: ...
  3532. @staticmethod
  3533. def tempPath() -> str: ...
  3534. @staticmethod
  3535. def temp() -> 'QDir': ...
  3536. @staticmethod
  3537. def rootPath() -> str: ...
  3538. @staticmethod
  3539. def root() -> 'QDir': ...
  3540. @staticmethod
  3541. def homePath() -> str: ...
  3542. @staticmethod
  3543. def home() -> 'QDir': ...
  3544. @staticmethod
  3545. def currentPath() -> str: ...
  3546. @staticmethod
  3547. def current() -> 'QDir': ...
  3548. @staticmethod
  3549. def setCurrent(path: str|None) -> bool: ...
  3550. @staticmethod
  3551. def separator() -> str: ...
  3552. @staticmethod
  3553. def drives() -> list['QFileInfo']: ...
  3554. def refresh(self) -> None: ...
  3555. def rename(self, oldName: str|None, newName: str|None) -> bool: ...
  3556. def remove(self, fileName: str|None) -> bool: ...
  3557. def makeAbsolute(self) -> bool: ...
  3558. def isAbsolute(self) -> bool: ...
  3559. def isRelative(self) -> bool: ...
  3560. @staticmethod
  3561. def isAbsolutePath(path: str|None) -> bool: ...
  3562. @staticmethod
  3563. def isRelativePath(path: str|None) -> bool: ...
  3564. def isRoot(self) -> bool: ...
  3565. @typing.overload
  3566. def exists(self) -> bool: ...
  3567. @typing.overload
  3568. def exists(self, name: str|None) -> bool: ...
  3569. def isReadable(self) -> bool: ...
  3570. def rmpath(self, dirPath: str|None) -> bool: ...
  3571. @typing.overload
  3572. def mkpath(self, dirPath: str|None, permissions: 'QFileDevice.Permission') -> bool: ...
  3573. @typing.overload
  3574. def mkpath(self, dirPath: str|None) -> bool: ...
  3575. def rmdir(self, dirName: str|None) -> bool: ...
  3576. @typing.overload
  3577. def mkdir(self, dirName: str|None, permissions: 'QFileDevice.Permission') -> bool: ...
  3578. @typing.overload
  3579. def mkdir(self, dirName: str|None) -> bool: ...
  3580. @typing.overload
  3581. def entryInfoList(self, filters: 'QDir.Filter' = ..., sort: 'QDir.SortFlag' = ...) -> list['QFileInfo']: ...
  3582. @typing.overload
  3583. def entryInfoList(self, nameFilters: collections.abc.Iterable[str|None], filters: 'QDir.Filter' = ..., sort: 'QDir.SortFlag' = ...) -> list['QFileInfo']: ...
  3584. @typing.overload
  3585. def entryList(self, filters: 'QDir.Filter' = ..., sort: 'QDir.SortFlag' = ...) -> list[str]: ...
  3586. @typing.overload
  3587. def entryList(self, nameFilters: collections.abc.Iterable[str|None], filters: 'QDir.Filter' = ..., sort: 'QDir.SortFlag' = ...) -> list[str]: ...
  3588. @staticmethod
  3589. def nameFiltersFromString(nameFilter: str|None) -> list[str]: ...
  3590. def __contains__(self, a0: str|None) -> int: ...
  3591. @typing.overload
  3592. def __getitem__(self, a0: int) -> str: ...
  3593. @typing.overload
  3594. def __getitem__(self, a0: slice) -> list[str]: ...
  3595. def __len__(self) -> int: ...
  3596. def count(self) -> int: ...
  3597. def setSorting(self, sort: 'QDir.SortFlag') -> None: ...
  3598. def sorting(self) -> 'QDir.SortFlag': ...
  3599. def setFilter(self, filter: 'QDir.Filter') -> None: ...
  3600. def filter(self) -> 'QDir.Filter': ...
  3601. def setNameFilters(self, nameFilters: collections.abc.Iterable[str|None]) -> None: ...
  3602. def nameFilters(self) -> list[str]: ...
  3603. def cdUp(self) -> bool: ...
  3604. def cd(self, dirName: str|None) -> bool: ...
  3605. def relativeFilePath(self, fileName: str|None) -> str: ...
  3606. def absoluteFilePath(self, fileName: str|None) -> str: ...
  3607. def filePath(self, fileName: str|None) -> str: ...
  3608. def dirName(self) -> str: ...
  3609. def canonicalPath(self) -> str: ...
  3610. def absolutePath(self) -> str: ...
  3611. def path(self) -> str: ...
  3612. def setPath(self, path: str|None) -> None: ...
  3613. class QDirIterator(PyQt6.sip.simplewrapper):
  3614. class IteratorFlag(enum.Flag):
  3615. NoIteratorFlags = ... # type: QDirIterator.IteratorFlag
  3616. FollowSymlinks = ... # type: QDirIterator.IteratorFlag
  3617. Subdirectories = ... # type: QDirIterator.IteratorFlag
  3618. @typing.overload
  3619. def __init__(self, dir: QDir, flags: 'QDirIterator.IteratorFlag' = ...) -> None: ...
  3620. @typing.overload
  3621. def __init__(self, path: str|None, flags: 'QDirIterator.IteratorFlag' = ...) -> None: ...
  3622. @typing.overload
  3623. def __init__(self, path: str|None, filter: QDir.Filter, flags: 'QDirIterator.IteratorFlag' = ...) -> None: ...
  3624. @typing.overload
  3625. def __init__(self, path: str|None, nameFilters: collections.abc.Iterable[str|None], filters: QDir.Filter = ..., flags: 'QDirIterator.IteratorFlag' = ...) -> None: ...
  3626. def path(self) -> str: ...
  3627. def fileInfo(self) -> 'QFileInfo': ...
  3628. def filePath(self) -> str: ...
  3629. def fileName(self) -> str: ...
  3630. def hasNext(self) -> bool: ...
  3631. def nextFileInfo(self) -> 'QFileInfo': ...
  3632. def next(self) -> str: ...
  3633. class QEasingCurve(PyQt6.sip.simplewrapper):
  3634. class Type(enum.Enum):
  3635. Linear = ... # type: QEasingCurve.Type
  3636. InQuad = ... # type: QEasingCurve.Type
  3637. OutQuad = ... # type: QEasingCurve.Type
  3638. InOutQuad = ... # type: QEasingCurve.Type
  3639. OutInQuad = ... # type: QEasingCurve.Type
  3640. InCubic = ... # type: QEasingCurve.Type
  3641. OutCubic = ... # type: QEasingCurve.Type
  3642. InOutCubic = ... # type: QEasingCurve.Type
  3643. OutInCubic = ... # type: QEasingCurve.Type
  3644. InQuart = ... # type: QEasingCurve.Type
  3645. OutQuart = ... # type: QEasingCurve.Type
  3646. InOutQuart = ... # type: QEasingCurve.Type
  3647. OutInQuart = ... # type: QEasingCurve.Type
  3648. InQuint = ... # type: QEasingCurve.Type
  3649. OutQuint = ... # type: QEasingCurve.Type
  3650. InOutQuint = ... # type: QEasingCurve.Type
  3651. OutInQuint = ... # type: QEasingCurve.Type
  3652. InSine = ... # type: QEasingCurve.Type
  3653. OutSine = ... # type: QEasingCurve.Type
  3654. InOutSine = ... # type: QEasingCurve.Type
  3655. OutInSine = ... # type: QEasingCurve.Type
  3656. InExpo = ... # type: QEasingCurve.Type
  3657. OutExpo = ... # type: QEasingCurve.Type
  3658. InOutExpo = ... # type: QEasingCurve.Type
  3659. OutInExpo = ... # type: QEasingCurve.Type
  3660. InCirc = ... # type: QEasingCurve.Type
  3661. OutCirc = ... # type: QEasingCurve.Type
  3662. InOutCirc = ... # type: QEasingCurve.Type
  3663. OutInCirc = ... # type: QEasingCurve.Type
  3664. InElastic = ... # type: QEasingCurve.Type
  3665. OutElastic = ... # type: QEasingCurve.Type
  3666. InOutElastic = ... # type: QEasingCurve.Type
  3667. OutInElastic = ... # type: QEasingCurve.Type
  3668. InBack = ... # type: QEasingCurve.Type
  3669. OutBack = ... # type: QEasingCurve.Type
  3670. InOutBack = ... # type: QEasingCurve.Type
  3671. OutInBack = ... # type: QEasingCurve.Type
  3672. InBounce = ... # type: QEasingCurve.Type
  3673. OutBounce = ... # type: QEasingCurve.Type
  3674. InOutBounce = ... # type: QEasingCurve.Type
  3675. OutInBounce = ... # type: QEasingCurve.Type
  3676. InCurve = ... # type: QEasingCurve.Type
  3677. OutCurve = ... # type: QEasingCurve.Type
  3678. SineCurve = ... # type: QEasingCurve.Type
  3679. CosineCurve = ... # type: QEasingCurve.Type
  3680. BezierSpline = ... # type: QEasingCurve.Type
  3681. TCBSpline = ... # type: QEasingCurve.Type
  3682. Custom = ... # type: QEasingCurve.Type
  3683. @typing.overload
  3684. def __init__(self, type: 'QEasingCurve.Type' = ...) -> None: ...
  3685. @typing.overload
  3686. def __init__(self, other: 'QEasingCurve'|'QEasingCurve.Type') -> None: ...
  3687. def __eq__(self, other: object): ...
  3688. def __ne__(self, other: object): ...
  3689. def toCubicSpline(self) -> list['QPointF']: ...
  3690. def addTCBSegment(self, nextPoint: 'QPointF', t: float, c: float, b: float) -> None: ...
  3691. def addCubicBezierSegment(self, c1: 'QPointF', c2: 'QPointF', endPoint: 'QPointF') -> None: ...
  3692. def swap(self, other: 'QEasingCurve') -> None: ...
  3693. def valueForProgress(self, progress: float) -> float: ...
  3694. def customType(self) -> collections.abc.Callable[[float], float]: ...
  3695. def setCustomType(self, func: collections.abc.Callable[[float], float]) -> None: ...
  3696. def setType(self, type: 'QEasingCurve.Type') -> None: ...
  3697. def type(self) -> 'QEasingCurve.Type': ...
  3698. def setOvershoot(self, overshoot: float) -> None: ...
  3699. def overshoot(self) -> float: ...
  3700. def setPeriod(self, period: float) -> None: ...
  3701. def period(self) -> float: ...
  3702. def setAmplitude(self, amplitude: float) -> None: ...
  3703. def amplitude(self) -> float: ...
  3704. class QElapsedTimer(PyQt6.sip.simplewrapper):
  3705. class ClockType(enum.Enum):
  3706. SystemTime = ... # type: QElapsedTimer.ClockType
  3707. MonotonicClock = ... # type: QElapsedTimer.ClockType
  3708. TickCounter = ... # type: QElapsedTimer.ClockType
  3709. MachAbsoluteTime = ... # type: QElapsedTimer.ClockType
  3710. PerformanceCounter = ... # type: QElapsedTimer.ClockType
  3711. @typing.overload
  3712. def __init__(self) -> None: ...
  3713. @typing.overload
  3714. def __init__(self, a0: 'QElapsedTimer') -> None: ...
  3715. def __eq__(self, other: object): ...
  3716. def __ne__(self, other: object): ...
  3717. def __ge__(self, rhs: 'QElapsedTimer') -> bool: ...
  3718. def __le__(self, rhs: 'QElapsedTimer') -> bool: ...
  3719. def __gt__(self, rhs: 'QElapsedTimer') -> bool: ...
  3720. def __lt__(self, v2: 'QElapsedTimer') -> bool: ...
  3721. def nsecsElapsed(self) -> int: ...
  3722. def secsTo(self, other: 'QElapsedTimer') -> int: ...
  3723. def msecsTo(self, other: 'QElapsedTimer') -> int: ...
  3724. def msecsSinceReference(self) -> int: ...
  3725. def hasExpired(self, timeout: int) -> bool: ...
  3726. def elapsed(self) -> int: ...
  3727. def isValid(self) -> bool: ...
  3728. def invalidate(self) -> None: ...
  3729. def restart(self) -> int: ...
  3730. def start(self) -> None: ...
  3731. @staticmethod
  3732. def isMonotonic() -> bool: ...
  3733. @staticmethod
  3734. def clockType() -> 'QElapsedTimer.ClockType': ...
  3735. class QEventLoop(QObject):
  3736. class ProcessEventsFlag(enum.Flag):
  3737. AllEvents = ... # type: QEventLoop.ProcessEventsFlag
  3738. ExcludeUserInputEvents = ... # type: QEventLoop.ProcessEventsFlag
  3739. ExcludeSocketNotifiers = ... # type: QEventLoop.ProcessEventsFlag
  3740. WaitForMoreEvents = ... # type: QEventLoop.ProcessEventsFlag
  3741. def __init__(self, parent: QObject|None = ...) -> None: ...
  3742. def event(self, event: QEvent|None) -> bool: ...
  3743. def quit(self) -> None: ...
  3744. def wakeUp(self) -> None: ...
  3745. def isRunning(self) -> bool: ...
  3746. def exit(self, returnCode: int = ...) -> None: ...
  3747. def exec(self, flags: 'QEventLoop.ProcessEventsFlag' = ...) -> int: ...
  3748. @typing.overload
  3749. def processEvents(self, flags: 'QEventLoop.ProcessEventsFlag' = ...) -> bool: ...
  3750. @typing.overload
  3751. def processEvents(self, flags: 'QEventLoop.ProcessEventsFlag', maximumTime: int) -> None: ...
  3752. @typing.overload
  3753. def processEvents(self, flags: 'QEventLoop.ProcessEventsFlag', deadline: QDeadlineTimer) -> None: ...
  3754. class QEventLoopLocker(PyQt6.sip.simplewrapper):
  3755. @typing.overload
  3756. def __init__(self) -> None: ...
  3757. @typing.overload
  3758. def __init__(self, loop: QEventLoop|None) -> None: ...
  3759. @typing.overload
  3760. def __init__(self, thread: 'QThread|None') -> None: ...
  3761. def swap(self, other: 'QEventLoopLocker') -> None: ...
  3762. class QFileDevice(QIODevice):
  3763. class MemoryMapFlag(enum.Flag):
  3764. NoOptions = ... # type: QFileDevice.MemoryMapFlag
  3765. MapPrivateOption = ... # type: QFileDevice.MemoryMapFlag
  3766. class FileTime(enum.Enum):
  3767. FileAccessTime = ... # type: QFileDevice.FileTime
  3768. FileBirthTime = ... # type: QFileDevice.FileTime
  3769. FileMetadataChangeTime = ... # type: QFileDevice.FileTime
  3770. FileModificationTime = ... # type: QFileDevice.FileTime
  3771. class FileHandleFlag(enum.Flag):
  3772. AutoCloseHandle = ... # type: QFileDevice.FileHandleFlag
  3773. DontCloseHandle = ... # type: QFileDevice.FileHandleFlag
  3774. class Permission(enum.Flag):
  3775. ReadOwner = ... # type: QFileDevice.Permission
  3776. WriteOwner = ... # type: QFileDevice.Permission
  3777. ExeOwner = ... # type: QFileDevice.Permission
  3778. ReadUser = ... # type: QFileDevice.Permission
  3779. WriteUser = ... # type: QFileDevice.Permission
  3780. ExeUser = ... # type: QFileDevice.Permission
  3781. ReadGroup = ... # type: QFileDevice.Permission
  3782. WriteGroup = ... # type: QFileDevice.Permission
  3783. ExeGroup = ... # type: QFileDevice.Permission
  3784. ReadOther = ... # type: QFileDevice.Permission
  3785. WriteOther = ... # type: QFileDevice.Permission
  3786. ExeOther = ... # type: QFileDevice.Permission
  3787. class FileError(enum.Enum):
  3788. NoError = ... # type: QFileDevice.FileError
  3789. ReadError = ... # type: QFileDevice.FileError
  3790. WriteError = ... # type: QFileDevice.FileError
  3791. FatalError = ... # type: QFileDevice.FileError
  3792. ResourceError = ... # type: QFileDevice.FileError
  3793. OpenError = ... # type: QFileDevice.FileError
  3794. AbortError = ... # type: QFileDevice.FileError
  3795. TimeOutError = ... # type: QFileDevice.FileError
  3796. UnspecifiedError = ... # type: QFileDevice.FileError
  3797. RemoveError = ... # type: QFileDevice.FileError
  3798. RenameError = ... # type: QFileDevice.FileError
  3799. PositionError = ... # type: QFileDevice.FileError
  3800. ResizeError = ... # type: QFileDevice.FileError
  3801. PermissionsError = ... # type: QFileDevice.FileError
  3802. CopyError = ... # type: QFileDevice.FileError
  3803. def setFileTime(self, newDate: QDateTime|datetime.datetime, fileTime: 'QFileDevice.FileTime') -> bool: ...
  3804. def fileTime(self, time: 'QFileDevice.FileTime') -> QDateTime: ...
  3805. def writeData(self, a0: PyQt6.sip.Buffer) -> int: ...
  3806. def readLineData(self, maxlen: int) -> bytes: ...
  3807. def readData(self, maxlen: int) -> bytes: ...
  3808. def unmap(self, address: PyQt6.sip.voidptr) -> bool: ...
  3809. def map(self, offset: int, size: int, flags: 'QFileDevice.MemoryMapFlag' = ...) -> PyQt6.sip.voidptr: ...
  3810. def setPermissions(self, permissionSpec: 'QFileDevice.Permission') -> bool: ...
  3811. def permissions(self) -> 'QFileDevice.Permission': ...
  3812. def resize(self, sz: int) -> bool: ...
  3813. def size(self) -> int: ...
  3814. def flush(self) -> bool: ...
  3815. def atEnd(self) -> bool: ...
  3816. def seek(self, offset: int) -> bool: ...
  3817. def pos(self) -> int: ...
  3818. def fileName(self) -> str: ...
  3819. def handle(self) -> int: ...
  3820. def isSequential(self) -> bool: ...
  3821. def close(self) -> None: ...
  3822. def unsetError(self) -> None: ...
  3823. def error(self) -> 'QFileDevice.FileError': ...
  3824. class QFile(QFileDevice):
  3825. @typing.overload
  3826. def __init__(self) -> None: ...
  3827. @typing.overload
  3828. def __init__(self, name: str|None) -> None: ...
  3829. @typing.overload
  3830. def __init__(self, parent: QObject|None) -> None: ...
  3831. @typing.overload
  3832. def __init__(self, name: str|None, parent: QObject|None) -> None: ...
  3833. @staticmethod
  3834. def supportsMoveToTrash() -> bool: ...
  3835. @typing.overload
  3836. def moveToTrash(self) -> bool: ...
  3837. @typing.overload
  3838. @staticmethod
  3839. def moveToTrash(fileName: str|None) -> typing.Tuple[bool, str]: ...
  3840. @typing.overload
  3841. def setPermissions(self, permissionSpec: QFileDevice.Permission) -> bool: ...
  3842. @typing.overload
  3843. @staticmethod
  3844. def setPermissions(filename: str|None, permissionSpec: QFileDevice.Permission) -> bool: ...
  3845. @typing.overload
  3846. def permissions(self) -> QFileDevice.Permission: ...
  3847. @typing.overload
  3848. @staticmethod
  3849. def permissions(filename: str|None) -> QFileDevice.Permission: ...
  3850. @typing.overload
  3851. def resize(self, sz: int) -> bool: ...
  3852. @typing.overload
  3853. @staticmethod
  3854. def resize(filename: str|None, sz: int) -> bool: ...
  3855. def size(self) -> int: ...
  3856. @typing.overload
  3857. def open(self, flags: QIODeviceBase.OpenModeFlag, permissions: QFileDevice.Permission) -> bool: ...
  3858. @typing.overload
  3859. def open(self, flags: QIODeviceBase.OpenModeFlag) -> bool: ...
  3860. @typing.overload
  3861. def open(self, fd: int, ioFlags: QIODeviceBase.OpenModeFlag, handleFlags: QFileDevice.FileHandleFlag = ...) -> bool: ...
  3862. @typing.overload
  3863. def copy(self, newName: str|None) -> bool: ...
  3864. @typing.overload
  3865. @staticmethod
  3866. def copy(fileName: str|None, newName: str|None) -> bool: ...
  3867. @typing.overload
  3868. def link(self, newName: str|None) -> bool: ...
  3869. @typing.overload
  3870. @staticmethod
  3871. def link(oldname: str|None, newName: str|None) -> bool: ...
  3872. @typing.overload
  3873. def rename(self, newName: str|None) -> bool: ...
  3874. @typing.overload
  3875. @staticmethod
  3876. def rename(oldName: str|None, newName: str|None) -> bool: ...
  3877. @typing.overload
  3878. def remove(self) -> bool: ...
  3879. @typing.overload
  3880. @staticmethod
  3881. def remove(fileName: str|None) -> bool: ...
  3882. @typing.overload
  3883. def symLinkTarget(self) -> str: ...
  3884. @typing.overload
  3885. @staticmethod
  3886. def symLinkTarget(fileName: str|None) -> str: ...
  3887. @typing.overload
  3888. def exists(self) -> bool: ...
  3889. @typing.overload
  3890. @staticmethod
  3891. def exists(fileName: str|None) -> bool: ...
  3892. @typing.overload
  3893. @staticmethod
  3894. def decodeName(localFileName: QByteArray|bytes|bytearray|memoryview) -> str: ...
  3895. @typing.overload
  3896. @staticmethod
  3897. def decodeName(localFileName: str) -> str: ...
  3898. @staticmethod
  3899. def encodeName(fileName: str|None) -> QByteArray: ...
  3900. def setFileName(self, name: str|None) -> None: ...
  3901. def fileName(self) -> str: ...
  3902. class QFileInfo(PyQt6.sip.simplewrapper):
  3903. @typing.overload
  3904. def __init__(self) -> None: ...
  3905. @typing.overload
  3906. def __init__(self, file: QFileDevice) -> None: ...
  3907. @typing.overload
  3908. def __init__(self, file: str|None) -> None: ...
  3909. @typing.overload
  3910. def __init__(self, dir: QDir, file: str|None) -> None: ...
  3911. @typing.overload
  3912. def __init__(self, fileinfo: 'QFileInfo') -> None: ...
  3913. def __eq__(self, other: object): ...
  3914. def __ne__(self, other: object): ...
  3915. def isOther(self) -> bool: ...
  3916. def readSymLink(self) -> str: ...
  3917. def isAlias(self) -> bool: ...
  3918. def junctionTarget(self) -> str: ...
  3919. def stat(self) -> None: ...
  3920. def isJunction(self) -> bool: ...
  3921. def isShortcut(self) -> bool: ...
  3922. def isSymbolicLink(self) -> bool: ...
  3923. @typing.overload
  3924. def fileTime(self, time: QFileDevice.FileTime) -> QDateTime: ...
  3925. @typing.overload
  3926. def fileTime(self, time: QFileDevice.FileTime, tz: 'QTimeZone') -> QDateTime: ...
  3927. @typing.overload
  3928. def metadataChangeTime(self) -> QDateTime: ...
  3929. @typing.overload
  3930. def metadataChangeTime(self, tz: 'QTimeZone') -> QDateTime: ...
  3931. @typing.overload
  3932. def birthTime(self) -> QDateTime: ...
  3933. @typing.overload
  3934. def birthTime(self, tz: 'QTimeZone') -> QDateTime: ...
  3935. def swap(self, other: 'QFileInfo') -> None: ...
  3936. def isNativePath(self) -> bool: ...
  3937. def isBundle(self) -> bool: ...
  3938. def bundleName(self) -> str: ...
  3939. def symLinkTarget(self) -> str: ...
  3940. def setCaching(self, on: bool) -> None: ...
  3941. def caching(self) -> bool: ...
  3942. @typing.overload
  3943. def lastRead(self) -> QDateTime: ...
  3944. @typing.overload
  3945. def lastRead(self, tz: 'QTimeZone') -> QDateTime: ...
  3946. @typing.overload
  3947. def lastModified(self) -> QDateTime: ...
  3948. @typing.overload
  3949. def lastModified(self, tz: 'QTimeZone') -> QDateTime: ...
  3950. def size(self) -> int: ...
  3951. def permissions(self) -> QFileDevice.Permission: ...
  3952. def permission(self, permissions: QFileDevice.Permission) -> bool: ...
  3953. def groupId(self) -> int: ...
  3954. def group(self) -> str: ...
  3955. def ownerId(self) -> int: ...
  3956. def owner(self) -> str: ...
  3957. def isRoot(self) -> bool: ...
  3958. def isSymLink(self) -> bool: ...
  3959. def isDir(self) -> bool: ...
  3960. def isFile(self) -> bool: ...
  3961. def makeAbsolute(self) -> bool: ...
  3962. def isAbsolute(self) -> bool: ...
  3963. def isRelative(self) -> bool: ...
  3964. def isHidden(self) -> bool: ...
  3965. def isExecutable(self) -> bool: ...
  3966. def isWritable(self) -> bool: ...
  3967. def isReadable(self) -> bool: ...
  3968. def absoluteDir(self) -> QDir: ...
  3969. def dir(self) -> QDir: ...
  3970. def canonicalPath(self) -> str: ...
  3971. def absolutePath(self) -> str: ...
  3972. def path(self) -> str: ...
  3973. def completeSuffix(self) -> str: ...
  3974. def suffix(self) -> str: ...
  3975. def completeBaseName(self) -> str: ...
  3976. def baseName(self) -> str: ...
  3977. def fileName(self) -> str: ...
  3978. def canonicalFilePath(self) -> str: ...
  3979. def absoluteFilePath(self) -> str: ...
  3980. def __fspath__(self) -> typing.Any: ...
  3981. def filePath(self) -> str: ...
  3982. def refresh(self) -> None: ...
  3983. @typing.overload
  3984. def exists(self) -> bool: ...
  3985. @typing.overload
  3986. @staticmethod
  3987. def exists(file: str|None) -> bool: ...
  3988. @typing.overload
  3989. def setFile(self, file: str|None) -> None: ...
  3990. @typing.overload
  3991. def setFile(self, file: QFileDevice) -> None: ...
  3992. @typing.overload
  3993. def setFile(self, dir: QDir, file: str|None) -> None: ...
  3994. class QFileSelector(QObject):
  3995. def __init__(self, parent: QObject|None = ...) -> None: ...
  3996. def allSelectors(self) -> list[str]: ...
  3997. def setExtraSelectors(self, list: collections.abc.Iterable[str|None]) -> None: ...
  3998. def extraSelectors(self) -> list[str]: ...
  3999. @typing.overload
  4000. def select(self, filePath: str|None) -> str: ...
  4001. @typing.overload
  4002. def select(self, filePath: 'QUrl') -> 'QUrl': ...
  4003. class QFileSystemWatcher(QObject):
  4004. @typing.overload
  4005. def __init__(self, parent: QObject|None = ...) -> None: ...
  4006. @typing.overload
  4007. def __init__(self, paths: collections.abc.Iterable[str|None], parent: QObject|None = ...) -> None: ...
  4008. fileChanged: typing.ClassVar[pyqtSignal]
  4009. directoryChanged: typing.ClassVar[pyqtSignal]
  4010. def removePaths(self, files: collections.abc.Iterable[str|None]) -> list[str]: ...
  4011. def removePath(self, file: str|None) -> bool: ...
  4012. def files(self) -> list[str]: ...
  4013. def directories(self) -> list[str]: ...
  4014. def addPaths(self, files: collections.abc.Iterable[str|None]) -> list[str]: ...
  4015. def addPath(self, file: str|None) -> bool: ...
  4016. class QIdentityProxyModel(QAbstractProxyModel):
  4017. def __init__(self, parent: QObject|None = ...) -> None: ...
  4018. def setHandleSourceDataChanges(self, a0: bool) -> None: ...
  4019. def setHandleSourceLayoutChanges(self, a0: bool) -> None: ...
  4020. def handleSourceDataChanges(self) -> bool: ...
  4021. def handleSourceLayoutChanges(self) -> bool: ...
  4022. def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  4023. def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  4024. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  4025. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  4026. def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  4027. def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  4028. def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  4029. def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  4030. def setSourceModel(self, sourceModel: QAbstractItemModel|None) -> None: ...
  4031. def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: Qt.MatchFlag = ...) -> list[QModelIndex]: ...
  4032. def mapSelectionToSource(self, selection: 'QItemSelection') -> 'QItemSelection': ...
  4033. def mapSelectionFromSource(self, selection: 'QItemSelection') -> 'QItemSelection': ...
  4034. def dropMimeData(self, data: 'QMimeData|None', action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  4035. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  4036. def parent(self, child: QModelIndex) -> QModelIndex: ...
  4037. def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ...
  4038. def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ...
  4039. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  4040. def columnCount(self, parent: QModelIndex = ...) -> int: ...
  4041. class QItemSelectionRange(PyQt6.sip.simplewrapper):
  4042. @typing.overload
  4043. def __init__(self) -> None: ...
  4044. @typing.overload
  4045. def __init__(self, atopLeft: QModelIndex, abottomRight: QModelIndex) -> None: ...
  4046. @typing.overload
  4047. def __init__(self, index: QModelIndex) -> None: ...
  4048. @typing.overload
  4049. def __init__(self, a0: 'QItemSelectionRange') -> None: ...
  4050. def __eq__(self, other: object): ...
  4051. def __ne__(self, other: object): ...
  4052. def swap(self, other: 'QItemSelectionRange') -> None: ...
  4053. def isEmpty(self) -> bool: ...
  4054. def intersected(self, other: 'QItemSelectionRange') -> 'QItemSelectionRange': ...
  4055. def indexes(self) -> list[QModelIndex]: ...
  4056. def isValid(self) -> bool: ...
  4057. def intersects(self, other: 'QItemSelectionRange') -> bool: ...
  4058. @typing.overload
  4059. def contains(self, index: QModelIndex) -> bool: ...
  4060. @typing.overload
  4061. def contains(self, row: int, column: int, parentIndex: QModelIndex) -> bool: ...
  4062. def model(self) -> QAbstractItemModel|None: ...
  4063. def parent(self) -> QModelIndex: ...
  4064. def bottomRight(self) -> QPersistentModelIndex: ...
  4065. def topLeft(self) -> QPersistentModelIndex: ...
  4066. def height(self) -> int: ...
  4067. def width(self) -> int: ...
  4068. def right(self) -> int: ...
  4069. def bottom(self) -> int: ...
  4070. def left(self) -> int: ...
  4071. def top(self) -> int: ...
  4072. class QItemSelectionModel(QObject):
  4073. class SelectionFlag(enum.Flag):
  4074. NoUpdate = ... # type: QItemSelectionModel.SelectionFlag
  4075. Clear = ... # type: QItemSelectionModel.SelectionFlag
  4076. Select = ... # type: QItemSelectionModel.SelectionFlag
  4077. Deselect = ... # type: QItemSelectionModel.SelectionFlag
  4078. Toggle = ... # type: QItemSelectionModel.SelectionFlag
  4079. Current = ... # type: QItemSelectionModel.SelectionFlag
  4080. Rows = ... # type: QItemSelectionModel.SelectionFlag
  4081. Columns = ... # type: QItemSelectionModel.SelectionFlag
  4082. SelectCurrent = ... # type: QItemSelectionModel.SelectionFlag
  4083. ToggleCurrent = ... # type: QItemSelectionModel.SelectionFlag
  4084. ClearAndSelect = ... # type: QItemSelectionModel.SelectionFlag
  4085. @typing.overload
  4086. def __init__(self, model: QAbstractItemModel|None = ...) -> None: ...
  4087. @typing.overload
  4088. def __init__(self, model: QAbstractItemModel|None, parent: QObject|None) -> None: ...
  4089. modelChanged: typing.ClassVar[pyqtSignal]
  4090. def setModel(self, model: QAbstractItemModel|None) -> None: ...
  4091. def selectedColumns(self, row: int = ...) -> list[QModelIndex]: ...
  4092. def selectedRows(self, column: int = ...) -> list[QModelIndex]: ...
  4093. def hasSelection(self) -> bool: ...
  4094. def emitSelectionChanged(self, newSelection: 'QItemSelection', oldSelection: 'QItemSelection') -> None: ...
  4095. currentColumnChanged: typing.ClassVar[pyqtSignal]
  4096. currentRowChanged: typing.ClassVar[pyqtSignal]
  4097. currentChanged: typing.ClassVar[pyqtSignal]
  4098. selectionChanged: typing.ClassVar[pyqtSignal]
  4099. def clearCurrentIndex(self) -> None: ...
  4100. def setCurrentIndex(self, index: QModelIndex, command: 'QItemSelectionModel.SelectionFlag') -> None: ...
  4101. @typing.overload
  4102. def select(self, index: QModelIndex, command: 'QItemSelectionModel.SelectionFlag') -> None: ...
  4103. @typing.overload
  4104. def select(self, selection: 'QItemSelection', command: 'QItemSelectionModel.SelectionFlag') -> None: ...
  4105. def reset(self) -> None: ...
  4106. def clearSelection(self) -> None: ...
  4107. def clear(self) -> None: ...
  4108. def model(self) -> QAbstractItemModel|None: ...
  4109. def selection(self) -> 'QItemSelection': ...
  4110. def selectedIndexes(self) -> list[QModelIndex]: ...
  4111. def columnIntersectsSelection(self, column: int, parent: QModelIndex = ...) -> bool: ...
  4112. def rowIntersectsSelection(self, row: int, parent: QModelIndex = ...) -> bool: ...
  4113. def isColumnSelected(self, column: int, parent: QModelIndex = ...) -> bool: ...
  4114. def isRowSelected(self, row: int, parent: QModelIndex = ...) -> bool: ...
  4115. def isSelected(self, index: QModelIndex) -> bool: ...
  4116. def currentIndex(self) -> QModelIndex: ...
  4117. class QItemSelection(PyQt6.sip.simplewrapper):
  4118. @typing.overload
  4119. def __init__(self) -> None: ...
  4120. @typing.overload
  4121. def __init__(self, topLeft: QModelIndex, bottomRight: QModelIndex) -> None: ...
  4122. @typing.overload
  4123. def __init__(self, a0: 'QItemSelection') -> None: ...
  4124. @typing.overload
  4125. def __iadd__(self, other: 'QItemSelection') -> 'QItemSelection': ...
  4126. @typing.overload
  4127. def __iadd__(self, value: QItemSelectionRange) -> 'QItemSelection': ...
  4128. def lastIndexOf(self, value: QItemSelectionRange, from_: int = ...) -> int: ...
  4129. def indexOf(self, value: QItemSelectionRange, from_: int = ...) -> int: ...
  4130. def last(self) -> QItemSelectionRange: ...
  4131. def first(self) -> QItemSelectionRange: ...
  4132. def __len__(self) -> int: ...
  4133. @typing.overload
  4134. def count(self, range: QItemSelectionRange) -> int: ...
  4135. @typing.overload
  4136. def count(self) -> int: ...
  4137. def move(self, from_: int, to: int) -> None: ...
  4138. def takeLast(self) -> QItemSelectionRange: ...
  4139. def takeFirst(self) -> QItemSelectionRange: ...
  4140. def takeAt(self, i: int) -> QItemSelectionRange: ...
  4141. def removeAll(self, range: QItemSelectionRange) -> int: ...
  4142. def removeAt(self, i: int) -> None: ...
  4143. def replace(self, i: int, range: QItemSelectionRange) -> None: ...
  4144. def insert(self, i: int, range: QItemSelectionRange) -> None: ...
  4145. def prepend(self, range: QItemSelectionRange) -> None: ...
  4146. def append(self, range: QItemSelectionRange) -> None: ...
  4147. def isEmpty(self) -> bool: ...
  4148. def clear(self) -> None: ...
  4149. def __eq__(self, other: object): ...
  4150. def __ne__(self, other: object): ...
  4151. @typing.overload
  4152. def __getitem__(self, i: int) -> QItemSelectionRange: ...
  4153. @typing.overload
  4154. def __getitem__(self, slice: slice) -> 'QItemSelection': ...
  4155. @typing.overload
  4156. def __delitem__(self, i: int) -> None: ...
  4157. @typing.overload
  4158. def __delitem__(self, slice: slice) -> None: ...
  4159. @typing.overload
  4160. def __setitem__(self, i: int, range: QItemSelectionRange) -> None: ...
  4161. @typing.overload
  4162. def __setitem__(self, slice: slice, list: 'QItemSelection') -> None: ...
  4163. @staticmethod
  4164. def split(range: QItemSelectionRange, other: QItemSelectionRange, result: 'QItemSelection|None') -> None: ...
  4165. def merge(self, other: 'QItemSelection', command: QItemSelectionModel.SelectionFlag) -> None: ...
  4166. def indexes(self) -> list[QModelIndex]: ...
  4167. def __contains__(self, index: QModelIndex) -> int: ...
  4168. def contains(self, index: QModelIndex) -> bool: ...
  4169. def select(self, topLeft: QModelIndex, bottomRight: QModelIndex) -> None: ...
  4170. class QJsonDocument(PyQt6.sip.simplewrapper):
  4171. class JsonFormat(enum.Enum):
  4172. Indented = ... # type: QJsonDocument.JsonFormat
  4173. Compact = ... # type: QJsonDocument.JsonFormat
  4174. @typing.overload
  4175. def __init__(self) -> None: ...
  4176. @typing.overload
  4177. def __init__(self, object: dict[str|None, 'QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None]) -> None: ...
  4178. @typing.overload
  4179. def __init__(self, array: collections.abc.Iterable['QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None]) -> None: ...
  4180. @typing.overload
  4181. def __init__(self, other: 'QJsonDocument') -> None: ...
  4182. def __eq__(self, other: object): ...
  4183. def __ne__(self, other: object): ...
  4184. @typing.overload
  4185. def __getitem__(self, i: int) -> 'QJsonValue|None': ...
  4186. @typing.overload
  4187. def __getitem__(self, key: str|None) -> 'QJsonValue|None': ...
  4188. def swap(self, other: 'QJsonDocument') -> None: ...
  4189. def isNull(self) -> bool: ...
  4190. def setArray(self, array: collections.abc.Iterable['QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None]) -> None: ...
  4191. def setObject(self, object: dict[str|None, 'QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None]) -> None: ...
  4192. def array(self) -> list['QJsonValue']: ...
  4193. def object(self) -> dict[str, 'QJsonValue']: ...
  4194. def isObject(self) -> bool: ...
  4195. def isArray(self) -> bool: ...
  4196. def isEmpty(self) -> bool: ...
  4197. def toJson(self, format: 'QJsonDocument.JsonFormat' = ...) -> QByteArray: ...
  4198. @staticmethod
  4199. def fromJson(json: QByteArray|bytes|bytearray|memoryview, error: 'QJsonParseError|None' = ...) -> 'QJsonDocument': ...
  4200. def toVariant(self) -> typing.Any: ...
  4201. @staticmethod
  4202. def fromVariant(variant: typing.Any) -> 'QJsonDocument': ...
  4203. class QJsonParseError(PyQt6.sip.simplewrapper):
  4204. class ParseError(enum.Enum):
  4205. NoError = ... # type: QJsonParseError.ParseError
  4206. UnterminatedObject = ... # type: QJsonParseError.ParseError
  4207. MissingNameSeparator = ... # type: QJsonParseError.ParseError
  4208. UnterminatedArray = ... # type: QJsonParseError.ParseError
  4209. MissingValueSeparator = ... # type: QJsonParseError.ParseError
  4210. IllegalValue = ... # type: QJsonParseError.ParseError
  4211. TerminationByNumber = ... # type: QJsonParseError.ParseError
  4212. IllegalNumber = ... # type: QJsonParseError.ParseError
  4213. IllegalEscapeSequence = ... # type: QJsonParseError.ParseError
  4214. IllegalUTF8String = ... # type: QJsonParseError.ParseError
  4215. UnterminatedString = ... # type: QJsonParseError.ParseError
  4216. MissingObject = ... # type: QJsonParseError.ParseError
  4217. DeepNesting = ... # type: QJsonParseError.ParseError
  4218. DocumentTooLarge = ... # type: QJsonParseError.ParseError
  4219. GarbageAtEnd = ... # type: QJsonParseError.ParseError
  4220. error = ... # type: 'QJsonParseError.ParseError'
  4221. offset = ... # type: int
  4222. @typing.overload
  4223. def __init__(self) -> None: ...
  4224. @typing.overload
  4225. def __init__(self, a0: 'QJsonParseError') -> None: ...
  4226. def errorString(self) -> str: ...
  4227. class QJsonValue(PyQt6.sip.simplewrapper):
  4228. class Type(enum.Enum):
  4229. Null = ... # type: QJsonValue.Type
  4230. Bool = ... # type: QJsonValue.Type
  4231. Double = ... # type: QJsonValue.Type
  4232. String = ... # type: QJsonValue.Type
  4233. Array = ... # type: QJsonValue.Type
  4234. Object = ... # type: QJsonValue.Type
  4235. Undefined = ... # type: QJsonValue.Type
  4236. @typing.overload
  4237. def __init__(self, type: 'QJsonValue.Type' = ...) -> None: ...
  4238. @typing.overload
  4239. def __init__(self, other: 'QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None) -> None: ...
  4240. def __eq__(self, other: object): ...
  4241. def __ne__(self, other: object): ...
  4242. def toJson(self, format: QJsonDocument.JsonFormat = ...) -> QByteArray: ...
  4243. @staticmethod
  4244. def fromJson(json: QByteArray|bytes|bytearray|memoryview) -> typing.Tuple['QJsonValue|None', QJsonParseError|None]: ...
  4245. def __hash__(self) -> int: ...
  4246. @typing.overload
  4247. def __getitem__(self, i: int) -> 'QJsonValue|None': ...
  4248. @typing.overload
  4249. def __getitem__(self, key: str|None) -> 'QJsonValue|None': ...
  4250. def swap(self, other: 'QJsonValue|None') -> None: ...
  4251. @typing.overload
  4252. def toString(self) -> str: ...
  4253. @typing.overload
  4254. def toString(self, defaultValue: str|None) -> str: ...
  4255. @typing.overload
  4256. def toObject(self) -> dict[str, 'QJsonValue']: ...
  4257. @typing.overload
  4258. def toObject(self, defaultValue: dict[str|None, 'QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None]) -> dict[str, 'QJsonValue']: ...
  4259. @typing.overload
  4260. def toArray(self) -> list['QJsonValue']: ...
  4261. @typing.overload
  4262. def toArray(self, defaultValue: collections.abc.Iterable['QJsonValue'|'QJsonValue.Type'|collections.abc.Iterable['QJsonValue']|dict[str|None, 'QJsonValue']|bool|int|float|None|str|None]) -> list['QJsonValue']: ...
  4263. def toDouble(self, defaultValue: float = ...) -> float: ...
  4264. def toInteger(self, defaultValue: int = ...) -> int: ...
  4265. def toInt(self, defaultValue: int = ...) -> int: ...
  4266. def toBool(self, defaultValue: bool = ...) -> bool: ...
  4267. def isUndefined(self) -> bool: ...
  4268. def isObject(self) -> bool: ...
  4269. def isArray(self) -> bool: ...
  4270. def isString(self) -> bool: ...
  4271. def isDouble(self) -> bool: ...
  4272. def isBool(self) -> bool: ...
  4273. def isNull(self) -> bool: ...
  4274. def type(self) -> 'QJsonValue.Type': ...
  4275. def toVariant(self) -> typing.Any: ...
  4276. @staticmethod
  4277. def fromVariant(variant: typing.Any) -> 'QJsonValue|None': ...
  4278. class QLibrary(QObject):
  4279. class LoadHint(enum.Flag):
  4280. ResolveAllSymbolsHint = ... # type: QLibrary.LoadHint
  4281. ExportExternalSymbolsHint = ... # type: QLibrary.LoadHint
  4282. LoadArchiveMemberHint = ... # type: QLibrary.LoadHint
  4283. PreventUnloadHint = ... # type: QLibrary.LoadHint
  4284. DeepBindHint = ... # type: QLibrary.LoadHint
  4285. @typing.overload
  4286. def __init__(self, parent: QObject|None = ...) -> None: ...
  4287. @typing.overload
  4288. def __init__(self, fileName: str|None, parent: QObject|None = ...) -> None: ...
  4289. @typing.overload
  4290. def __init__(self, fileName: str|None, verNum: int, parent: QObject|None = ...) -> None: ...
  4291. @typing.overload
  4292. def __init__(self, fileName: str|None, version: str|None, parent: QObject|None = ...) -> None: ...
  4293. def setLoadHints(self, hints: 'QLibrary.LoadHint') -> None: ...
  4294. @typing.overload
  4295. def setFileNameAndVersion(self, fileName: str|None, verNum: int) -> None: ...
  4296. @typing.overload
  4297. def setFileNameAndVersion(self, fileName: str|None, version: str|None) -> None: ...
  4298. def setFileName(self, fileName: str|None) -> None: ...
  4299. @staticmethod
  4300. def isLibrary(fileName: str|None) -> bool: ...
  4301. def unload(self) -> bool: ...
  4302. @typing.overload
  4303. def resolve(self, symbol: str) -> PyQt6.sip.voidptr: ...
  4304. @typing.overload
  4305. @staticmethod
  4306. def resolve(fileName: str|None, symbol: str) -> PyQt6.sip.voidptr: ...
  4307. @typing.overload
  4308. @staticmethod
  4309. def resolve(fileName: str|None, verNum: int, symbol: str) -> PyQt6.sip.voidptr: ...
  4310. @typing.overload
  4311. @staticmethod
  4312. def resolve(fileName: str|None, version: str|None, symbol: str) -> PyQt6.sip.voidptr: ...
  4313. def loadHints(self) -> 'QLibrary.LoadHint': ...
  4314. def load(self) -> bool: ...
  4315. def isLoaded(self) -> bool: ...
  4316. def fileName(self) -> str: ...
  4317. def errorString(self) -> str: ...
  4318. class QLibraryInfo(PyQt6.sip.simplewrapper):
  4319. class LibraryPath(enum.Enum):
  4320. PrefixPath = ... # type: QLibraryInfo.LibraryPath
  4321. DocumentationPath = ... # type: QLibraryInfo.LibraryPath
  4322. HeadersPath = ... # type: QLibraryInfo.LibraryPath
  4323. LibrariesPath = ... # type: QLibraryInfo.LibraryPath
  4324. LibraryExecutablesPath = ... # type: QLibraryInfo.LibraryPath
  4325. BinariesPath = ... # type: QLibraryInfo.LibraryPath
  4326. PluginsPath = ... # type: QLibraryInfo.LibraryPath
  4327. Qml2ImportsPath = ... # type: QLibraryInfo.LibraryPath
  4328. ArchDataPath = ... # type: QLibraryInfo.LibraryPath
  4329. DataPath = ... # type: QLibraryInfo.LibraryPath
  4330. TranslationsPath = ... # type: QLibraryInfo.LibraryPath
  4331. ExamplesPath = ... # type: QLibraryInfo.LibraryPath
  4332. TestsPath = ... # type: QLibraryInfo.LibraryPath
  4333. SettingsPath = ... # type: QLibraryInfo.LibraryPath
  4334. QmlImportsPath = ... # type: QLibraryInfo.LibraryPath
  4335. def __init__(self, a0: 'QLibraryInfo') -> None: ...
  4336. @staticmethod
  4337. def paths(p: 'QLibraryInfo.LibraryPath') -> list[str]: ...
  4338. @staticmethod
  4339. def version() -> 'QVersionNumber': ...
  4340. @staticmethod
  4341. def path(p: 'QLibraryInfo.LibraryPath') -> str: ...
  4342. @staticmethod
  4343. def isSharedBuild() -> bool: ...
  4344. @staticmethod
  4345. def isDebugBuild() -> bool: ...
  4346. class QLine(PyQt6.sip.simplewrapper):
  4347. @typing.overload
  4348. def __init__(self) -> None: ...
  4349. @typing.overload
  4350. def __init__(self, pt1_: 'QPoint', pt2_: 'QPoint') -> None: ...
  4351. @typing.overload
  4352. def __init__(self, x1pos: int, y1pos: int, x2pos: int, y2pos: int) -> None: ...
  4353. @typing.overload
  4354. def __init__(self, a0: 'QLine') -> None: ...
  4355. def __eq__(self, other: object): ...
  4356. def __ne__(self, other: object): ...
  4357. def toLineF(self) -> 'QLineF': ...
  4358. def center(self) -> 'QPoint': ...
  4359. def setLine(self, aX1: int, aY1: int, aX2: int, aY2: int) -> None: ...
  4360. def setPoints(self, aP1: 'QPoint', aP2: 'QPoint') -> None: ...
  4361. def setP2(self, aP2: 'QPoint') -> None: ...
  4362. def setP1(self, aP1: 'QPoint') -> None: ...
  4363. @typing.overload
  4364. def translated(self, p: 'QPoint') -> 'QLine': ...
  4365. @typing.overload
  4366. def translated(self, adx: int, ady: int) -> 'QLine': ...
  4367. @typing.overload
  4368. def translate(self, point: 'QPoint') -> None: ...
  4369. @typing.overload
  4370. def translate(self, adx: int, ady: int) -> None: ...
  4371. def dy(self) -> int: ...
  4372. def dx(self) -> int: ...
  4373. def p2(self) -> 'QPoint': ...
  4374. def p1(self) -> 'QPoint': ...
  4375. def y2(self) -> int: ...
  4376. def x2(self) -> int: ...
  4377. def y1(self) -> int: ...
  4378. def x1(self) -> int: ...
  4379. def __bool__(self) -> int: ...
  4380. def isNull(self) -> bool: ...
  4381. def __repr__(self) -> str: ...
  4382. class QLineF(PyQt6.sip.simplewrapper):
  4383. class IntersectionType(enum.Enum):
  4384. NoIntersection = ... # type: QLineF.IntersectionType
  4385. BoundedIntersection = ... # type: QLineF.IntersectionType
  4386. UnboundedIntersection = ... # type: QLineF.IntersectionType
  4387. @typing.overload
  4388. def __init__(self, line: QLine) -> None: ...
  4389. @typing.overload
  4390. def __init__(self) -> None: ...
  4391. @typing.overload
  4392. def __init__(self, apt1: 'QPointF', apt2: 'QPointF') -> None: ...
  4393. @typing.overload
  4394. def __init__(self, x1pos: float, y1pos: float, x2pos: float, y2pos: float) -> None: ...
  4395. @typing.overload
  4396. def __init__(self, a0: 'QLineF') -> None: ...
  4397. def __eq__(self, other: object): ...
  4398. def __ne__(self, other: object): ...
  4399. def center(self) -> 'QPointF': ...
  4400. def setLine(self, aX1: float, aY1: float, aX2: float, aY2: float) -> None: ...
  4401. def setPoints(self, aP1: 'QPointF', aP2: 'QPointF') -> None: ...
  4402. def setP2(self, aP2: 'QPointF') -> None: ...
  4403. def setP1(self, aP1: 'QPointF') -> None: ...
  4404. @typing.overload
  4405. def translated(self, p: 'QPointF') -> 'QLineF': ...
  4406. @typing.overload
  4407. def translated(self, adx: float, ady: float) -> 'QLineF': ...
  4408. def angleTo(self, l: 'QLineF') -> float: ...
  4409. def setAngle(self, angle: float) -> None: ...
  4410. def angle(self) -> float: ...
  4411. @staticmethod
  4412. def fromPolar(length: float, angle: float) -> 'QLineF': ...
  4413. def toLine(self) -> QLine: ...
  4414. def pointAt(self, t: float) -> 'QPointF': ...
  4415. def setLength(self, len: float) -> None: ...
  4416. @typing.overload
  4417. def translate(self, point: 'QPointF') -> None: ...
  4418. @typing.overload
  4419. def translate(self, adx: float, ady: float) -> None: ...
  4420. def normalVector(self) -> 'QLineF': ...
  4421. def dy(self) -> float: ...
  4422. def dx(self) -> float: ...
  4423. def p2(self) -> 'QPointF': ...
  4424. def p1(self) -> 'QPointF': ...
  4425. def y2(self) -> float: ...
  4426. def x2(self) -> float: ...
  4427. def y1(self) -> float: ...
  4428. def x1(self) -> float: ...
  4429. def __repr__(self) -> str: ...
  4430. def intersects(self, l: 'QLineF') -> typing.Tuple['QLineF.IntersectionType', 'QPointF|None']: ...
  4431. def unitVector(self) -> 'QLineF': ...
  4432. def length(self) -> float: ...
  4433. def __bool__(self) -> int: ...
  4434. def isNull(self) -> bool: ...
  4435. class QLocale(PyQt6.sip.simplewrapper):
  4436. class LanguageCodeType(enum.IntFlag):
  4437. ISO639Part1 = ... # type: QLocale.LanguageCodeType
  4438. ISO639Part2B = ... # type: QLocale.LanguageCodeType
  4439. ISO639Part2T = ... # type: QLocale.LanguageCodeType
  4440. ISO639Part3 = ... # type: QLocale.LanguageCodeType
  4441. LegacyLanguageCode = ... # type: QLocale.LanguageCodeType
  4442. ISO639Part2 = ... # type: QLocale.LanguageCodeType
  4443. ISO639Alpha2 = ... # type: QLocale.LanguageCodeType
  4444. ISO639Alpha3 = ... # type: QLocale.LanguageCodeType
  4445. ISO639 = ... # type: QLocale.LanguageCodeType
  4446. AnyLanguageCode = ... # type: QLocale.LanguageCodeType
  4447. class DataSizeFormat(enum.Flag):
  4448. DataSizeIecFormat = ... # type: QLocale.DataSizeFormat
  4449. DataSizeTraditionalFormat = ... # type: QLocale.DataSizeFormat
  4450. DataSizeSIFormat = ... # type: QLocale.DataSizeFormat
  4451. class FloatingPointPrecisionOption(enum.IntEnum):
  4452. FloatingPointShortest = ... # type: QLocale.FloatingPointPrecisionOption
  4453. class QuotationStyle(enum.Enum):
  4454. StandardQuotation = ... # type: QLocale.QuotationStyle
  4455. AlternateQuotation = ... # type: QLocale.QuotationStyle
  4456. class CurrencySymbolFormat(enum.Enum):
  4457. CurrencyIsoCode = ... # type: QLocale.CurrencySymbolFormat
  4458. CurrencySymbol = ... # type: QLocale.CurrencySymbolFormat
  4459. CurrencyDisplayName = ... # type: QLocale.CurrencySymbolFormat
  4460. class Script(enum.Enum):
  4461. AnyScript = ... # type: QLocale.Script
  4462. ArabicScript = ... # type: QLocale.Script
  4463. CyrillicScript = ... # type: QLocale.Script
  4464. DeseretScript = ... # type: QLocale.Script
  4465. GurmukhiScript = ... # type: QLocale.Script
  4466. SimplifiedHanScript = ... # type: QLocale.Script
  4467. TraditionalHanScript = ... # type: QLocale.Script
  4468. LatinScript = ... # type: QLocale.Script
  4469. MongolianScript = ... # type: QLocale.Script
  4470. TifinaghScript = ... # type: QLocale.Script
  4471. SimplifiedChineseScript = ... # type: QLocale.Script
  4472. TraditionalChineseScript = ... # type: QLocale.Script
  4473. ArmenianScript = ... # type: QLocale.Script
  4474. BengaliScript = ... # type: QLocale.Script
  4475. CherokeeScript = ... # type: QLocale.Script
  4476. DevanagariScript = ... # type: QLocale.Script
  4477. EthiopicScript = ... # type: QLocale.Script
  4478. GeorgianScript = ... # type: QLocale.Script
  4479. GreekScript = ... # type: QLocale.Script
  4480. GujaratiScript = ... # type: QLocale.Script
  4481. HebrewScript = ... # type: QLocale.Script
  4482. JapaneseScript = ... # type: QLocale.Script
  4483. KhmerScript = ... # type: QLocale.Script
  4484. KannadaScript = ... # type: QLocale.Script
  4485. KoreanScript = ... # type: QLocale.Script
  4486. LaoScript = ... # type: QLocale.Script
  4487. MalayalamScript = ... # type: QLocale.Script
  4488. MyanmarScript = ... # type: QLocale.Script
  4489. OriyaScript = ... # type: QLocale.Script
  4490. TamilScript = ... # type: QLocale.Script
  4491. TeluguScript = ... # type: QLocale.Script
  4492. ThaanaScript = ... # type: QLocale.Script
  4493. ThaiScript = ... # type: QLocale.Script
  4494. TibetanScript = ... # type: QLocale.Script
  4495. SinhalaScript = ... # type: QLocale.Script
  4496. SyriacScript = ... # type: QLocale.Script
  4497. YiScript = ... # type: QLocale.Script
  4498. VaiScript = ... # type: QLocale.Script
  4499. AvestanScript = ... # type: QLocale.Script
  4500. BalineseScript = ... # type: QLocale.Script
  4501. BamumScript = ... # type: QLocale.Script
  4502. BatakScript = ... # type: QLocale.Script
  4503. BopomofoScript = ... # type: QLocale.Script
  4504. BrahmiScript = ... # type: QLocale.Script
  4505. BugineseScript = ... # type: QLocale.Script
  4506. BuhidScript = ... # type: QLocale.Script
  4507. CanadianAboriginalScript = ... # type: QLocale.Script
  4508. CarianScript = ... # type: QLocale.Script
  4509. ChakmaScript = ... # type: QLocale.Script
  4510. ChamScript = ... # type: QLocale.Script
  4511. CopticScript = ... # type: QLocale.Script
  4512. CypriotScript = ... # type: QLocale.Script
  4513. EgyptianHieroglyphsScript = ... # type: QLocale.Script
  4514. FraserScript = ... # type: QLocale.Script
  4515. GlagoliticScript = ... # type: QLocale.Script
  4516. GothicScript = ... # type: QLocale.Script
  4517. HanScript = ... # type: QLocale.Script
  4518. HangulScript = ... # type: QLocale.Script
  4519. HanunooScript = ... # type: QLocale.Script
  4520. ImperialAramaicScript = ... # type: QLocale.Script
  4521. InscriptionalPahlaviScript = ... # type: QLocale.Script
  4522. InscriptionalParthianScript = ... # type: QLocale.Script
  4523. JavaneseScript = ... # type: QLocale.Script
  4524. KaithiScript = ... # type: QLocale.Script
  4525. KatakanaScript = ... # type: QLocale.Script
  4526. KayahLiScript = ... # type: QLocale.Script
  4527. KharoshthiScript = ... # type: QLocale.Script
  4528. LannaScript = ... # type: QLocale.Script
  4529. LepchaScript = ... # type: QLocale.Script
  4530. LimbuScript = ... # type: QLocale.Script
  4531. LinearBScript = ... # type: QLocale.Script
  4532. LycianScript = ... # type: QLocale.Script
  4533. LydianScript = ... # type: QLocale.Script
  4534. MandaeanScript = ... # type: QLocale.Script
  4535. MeiteiMayekScript = ... # type: QLocale.Script
  4536. MeroiticScript = ... # type: QLocale.Script
  4537. MeroiticCursiveScript = ... # type: QLocale.Script
  4538. NkoScript = ... # type: QLocale.Script
  4539. NewTaiLueScript = ... # type: QLocale.Script
  4540. OghamScript = ... # type: QLocale.Script
  4541. OlChikiScript = ... # type: QLocale.Script
  4542. OldItalicScript = ... # type: QLocale.Script
  4543. OldPersianScript = ... # type: QLocale.Script
  4544. OldSouthArabianScript = ... # type: QLocale.Script
  4545. OrkhonScript = ... # type: QLocale.Script
  4546. OsmanyaScript = ... # type: QLocale.Script
  4547. PhagsPaScript = ... # type: QLocale.Script
  4548. PhoenicianScript = ... # type: QLocale.Script
  4549. PollardPhoneticScript = ... # type: QLocale.Script
  4550. RejangScript = ... # type: QLocale.Script
  4551. RunicScript = ... # type: QLocale.Script
  4552. SamaritanScript = ... # type: QLocale.Script
  4553. SaurashtraScript = ... # type: QLocale.Script
  4554. SharadaScript = ... # type: QLocale.Script
  4555. ShavianScript = ... # type: QLocale.Script
  4556. SoraSompengScript = ... # type: QLocale.Script
  4557. CuneiformScript = ... # type: QLocale.Script
  4558. SundaneseScript = ... # type: QLocale.Script
  4559. SylotiNagriScript = ... # type: QLocale.Script
  4560. TagalogScript = ... # type: QLocale.Script
  4561. TagbanwaScript = ... # type: QLocale.Script
  4562. TaiLeScript = ... # type: QLocale.Script
  4563. TaiVietScript = ... # type: QLocale.Script
  4564. TakriScript = ... # type: QLocale.Script
  4565. UgariticScript = ... # type: QLocale.Script
  4566. BrailleScript = ... # type: QLocale.Script
  4567. HiraganaScript = ... # type: QLocale.Script
  4568. CaucasianAlbanianScript = ... # type: QLocale.Script
  4569. BassaVahScript = ... # type: QLocale.Script
  4570. DuployanScript = ... # type: QLocale.Script
  4571. ElbasanScript = ... # type: QLocale.Script
  4572. GranthaScript = ... # type: QLocale.Script
  4573. PahawhHmongScript = ... # type: QLocale.Script
  4574. KhojkiScript = ... # type: QLocale.Script
  4575. LinearAScript = ... # type: QLocale.Script
  4576. MahajaniScript = ... # type: QLocale.Script
  4577. ManichaeanScript = ... # type: QLocale.Script
  4578. MendeKikakuiScript = ... # type: QLocale.Script
  4579. ModiScript = ... # type: QLocale.Script
  4580. MroScript = ... # type: QLocale.Script
  4581. OldNorthArabianScript = ... # type: QLocale.Script
  4582. NabataeanScript = ... # type: QLocale.Script
  4583. PalmyreneScript = ... # type: QLocale.Script
  4584. PauCinHauScript = ... # type: QLocale.Script
  4585. OldPermicScript = ... # type: QLocale.Script
  4586. PsalterPahlaviScript = ... # type: QLocale.Script
  4587. SiddhamScript = ... # type: QLocale.Script
  4588. KhudawadiScript = ... # type: QLocale.Script
  4589. TirhutaScript = ... # type: QLocale.Script
  4590. VarangKshitiScript = ... # type: QLocale.Script
  4591. AhomScript = ... # type: QLocale.Script
  4592. AnatolianHieroglyphsScript = ... # type: QLocale.Script
  4593. HatranScript = ... # type: QLocale.Script
  4594. MultaniScript = ... # type: QLocale.Script
  4595. OldHungarianScript = ... # type: QLocale.Script
  4596. SignWritingScript = ... # type: QLocale.Script
  4597. AdlamScript = ... # type: QLocale.Script
  4598. BhaiksukiScript = ... # type: QLocale.Script
  4599. MarchenScript = ... # type: QLocale.Script
  4600. NewaScript = ... # type: QLocale.Script
  4601. OsageScript = ... # type: QLocale.Script
  4602. TangutScript = ... # type: QLocale.Script
  4603. HanWithBopomofoScript = ... # type: QLocale.Script
  4604. JamoScript = ... # type: QLocale.Script
  4605. BanglaScript = ... # type: QLocale.Script
  4606. MendeScript = ... # type: QLocale.Script
  4607. OdiaScript = ... # type: QLocale.Script
  4608. HanifiScript = ... # type: QLocale.Script
  4609. class MeasurementSystem(enum.Enum):
  4610. MetricSystem = ... # type: QLocale.MeasurementSystem
  4611. ImperialSystem = ... # type: QLocale.MeasurementSystem
  4612. ImperialUSSystem = ... # type: QLocale.MeasurementSystem
  4613. ImperialUKSystem = ... # type: QLocale.MeasurementSystem
  4614. class FormatType(enum.Enum):
  4615. LongFormat = ... # type: QLocale.FormatType
  4616. ShortFormat = ... # type: QLocale.FormatType
  4617. NarrowFormat = ... # type: QLocale.FormatType
  4618. class TagSeparator(enum.Enum):
  4619. Dash = ... # type: QLocale.TagSeparator
  4620. Underscore = ... # type: QLocale.TagSeparator
  4621. class NumberOption(enum.Flag):
  4622. OmitGroupSeparator = ... # type: QLocale.NumberOption
  4623. RejectGroupSeparator = ... # type: QLocale.NumberOption
  4624. DefaultNumberOptions = ... # type: QLocale.NumberOption
  4625. OmitLeadingZeroInExponent = ... # type: QLocale.NumberOption
  4626. RejectLeadingZeroInExponent = ... # type: QLocale.NumberOption
  4627. IncludeTrailingZeroesAfterDot = ... # type: QLocale.NumberOption
  4628. RejectTrailingZeroesAfterDot = ... # type: QLocale.NumberOption
  4629. class Country(enum.Enum):
  4630. AnyCountry = ... # type: QLocale.Country
  4631. AnyTerritory = ... # type: QLocale.Country
  4632. Afghanistan = ... # type: QLocale.Country
  4633. Albania = ... # type: QLocale.Country
  4634. Algeria = ... # type: QLocale.Country
  4635. AmericanSamoa = ... # type: QLocale.Country
  4636. Andorra = ... # type: QLocale.Country
  4637. Angola = ... # type: QLocale.Country
  4638. Anguilla = ... # type: QLocale.Country
  4639. Antarctica = ... # type: QLocale.Country
  4640. AntiguaAndBarbuda = ... # type: QLocale.Country
  4641. Argentina = ... # type: QLocale.Country
  4642. Armenia = ... # type: QLocale.Country
  4643. Aruba = ... # type: QLocale.Country
  4644. Australia = ... # type: QLocale.Country
  4645. Austria = ... # type: QLocale.Country
  4646. Azerbaijan = ... # type: QLocale.Country
  4647. Bahamas = ... # type: QLocale.Country
  4648. Bahrain = ... # type: QLocale.Country
  4649. Bangladesh = ... # type: QLocale.Country
  4650. Barbados = ... # type: QLocale.Country
  4651. Belarus = ... # type: QLocale.Country
  4652. Belgium = ... # type: QLocale.Country
  4653. Belize = ... # type: QLocale.Country
  4654. Benin = ... # type: QLocale.Country
  4655. Bermuda = ... # type: QLocale.Country
  4656. Bhutan = ... # type: QLocale.Country
  4657. Bolivia = ... # type: QLocale.Country
  4658. BosniaAndHerzegowina = ... # type: QLocale.Country
  4659. Botswana = ... # type: QLocale.Country
  4660. BouvetIsland = ... # type: QLocale.Country
  4661. Brazil = ... # type: QLocale.Country
  4662. BritishIndianOceanTerritory = ... # type: QLocale.Country
  4663. Bulgaria = ... # type: QLocale.Country
  4664. BurkinaFaso = ... # type: QLocale.Country
  4665. Burundi = ... # type: QLocale.Country
  4666. Cambodia = ... # type: QLocale.Country
  4667. Cameroon = ... # type: QLocale.Country
  4668. Canada = ... # type: QLocale.Country
  4669. CapeVerde = ... # type: QLocale.Country
  4670. CaymanIslands = ... # type: QLocale.Country
  4671. CentralAfricanRepublic = ... # type: QLocale.Country
  4672. Chad = ... # type: QLocale.Country
  4673. Chile = ... # type: QLocale.Country
  4674. China = ... # type: QLocale.Country
  4675. ChristmasIsland = ... # type: QLocale.Country
  4676. CocosIslands = ... # type: QLocale.Country
  4677. Colombia = ... # type: QLocale.Country
  4678. Comoros = ... # type: QLocale.Country
  4679. DemocraticRepublicOfCongo = ... # type: QLocale.Country
  4680. PeoplesRepublicOfCongo = ... # type: QLocale.Country
  4681. CookIslands = ... # type: QLocale.Country
  4682. CostaRica = ... # type: QLocale.Country
  4683. IvoryCoast = ... # type: QLocale.Country
  4684. Croatia = ... # type: QLocale.Country
  4685. Cuba = ... # type: QLocale.Country
  4686. Cyprus = ... # type: QLocale.Country
  4687. CzechRepublic = ... # type: QLocale.Country
  4688. Denmark = ... # type: QLocale.Country
  4689. Djibouti = ... # type: QLocale.Country
  4690. Dominica = ... # type: QLocale.Country
  4691. DominicanRepublic = ... # type: QLocale.Country
  4692. EastTimor = ... # type: QLocale.Country
  4693. Ecuador = ... # type: QLocale.Country
  4694. Egypt = ... # type: QLocale.Country
  4695. ElSalvador = ... # type: QLocale.Country
  4696. EquatorialGuinea = ... # type: QLocale.Country
  4697. Eritrea = ... # type: QLocale.Country
  4698. Estonia = ... # type: QLocale.Country
  4699. Ethiopia = ... # type: QLocale.Country
  4700. FalklandIslands = ... # type: QLocale.Country
  4701. FaroeIslands = ... # type: QLocale.Country
  4702. Finland = ... # type: QLocale.Country
  4703. France = ... # type: QLocale.Country
  4704. FrenchGuiana = ... # type: QLocale.Country
  4705. FrenchPolynesia = ... # type: QLocale.Country
  4706. FrenchSouthernTerritories = ... # type: QLocale.Country
  4707. Gabon = ... # type: QLocale.Country
  4708. Gambia = ... # type: QLocale.Country
  4709. Georgia = ... # type: QLocale.Country
  4710. Germany = ... # type: QLocale.Country
  4711. Ghana = ... # type: QLocale.Country
  4712. Gibraltar = ... # type: QLocale.Country
  4713. Greece = ... # type: QLocale.Country
  4714. Greenland = ... # type: QLocale.Country
  4715. Grenada = ... # type: QLocale.Country
  4716. Guadeloupe = ... # type: QLocale.Country
  4717. Guam = ... # type: QLocale.Country
  4718. Guatemala = ... # type: QLocale.Country
  4719. Guinea = ... # type: QLocale.Country
  4720. GuineaBissau = ... # type: QLocale.Country
  4721. Guyana = ... # type: QLocale.Country
  4722. Haiti = ... # type: QLocale.Country
  4723. HeardAndMcDonaldIslands = ... # type: QLocale.Country
  4724. Honduras = ... # type: QLocale.Country
  4725. HongKong = ... # type: QLocale.Country
  4726. Hungary = ... # type: QLocale.Country
  4727. Iceland = ... # type: QLocale.Country
  4728. India = ... # type: QLocale.Country
  4729. Indonesia = ... # type: QLocale.Country
  4730. Iran = ... # type: QLocale.Country
  4731. Iraq = ... # type: QLocale.Country
  4732. Ireland = ... # type: QLocale.Country
  4733. Israel = ... # type: QLocale.Country
  4734. Italy = ... # type: QLocale.Country
  4735. Jamaica = ... # type: QLocale.Country
  4736. Japan = ... # type: QLocale.Country
  4737. Jordan = ... # type: QLocale.Country
  4738. Kazakhstan = ... # type: QLocale.Country
  4739. Kenya = ... # type: QLocale.Country
  4740. Kiribati = ... # type: QLocale.Country
  4741. DemocraticRepublicOfKorea = ... # type: QLocale.Country
  4742. RepublicOfKorea = ... # type: QLocale.Country
  4743. Kuwait = ... # type: QLocale.Country
  4744. Kyrgyzstan = ... # type: QLocale.Country
  4745. Latvia = ... # type: QLocale.Country
  4746. Lebanon = ... # type: QLocale.Country
  4747. Lesotho = ... # type: QLocale.Country
  4748. Liberia = ... # type: QLocale.Country
  4749. Liechtenstein = ... # type: QLocale.Country
  4750. Lithuania = ... # type: QLocale.Country
  4751. Luxembourg = ... # type: QLocale.Country
  4752. Macau = ... # type: QLocale.Country
  4753. Macedonia = ... # type: QLocale.Country
  4754. Madagascar = ... # type: QLocale.Country
  4755. Malawi = ... # type: QLocale.Country
  4756. Malaysia = ... # type: QLocale.Country
  4757. Maldives = ... # type: QLocale.Country
  4758. Mali = ... # type: QLocale.Country
  4759. Malta = ... # type: QLocale.Country
  4760. MarshallIslands = ... # type: QLocale.Country
  4761. Martinique = ... # type: QLocale.Country
  4762. Mauritania = ... # type: QLocale.Country
  4763. Mauritius = ... # type: QLocale.Country
  4764. Mayotte = ... # type: QLocale.Country
  4765. Mexico = ... # type: QLocale.Country
  4766. Micronesia = ... # type: QLocale.Country
  4767. Moldova = ... # type: QLocale.Country
  4768. Monaco = ... # type: QLocale.Country
  4769. Mongolia = ... # type: QLocale.Country
  4770. Montserrat = ... # type: QLocale.Country
  4771. Morocco = ... # type: QLocale.Country
  4772. Mozambique = ... # type: QLocale.Country
  4773. Myanmar = ... # type: QLocale.Country
  4774. Namibia = ... # type: QLocale.Country
  4775. NauruCountry = ... # type: QLocale.Country
  4776. Nepal = ... # type: QLocale.Country
  4777. Netherlands = ... # type: QLocale.Country
  4778. NewCaledonia = ... # type: QLocale.Country
  4779. NewZealand = ... # type: QLocale.Country
  4780. Nicaragua = ... # type: QLocale.Country
  4781. Niger = ... # type: QLocale.Country
  4782. Nigeria = ... # type: QLocale.Country
  4783. Niue = ... # type: QLocale.Country
  4784. NorfolkIsland = ... # type: QLocale.Country
  4785. NorthernMarianaIslands = ... # type: QLocale.Country
  4786. Norway = ... # type: QLocale.Country
  4787. Oman = ... # type: QLocale.Country
  4788. Pakistan = ... # type: QLocale.Country
  4789. Palau = ... # type: QLocale.Country
  4790. Panama = ... # type: QLocale.Country
  4791. PapuaNewGuinea = ... # type: QLocale.Country
  4792. Paraguay = ... # type: QLocale.Country
  4793. Peru = ... # type: QLocale.Country
  4794. Philippines = ... # type: QLocale.Country
  4795. Pitcairn = ... # type: QLocale.Country
  4796. Poland = ... # type: QLocale.Country
  4797. Portugal = ... # type: QLocale.Country
  4798. PuertoRico = ... # type: QLocale.Country
  4799. Qatar = ... # type: QLocale.Country
  4800. Reunion = ... # type: QLocale.Country
  4801. Romania = ... # type: QLocale.Country
  4802. RussianFederation = ... # type: QLocale.Country
  4803. Rwanda = ... # type: QLocale.Country
  4804. SaintKittsAndNevis = ... # type: QLocale.Country
  4805. Samoa = ... # type: QLocale.Country
  4806. SanMarino = ... # type: QLocale.Country
  4807. SaoTomeAndPrincipe = ... # type: QLocale.Country
  4808. SaudiArabia = ... # type: QLocale.Country
  4809. Senegal = ... # type: QLocale.Country
  4810. Seychelles = ... # type: QLocale.Country
  4811. SierraLeone = ... # type: QLocale.Country
  4812. Singapore = ... # type: QLocale.Country
  4813. Slovakia = ... # type: QLocale.Country
  4814. Slovenia = ... # type: QLocale.Country
  4815. SolomonIslands = ... # type: QLocale.Country
  4816. Somalia = ... # type: QLocale.Country
  4817. SouthAfrica = ... # type: QLocale.Country
  4818. SouthGeorgiaAndTheSouthSandwichIslands = ... # type: QLocale.Country
  4819. Spain = ... # type: QLocale.Country
  4820. SriLanka = ... # type: QLocale.Country
  4821. Sudan = ... # type: QLocale.Country
  4822. Suriname = ... # type: QLocale.Country
  4823. SvalbardAndJanMayenIslands = ... # type: QLocale.Country
  4824. Swaziland = ... # type: QLocale.Country
  4825. Sweden = ... # type: QLocale.Country
  4826. Switzerland = ... # type: QLocale.Country
  4827. SyrianArabRepublic = ... # type: QLocale.Country
  4828. Taiwan = ... # type: QLocale.Country
  4829. Tajikistan = ... # type: QLocale.Country
  4830. Tanzania = ... # type: QLocale.Country
  4831. Thailand = ... # type: QLocale.Country
  4832. Togo = ... # type: QLocale.Country
  4833. TrinidadAndTobago = ... # type: QLocale.Country
  4834. Tunisia = ... # type: QLocale.Country
  4835. Turkey = ... # type: QLocale.Country
  4836. Turkmenistan = ... # type: QLocale.Country
  4837. TurksAndCaicosIslands = ... # type: QLocale.Country
  4838. Uganda = ... # type: QLocale.Country
  4839. Ukraine = ... # type: QLocale.Country
  4840. UnitedArabEmirates = ... # type: QLocale.Country
  4841. UnitedKingdom = ... # type: QLocale.Country
  4842. UnitedStates = ... # type: QLocale.Country
  4843. UnitedStatesMinorOutlyingIslands = ... # type: QLocale.Country
  4844. Uruguay = ... # type: QLocale.Country
  4845. Uzbekistan = ... # type: QLocale.Country
  4846. Vanuatu = ... # type: QLocale.Country
  4847. VaticanCityState = ... # type: QLocale.Country
  4848. Venezuela = ... # type: QLocale.Country
  4849. BritishVirginIslands = ... # type: QLocale.Country
  4850. WallisAndFutunaIslands = ... # type: QLocale.Country
  4851. WesternSahara = ... # type: QLocale.Country
  4852. Yemen = ... # type: QLocale.Country
  4853. Zambia = ... # type: QLocale.Country
  4854. Zimbabwe = ... # type: QLocale.Country
  4855. Montenegro = ... # type: QLocale.Country
  4856. Serbia = ... # type: QLocale.Country
  4857. SaintBarthelemy = ... # type: QLocale.Country
  4858. SaintMartin = ... # type: QLocale.Country
  4859. LatinAmericaAndTheCaribbean = ... # type: QLocale.Country
  4860. LastCountry = ... # type: QLocale.Country
  4861. Brunei = ... # type: QLocale.Country
  4862. CongoKinshasa = ... # type: QLocale.Country
  4863. CongoBrazzaville = ... # type: QLocale.Country
  4864. Fiji = ... # type: QLocale.Country
  4865. Guernsey = ... # type: QLocale.Country
  4866. NorthKorea = ... # type: QLocale.Country
  4867. SouthKorea = ... # type: QLocale.Country
  4868. Laos = ... # type: QLocale.Country
  4869. Libya = ... # type: QLocale.Country
  4870. CuraSao = ... # type: QLocale.Country
  4871. PalestinianTerritories = ... # type: QLocale.Country
  4872. Russia = ... # type: QLocale.Country
  4873. SaintLucia = ... # type: QLocale.Country
  4874. SaintVincentAndTheGrenadines = ... # type: QLocale.Country
  4875. SaintHelena = ... # type: QLocale.Country
  4876. SaintPierreAndMiquelon = ... # type: QLocale.Country
  4877. Syria = ... # type: QLocale.Country
  4878. Tonga = ... # type: QLocale.Country
  4879. Vietnam = ... # type: QLocale.Country
  4880. UnitedStatesVirginIslands = ... # type: QLocale.Country
  4881. CanaryIslands = ... # type: QLocale.Country
  4882. ClippertonIsland = ... # type: QLocale.Country
  4883. AscensionIsland = ... # type: QLocale.Country
  4884. AlandIslands = ... # type: QLocale.Country
  4885. DiegoGarcia = ... # type: QLocale.Country
  4886. CeutaAndMelilla = ... # type: QLocale.Country
  4887. IsleOfMan = ... # type: QLocale.Country
  4888. Jersey = ... # type: QLocale.Country
  4889. TristanDaCunha = ... # type: QLocale.Country
  4890. SouthSudan = ... # type: QLocale.Country
  4891. Bonaire = ... # type: QLocale.Country
  4892. SintMaarten = ... # type: QLocale.Country
  4893. Kosovo = ... # type: QLocale.Country
  4894. TokelauCountry = ... # type: QLocale.Country
  4895. TuvaluCountry = ... # type: QLocale.Country
  4896. EuropeanUnion = ... # type: QLocale.Country
  4897. OutlyingOceania = ... # type: QLocale.Country
  4898. LatinAmerica = ... # type: QLocale.Country
  4899. World = ... # type: QLocale.Country
  4900. Europe = ... # type: QLocale.Country
  4901. BosniaAndHerzegovina = ... # type: QLocale.Country
  4902. CaribbeanNetherlands = ... # type: QLocale.Country
  4903. Curacao = ... # type: QLocale.Country
  4904. Czechia = ... # type: QLocale.Country
  4905. Eswatini = ... # type: QLocale.Country
  4906. Macao = ... # type: QLocale.Country
  4907. SaintVincentAndGrenadines = ... # type: QLocale.Country
  4908. SouthGeorgiaAndSouthSandwichIslands = ... # type: QLocale.Country
  4909. SvalbardAndJanMayen = ... # type: QLocale.Country
  4910. TimorLeste = ... # type: QLocale.Country
  4911. UnitedStatesOutlyingIslands = ... # type: QLocale.Country
  4912. VaticanCity = ... # type: QLocale.Country
  4913. WallisAndFutuna = ... # type: QLocale.Country
  4914. NauruTerritory = ... # type: QLocale.Country
  4915. TokelauTerritory = ... # type: QLocale.Country
  4916. TuvaluTerritory = ... # type: QLocale.Country
  4917. class Language(enum.Enum):
  4918. C = ... # type: QLocale.Language
  4919. Abkhazian = ... # type: QLocale.Language
  4920. Afan = ... # type: QLocale.Language
  4921. Afar = ... # type: QLocale.Language
  4922. Afrikaans = ... # type: QLocale.Language
  4923. Albanian = ... # type: QLocale.Language
  4924. Amharic = ... # type: QLocale.Language
  4925. Arabic = ... # type: QLocale.Language
  4926. Armenian = ... # type: QLocale.Language
  4927. Assamese = ... # type: QLocale.Language
  4928. Aymara = ... # type: QLocale.Language
  4929. Azerbaijani = ... # type: QLocale.Language
  4930. Bashkir = ... # type: QLocale.Language
  4931. Basque = ... # type: QLocale.Language
  4932. Bengali = ... # type: QLocale.Language
  4933. Bhutani = ... # type: QLocale.Language
  4934. Bislama = ... # type: QLocale.Language
  4935. Breton = ... # type: QLocale.Language
  4936. Bulgarian = ... # type: QLocale.Language
  4937. Burmese = ... # type: QLocale.Language
  4938. Byelorussian = ... # type: QLocale.Language
  4939. Cambodian = ... # type: QLocale.Language
  4940. Catalan = ... # type: QLocale.Language
  4941. Chinese = ... # type: QLocale.Language
  4942. Corsican = ... # type: QLocale.Language
  4943. Croatian = ... # type: QLocale.Language
  4944. Czech = ... # type: QLocale.Language
  4945. Danish = ... # type: QLocale.Language
  4946. Dutch = ... # type: QLocale.Language
  4947. English = ... # type: QLocale.Language
  4948. Esperanto = ... # type: QLocale.Language
  4949. Estonian = ... # type: QLocale.Language
  4950. Faroese = ... # type: QLocale.Language
  4951. Finnish = ... # type: QLocale.Language
  4952. French = ... # type: QLocale.Language
  4953. Frisian = ... # type: QLocale.Language
  4954. Gaelic = ... # type: QLocale.Language
  4955. Galician = ... # type: QLocale.Language
  4956. Georgian = ... # type: QLocale.Language
  4957. German = ... # type: QLocale.Language
  4958. Greek = ... # type: QLocale.Language
  4959. Greenlandic = ... # type: QLocale.Language
  4960. Guarani = ... # type: QLocale.Language
  4961. Gujarati = ... # type: QLocale.Language
  4962. Hausa = ... # type: QLocale.Language
  4963. Hebrew = ... # type: QLocale.Language
  4964. Hindi = ... # type: QLocale.Language
  4965. Hungarian = ... # type: QLocale.Language
  4966. Icelandic = ... # type: QLocale.Language
  4967. Indonesian = ... # type: QLocale.Language
  4968. Interlingua = ... # type: QLocale.Language
  4969. Interlingue = ... # type: QLocale.Language
  4970. Inuktitut = ... # type: QLocale.Language
  4971. Inupiak = ... # type: QLocale.Language
  4972. Irish = ... # type: QLocale.Language
  4973. Italian = ... # type: QLocale.Language
  4974. Japanese = ... # type: QLocale.Language
  4975. Javanese = ... # type: QLocale.Language
  4976. Kannada = ... # type: QLocale.Language
  4977. Kashmiri = ... # type: QLocale.Language
  4978. Kazakh = ... # type: QLocale.Language
  4979. Kinyarwanda = ... # type: QLocale.Language
  4980. Kirghiz = ... # type: QLocale.Language
  4981. Korean = ... # type: QLocale.Language
  4982. Kurdish = ... # type: QLocale.Language
  4983. Kurundi = ... # type: QLocale.Language
  4984. Latin = ... # type: QLocale.Language
  4985. Latvian = ... # type: QLocale.Language
  4986. Lingala = ... # type: QLocale.Language
  4987. Lithuanian = ... # type: QLocale.Language
  4988. Macedonian = ... # type: QLocale.Language
  4989. Malagasy = ... # type: QLocale.Language
  4990. Malay = ... # type: QLocale.Language
  4991. Malayalam = ... # type: QLocale.Language
  4992. Maltese = ... # type: QLocale.Language
  4993. Maori = ... # type: QLocale.Language
  4994. Marathi = ... # type: QLocale.Language
  4995. Mongolian = ... # type: QLocale.Language
  4996. NauruLanguage = ... # type: QLocale.Language
  4997. Nepali = ... # type: QLocale.Language
  4998. Occitan = ... # type: QLocale.Language
  4999. Oriya = ... # type: QLocale.Language
  5000. Pashto = ... # type: QLocale.Language
  5001. Persian = ... # type: QLocale.Language
  5002. Polish = ... # type: QLocale.Language
  5003. Portuguese = ... # type: QLocale.Language
  5004. Punjabi = ... # type: QLocale.Language
  5005. Quechua = ... # type: QLocale.Language
  5006. RhaetoRomance = ... # type: QLocale.Language
  5007. Romanian = ... # type: QLocale.Language
  5008. Russian = ... # type: QLocale.Language
  5009. Samoan = ... # type: QLocale.Language
  5010. Sanskrit = ... # type: QLocale.Language
  5011. Serbian = ... # type: QLocale.Language
  5012. Shona = ... # type: QLocale.Language
  5013. Sindhi = ... # type: QLocale.Language
  5014. Slovak = ... # type: QLocale.Language
  5015. Slovenian = ... # type: QLocale.Language
  5016. Somali = ... # type: QLocale.Language
  5017. Spanish = ... # type: QLocale.Language
  5018. Sundanese = ... # type: QLocale.Language
  5019. Swahili = ... # type: QLocale.Language
  5020. Swedish = ... # type: QLocale.Language
  5021. Tajik = ... # type: QLocale.Language
  5022. Tamil = ... # type: QLocale.Language
  5023. Tatar = ... # type: QLocale.Language
  5024. Telugu = ... # type: QLocale.Language
  5025. Thai = ... # type: QLocale.Language
  5026. Tibetan = ... # type: QLocale.Language
  5027. Tigrinya = ... # type: QLocale.Language
  5028. Tsonga = ... # type: QLocale.Language
  5029. Turkish = ... # type: QLocale.Language
  5030. Turkmen = ... # type: QLocale.Language
  5031. Uigur = ... # type: QLocale.Language
  5032. Ukrainian = ... # type: QLocale.Language
  5033. Urdu = ... # type: QLocale.Language
  5034. Uzbek = ... # type: QLocale.Language
  5035. Vietnamese = ... # type: QLocale.Language
  5036. Volapuk = ... # type: QLocale.Language
  5037. Welsh = ... # type: QLocale.Language
  5038. Wolof = ... # type: QLocale.Language
  5039. Xhosa = ... # type: QLocale.Language
  5040. Yiddish = ... # type: QLocale.Language
  5041. Yoruba = ... # type: QLocale.Language
  5042. Zhuang = ... # type: QLocale.Language
  5043. Zulu = ... # type: QLocale.Language
  5044. Bosnian = ... # type: QLocale.Language
  5045. Divehi = ... # type: QLocale.Language
  5046. Manx = ... # type: QLocale.Language
  5047. Cornish = ... # type: QLocale.Language
  5048. LastLanguage = ... # type: QLocale.Language
  5049. NorwegianBokmal = ... # type: QLocale.Language
  5050. NorwegianNynorsk = ... # type: QLocale.Language
  5051. Akan = ... # type: QLocale.Language
  5052. Konkani = ... # type: QLocale.Language
  5053. Ga = ... # type: QLocale.Language
  5054. Igbo = ... # type: QLocale.Language
  5055. Kamba = ... # type: QLocale.Language
  5056. Syriac = ... # type: QLocale.Language
  5057. Blin = ... # type: QLocale.Language
  5058. Geez = ... # type: QLocale.Language
  5059. Koro = ... # type: QLocale.Language
  5060. Sidamo = ... # type: QLocale.Language
  5061. Atsam = ... # type: QLocale.Language
  5062. Tigre = ... # type: QLocale.Language
  5063. Jju = ... # type: QLocale.Language
  5064. Friulian = ... # type: QLocale.Language
  5065. Venda = ... # type: QLocale.Language
  5066. Ewe = ... # type: QLocale.Language
  5067. Walamo = ... # type: QLocale.Language
  5068. Hawaiian = ... # type: QLocale.Language
  5069. Tyap = ... # type: QLocale.Language
  5070. Chewa = ... # type: QLocale.Language
  5071. Filipino = ... # type: QLocale.Language
  5072. SwissGerman = ... # type: QLocale.Language
  5073. SichuanYi = ... # type: QLocale.Language
  5074. Kpelle = ... # type: QLocale.Language
  5075. LowGerman = ... # type: QLocale.Language
  5076. SouthNdebele = ... # type: QLocale.Language
  5077. NorthernSotho = ... # type: QLocale.Language
  5078. NorthernSami = ... # type: QLocale.Language
  5079. Taroko = ... # type: QLocale.Language
  5080. Gusii = ... # type: QLocale.Language
  5081. Taita = ... # type: QLocale.Language
  5082. Fulah = ... # type: QLocale.Language
  5083. Kikuyu = ... # type: QLocale.Language
  5084. Samburu = ... # type: QLocale.Language
  5085. Sena = ... # type: QLocale.Language
  5086. NorthNdebele = ... # type: QLocale.Language
  5087. Rombo = ... # type: QLocale.Language
  5088. Tachelhit = ... # type: QLocale.Language
  5089. Kabyle = ... # type: QLocale.Language
  5090. Nyankole = ... # type: QLocale.Language
  5091. Bena = ... # type: QLocale.Language
  5092. Vunjo = ... # type: QLocale.Language
  5093. Bambara = ... # type: QLocale.Language
  5094. Embu = ... # type: QLocale.Language
  5095. Cherokee = ... # type: QLocale.Language
  5096. Morisyen = ... # type: QLocale.Language
  5097. Makonde = ... # type: QLocale.Language
  5098. Langi = ... # type: QLocale.Language
  5099. Ganda = ... # type: QLocale.Language
  5100. Bemba = ... # type: QLocale.Language
  5101. Kabuverdianu = ... # type: QLocale.Language
  5102. Meru = ... # type: QLocale.Language
  5103. Kalenjin = ... # type: QLocale.Language
  5104. Nama = ... # type: QLocale.Language
  5105. Machame = ... # type: QLocale.Language
  5106. Colognian = ... # type: QLocale.Language
  5107. Masai = ... # type: QLocale.Language
  5108. Soga = ... # type: QLocale.Language
  5109. Luyia = ... # type: QLocale.Language
  5110. Asu = ... # type: QLocale.Language
  5111. Teso = ... # type: QLocale.Language
  5112. Saho = ... # type: QLocale.Language
  5113. KoyraChiini = ... # type: QLocale.Language
  5114. Rwa = ... # type: QLocale.Language
  5115. Luo = ... # type: QLocale.Language
  5116. Chiga = ... # type: QLocale.Language
  5117. CentralMoroccoTamazight = ... # type: QLocale.Language
  5118. KoyraboroSenni = ... # type: QLocale.Language
  5119. Shambala = ... # type: QLocale.Language
  5120. AnyLanguage = ... # type: QLocale.Language
  5121. Rundi = ... # type: QLocale.Language
  5122. Bodo = ... # type: QLocale.Language
  5123. Aghem = ... # type: QLocale.Language
  5124. Basaa = ... # type: QLocale.Language
  5125. Zarma = ... # type: QLocale.Language
  5126. Duala = ... # type: QLocale.Language
  5127. JolaFonyi = ... # type: QLocale.Language
  5128. Ewondo = ... # type: QLocale.Language
  5129. Bafia = ... # type: QLocale.Language
  5130. LubaKatanga = ... # type: QLocale.Language
  5131. MakhuwaMeetto = ... # type: QLocale.Language
  5132. Mundang = ... # type: QLocale.Language
  5133. Kwasio = ... # type: QLocale.Language
  5134. Nuer = ... # type: QLocale.Language
  5135. Sakha = ... # type: QLocale.Language
  5136. Sangu = ... # type: QLocale.Language
  5137. Tasawaq = ... # type: QLocale.Language
  5138. Vai = ... # type: QLocale.Language
  5139. Walser = ... # type: QLocale.Language
  5140. Yangben = ... # type: QLocale.Language
  5141. Oromo = ... # type: QLocale.Language
  5142. Dzongkha = ... # type: QLocale.Language
  5143. Belarusian = ... # type: QLocale.Language
  5144. Khmer = ... # type: QLocale.Language
  5145. Fijian = ... # type: QLocale.Language
  5146. WesternFrisian = ... # type: QLocale.Language
  5147. Lao = ... # type: QLocale.Language
  5148. Marshallese = ... # type: QLocale.Language
  5149. Romansh = ... # type: QLocale.Language
  5150. Sango = ... # type: QLocale.Language
  5151. Ossetic = ... # type: QLocale.Language
  5152. SouthernSotho = ... # type: QLocale.Language
  5153. Tswana = ... # type: QLocale.Language
  5154. Sinhala = ... # type: QLocale.Language
  5155. Swati = ... # type: QLocale.Language
  5156. Sardinian = ... # type: QLocale.Language
  5157. Tongan = ... # type: QLocale.Language
  5158. Tahitian = ... # type: QLocale.Language
  5159. Nyanja = ... # type: QLocale.Language
  5160. Avaric = ... # type: QLocale.Language
  5161. Chamorro = ... # type: QLocale.Language
  5162. Chechen = ... # type: QLocale.Language
  5163. Church = ... # type: QLocale.Language
  5164. Chuvash = ... # type: QLocale.Language
  5165. Cree = ... # type: QLocale.Language
  5166. Haitian = ... # type: QLocale.Language
  5167. Herero = ... # type: QLocale.Language
  5168. HiriMotu = ... # type: QLocale.Language
  5169. Kanuri = ... # type: QLocale.Language
  5170. Komi = ... # type: QLocale.Language
  5171. Kongo = ... # type: QLocale.Language
  5172. Kwanyama = ... # type: QLocale.Language
  5173. Limburgish = ... # type: QLocale.Language
  5174. Luxembourgish = ... # type: QLocale.Language
  5175. Navaho = ... # type: QLocale.Language
  5176. Ndonga = ... # type: QLocale.Language
  5177. Ojibwa = ... # type: QLocale.Language
  5178. Pali = ... # type: QLocale.Language
  5179. Walloon = ... # type: QLocale.Language
  5180. Avestan = ... # type: QLocale.Language
  5181. Asturian = ... # type: QLocale.Language
  5182. Ngomba = ... # type: QLocale.Language
  5183. Kako = ... # type: QLocale.Language
  5184. Meta = ... # type: QLocale.Language
  5185. Ngiemboon = ... # type: QLocale.Language
  5186. Uighur = ... # type: QLocale.Language
  5187. Aragonese = ... # type: QLocale.Language
  5188. Akkadian = ... # type: QLocale.Language
  5189. AncientEgyptian = ... # type: QLocale.Language
  5190. AncientGreek = ... # type: QLocale.Language
  5191. Aramaic = ... # type: QLocale.Language
  5192. Balinese = ... # type: QLocale.Language
  5193. Bamun = ... # type: QLocale.Language
  5194. BatakToba = ... # type: QLocale.Language
  5195. Buginese = ... # type: QLocale.Language
  5196. Chakma = ... # type: QLocale.Language
  5197. Coptic = ... # type: QLocale.Language
  5198. Dogri = ... # type: QLocale.Language
  5199. Gothic = ... # type: QLocale.Language
  5200. Ingush = ... # type: QLocale.Language
  5201. Mandingo = ... # type: QLocale.Language
  5202. Manipuri = ... # type: QLocale.Language
  5203. OldIrish = ... # type: QLocale.Language
  5204. OldNorse = ... # type: QLocale.Language
  5205. OldPersian = ... # type: QLocale.Language
  5206. Pahlavi = ... # type: QLocale.Language
  5207. Phoenician = ... # type: QLocale.Language
  5208. Santali = ... # type: QLocale.Language
  5209. Saurashtra = ... # type: QLocale.Language
  5210. TaiDam = ... # type: QLocale.Language
  5211. Ugaritic = ... # type: QLocale.Language
  5212. Akoose = ... # type: QLocale.Language
  5213. Lakota = ... # type: QLocale.Language
  5214. StandardMoroccanTamazight = ... # type: QLocale.Language
  5215. Mapuche = ... # type: QLocale.Language
  5216. CentralKurdish = ... # type: QLocale.Language
  5217. LowerSorbian = ... # type: QLocale.Language
  5218. UpperSorbian = ... # type: QLocale.Language
  5219. Kenyang = ... # type: QLocale.Language
  5220. Mohawk = ... # type: QLocale.Language
  5221. Nko = ... # type: QLocale.Language
  5222. Prussian = ... # type: QLocale.Language
  5223. Kiche = ... # type: QLocale.Language
  5224. SouthernSami = ... # type: QLocale.Language
  5225. LuleSami = ... # type: QLocale.Language
  5226. InariSami = ... # type: QLocale.Language
  5227. SkoltSami = ... # type: QLocale.Language
  5228. Warlpiri = ... # type: QLocale.Language
  5229. Mende = ... # type: QLocale.Language
  5230. Lezghian = ... # type: QLocale.Language
  5231. Maithili = ... # type: QLocale.Language
  5232. AmericanSignLanguage = ... # type: QLocale.Language
  5233. Bhojpuri = ... # type: QLocale.Language
  5234. LiteraryChinese = ... # type: QLocale.Language
  5235. Mazanderani = ... # type: QLocale.Language
  5236. Newari = ... # type: QLocale.Language
  5237. NorthernLuri = ... # type: QLocale.Language
  5238. Palauan = ... # type: QLocale.Language
  5239. Papiamento = ... # type: QLocale.Language
  5240. TokelauLanguage = ... # type: QLocale.Language
  5241. TokPisin = ... # type: QLocale.Language
  5242. TuvaluLanguage = ... # type: QLocale.Language
  5243. Cantonese = ... # type: QLocale.Language
  5244. Osage = ... # type: QLocale.Language
  5245. Ido = ... # type: QLocale.Language
  5246. Lojban = ... # type: QLocale.Language
  5247. Sicilian = ... # type: QLocale.Language
  5248. SouthernKurdish = ... # type: QLocale.Language
  5249. WesternBalochi = ... # type: QLocale.Language
  5250. Cebuano = ... # type: QLocale.Language
  5251. Erzya = ... # type: QLocale.Language
  5252. Chickasaw = ... # type: QLocale.Language
  5253. Muscogee = ... # type: QLocale.Language
  5254. Silesian = ... # type: QLocale.Language
  5255. NigerianPidgin = ... # type: QLocale.Language
  5256. Bangla = ... # type: QLocale.Language
  5257. CentralAtlasTamazight = ... # type: QLocale.Language
  5258. Inupiaq = ... # type: QLocale.Language
  5259. Kalaallisut = ... # type: QLocale.Language
  5260. Kuanyama = ... # type: QLocale.Language
  5261. Kyrgyz = ... # type: QLocale.Language
  5262. Navajo = ... # type: QLocale.Language
  5263. Odia = ... # type: QLocale.Language
  5264. Uyghur = ... # type: QLocale.Language
  5265. Wolaytta = ... # type: QLocale.Language
  5266. Kaingang = ... # type: QLocale.Language
  5267. Nheengatu = ... # type: QLocale.Language
  5268. Haryanvi = ... # type: QLocale.Language
  5269. NorthernFrisian = ... # type: QLocale.Language
  5270. Rajasthani = ... # type: QLocale.Language
  5271. Moksha = ... # type: QLocale.Language
  5272. TokiPona = ... # type: QLocale.Language
  5273. Pijin = ... # type: QLocale.Language
  5274. Obolo = ... # type: QLocale.Language
  5275. Baluchi = ... # type: QLocale.Language
  5276. Ligurian = ... # type: QLocale.Language
  5277. Rohingya = ... # type: QLocale.Language
  5278. Torwali = ... # type: QLocale.Language
  5279. Anii = ... # type: QLocale.Language
  5280. Kangri = ... # type: QLocale.Language
  5281. Venetian = ... # type: QLocale.Language
  5282. Kuvi = ... # type: QLocale.Language
  5283. KaraKalpak = ... # type: QLocale.Language
  5284. SwampyCree = ... # type: QLocale.Language
  5285. Ladin = ... # type: QLocale.Language
  5286. Shan = ... # type: QLocale.Language
  5287. DefaultTwoDigitBaseYear = ... # type: int
  5288. @typing.overload
  5289. def __init__(self) -> None: ...
  5290. @typing.overload
  5291. def __init__(self, name: str|None) -> None: ...
  5292. @typing.overload
  5293. def __init__(self, language: 'QLocale.Language', country: 'QLocale.Country' = ...) -> None: ...
  5294. @typing.overload
  5295. def __init__(self, language: 'QLocale.Language', script: 'QLocale.Script', country: 'QLocale.Country') -> None: ...
  5296. @typing.overload
  5297. def __init__(self, other: 'QLocale') -> None: ...
  5298. def __eq__(self, other: object): ...
  5299. def __ne__(self, other: object): ...
  5300. @staticmethod
  5301. def territoryToString(territory: 'QLocale.Country') -> str: ...
  5302. @staticmethod
  5303. def codeToTerritory(territoryCode: str) -> 'QLocale.Country': ...
  5304. @staticmethod
  5305. def territoryToCode(territory: 'QLocale.Country') -> str: ...
  5306. def nativeTerritoryName(self) -> str: ...
  5307. def territory(self) -> 'QLocale.Country': ...
  5308. @staticmethod
  5309. def codeToScript(scriptCode: str) -> 'QLocale.Script': ...
  5310. @staticmethod
  5311. def scriptToCode(script: 'QLocale.Script') -> str: ...
  5312. @staticmethod
  5313. def codeToCountry(countryCode: str) -> 'QLocale.Country': ...
  5314. @staticmethod
  5315. def countryToCode(country: 'QLocale.Country') -> str: ...
  5316. @staticmethod
  5317. def codeToLanguage(languageCode: str, codeTypes: 'QLocale.LanguageCodeType' = ...) -> 'QLocale.Language': ...
  5318. @staticmethod
  5319. def languageToCode(language: 'QLocale.Language', codeTypes: 'QLocale.LanguageCodeType' = ...) -> str: ...
  5320. def collation(self) -> 'QLocale': ...
  5321. def toULong(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5322. def toLong(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5323. def formattedDataSize(self, bytes: int, precision: int = ..., format: 'QLocale.DataSizeFormat' = ...) -> str: ...
  5324. def swap(self, other: 'QLocale') -> None: ...
  5325. def __hash__(self) -> int: ...
  5326. def createSeparatedList(self, list: collections.abc.Iterable[str|None]) -> str: ...
  5327. def quoteString(self, str: str, style: 'QLocale.QuotationStyle' = ...) -> str: ...
  5328. @staticmethod
  5329. def matchingLocales(language: 'QLocale.Language', script: 'QLocale.Script', territory: 'QLocale.Country') -> list['QLocale']: ...
  5330. @staticmethod
  5331. def scriptToString(script: 'QLocale.Script') -> str: ...
  5332. def uiLanguages(self, separator: 'QLocale.TagSeparator' = ...) -> list[str]: ...
  5333. @typing.overload
  5334. def toCurrencyString(self, a0: float, symbol: str|None = ..., precision: int = ...) -> str: ...
  5335. @typing.overload
  5336. def toCurrencyString(self, value: int, symbol: str|None = ...) -> str: ...
  5337. def currencySymbol(self, format: 'QLocale.CurrencySymbolFormat' = ...) -> str: ...
  5338. def toLower(self, str: str|None) -> str: ...
  5339. def toUpper(self, str: str|None) -> str: ...
  5340. def weekdays(self) -> list[Qt.DayOfWeek]: ...
  5341. def firstDayOfWeek(self) -> Qt.DayOfWeek: ...
  5342. def nativeCountryName(self) -> str: ...
  5343. def nativeLanguageName(self) -> str: ...
  5344. def bcp47Name(self, separator: 'QLocale.TagSeparator' = ...) -> str: ...
  5345. def script(self) -> 'QLocale.Script': ...
  5346. def textDirection(self) -> Qt.LayoutDirection: ...
  5347. def pmText(self) -> str: ...
  5348. def amText(self) -> str: ...
  5349. def standaloneDayName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ...
  5350. def standaloneMonthName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ...
  5351. def positiveSign(self) -> str: ...
  5352. def measurementSystem(self) -> 'QLocale.MeasurementSystem': ...
  5353. def numberOptions(self) -> 'QLocale.NumberOption': ...
  5354. def setNumberOptions(self, options: 'QLocale.NumberOption') -> None: ...
  5355. def dayName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ...
  5356. def monthName(self, a0: int, format: 'QLocale.FormatType' = ...) -> str: ...
  5357. def exponential(self) -> str: ...
  5358. def negativeSign(self) -> str: ...
  5359. def zeroDigit(self) -> str: ...
  5360. def percent(self) -> str: ...
  5361. def groupSeparator(self) -> str: ...
  5362. def decimalPoint(self) -> str: ...
  5363. @typing.overload
  5364. def toDateTime(self, string: str|None, format: str|None, baseYear: int = ...) -> QDateTime: ...
  5365. @typing.overload
  5366. def toDateTime(self, string: str|None, format: str|None, cal: QCalendar, baseYear: int = ...) -> QDateTime: ...
  5367. @typing.overload
  5368. def toDateTime(self, string: str|None, format: 'QLocale.FormatType', cal: QCalendar, baseYear: int = ...) -> QDateTime: ...
  5369. @typing.overload
  5370. def toDateTime(self, string: str|None, format: 'QLocale.FormatType' = ..., baseYear: int = ...) -> QDateTime: ...
  5371. @typing.overload
  5372. def toTime(self, string: str|None, format: 'QLocale.FormatType' = ...) -> QTime: ...
  5373. @typing.overload
  5374. def toTime(self, string: str|None, format: str|None) -> QTime: ...
  5375. @typing.overload
  5376. def toDate(self, string: str|None, format: str|None, baseYear: int = ...) -> QDate: ...
  5377. @typing.overload
  5378. def toDate(self, string: str|None, format: str|None, cal: QCalendar, baseYear: int = ...) -> QDate: ...
  5379. @typing.overload
  5380. def toDate(self, string: str|None, format: 'QLocale.FormatType', cal: QCalendar, baseYear: int = ...) -> QDate: ...
  5381. @typing.overload
  5382. def toDate(self, string: str|None, a1: 'QLocale.FormatType' = ..., baseYear: int = ...) -> QDate: ...
  5383. def dateTimeFormat(self, format: 'QLocale.FormatType' = ...) -> str: ...
  5384. def timeFormat(self, format: 'QLocale.FormatType' = ...) -> str: ...
  5385. def dateFormat(self, format: 'QLocale.FormatType' = ...) -> str: ...
  5386. @staticmethod
  5387. def system() -> 'QLocale': ...
  5388. @staticmethod
  5389. def c() -> 'QLocale': ...
  5390. @staticmethod
  5391. def setDefault(locale: 'QLocale') -> None: ...
  5392. @staticmethod
  5393. def countryToString(country: 'QLocale.Country') -> str: ...
  5394. @staticmethod
  5395. def languageToString(language: 'QLocale.Language') -> str: ...
  5396. @typing.overload
  5397. def toString(self, date: QDate|datetime.date, format: 'QLocale.FormatType', cal: QCalendar) -> str: ...
  5398. @typing.overload
  5399. def toString(self, date: QDate|datetime.date, formatStr: str, cal: QCalendar) -> str: ...
  5400. @typing.overload
  5401. def toString(self, date: QDate|datetime.date, format: 'QLocale.FormatType' = ...) -> str: ...
  5402. @typing.overload
  5403. def toString(self, date: QDate|datetime.date, formatStr: str) -> str: ...
  5404. @typing.overload
  5405. def toString(self, time: QTime|datetime.time, format: 'QLocale.FormatType' = ...) -> str: ...
  5406. @typing.overload
  5407. def toString(self, time: QTime|datetime.time, formatStr: str) -> str: ...
  5408. @typing.overload
  5409. def toString(self, i: float, format: str = ..., precision: int = ...) -> str: ...
  5410. @typing.overload
  5411. def toString(self, dateTime: QDateTime|datetime.datetime, format: 'QLocale.FormatType', cal: QCalendar) -> str: ...
  5412. @typing.overload
  5413. def toString(self, dateTime: QDateTime|datetime.datetime, format: str|None) -> str: ...
  5414. @typing.overload
  5415. def toString(self, dateTime: QDateTime|datetime.datetime, formatStr: str|None, cal: QCalendar) -> str: ...
  5416. @typing.overload
  5417. def toString(self, dateTime: QDateTime|datetime.datetime, format: 'QLocale.FormatType' = ...) -> str: ...
  5418. @typing.overload
  5419. def toString(self, i: int) -> str: ...
  5420. def toDouble(self, s: str|None) -> typing.Tuple[float, bool]: ...
  5421. def toFloat(self, s: str|None) -> typing.Tuple[float, bool]: ...
  5422. def toULongLong(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5423. def toLongLong(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5424. def toUInt(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5425. def toInt(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5426. def toUShort(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5427. def toShort(self, s: str|None) -> typing.Tuple[int, bool]: ...
  5428. def name(self, separator: 'QLocale.TagSeparator' = ...) -> str: ...
  5429. def country(self) -> 'QLocale.Country': ...
  5430. def language(self) -> 'QLocale.Language': ...
  5431. class QLockFile(PyQt6.sip.simplewrapper):
  5432. class LockError(enum.Enum):
  5433. NoError = ... # type: QLockFile.LockError
  5434. LockFailedError = ... # type: QLockFile.LockError
  5435. PermissionError = ... # type: QLockFile.LockError
  5436. UnknownError = ... # type: QLockFile.LockError
  5437. def __init__(self, fileName: str|None) -> None: ...
  5438. def fileName(self) -> str: ...
  5439. def error(self) -> 'QLockFile.LockError': ...
  5440. def removeStaleLockFile(self) -> bool: ...
  5441. def getLockInfo(self) -> typing.Tuple[bool, int, str, str]: ...
  5442. def isLocked(self) -> bool: ...
  5443. def staleLockTime(self) -> int: ...
  5444. def setStaleLockTime(self, a0: int) -> None: ...
  5445. def unlock(self) -> None: ...
  5446. def tryLock(self, timeout: int = ...) -> bool: ...
  5447. def lock(self) -> bool: ...
  5448. class QMessageLogContext(PyQt6.sip.simplewrapper):
  5449. CurrentVersion = ... # type: int
  5450. category = ... # type: str
  5451. file = ... # type: str
  5452. function = ... # type: str
  5453. line = ... # type: int
  5454. class QMessageLogger(PyQt6.sip.simplewrapper):
  5455. @typing.overload
  5456. def __init__(self) -> None: ...
  5457. @typing.overload
  5458. def __init__(self, file: str, line: int, function: str) -> None: ...
  5459. @typing.overload
  5460. def __init__(self, file: str, line: int, function: str, category: str) -> None: ...
  5461. @typing.overload
  5462. def fatal(self, msg: str) -> None: ...
  5463. @typing.overload
  5464. def fatal(self, cat: 'QLoggingCategory', msg: str) -> None: ...
  5465. @typing.overload
  5466. def critical(self, msg: str) -> None: ...
  5467. @typing.overload
  5468. def critical(self, cat: 'QLoggingCategory', msg: str) -> None: ...
  5469. @typing.overload
  5470. def warning(self, msg: str) -> None: ...
  5471. @typing.overload
  5472. def warning(self, cat: 'QLoggingCategory', msg: str) -> None: ...
  5473. @typing.overload
  5474. def info(self, msg: str) -> None: ...
  5475. @typing.overload
  5476. def info(self, cat: 'QLoggingCategory', msg: str) -> None: ...
  5477. @typing.overload
  5478. def debug(self, msg: str) -> None: ...
  5479. @typing.overload
  5480. def debug(self, cat: 'QLoggingCategory', msg: str) -> None: ...
  5481. class QLoggingCategory(PyQt6.sip.simplewrapper):
  5482. def __init__(self, category: str, severityLevel: QtMsgType = ...) -> None: ...
  5483. @staticmethod
  5484. def setFilterRules(rules: str|None) -> None: ...
  5485. @staticmethod
  5486. def defaultCategory() -> 'QLoggingCategory|None': ...
  5487. def __call__(self) -> 'QLoggingCategory': ...
  5488. def categoryName(self) -> str: ...
  5489. def isCriticalEnabled(self) -> bool: ...
  5490. def isWarningEnabled(self) -> bool: ...
  5491. def isInfoEnabled(self) -> bool: ...
  5492. def isDebugEnabled(self) -> bool: ...
  5493. def setEnabled(self, type: QtMsgType, enable: bool) -> None: ...
  5494. def isEnabled(self, type: QtMsgType) -> bool: ...
  5495. class QMargins(PyQt6.sip.simplewrapper):
  5496. @typing.overload
  5497. def __init__(self) -> None: ...
  5498. @typing.overload
  5499. def __init__(self, aleft: int, atop: int, aright: int, abottom: int) -> None: ...
  5500. @typing.overload
  5501. def __init__(self, a0: 'QMargins') -> None: ...
  5502. def __or__(self, m2: 'QMargins') -> 'QMargins': ...
  5503. def __eq__(self, other: object): ...
  5504. def __ne__(self, other: object): ...
  5505. @typing.overload
  5506. def __add__(self, m2: 'QMargins') -> 'QMargins': ...
  5507. @typing.overload
  5508. def __add__(self, rhs: int) -> 'QMargins': ...
  5509. @typing.overload
  5510. def __add__(self, rectangle: 'QRect') -> 'QRect': ...
  5511. def __radd__(self, lhs: int) -> 'QMargins': ...
  5512. @typing.overload
  5513. def __sub__(self, m2: 'QMargins') -> 'QMargins': ...
  5514. @typing.overload
  5515. def __sub__(self, rhs: int) -> 'QMargins': ...
  5516. @typing.overload
  5517. def __mul__(self, factor: int) -> 'QMargins': ...
  5518. @typing.overload
  5519. def __mul__(self, factor: float) -> 'QMargins': ...
  5520. @typing.overload
  5521. def __truediv__(self, divisor: int) -> 'QMargins': ...
  5522. @typing.overload
  5523. def __truediv__(self, divisor: float) -> 'QMargins': ...
  5524. def __pos__(self) -> 'QMargins': ...
  5525. def __neg__(self) -> 'QMargins': ...
  5526. def toMarginsF(self) -> 'QMarginsF': ...
  5527. @typing.overload
  5528. def __itruediv__(self, divisor: int) -> 'QMargins': ...
  5529. @typing.overload
  5530. def __itruediv__(self, divisor: float) -> 'QMargins': ...
  5531. @typing.overload
  5532. def __imul__(self, factor: int) -> 'QMargins': ...
  5533. @typing.overload
  5534. def __imul__(self, factor: float) -> 'QMargins': ...
  5535. @typing.overload
  5536. def __isub__(self, margins: 'QMargins') -> 'QMargins': ...
  5537. @typing.overload
  5538. def __isub__(self, margin: int) -> 'QMargins': ...
  5539. @typing.overload
  5540. def __iadd__(self, margins: 'QMargins') -> 'QMargins': ...
  5541. @typing.overload
  5542. def __iadd__(self, margin: int) -> 'QMargins': ...
  5543. def setBottom(self, abottom: int) -> None: ...
  5544. def setRight(self, aright: int) -> None: ...
  5545. def setTop(self, atop: int) -> None: ...
  5546. def setLeft(self, aleft: int) -> None: ...
  5547. def bottom(self) -> int: ...
  5548. def right(self) -> int: ...
  5549. def top(self) -> int: ...
  5550. def left(self) -> int: ...
  5551. def isNull(self) -> bool: ...
  5552. class QMarginsF(PyQt6.sip.simplewrapper):
  5553. @typing.overload
  5554. def __init__(self) -> None: ...
  5555. @typing.overload
  5556. def __init__(self, aleft: float, atop: float, aright: float, abottom: float) -> None: ...
  5557. @typing.overload
  5558. def __init__(self, margins: QMargins) -> None: ...
  5559. @typing.overload
  5560. def __init__(self, a0: 'QMarginsF') -> None: ...
  5561. def __or__(self, m2: 'QMarginsF') -> 'QMarginsF': ...
  5562. def __eq__(self, other: object): ...
  5563. def __ne__(self, other: object): ...
  5564. @typing.overload
  5565. def __add__(self, rhs: 'QMarginsF') -> 'QMarginsF': ...
  5566. @typing.overload
  5567. def __add__(self, rhs: float) -> 'QMarginsF': ...
  5568. @typing.overload
  5569. def __add__(self, rhs: 'QRectF') -> 'QRectF': ...
  5570. def __radd__(self, lhs: float) -> 'QMarginsF': ...
  5571. @typing.overload
  5572. def __sub__(self, rhs: 'QMarginsF') -> 'QMarginsF': ...
  5573. @typing.overload
  5574. def __sub__(self, rhs: float) -> 'QMarginsF': ...
  5575. def __mul__(self, rhs: float) -> 'QMarginsF': ...
  5576. def __rmul__(self, lhs: float) -> 'QMarginsF': ...
  5577. def __truediv__(self, divisor: float) -> 'QMarginsF': ...
  5578. def __pos__(self) -> 'QMarginsF': ...
  5579. def __neg__(self) -> 'QMarginsF': ...
  5580. def toMargins(self) -> QMargins: ...
  5581. def __itruediv__(self, divisor: float) -> 'QMarginsF': ...
  5582. def __imul__(self, factor: float) -> 'QMarginsF': ...
  5583. @typing.overload
  5584. def __isub__(self, margins: 'QMarginsF') -> 'QMarginsF': ...
  5585. @typing.overload
  5586. def __isub__(self, subtrahend: float) -> 'QMarginsF': ...
  5587. @typing.overload
  5588. def __iadd__(self, margins: 'QMarginsF') -> 'QMarginsF': ...
  5589. @typing.overload
  5590. def __iadd__(self, addend: float) -> 'QMarginsF': ...
  5591. def setBottom(self, abottom: float) -> None: ...
  5592. def setRight(self, aright: float) -> None: ...
  5593. def setTop(self, atop: float) -> None: ...
  5594. def setLeft(self, aleft: float) -> None: ...
  5595. def bottom(self) -> float: ...
  5596. def right(self) -> float: ...
  5597. def top(self) -> float: ...
  5598. def left(self) -> float: ...
  5599. def isNull(self) -> bool: ...
  5600. class QMessageAuthenticationCode(PyQt6.sip.simplewrapper):
  5601. def __init__(self, method: QCryptographicHash.Algorithm, key: QByteArray|bytes|bytearray|memoryview = ...) -> None: ...
  5602. def swap(self, other: 'QMessageAuthenticationCode') -> None: ...
  5603. @staticmethod
  5604. def hash(message: QByteArray|bytes|bytearray|memoryview, key: QByteArray|bytes|bytearray|memoryview, method: QCryptographicHash.Algorithm) -> QByteArray: ...
  5605. def result(self) -> QByteArray: ...
  5606. @typing.overload
  5607. def addData(self, data: QByteArray|bytes|bytearray|memoryview) -> None: ...
  5608. @typing.overload
  5609. def addData(self, device: QIODevice|None) -> bool: ...
  5610. def setKey(self, key: QByteArray|bytes|bytearray|memoryview) -> None: ...
  5611. def reset(self) -> None: ...
  5612. class QMetaMethod(PyQt6.sip.simplewrapper):
  5613. class MethodType(enum.Enum):
  5614. Method = ... # type: QMetaMethod.MethodType
  5615. Signal = ... # type: QMetaMethod.MethodType
  5616. Slot = ... # type: QMetaMethod.MethodType
  5617. Constructor = ... # type: QMetaMethod.MethodType
  5618. class Access(enum.Enum):
  5619. Private = ... # type: QMetaMethod.Access
  5620. Protected = ... # type: QMetaMethod.Access
  5621. Public = ... # type: QMetaMethod.Access
  5622. @typing.overload
  5623. def __init__(self) -> None: ...
  5624. @typing.overload
  5625. def __init__(self, a0: 'QMetaMethod') -> None: ...
  5626. def __eq__(self, other: object): ...
  5627. def __ne__(self, other: object): ...
  5628. def isConst(self) -> bool: ...
  5629. def relativeMethodIndex(self) -> int: ...
  5630. def parameterTypeName(self, index: int) -> QByteArray: ...
  5631. def parameterMetaType(self, index: int) -> 'QMetaType': ...
  5632. def returnMetaType(self) -> 'QMetaType': ...
  5633. def parameterType(self, index: int) -> int: ...
  5634. def parameterCount(self) -> int: ...
  5635. def returnType(self) -> int: ...
  5636. def name(self) -> QByteArray: ...
  5637. def methodSignature(self) -> QByteArray: ...
  5638. def isValid(self) -> bool: ...
  5639. def revision(self) -> int: ...
  5640. def methodIndex(self) -> int: ...
  5641. @typing.overload
  5642. def invoke(self, object: QObject|None, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5643. @typing.overload
  5644. def invoke(self, object: QObject|None, connectionType: Qt.ConnectionType, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5645. @typing.overload
  5646. def invoke(self, object: QObject|None, returnValue: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5647. @typing.overload
  5648. def invoke(self, object: QObject|None, connectionType: Qt.ConnectionType, returnValue: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5649. def methodType(self) -> 'QMetaMethod.MethodType': ...
  5650. def access(self) -> 'QMetaMethod.Access': ...
  5651. def tag(self) -> str: ...
  5652. def parameterNames(self) -> list[QByteArray]: ...
  5653. def parameterTypes(self) -> list[QByteArray]: ...
  5654. def typeName(self) -> str: ...
  5655. class QMetaEnum(PyQt6.sip.simplewrapper):
  5656. @typing.overload
  5657. def __init__(self) -> None: ...
  5658. @typing.overload
  5659. def __init__(self, a0: 'QMetaEnum') -> None: ...
  5660. def is64Bit(self) -> bool: ...
  5661. def metaType(self) -> 'QMetaType': ...
  5662. def enumName(self) -> str: ...
  5663. def isScoped(self) -> bool: ...
  5664. def isValid(self) -> bool: ...
  5665. def valueToKeys(self, value: int) -> QByteArray: ...
  5666. def keysToValue(self, keys: str) -> typing.Tuple[int, bool]: ...
  5667. def valueToKey(self, value: int) -> str: ...
  5668. def keyToValue(self, key: str) -> typing.Tuple[int, bool]: ...
  5669. def scope(self) -> str: ...
  5670. def value(self, index: int) -> int: ...
  5671. def key(self, index: int) -> str: ...
  5672. def keyCount(self) -> int: ...
  5673. def isFlag(self) -> bool: ...
  5674. def name(self) -> str: ...
  5675. class QMetaProperty(PyQt6.sip.simplewrapper):
  5676. @typing.overload
  5677. def __init__(self) -> None: ...
  5678. @typing.overload
  5679. def __init__(self, a0: 'QMetaProperty') -> None: ...
  5680. def isOverride(self) -> bool: ...
  5681. def isVirtual(self) -> bool: ...
  5682. def typeId(self) -> int: ...
  5683. def isBindable(self) -> bool: ...
  5684. def metaType(self) -> 'QMetaType': ...
  5685. def isRequired(self) -> bool: ...
  5686. def relativePropertyIndex(self) -> int: ...
  5687. def revision(self) -> int: ...
  5688. def isFinal(self) -> bool: ...
  5689. def isConstant(self) -> bool: ...
  5690. def propertyIndex(self) -> int: ...
  5691. def notifySignalIndex(self) -> int: ...
  5692. def notifySignal(self) -> QMetaMethod: ...
  5693. def hasNotifySignal(self) -> bool: ...
  5694. def userType(self) -> int: ...
  5695. def isUser(self) -> bool: ...
  5696. def isResettable(self) -> bool: ...
  5697. def isValid(self) -> bool: ...
  5698. def hasStdCppSet(self) -> bool: ...
  5699. def reset(self, obj: QObject|None) -> bool: ...
  5700. def write(self, obj: QObject|None, value: typing.Any) -> bool: ...
  5701. def read(self, obj: QObject|None) -> typing.Any: ...
  5702. def enumerator(self) -> QMetaEnum: ...
  5703. def isEnumType(self) -> bool: ...
  5704. def isFlagType(self) -> bool: ...
  5705. def isStored(self) -> bool: ...
  5706. def isScriptable(self) -> bool: ...
  5707. def isDesignable(self) -> bool: ...
  5708. def isWritable(self) -> bool: ...
  5709. def isReadable(self) -> bool: ...
  5710. def typeName(self) -> str: ...
  5711. def name(self) -> str: ...
  5712. class QMetaClassInfo(PyQt6.sip.simplewrapper):
  5713. @typing.overload
  5714. def __init__(self) -> None: ...
  5715. @typing.overload
  5716. def __init__(self, a0: 'QMetaClassInfo') -> None: ...
  5717. def value(self) -> str: ...
  5718. def name(self) -> str: ...
  5719. class QMetaType(PyQt6.sip.simplewrapper):
  5720. class TypeFlag(enum.Flag):
  5721. NeedsConstruction = ... # type: QMetaType.TypeFlag
  5722. NeedsDestruction = ... # type: QMetaType.TypeFlag
  5723. PointerToQObject = ... # type: QMetaType.TypeFlag
  5724. IsEnumeration = ... # type: QMetaType.TypeFlag
  5725. IsUnsignedEnumeration = ... # type: QMetaType.TypeFlag
  5726. IsPointer = ... # type: QMetaType.TypeFlag
  5727. RelocatableType = ... # type: QMetaType.TypeFlag
  5728. IsQmlList = ... # type: QMetaType.TypeFlag
  5729. IsConst = ... # type: QMetaType.TypeFlag
  5730. NeedsCopyConstruction = ... # type: QMetaType.TypeFlag
  5731. NeedsMoveConstruction = ... # type: QMetaType.TypeFlag
  5732. class Type(enum.Enum):
  5733. UnknownType = ... # type: QMetaType.Type
  5734. Void = ... # type: QMetaType.Type
  5735. Bool = ... # type: QMetaType.Type
  5736. Int = ... # type: QMetaType.Type
  5737. UInt = ... # type: QMetaType.Type
  5738. LongLong = ... # type: QMetaType.Type
  5739. ULongLong = ... # type: QMetaType.Type
  5740. Double = ... # type: QMetaType.Type
  5741. QChar = ... # type: QMetaType.Type
  5742. QVariantMap = ... # type: QMetaType.Type
  5743. QVariantList = ... # type: QMetaType.Type
  5744. QVariantHash = ... # type: QMetaType.Type
  5745. QString = ... # type: QMetaType.Type
  5746. QStringList = ... # type: QMetaType.Type
  5747. QByteArray = ... # type: QMetaType.Type
  5748. QBitArray = ... # type: QMetaType.Type
  5749. QDate = ... # type: QMetaType.Type
  5750. QTime = ... # type: QMetaType.Type
  5751. QDateTime = ... # type: QMetaType.Type
  5752. QUrl = ... # type: QMetaType.Type
  5753. QLocale = ... # type: QMetaType.Type
  5754. QRect = ... # type: QMetaType.Type
  5755. QRectF = ... # type: QMetaType.Type
  5756. QSize = ... # type: QMetaType.Type
  5757. QSizeF = ... # type: QMetaType.Type
  5758. QLine = ... # type: QMetaType.Type
  5759. QLineF = ... # type: QMetaType.Type
  5760. QPoint = ... # type: QMetaType.Type
  5761. QPointF = ... # type: QMetaType.Type
  5762. LastCoreType = ... # type: QMetaType.Type
  5763. FirstGuiType = ... # type: QMetaType.Type
  5764. QFont = ... # type: QMetaType.Type
  5765. QPixmap = ... # type: QMetaType.Type
  5766. QBrush = ... # type: QMetaType.Type
  5767. QColor = ... # type: QMetaType.Type
  5768. QPalette = ... # type: QMetaType.Type
  5769. QIcon = ... # type: QMetaType.Type
  5770. QImage = ... # type: QMetaType.Type
  5771. QPolygon = ... # type: QMetaType.Type
  5772. QRegion = ... # type: QMetaType.Type
  5773. QBitmap = ... # type: QMetaType.Type
  5774. QCursor = ... # type: QMetaType.Type
  5775. QSizePolicy = ... # type: QMetaType.Type
  5776. QKeySequence = ... # type: QMetaType.Type
  5777. QPen = ... # type: QMetaType.Type
  5778. QTextLength = ... # type: QMetaType.Type
  5779. QTextFormat = ... # type: QMetaType.Type
  5780. QTransform = ... # type: QMetaType.Type
  5781. VoidStar = ... # type: QMetaType.Type
  5782. Long = ... # type: QMetaType.Type
  5783. Short = ... # type: QMetaType.Type
  5784. Char = ... # type: QMetaType.Type
  5785. Char16 = ... # type: QMetaType.Type
  5786. Char32 = ... # type: QMetaType.Type
  5787. ULong = ... # type: QMetaType.Type
  5788. UShort = ... # type: QMetaType.Type
  5789. UChar = ... # type: QMetaType.Type
  5790. Float = ... # type: QMetaType.Type
  5791. Float16 = ... # type: QMetaType.Type
  5792. QObjectStar = ... # type: QMetaType.Type
  5793. QMatrix4x4 = ... # type: QMetaType.Type
  5794. QVector2D = ... # type: QMetaType.Type
  5795. QVector3D = ... # type: QMetaType.Type
  5796. QVector4D = ... # type: QMetaType.Type
  5797. QQuaternion = ... # type: QMetaType.Type
  5798. QEasingCurve = ... # type: QMetaType.Type
  5799. QVariant = ... # type: QMetaType.Type
  5800. QUuid = ... # type: QMetaType.Type
  5801. QModelIndex = ... # type: QMetaType.Type
  5802. QPolygonF = ... # type: QMetaType.Type
  5803. SChar = ... # type: QMetaType.Type
  5804. QRegularExpression = ... # type: QMetaType.Type
  5805. QJsonValue = ... # type: QMetaType.Type
  5806. QJsonObject = ... # type: QMetaType.Type
  5807. QJsonArray = ... # type: QMetaType.Type
  5808. QJsonDocument = ... # type: QMetaType.Type
  5809. QByteArrayList = ... # type: QMetaType.Type
  5810. QPersistentModelIndex = ... # type: QMetaType.Type
  5811. QCborSimpleType = ... # type: QMetaType.Type
  5812. QCborValue = ... # type: QMetaType.Type
  5813. QCborArray = ... # type: QMetaType.Type
  5814. QCborMap = ... # type: QMetaType.Type
  5815. QColorSpace = ... # type: QMetaType.Type
  5816. QVariantPair = ... # type: QMetaType.Type
  5817. User = ... # type: QMetaType.Type
  5818. @typing.overload
  5819. def __init__(self) -> None: ...
  5820. @typing.overload
  5821. def __init__(self, type: int) -> None: ...
  5822. def __eq__(self, other: object): ...
  5823. def __ne__(self, other: object): ...
  5824. def underlyingType(self) -> 'QMetaType': ...
  5825. def isDestructible(self) -> bool: ...
  5826. def isMoveConstructible(self) -> bool: ...
  5827. def isCopyConstructible(self) -> bool: ...
  5828. def isDefaultConstructible(self) -> bool: ...
  5829. def registerType(self) -> None: ...
  5830. def __hash__(self) -> int: ...
  5831. @staticmethod
  5832. def canView(fromType: 'QMetaType', toType: 'QMetaType') -> bool: ...
  5833. @staticmethod
  5834. def canConvert(fromType: 'QMetaType', toType: 'QMetaType') -> bool: ...
  5835. @staticmethod
  5836. def fromName(name: QByteArray|bytes|bytearray|memoryview) -> 'QMetaType': ...
  5837. def isOrdered(self) -> bool: ...
  5838. def isEqualityComparable(self) -> bool: ...
  5839. def alignOf(self) -> int: ...
  5840. def name(self) -> bytes: ...
  5841. def hasRegisteredDebugStreamOperator(self) -> bool: ...
  5842. def hasRegisteredDataStreamOperators(self) -> bool: ...
  5843. def id(self) -> int: ...
  5844. def isValid(self) -> bool: ...
  5845. def flags(self) -> 'QMetaType.TypeFlag': ...
  5846. def sizeOf(self) -> int: ...
  5847. @typing.overload
  5848. @staticmethod
  5849. def isRegistered(type: int) -> bool: ...
  5850. @typing.overload
  5851. def isRegistered(self) -> bool: ...
  5852. class QMimeData(QObject):
  5853. def __init__(self) -> None: ...
  5854. def retrieveData(self, mimetype: str|None, preferredType: QMetaType) -> typing.Any: ...
  5855. def removeFormat(self, mimetype: str|None) -> None: ...
  5856. def clear(self) -> None: ...
  5857. def formats(self) -> list[str]: ...
  5858. def hasFormat(self, mimetype: str|None) -> bool: ...
  5859. def setData(self, mimetype: str|None, data: QByteArray|bytes|bytearray|memoryview) -> None: ...
  5860. def data(self, mimetype: str|None) -> QByteArray: ...
  5861. def hasColor(self) -> bool: ...
  5862. def setColorData(self, color: typing.Any) -> None: ...
  5863. def colorData(self) -> typing.Any: ...
  5864. def hasImage(self) -> bool: ...
  5865. def setImageData(self, image: typing.Any) -> None: ...
  5866. def imageData(self) -> typing.Any: ...
  5867. def hasHtml(self) -> bool: ...
  5868. def setHtml(self, html: str|None) -> None: ...
  5869. def html(self) -> str: ...
  5870. def hasText(self) -> bool: ...
  5871. def setText(self, text: str|None) -> None: ...
  5872. def text(self) -> str: ...
  5873. def hasUrls(self) -> bool: ...
  5874. def setUrls(self, urls: collections.abc.Iterable['QUrl']) -> None: ...
  5875. def urls(self) -> list['QUrl']: ...
  5876. class QMimeDatabase(PyQt6.sip.simplewrapper):
  5877. class MatchMode(enum.Enum):
  5878. MatchDefault = ... # type: QMimeDatabase.MatchMode
  5879. MatchExtension = ... # type: QMimeDatabase.MatchMode
  5880. MatchContent = ... # type: QMimeDatabase.MatchMode
  5881. def __init__(self) -> None: ...
  5882. def allMimeTypes(self) -> list['QMimeType']: ...
  5883. def suffixForFileName(self, fileName: str|None) -> str: ...
  5884. @typing.overload
  5885. def mimeTypeForFileNameAndData(self, fileName: str|None, device: QIODevice|None) -> 'QMimeType': ...
  5886. @typing.overload
  5887. def mimeTypeForFileNameAndData(self, fileName: str|None, data: QByteArray|bytes|bytearray|memoryview) -> 'QMimeType': ...
  5888. def mimeTypeForUrl(self, url: 'QUrl') -> 'QMimeType': ...
  5889. @typing.overload
  5890. def mimeTypeForData(self, data: QByteArray|bytes|bytearray|memoryview) -> 'QMimeType': ...
  5891. @typing.overload
  5892. def mimeTypeForData(self, device: QIODevice|None) -> 'QMimeType': ...
  5893. def mimeTypesForFileName(self, fileName: str|None) -> list['QMimeType']: ...
  5894. @typing.overload
  5895. def mimeTypeForFile(self, fileName: str|None, mode: 'QMimeDatabase.MatchMode' = ...) -> 'QMimeType': ...
  5896. @typing.overload
  5897. def mimeTypeForFile(self, fileInfo: QFileInfo, mode: 'QMimeDatabase.MatchMode' = ...) -> 'QMimeType': ...
  5898. def mimeTypeForName(self, nameOrAlias: str|None) -> 'QMimeType': ...
  5899. class QMimeType(PyQt6.sip.simplewrapper):
  5900. @typing.overload
  5901. def __init__(self) -> None: ...
  5902. @typing.overload
  5903. def __init__(self, other: 'QMimeType') -> None: ...
  5904. def __eq__(self, other: object): ...
  5905. def __ne__(self, other: object): ...
  5906. def __hash__(self) -> int: ...
  5907. def filterString(self) -> str: ...
  5908. def inherits(self, mimeTypeName: str|None) -> bool: ...
  5909. def preferredSuffix(self) -> str: ...
  5910. def suffixes(self) -> list[str]: ...
  5911. def aliases(self) -> list[str]: ...
  5912. def allAncestors(self) -> list[str]: ...
  5913. def parentMimeTypes(self) -> list[str]: ...
  5914. def globPatterns(self) -> list[str]: ...
  5915. def iconName(self) -> str: ...
  5916. def genericIconName(self) -> str: ...
  5917. def comment(self) -> str: ...
  5918. def name(self) -> str: ...
  5919. def isDefault(self) -> bool: ...
  5920. def isValid(self) -> bool: ...
  5921. def swap(self, other: 'QMimeType') -> None: ...
  5922. class QMutex(PyQt6.sip.simplewrapper):
  5923. def __init__(self) -> None: ...
  5924. def unlock(self) -> None: ...
  5925. @typing.overload
  5926. def tryLock(self) -> bool: ...
  5927. @typing.overload
  5928. def tryLock(self, timeout: QDeadlineTimer) -> bool: ...
  5929. @typing.overload
  5930. def tryLock(self, timeout: int) -> bool: ...
  5931. def lock(self) -> None: ...
  5932. class QRecursiveMutex(PyQt6.sip.simplewrapper):
  5933. def __init__(self) -> None: ...
  5934. def unlock(self) -> None: ...
  5935. @typing.overload
  5936. def tryLock(self, a0: QDeadlineTimer) -> bool: ...
  5937. @typing.overload
  5938. def tryLock(self, timeout: int = ...) -> bool: ...
  5939. def lock(self) -> None: ...
  5940. class QSignalBlocker(PyQt6.sip.simplewrapper):
  5941. def __init__(self, o: QObject|None) -> None: ...
  5942. def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ...
  5943. def __enter__(self) -> typing.Any: ...
  5944. def unblock(self) -> None: ...
  5945. def reblock(self) -> None: ...
  5946. def dismiss(self) -> None: ...
  5947. class QObjectCleanupHandler(QObject):
  5948. def __init__(self) -> None: ...
  5949. def clear(self) -> None: ...
  5950. def isEmpty(self) -> bool: ...
  5951. def remove(self, object: QObject|None) -> None: ...
  5952. def add(self, object: QObject|None) -> QObject|None: ...
  5953. class QMetaObject(PyQt6.sip.simplewrapper):
  5954. class Connection(PyQt6.sip.simplewrapper):
  5955. @typing.overload
  5956. def __init__(self) -> None: ...
  5957. @typing.overload
  5958. def __init__(self, other: 'QMetaObject.Connection') -> None: ...
  5959. def swap(self, o: 'QMetaObject.Connection') -> None: ...
  5960. @typing.overload
  5961. def __init__(self) -> None: ...
  5962. @typing.overload
  5963. def __init__(self, a0: 'QMetaObject') -> None: ...
  5964. def inherits(self, metaObject: 'QMetaObject|None') -> bool: ...
  5965. def constructor(self, index: int) -> QMetaMethod: ...
  5966. def indexOfConstructor(self, constructor: str) -> int: ...
  5967. def constructorCount(self) -> int: ...
  5968. def newInstance(self, value0: 'QGenericArgument', value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> QObject|None: ...
  5969. @typing.overload
  5970. @staticmethod
  5971. def invokeMethod(obj: QObject|None, member: str, a2: Qt.ConnectionType, ret: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5972. @typing.overload
  5973. @staticmethod
  5974. def invokeMethod(obj: QObject|None, member: str, ret: 'QGenericReturnArgument', value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5975. @typing.overload
  5976. @staticmethod
  5977. def invokeMethod(obj: QObject|None, member: str, type: Qt.ConnectionType, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5978. @typing.overload
  5979. @staticmethod
  5980. def invokeMethod(obj: QObject|None, member: str, value0: 'QGenericArgument' = ..., value1: 'QGenericArgument' = ..., value2: 'QGenericArgument' = ..., value3: 'QGenericArgument' = ..., value4: 'QGenericArgument' = ..., value5: 'QGenericArgument' = ..., value6: 'QGenericArgument' = ..., value7: 'QGenericArgument' = ..., value8: 'QGenericArgument' = ..., value9: 'QGenericArgument' = ...) -> typing.Any: ...
  5981. @staticmethod
  5982. def normalizedType(type: str) -> QByteArray: ...
  5983. @staticmethod
  5984. def normalizedSignature(method: str) -> QByteArray: ...
  5985. @staticmethod
  5986. def connectSlotsByName(o: QObject|None) -> None: ...
  5987. @typing.overload
  5988. @staticmethod
  5989. def checkConnectArgs(signal: str, method: str) -> bool: ...
  5990. @typing.overload
  5991. @staticmethod
  5992. def checkConnectArgs(signal: QMetaMethod, method: QMetaMethod) -> bool: ...
  5993. def classInfo(self, index: int) -> QMetaClassInfo: ...
  5994. def property(self, index: int) -> QMetaProperty: ...
  5995. def enumerator(self, index: int) -> QMetaEnum: ...
  5996. def method(self, index: int) -> QMetaMethod: ...
  5997. def indexOfClassInfo(self, name: str) -> int: ...
  5998. def indexOfProperty(self, name: str) -> int: ...
  5999. def indexOfEnumerator(self, name: str) -> int: ...
  6000. def indexOfSlot(self, slot: str) -> int: ...
  6001. def indexOfSignal(self, signal: str) -> int: ...
  6002. def indexOfMethod(self, method: str) -> int: ...
  6003. def classInfoCount(self) -> int: ...
  6004. def propertyCount(self) -> int: ...
  6005. def enumeratorCount(self) -> int: ...
  6006. def methodCount(self) -> int: ...
  6007. def classInfoOffset(self) -> int: ...
  6008. def propertyOffset(self) -> int: ...
  6009. def enumeratorOffset(self) -> int: ...
  6010. def methodOffset(self) -> int: ...
  6011. def userProperty(self) -> QMetaProperty: ...
  6012. def superClass(self) -> 'QMetaObject|None': ...
  6013. def className(self) -> str: ...
  6014. def metaType(self) -> QMetaType: ...
  6015. class QGenericArgument(PyQt6.sip.simplewrapper): ...
  6016. class QGenericReturnArgument(PyQt6.sip.simplewrapper): ...
  6017. class QOperatingSystemVersionBase(PyQt6.sip.simplewrapper):
  6018. @typing.overload
  6019. def __init__(self) -> None: ...
  6020. @typing.overload
  6021. def __init__(self, a0: 'QOperatingSystemVersionBase') -> None: ...
  6022. def __ge__(self, rhs: 'QOperatingSystemVersionBase') -> bool: ...
  6023. def __le__(self, rhs: 'QOperatingSystemVersionBase') -> bool: ...
  6024. def __gt__(self, rhs: 'QOperatingSystemVersionBase') -> bool: ...
  6025. def __lt__(self, rhs: 'QOperatingSystemVersionBase') -> bool: ...
  6026. def name(self) -> str: ...
  6027. def segmentCount(self) -> int: ...
  6028. def microVersion(self) -> int: ...
  6029. def minorVersion(self) -> int: ...
  6030. def majorVersion(self) -> int: ...
  6031. def version(self) -> 'QVersionNumber': ...
  6032. class QOperatingSystemVersion(QOperatingSystemVersionBase):
  6033. class OSType(enum.Enum):
  6034. Unknown = ... # type: QOperatingSystemVersion.OSType
  6035. Windows = ... # type: QOperatingSystemVersion.OSType
  6036. MacOS = ... # type: QOperatingSystemVersion.OSType
  6037. IOS = ... # type: QOperatingSystemVersion.OSType
  6038. TvOS = ... # type: QOperatingSystemVersion.OSType
  6039. WatchOS = ... # type: QOperatingSystemVersion.OSType
  6040. Android = ... # type: QOperatingSystemVersion.OSType
  6041. Android10 = ... # type: 'QOperatingSystemVersion'
  6042. Android11 = ... # type: 'QOperatingSystemVersion'
  6043. Android12 = ... # type: QOperatingSystemVersionBase
  6044. Android12L = ... # type: QOperatingSystemVersionBase
  6045. Android13 = ... # type: QOperatingSystemVersionBase
  6046. AndroidJellyBean = ... # type: 'QOperatingSystemVersion'
  6047. AndroidJellyBean_MR1 = ... # type: 'QOperatingSystemVersion'
  6048. AndroidJellyBean_MR2 = ... # type: 'QOperatingSystemVersion'
  6049. AndroidKitKat = ... # type: 'QOperatingSystemVersion'
  6050. AndroidLollipop = ... # type: 'QOperatingSystemVersion'
  6051. AndroidLollipop_MR1 = ... # type: 'QOperatingSystemVersion'
  6052. AndroidMarshmallow = ... # type: 'QOperatingSystemVersion'
  6053. AndroidNougat = ... # type: 'QOperatingSystemVersion'
  6054. AndroidNougat_MR1 = ... # type: 'QOperatingSystemVersion'
  6055. AndroidOreo = ... # type: 'QOperatingSystemVersion'
  6056. AndroidOreo_MR1 = ... # type: 'QOperatingSystemVersion'
  6057. AndroidPie = ... # type: 'QOperatingSystemVersion'
  6058. MacOSBigSur = ... # type: 'QOperatingSystemVersion'
  6059. MacOSCatalina = ... # type: 'QOperatingSystemVersion'
  6060. MacOSHighSierra = ... # type: 'QOperatingSystemVersion'
  6061. MacOSMojave = ... # type: 'QOperatingSystemVersion'
  6062. MacOSMonterey = ... # type: 'QOperatingSystemVersion'
  6063. MacOSSierra = ... # type: 'QOperatingSystemVersion'
  6064. MacOSSonoma = ... # type: QOperatingSystemVersionBase
  6065. MacOSVentura = ... # type: QOperatingSystemVersionBase
  6066. OSXElCapitan = ... # type: 'QOperatingSystemVersion'
  6067. OSXMavericks = ... # type: 'QOperatingSystemVersion'
  6068. OSXYosemite = ... # type: 'QOperatingSystemVersion'
  6069. Windows10 = ... # type: 'QOperatingSystemVersion'
  6070. Windows10_1809 = ... # type: QOperatingSystemVersionBase
  6071. Windows10_1903 = ... # type: QOperatingSystemVersionBase
  6072. Windows10_1909 = ... # type: QOperatingSystemVersionBase
  6073. Windows10_2004 = ... # type: QOperatingSystemVersionBase
  6074. Windows10_20H2 = ... # type: QOperatingSystemVersionBase
  6075. Windows10_21H1 = ... # type: QOperatingSystemVersionBase
  6076. Windows10_21H2 = ... # type: QOperatingSystemVersionBase
  6077. Windows10_22H2 = ... # type: QOperatingSystemVersionBase
  6078. Windows11 = ... # type: QOperatingSystemVersionBase
  6079. Windows11_21H2 = ... # type: QOperatingSystemVersionBase
  6080. Windows11_22H2 = ... # type: QOperatingSystemVersionBase
  6081. Windows7 = ... # type: 'QOperatingSystemVersion'
  6082. Windows8 = ... # type: 'QOperatingSystemVersion'
  6083. Windows8_1 = ... # type: 'QOperatingSystemVersion'
  6084. @typing.overload
  6085. def __init__(self, osType: 'QOperatingSystemVersion.OSType', vmajor: int, vminor: int = ..., vmicro: int = ...) -> None: ...
  6086. @typing.overload
  6087. def __init__(self, a0: 'QOperatingSystemVersion') -> None: ...
  6088. def type(self) -> 'QOperatingSystemVersion.OSType': ...
  6089. @staticmethod
  6090. def currentType() -> 'QOperatingSystemVersion.OSType': ...
  6091. @staticmethod
  6092. def current() -> 'QOperatingSystemVersion': ...
  6093. class QParallelAnimationGroup(QAnimationGroup):
  6094. def __init__(self, parent: QObject|None = ...) -> None: ...
  6095. def updateDirection(self, direction: QAbstractAnimation.Direction) -> None: ...
  6096. def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ...
  6097. def updateCurrentTime(self, currentTime: int) -> None: ...
  6098. def event(self, event: QEvent|None) -> bool: ...
  6099. def duration(self) -> int: ...
  6100. class QPauseAnimation(QAbstractAnimation):
  6101. @typing.overload
  6102. def __init__(self, parent: QObject|None = ...) -> None: ...
  6103. @typing.overload
  6104. def __init__(self, msecs: int, parent: QObject|None = ...) -> None: ...
  6105. def updateCurrentTime(self, a0: int) -> None: ...
  6106. def event(self, e: QEvent|None) -> bool: ...
  6107. def setDuration(self, msecs: int) -> None: ...
  6108. def duration(self) -> int: ...
  6109. class QPermission(PyQt6.sip.simplewrapper):
  6110. @typing.overload
  6111. def __init__(self) -> None: ...
  6112. @typing.overload
  6113. def __init__(self, a0: 'QPermission') -> None: ...
  6114. def value(self) -> typing.Any: ...
  6115. def type(self) -> QMetaType: ...
  6116. def status(self) -> Qt.PermissionStatus: ...
  6117. class QLocationPermission(PyQt6.sip.simplewrapper):
  6118. class Availability(enum.Enum):
  6119. WhenInUse = ... # type: QLocationPermission.Availability
  6120. Always = ... # type: QLocationPermission.Availability
  6121. class Accuracy(enum.Enum):
  6122. Approximate = ... # type: QLocationPermission.Accuracy
  6123. Precise = ... # type: QLocationPermission.Accuracy
  6124. @typing.overload
  6125. def __init__(self) -> None: ...
  6126. @typing.overload
  6127. def __init__(self, other: 'QLocationPermission') -> None: ...
  6128. def availability(self) -> 'QLocationPermission.Availability': ...
  6129. def setAvailability(self, availability: 'QLocationPermission.Availability') -> None: ...
  6130. def accuracy(self) -> 'QLocationPermission.Accuracy': ...
  6131. def setAccuracy(self, accuracy: 'QLocationPermission.Accuracy') -> None: ...
  6132. class QCalendarPermission(PyQt6.sip.simplewrapper):
  6133. class AccessMode(enum.Enum):
  6134. ReadOnly = ... # type: QCalendarPermission.AccessMode
  6135. ReadWrite = ... # type: QCalendarPermission.AccessMode
  6136. @typing.overload
  6137. def __init__(self) -> None: ...
  6138. @typing.overload
  6139. def __init__(self, other: 'QCalendarPermission') -> None: ...
  6140. def accessMode(self) -> 'QCalendarPermission.AccessMode': ...
  6141. def setAccessMode(self, mode: 'QCalendarPermission.AccessMode') -> None: ...
  6142. class QContactsPermission(PyQt6.sip.simplewrapper):
  6143. class AccessMode(enum.Enum):
  6144. ReadOnly = ... # type: QContactsPermission.AccessMode
  6145. ReadWrite = ... # type: QContactsPermission.AccessMode
  6146. @typing.overload
  6147. def __init__(self) -> None: ...
  6148. @typing.overload
  6149. def __init__(self, other: 'QContactsPermission') -> None: ...
  6150. def accessMode(self) -> 'QContactsPermission.AccessMode': ...
  6151. def setAccessMode(self, mode: 'QContactsPermission.AccessMode') -> None: ...
  6152. class QCameraPermission(PyQt6.sip.simplewrapper):
  6153. @typing.overload
  6154. def __init__(self) -> None: ...
  6155. @typing.overload
  6156. def __init__(self, other: 'QCameraPermission') -> None: ...
  6157. class QMicrophonePermission(PyQt6.sip.simplewrapper):
  6158. @typing.overload
  6159. def __init__(self) -> None: ...
  6160. @typing.overload
  6161. def __init__(self, other: 'QMicrophonePermission') -> None: ...
  6162. class QBluetoothPermission(PyQt6.sip.simplewrapper):
  6163. class CommunicationMode(enum.Enum):
  6164. Access = ... # type: QBluetoothPermission.CommunicationMode
  6165. Advertise = ... # type: QBluetoothPermission.CommunicationMode
  6166. Default = ... # type: QBluetoothPermission.CommunicationMode
  6167. @typing.overload
  6168. def __init__(self) -> None: ...
  6169. @typing.overload
  6170. def __init__(self, other: 'QBluetoothPermission') -> None: ...
  6171. def communicationModes(self) -> 'QBluetoothPermission.CommunicationMode': ...
  6172. def setCommunicationModes(self, modes: 'QBluetoothPermission.CommunicationMode') -> None: ...
  6173. class QVariantAnimation(QAbstractAnimation):
  6174. def __init__(self, parent: QObject|None = ...) -> None: ...
  6175. def interpolated(self, from_: typing.Any, to: typing.Any, progress: float) -> typing.Any: ...
  6176. def updateCurrentValue(self, value: typing.Any) -> None: ...
  6177. def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ...
  6178. def updateCurrentTime(self, a0: int) -> None: ...
  6179. def event(self, event: QEvent|None) -> bool: ...
  6180. valueChanged: typing.ClassVar[pyqtSignal]
  6181. def setEasingCurve(self, easing: QEasingCurve|QEasingCurve.Type) -> None: ...
  6182. def easingCurve(self) -> QEasingCurve: ...
  6183. def setDuration(self, msecs: int) -> None: ...
  6184. def duration(self) -> int: ...
  6185. def currentValue(self) -> typing.Any: ...
  6186. def setKeyValues(self, values: collections.abc.Iterable[tuple[float, typing.Any]]) -> None: ...
  6187. def keyValues(self) -> list[tuple[float, typing.Any]]: ...
  6188. def setKeyValueAt(self, step: float, value: typing.Any) -> None: ...
  6189. def keyValueAt(self, step: float) -> typing.Any: ...
  6190. def setEndValue(self, value: typing.Any) -> None: ...
  6191. def endValue(self) -> typing.Any: ...
  6192. def setStartValue(self, value: typing.Any) -> None: ...
  6193. def startValue(self) -> typing.Any: ...
  6194. class QPropertyAnimation(QVariantAnimation):
  6195. @typing.overload
  6196. def __init__(self, parent: QObject|None = ...) -> None: ...
  6197. @typing.overload
  6198. def __init__(self, target: QObject|None, propertyName: QByteArray|bytes|bytearray|memoryview, parent: QObject|None = ...) -> None: ...
  6199. def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ...
  6200. def updateCurrentValue(self, value: typing.Any) -> None: ...
  6201. def event(self, event: QEvent|None) -> bool: ...
  6202. def setPropertyName(self, propertyName: QByteArray|bytes|bytearray|memoryview) -> None: ...
  6203. def propertyName(self) -> QByteArray: ...
  6204. def setTargetObject(self, target: QObject|None) -> None: ...
  6205. def targetObject(self) -> QObject|None: ...
  6206. class QPluginLoader(QObject):
  6207. @typing.overload
  6208. def __init__(self, parent: QObject|None = ...) -> None: ...
  6209. @typing.overload
  6210. def __init__(self, fileName: str|None, parent: QObject|None = ...) -> None: ...
  6211. def loadHints(self) -> QLibrary.LoadHint: ...
  6212. def setLoadHints(self, loadHints: QLibrary.LoadHint) -> None: ...
  6213. def errorString(self) -> str: ...
  6214. def fileName(self) -> str: ...
  6215. def setFileName(self, fileName: str|None) -> None: ...
  6216. def isLoaded(self) -> bool: ...
  6217. def unload(self) -> bool: ...
  6218. def load(self) -> bool: ...
  6219. @staticmethod
  6220. def staticInstances() -> list[QObject]: ...
  6221. def instance(self) -> QObject|None: ...
  6222. class QPoint(PyQt6.sip.simplewrapper):
  6223. @typing.overload
  6224. def __init__(self) -> None: ...
  6225. @typing.overload
  6226. def __init__(self, xpos: int, ypos: int) -> None: ...
  6227. @typing.overload
  6228. def __init__(self, a0: 'QPoint') -> None: ...
  6229. def __eq__(self, other: object): ...
  6230. def __ne__(self, other: object): ...
  6231. def __add__(self, p2: 'QPoint') -> 'QPoint': ...
  6232. def __sub__(self, p2: 'QPoint') -> 'QPoint': ...
  6233. @typing.overload
  6234. def __mul__(self, factor: int) -> 'QPoint': ...
  6235. @typing.overload
  6236. def __mul__(self, factor: float) -> 'QPoint': ...
  6237. @typing.overload
  6238. def __rmul__(self, factor: int) -> 'QPoint': ...
  6239. @typing.overload
  6240. def __rmul__(self, factor: float) -> 'QPoint': ...
  6241. def __truediv__(self, c: float) -> 'QPoint': ...
  6242. def __pos__(self) -> 'QPoint': ...
  6243. def __neg__(self) -> 'QPoint': ...
  6244. def toPointF(self) -> 'QPointF': ...
  6245. def transposed(self) -> 'QPoint': ...
  6246. @staticmethod
  6247. def dotProduct(p1: 'QPoint', p2: 'QPoint') -> int: ...
  6248. def __itruediv__(self, c: float) -> 'QPoint': ...
  6249. @typing.overload
  6250. def __imul__(self, c: int) -> 'QPoint': ...
  6251. @typing.overload
  6252. def __imul__(self, c: float) -> 'QPoint': ...
  6253. def __isub__(self, p: 'QPoint') -> 'QPoint': ...
  6254. def __iadd__(self, p: 'QPoint') -> 'QPoint': ...
  6255. def setY(self, ypos: int) -> None: ...
  6256. def setX(self, xpos: int) -> None: ...
  6257. def y(self) -> int: ...
  6258. def x(self) -> int: ...
  6259. def __hash__(self) -> int: ...
  6260. def __bool__(self) -> int: ...
  6261. def isNull(self) -> bool: ...
  6262. def __repr__(self) -> str: ...
  6263. def manhattanLength(self) -> int: ...
  6264. class QPointF(PyQt6.sip.simplewrapper):
  6265. @typing.overload
  6266. def __init__(self) -> None: ...
  6267. @typing.overload
  6268. def __init__(self, xpos: float, ypos: float) -> None: ...
  6269. @typing.overload
  6270. def __init__(self, p: QPoint) -> None: ...
  6271. @typing.overload
  6272. def __init__(self, a0: 'QPointF') -> None: ...
  6273. def __eq__(self, other: object): ...
  6274. def __ne__(self, other: object): ...
  6275. def __add__(self, p2: 'QPointF') -> 'QPointF': ...
  6276. def __sub__(self, p2: 'QPointF') -> 'QPointF': ...
  6277. def __mul__(self, c: float) -> 'QPointF': ...
  6278. def __rmul__(self, c: float) -> 'QPointF': ...
  6279. def __truediv__(self, divisor: float) -> 'QPointF': ...
  6280. def __pos__(self) -> 'QPointF': ...
  6281. def __neg__(self) -> 'QPointF': ...
  6282. def transposed(self) -> 'QPointF': ...
  6283. @staticmethod
  6284. def dotProduct(p1: 'QPointF', p2: 'QPointF') -> float: ...
  6285. def manhattanLength(self) -> float: ...
  6286. def toPoint(self) -> QPoint: ...
  6287. def __itruediv__(self, c: float) -> 'QPointF': ...
  6288. def __imul__(self, c: float) -> 'QPointF': ...
  6289. def __isub__(self, p: 'QPointF') -> 'QPointF': ...
  6290. def __iadd__(self, p: 'QPointF') -> 'QPointF': ...
  6291. def setY(self, ypos: float) -> None: ...
  6292. def setX(self, xpos: float) -> None: ...
  6293. def y(self) -> float: ...
  6294. def x(self) -> float: ...
  6295. def __bool__(self) -> int: ...
  6296. def isNull(self) -> bool: ...
  6297. def __repr__(self) -> str: ...
  6298. class QProcess(QIODevice):
  6299. class InputChannelMode(enum.Enum):
  6300. ManagedInputChannel = ... # type: QProcess.InputChannelMode
  6301. ForwardedInputChannel = ... # type: QProcess.InputChannelMode
  6302. class ProcessChannelMode(enum.Enum):
  6303. SeparateChannels = ... # type: QProcess.ProcessChannelMode
  6304. MergedChannels = ... # type: QProcess.ProcessChannelMode
  6305. ForwardedChannels = ... # type: QProcess.ProcessChannelMode
  6306. ForwardedOutputChannel = ... # type: QProcess.ProcessChannelMode
  6307. ForwardedErrorChannel = ... # type: QProcess.ProcessChannelMode
  6308. class ProcessChannel(enum.Enum):
  6309. StandardOutput = ... # type: QProcess.ProcessChannel
  6310. StandardError = ... # type: QProcess.ProcessChannel
  6311. class ProcessState(enum.Enum):
  6312. NotRunning = ... # type: QProcess.ProcessState
  6313. Starting = ... # type: QProcess.ProcessState
  6314. Running = ... # type: QProcess.ProcessState
  6315. class ProcessError(enum.Enum):
  6316. FailedToStart = ... # type: QProcess.ProcessError
  6317. Crashed = ... # type: QProcess.ProcessError
  6318. Timedout = ... # type: QProcess.ProcessError
  6319. ReadError = ... # type: QProcess.ProcessError
  6320. WriteError = ... # type: QProcess.ProcessError
  6321. UnknownError = ... # type: QProcess.ProcessError
  6322. class ExitStatus(enum.Enum):
  6323. NormalExit = ... # type: QProcess.ExitStatus
  6324. CrashExit = ... # type: QProcess.ExitStatus
  6325. def __init__(self, parent: QObject|None = ...) -> None: ...
  6326. def processId(self) -> int: ...
  6327. @staticmethod
  6328. def nullDevice() -> str: ...
  6329. def setInputChannelMode(self, mode: 'QProcess.InputChannelMode') -> None: ...
  6330. def inputChannelMode(self) -> 'QProcess.InputChannelMode': ...
  6331. def open(self, mode: QIODeviceBase.OpenModeFlag = ...) -> bool: ...
  6332. def nativeArguments(self) -> str: ...
  6333. def setNativeArguments(self, arguments: str|None) -> None: ...
  6334. def setArguments(self, arguments: collections.abc.Iterable[str|None]) -> None: ...
  6335. def arguments(self) -> list[str]: ...
  6336. def setProgram(self, program: str|None) -> None: ...
  6337. def program(self) -> str: ...
  6338. def processEnvironment(self) -> 'QProcessEnvironment': ...
  6339. def setProcessEnvironment(self, environment: 'QProcessEnvironment') -> None: ...
  6340. def writeData(self, a0: PyQt6.sip.Buffer) -> int: ...
  6341. def readData(self, maxlen: int) -> bytes: ...
  6342. def setProcessState(self, state: 'QProcess.ProcessState') -> None: ...
  6343. errorOccurred: typing.ClassVar[pyqtSignal]
  6344. readyReadStandardError: typing.ClassVar[pyqtSignal]
  6345. readyReadStandardOutput: typing.ClassVar[pyqtSignal]
  6346. stateChanged: typing.ClassVar[pyqtSignal]
  6347. finished: typing.ClassVar[pyqtSignal]
  6348. started: typing.ClassVar[pyqtSignal]
  6349. def kill(self) -> None: ...
  6350. def terminate(self) -> None: ...
  6351. def setStandardOutputProcess(self, destination: 'QProcess|None') -> None: ...
  6352. def setStandardErrorFile(self, fileName: str|None, mode: QIODeviceBase.OpenModeFlag = ...) -> None: ...
  6353. def setStandardOutputFile(self, fileName: str|None, mode: QIODeviceBase.OpenModeFlag = ...) -> None: ...
  6354. def setStandardInputFile(self, fileName: str|None) -> None: ...
  6355. def setProcessChannelMode(self, mode: 'QProcess.ProcessChannelMode') -> None: ...
  6356. def processChannelMode(self) -> 'QProcess.ProcessChannelMode': ...
  6357. @staticmethod
  6358. def systemEnvironment() -> list[str]: ...
  6359. @typing.overload
  6360. @staticmethod
  6361. def startDetached(program: str|None, arguments: collections.abc.Iterable[str|None] = ..., workingDirectory: str|None = ...) -> typing.Tuple[bool, int]: ...
  6362. @typing.overload
  6363. def startDetached(self) -> typing.Tuple[bool, int]: ...
  6364. @staticmethod
  6365. def execute(program: str|None, arguments: collections.abc.Iterable[str|None] = ...) -> int: ...
  6366. def close(self) -> None: ...
  6367. def isSequential(self) -> bool: ...
  6368. def bytesToWrite(self) -> int: ...
  6369. def exitStatus(self) -> 'QProcess.ExitStatus': ...
  6370. def exitCode(self) -> int: ...
  6371. def readAllStandardError(self) -> QByteArray: ...
  6372. def readAllStandardOutput(self) -> QByteArray: ...
  6373. def waitForFinished(self, msecs: int = ...) -> bool: ...
  6374. def waitForBytesWritten(self, msecs: int = ...) -> bool: ...
  6375. def waitForReadyRead(self, msecs: int = ...) -> bool: ...
  6376. def waitForStarted(self, msecs: int = ...) -> bool: ...
  6377. def state(self) -> 'QProcess.ProcessState': ...
  6378. def error(self) -> 'QProcess.ProcessError': ...
  6379. def setWorkingDirectory(self, dir: str|None) -> None: ...
  6380. def workingDirectory(self) -> str: ...
  6381. def closeWriteChannel(self) -> None: ...
  6382. def closeReadChannel(self, channel: 'QProcess.ProcessChannel') -> None: ...
  6383. def setReadChannel(self, channel: 'QProcess.ProcessChannel') -> None: ...
  6384. def readChannel(self) -> 'QProcess.ProcessChannel': ...
  6385. def startCommand(self, command: str|None, mode: QIODeviceBase.OpenModeFlag = ...) -> None: ...
  6386. @typing.overload
  6387. def start(self, program: str|None, arguments: collections.abc.Iterable[str|None] = ..., mode: QIODeviceBase.OpenModeFlag = ...) -> None: ...
  6388. @typing.overload
  6389. def start(self, mode: QIODeviceBase.OpenModeFlag = ...) -> None: ...
  6390. class QProcessEnvironment(PyQt6.sip.simplewrapper):
  6391. class Initialization(enum.Enum):
  6392. InheritFromParent = ... # type: QProcessEnvironment.Initialization
  6393. @typing.overload
  6394. def __init__(self, a0: 'QProcessEnvironment.Initialization') -> None: ...
  6395. @typing.overload
  6396. def __init__(self) -> None: ...
  6397. @typing.overload
  6398. def __init__(self, other: 'QProcessEnvironment') -> None: ...
  6399. def __eq__(self, other: object): ...
  6400. def __ne__(self, other: object): ...
  6401. def inheritsFromParent(self) -> bool: ...
  6402. def swap(self, other: 'QProcessEnvironment') -> None: ...
  6403. def keys(self) -> list[str]: ...
  6404. @staticmethod
  6405. def systemEnvironment() -> 'QProcessEnvironment': ...
  6406. def toStringList(self) -> list[str]: ...
  6407. def value(self, name: str|None, defaultValue: str|None = ...) -> str: ...
  6408. def remove(self, name: str|None) -> None: ...
  6409. @typing.overload
  6410. def insert(self, name: str|None, value: str|None) -> None: ...
  6411. @typing.overload
  6412. def insert(self, e: 'QProcessEnvironment') -> None: ...
  6413. def contains(self, name: str|None) -> bool: ...
  6414. def clear(self) -> None: ...
  6415. def isEmpty(self) -> bool: ...
  6416. class QRandomGenerator(PyQt6.sip.simplewrapper):
  6417. @typing.overload
  6418. def __init__(self, seed: int = ...) -> None: ...
  6419. @typing.overload
  6420. def __init__(self, other: 'QRandomGenerator') -> None: ...
  6421. def __eq__(self, other: object): ...
  6422. def __ne__(self, other: object): ...
  6423. @staticmethod
  6424. def securelySeeded() -> 'QRandomGenerator': ...
  6425. @staticmethod
  6426. def global_() -> 'QRandomGenerator|None': ...
  6427. @staticmethod
  6428. def system() -> 'QRandomGenerator|None': ...
  6429. @staticmethod
  6430. def max() -> int: ...
  6431. @staticmethod
  6432. def min() -> int: ...
  6433. def discard(self, z: int) -> None: ...
  6434. def seed(self, seed: int = ...) -> None: ...
  6435. def __call__(self) -> int: ...
  6436. @typing.overload
  6437. def bounded(self, highest: float) -> float: ...
  6438. @typing.overload
  6439. def bounded(self, lowest: int, highest: int) -> int: ...
  6440. @typing.overload
  6441. def bounded(self, highest: int) -> int: ...
  6442. def generateDouble(self) -> float: ...
  6443. def generate64(self) -> int: ...
  6444. def generate(self) -> int: ...
  6445. class QRangeModel(QAbstractItemModel):
  6446. class AutoConnectPolicy(enum.Enum):
  6447. None_ = ... # type: QRangeModel.AutoConnectPolicy
  6448. Full = ... # type: QRangeModel.AutoConnectPolicy
  6449. OnRead = ... # type: QRangeModel.AutoConnectPolicy
  6450. def __init__(self, range: 'QPyAbstractRange|None', parent: QObject|None = ...) -> None: ...
  6451. autoConnectPolicyChanged: typing.ClassVar[pyqtSignal]
  6452. def setAutoConnectPolicy(self, policy: 'QRangeModel.AutoConnectPolicy') -> None: ...
  6453. def autoConnectPolicy(self) -> 'QRangeModel.AutoConnectPolicy': ...
  6454. def eventFilter(self, a0: QObject|None, a1: QEvent|None) -> bool: ...
  6455. def event(self, a0: QEvent|None) -> bool: ...
  6456. def resetInternalData(self) -> None: ...
  6457. roleNamesChanged: typing.ClassVar[pyqtSignal]
  6458. def supportedDropActions(self) -> Qt.DropAction: ...
  6459. def supportedDragActions(self) -> Qt.DropAction: ...
  6460. def span(self, index: QModelIndex) -> 'QSize': ...
  6461. def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ...
  6462. def multiData(self, index: QModelIndex, roleDataSpan: QModelRoleDataSpan) -> None: ...
  6463. def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int, flags: Qt.MatchFlag) -> list[QModelIndex]: ...
  6464. def mimeTypes(self) -> list[str]: ...
  6465. def mimeData(self, indexes: collections.abc.Iterable[QModelIndex]) -> QMimeData|None: ...
  6466. def dropMimeData(self, data: QMimeData|None, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  6467. def canDropMimeData(self, data: QMimeData|None, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  6468. def buddy(self, index: QModelIndex) -> QModelIndex: ...
  6469. def hasChildren(self, parent: QModelIndex = ...) -> bool: ...
  6470. def fetchMore(self, parent: QModelIndex) -> None: ...
  6471. def canFetchMore(self, parent: QModelIndex) -> bool: ...
  6472. def resetRoleNames(self) -> None: ...
  6473. def setRoleNames(self, names: dict[int, QByteArray|bytes|bytearray|memoryview]) -> None: ...
  6474. def roleNames(self) -> dict[int, QByteArray]: ...
  6475. def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destParent: QModelIndex, destRow: int) -> bool: ...
  6476. def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  6477. def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  6478. def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destParent: QModelIndex, destColumn: int) -> bool: ...
  6479. def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  6480. def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  6481. def clearItemData(self, index: QModelIndex) -> bool: ...
  6482. def setItemData(self, index: QModelIndex, data: dict[int, typing.Any]) -> bool: ...
  6483. def itemData(self, index: QModelIndex) -> dict[int, typing.Any]: ...
  6484. def setData(self, index: QModelIndex, data: typing.Any, role: int = ...) -> bool: ...
  6485. def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ...
  6486. def setHeaderData(self, section: int, orientation: Qt.Orientation, data: typing.Any, role: int = ...) -> bool: ...
  6487. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  6488. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  6489. def columnCount(self, parent: QModelIndex = ...) -> int: ...
  6490. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  6491. def sibling(self, row: int, column: int, index: QModelIndex) -> QModelIndex: ...
  6492. def parent(self, child: QModelIndex) -> QModelIndex: ...
  6493. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  6494. class QReadWriteLock(PyQt6.sip.simplewrapper):
  6495. class RecursionMode(enum.Enum):
  6496. NonRecursive = ... # type: QReadWriteLock.RecursionMode
  6497. Recursive = ... # type: QReadWriteLock.RecursionMode
  6498. def __init__(self, recursionMode: 'QReadWriteLock.RecursionMode' = ...) -> None: ...
  6499. def unlock(self) -> None: ...
  6500. @typing.overload
  6501. def tryLockForWrite(self, timeout: QDeadlineTimer = ...) -> bool: ...
  6502. @typing.overload
  6503. def tryLockForWrite(self, timeout: int) -> bool: ...
  6504. def lockForWrite(self) -> None: ...
  6505. @typing.overload
  6506. def tryLockForRead(self, timeout: QDeadlineTimer = ...) -> bool: ...
  6507. @typing.overload
  6508. def tryLockForRead(self, timeout: int) -> bool: ...
  6509. def lockForRead(self) -> None: ...
  6510. class QReadLocker(PyQt6.sip.simplewrapper):
  6511. def __init__(self, areadWriteLock: QReadWriteLock|None) -> None: ...
  6512. def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ...
  6513. def __enter__(self) -> typing.Any: ...
  6514. def readWriteLock(self) -> QReadWriteLock|None: ...
  6515. def relock(self) -> None: ...
  6516. def unlock(self) -> None: ...
  6517. class QWriteLocker(PyQt6.sip.simplewrapper):
  6518. def __init__(self, areadWriteLock: QReadWriteLock|None) -> None: ...
  6519. def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ...
  6520. def __enter__(self) -> typing.Any: ...
  6521. def readWriteLock(self) -> QReadWriteLock|None: ...
  6522. def relock(self) -> None: ...
  6523. def unlock(self) -> None: ...
  6524. class QRect(PyQt6.sip.simplewrapper):
  6525. @typing.overload
  6526. def __init__(self) -> None: ...
  6527. @typing.overload
  6528. def __init__(self, aleft: int, atop: int, awidth: int, aheight: int) -> None: ...
  6529. @typing.overload
  6530. def __init__(self, atopLeft: QPoint, abottomRight: QPoint) -> None: ...
  6531. @typing.overload
  6532. def __init__(self, atopLeft: QPoint, asize: 'QSize') -> None: ...
  6533. @typing.overload
  6534. def __init__(self, a0: 'QRect') -> None: ...
  6535. def __eq__(self, other: object): ...
  6536. def __ne__(self, other: object): ...
  6537. def __add__(self, margins: QMargins) -> 'QRect': ...
  6538. def __sub__(self, rhs: QMargins) -> 'QRect': ...
  6539. def toRectF(self) -> 'QRectF': ...
  6540. @staticmethod
  6541. def span(p1: QPoint, p2: QPoint) -> 'QRect': ...
  6542. def transposed(self) -> 'QRect': ...
  6543. def __isub__(self, margins: QMargins) -> 'QRect': ...
  6544. def __iadd__(self, margins: QMargins) -> 'QRect': ...
  6545. def marginsRemoved(self, margins: QMargins) -> 'QRect': ...
  6546. def marginsAdded(self, margins: QMargins) -> 'QRect': ...
  6547. def united(self, r: 'QRect') -> 'QRect': ...
  6548. def intersected(self, other: 'QRect') -> 'QRect': ...
  6549. def __iand__(self, r: 'QRect') -> 'QRect': ...
  6550. def __ior__(self, r: 'QRect') -> 'QRect': ...
  6551. def setSize(self, s: 'QSize') -> None: ...
  6552. def setHeight(self, h: int) -> None: ...
  6553. def setWidth(self, w: int) -> None: ...
  6554. def adjust(self, dx1: int, dy1: int, dx2: int, dy2: int) -> None: ...
  6555. def adjusted(self, xp1: int, yp1: int, xp2: int, yp2: int) -> 'QRect': ...
  6556. def setCoords(self, xp1: int, yp1: int, xp2: int, yp2: int) -> None: ...
  6557. def getCoords(self) -> typing.Tuple[int, int, int, int]: ...
  6558. def setRect(self, ax: int, ay: int, aw: int, ah: int) -> None: ...
  6559. def getRect(self) -> typing.Tuple[int, int, int, int]: ...
  6560. def moveBottomLeft(self, p: QPoint) -> None: ...
  6561. def moveTopRight(self, p: QPoint) -> None: ...
  6562. def moveBottomRight(self, p: QPoint) -> None: ...
  6563. def moveTopLeft(self, p: QPoint) -> None: ...
  6564. def moveBottom(self, pos: int) -> None: ...
  6565. def moveRight(self, pos: int) -> None: ...
  6566. def moveTop(self, pos: int) -> None: ...
  6567. def moveLeft(self, pos: int) -> None: ...
  6568. @typing.overload
  6569. def moveTo(self, ax: int, ay: int) -> None: ...
  6570. @typing.overload
  6571. def moveTo(self, p: QPoint) -> None: ...
  6572. @typing.overload
  6573. def translated(self, dx: int, dy: int) -> 'QRect': ...
  6574. @typing.overload
  6575. def translated(self, p: QPoint) -> 'QRect': ...
  6576. @typing.overload
  6577. def translate(self, dx: int, dy: int) -> None: ...
  6578. @typing.overload
  6579. def translate(self, p: QPoint) -> None: ...
  6580. def size(self) -> 'QSize': ...
  6581. def height(self) -> int: ...
  6582. def width(self) -> int: ...
  6583. def center(self) -> QPoint: ...
  6584. def bottomLeft(self) -> QPoint: ...
  6585. def topRight(self) -> QPoint: ...
  6586. def bottomRight(self) -> QPoint: ...
  6587. def topLeft(self) -> QPoint: ...
  6588. def setY(self, ay: int) -> None: ...
  6589. def setX(self, ax: int) -> None: ...
  6590. def setBottomLeft(self, p: QPoint) -> None: ...
  6591. def setTopRight(self, p: QPoint) -> None: ...
  6592. def setBottomRight(self, p: QPoint) -> None: ...
  6593. def setTopLeft(self, p: QPoint) -> None: ...
  6594. def setBottom(self, pos: int) -> None: ...
  6595. def setRight(self, pos: int) -> None: ...
  6596. def setTop(self, pos: int) -> None: ...
  6597. def setLeft(self, pos: int) -> None: ...
  6598. def y(self) -> int: ...
  6599. def x(self) -> int: ...
  6600. def bottom(self) -> int: ...
  6601. def right(self) -> int: ...
  6602. def top(self) -> int: ...
  6603. def left(self) -> int: ...
  6604. def __hash__(self) -> int: ...
  6605. def __bool__(self) -> int: ...
  6606. def isValid(self) -> bool: ...
  6607. def isEmpty(self) -> bool: ...
  6608. def isNull(self) -> bool: ...
  6609. def __repr__(self) -> str: ...
  6610. def intersects(self, r: 'QRect') -> bool: ...
  6611. @typing.overload
  6612. def __contains__(self, p: QPoint) -> int: ...
  6613. @typing.overload
  6614. def __contains__(self, r: 'QRect') -> int: ...
  6615. @typing.overload
  6616. def contains(self, point: QPoint, proper: bool = ...) -> bool: ...
  6617. @typing.overload
  6618. def contains(self, rectangle: 'QRect', proper: bool = ...) -> bool: ...
  6619. @typing.overload
  6620. def contains(self, ax: int, ay: int, aproper: bool) -> bool: ...
  6621. @typing.overload
  6622. def contains(self, ax: int, ay: int) -> bool: ...
  6623. def __and__(self, r: 'QRect') -> 'QRect': ...
  6624. def __or__(self, r: 'QRect') -> 'QRect': ...
  6625. def moveCenter(self, p: QPoint) -> None: ...
  6626. def normalized(self) -> 'QRect': ...
  6627. class QRectF(PyQt6.sip.simplewrapper):
  6628. @typing.overload
  6629. def __init__(self) -> None: ...
  6630. @typing.overload
  6631. def __init__(self, atopLeft: QPointF, asize: 'QSizeF') -> None: ...
  6632. @typing.overload
  6633. def __init__(self, atopLeft: QPointF, abottomRight: QPointF) -> None: ...
  6634. @typing.overload
  6635. def __init__(self, aleft: float, atop: float, awidth: float, aheight: float) -> None: ...
  6636. @typing.overload
  6637. def __init__(self, r: QRect) -> None: ...
  6638. @typing.overload
  6639. def __init__(self, a0: 'QRectF') -> None: ...
  6640. def __eq__(self, other: object): ...
  6641. def __ne__(self, other: object): ...
  6642. def __add__(self, rhs: QMarginsF) -> 'QRectF': ...
  6643. def __sub__(self, rhs: QMarginsF) -> 'QRectF': ...
  6644. def transposed(self) -> 'QRectF': ...
  6645. def __isub__(self, margins: QMarginsF) -> 'QRectF': ...
  6646. def __iadd__(self, margins: QMarginsF) -> 'QRectF': ...
  6647. def marginsRemoved(self, margins: QMarginsF) -> 'QRectF': ...
  6648. def marginsAdded(self, margins: QMarginsF) -> 'QRectF': ...
  6649. def toRect(self) -> QRect: ...
  6650. def toAlignedRect(self) -> QRect: ...
  6651. def united(self, r: 'QRectF') -> 'QRectF': ...
  6652. def intersected(self, r: 'QRectF') -> 'QRectF': ...
  6653. def __iand__(self, r: 'QRectF') -> 'QRectF': ...
  6654. def __ior__(self, r: 'QRectF') -> 'QRectF': ...
  6655. def setSize(self, s: 'QSizeF') -> None: ...
  6656. def setHeight(self, ah: float) -> None: ...
  6657. def setWidth(self, aw: float) -> None: ...
  6658. def adjusted(self, xp1: float, yp1: float, xp2: float, yp2: float) -> 'QRectF': ...
  6659. def adjust(self, xp1: float, yp1: float, xp2: float, yp2: float) -> None: ...
  6660. def setCoords(self, xp1: float, yp1: float, xp2: float, yp2: float) -> None: ...
  6661. def getCoords(self) -> typing.Tuple[float, float, float, float]: ...
  6662. def setRect(self, ax: float, ay: float, aaw: float, aah: float) -> None: ...
  6663. def getRect(self) -> typing.Tuple[float, float, float, float]: ...
  6664. @typing.overload
  6665. def translated(self, dx: float, dy: float) -> 'QRectF': ...
  6666. @typing.overload
  6667. def translated(self, p: QPointF) -> 'QRectF': ...
  6668. @typing.overload
  6669. def moveTo(self, ax: float, ay: float) -> None: ...
  6670. @typing.overload
  6671. def moveTo(self, p: QPointF) -> None: ...
  6672. @typing.overload
  6673. def translate(self, dx: float, dy: float) -> None: ...
  6674. @typing.overload
  6675. def translate(self, p: QPointF) -> None: ...
  6676. def size(self) -> 'QSizeF': ...
  6677. def height(self) -> float: ...
  6678. def width(self) -> float: ...
  6679. def moveCenter(self, p: QPointF) -> None: ...
  6680. def moveBottomRight(self, p: QPointF) -> None: ...
  6681. def moveBottomLeft(self, p: QPointF) -> None: ...
  6682. def moveTopRight(self, p: QPointF) -> None: ...
  6683. def moveTopLeft(self, p: QPointF) -> None: ...
  6684. def moveBottom(self, pos: float) -> None: ...
  6685. def moveRight(self, pos: float) -> None: ...
  6686. def moveTop(self, pos: float) -> None: ...
  6687. def moveLeft(self, pos: float) -> None: ...
  6688. def center(self) -> QPointF: ...
  6689. def setBottomRight(self, p: QPointF) -> None: ...
  6690. def setBottomLeft(self, p: QPointF) -> None: ...
  6691. def setTopRight(self, p: QPointF) -> None: ...
  6692. def setTopLeft(self, p: QPointF) -> None: ...
  6693. def setBottom(self, pos: float) -> None: ...
  6694. def setTop(self, pos: float) -> None: ...
  6695. def setRight(self, pos: float) -> None: ...
  6696. def setLeft(self, pos: float) -> None: ...
  6697. def y(self) -> float: ...
  6698. def x(self) -> float: ...
  6699. def __bool__(self) -> int: ...
  6700. def isValid(self) -> bool: ...
  6701. def isEmpty(self) -> bool: ...
  6702. def isNull(self) -> bool: ...
  6703. def intersects(self, r: 'QRectF') -> bool: ...
  6704. @typing.overload
  6705. def __contains__(self, p: QPointF) -> int: ...
  6706. @typing.overload
  6707. def __contains__(self, r: 'QRectF') -> int: ...
  6708. @typing.overload
  6709. def contains(self, p: QPointF) -> bool: ...
  6710. @typing.overload
  6711. def contains(self, r: 'QRectF') -> bool: ...
  6712. @typing.overload
  6713. def contains(self, ax: float, ay: float) -> bool: ...
  6714. def __and__(self, r: 'QRectF') -> 'QRectF': ...
  6715. def __or__(self, r: 'QRectF') -> 'QRectF': ...
  6716. def bottomLeft(self) -> QPointF: ...
  6717. def topRight(self) -> QPointF: ...
  6718. def bottomRight(self) -> QPointF: ...
  6719. def topLeft(self) -> QPointF: ...
  6720. def setY(self, pos: float) -> None: ...
  6721. def setX(self, pos: float) -> None: ...
  6722. def bottom(self) -> float: ...
  6723. def right(self) -> float: ...
  6724. def top(self) -> float: ...
  6725. def left(self) -> float: ...
  6726. def normalized(self) -> 'QRectF': ...
  6727. def __repr__(self) -> str: ...
  6728. class QRegularExpression(PyQt6.sip.simplewrapper):
  6729. class WildcardConversionOption(enum.Flag):
  6730. DefaultWildcardConversion = ... # type: QRegularExpression.WildcardConversionOption
  6731. UnanchoredWildcardConversion = ... # type: QRegularExpression.WildcardConversionOption
  6732. NonPathWildcardConversion = ... # type: QRegularExpression.WildcardConversionOption
  6733. class MatchOption(enum.Flag):
  6734. NoMatchOption = ... # type: QRegularExpression.MatchOption
  6735. AnchorAtOffsetMatchOption = ... # type: QRegularExpression.MatchOption
  6736. DontCheckSubjectStringMatchOption = ... # type: QRegularExpression.MatchOption
  6737. class MatchType(enum.Enum):
  6738. NormalMatch = ... # type: QRegularExpression.MatchType
  6739. PartialPreferCompleteMatch = ... # type: QRegularExpression.MatchType
  6740. PartialPreferFirstMatch = ... # type: QRegularExpression.MatchType
  6741. NoMatch = ... # type: QRegularExpression.MatchType
  6742. class PatternOption(enum.Flag):
  6743. NoPatternOption = ... # type: QRegularExpression.PatternOption
  6744. CaseInsensitiveOption = ... # type: QRegularExpression.PatternOption
  6745. DotMatchesEverythingOption = ... # type: QRegularExpression.PatternOption
  6746. MultilineOption = ... # type: QRegularExpression.PatternOption
  6747. ExtendedPatternSyntaxOption = ... # type: QRegularExpression.PatternOption
  6748. InvertedGreedinessOption = ... # type: QRegularExpression.PatternOption
  6749. DontCaptureOption = ... # type: QRegularExpression.PatternOption
  6750. UseUnicodePropertiesOption = ... # type: QRegularExpression.PatternOption
  6751. @typing.overload
  6752. def __init__(self) -> None: ...
  6753. @typing.overload
  6754. def __init__(self, pattern: str|None, options: 'QRegularExpression.PatternOption' = ...) -> None: ...
  6755. @typing.overload
  6756. def __init__(self, re: 'QRegularExpression') -> None: ...
  6757. def __eq__(self, other: object): ...
  6758. def __ne__(self, other: object): ...
  6759. @staticmethod
  6760. def fromWildcard(pattern: str, cs: Qt.CaseSensitivity = ..., options: 'QRegularExpression.WildcardConversionOption' = ...) -> 'QRegularExpression': ...
  6761. @staticmethod
  6762. def anchoredPattern(expression: str|None) -> str: ...
  6763. @staticmethod
  6764. def wildcardToRegularExpression(str: str, options: 'QRegularExpression.WildcardConversionOption' = ...) -> str: ...
  6765. def __hash__(self) -> int: ...
  6766. def optimize(self) -> None: ...
  6767. def namedCaptureGroups(self) -> list[str]: ...
  6768. @staticmethod
  6769. def escape(str: str|None) -> str: ...
  6770. def globalMatchView(self, subjectView: str, offset: int = ..., matchType: 'QRegularExpression.MatchType' = ..., matchOptions: 'QRegularExpression.MatchOption' = ...) -> 'QRegularExpressionMatchIterator': ...
  6771. def globalMatch(self, subject: str|None, offset: int = ..., matchType: 'QRegularExpression.MatchType' = ..., matchOptions: 'QRegularExpression.MatchOption' = ...) -> 'QRegularExpressionMatchIterator': ...
  6772. def matchView(self, subjectView: str, offset: int = ..., matchType: 'QRegularExpression.MatchType' = ..., matchOptions: 'QRegularExpression.MatchOption' = ...) -> 'QRegularExpressionMatch': ...
  6773. def match(self, subject: str|None, offset: int = ..., matchType: 'QRegularExpression.MatchType' = ..., matchOptions: 'QRegularExpression.MatchOption' = ...) -> 'QRegularExpressionMatch': ...
  6774. def captureCount(self) -> int: ...
  6775. def errorString(self) -> str: ...
  6776. def patternErrorOffset(self) -> int: ...
  6777. def isValid(self) -> bool: ...
  6778. def setPattern(self, pattern: str|None) -> None: ...
  6779. def pattern(self) -> str: ...
  6780. def swap(self, re: 'QRegularExpression') -> None: ...
  6781. def __repr__(self) -> str: ...
  6782. def setPatternOptions(self, options: 'QRegularExpression.PatternOption') -> None: ...
  6783. def patternOptions(self) -> 'QRegularExpression.PatternOption': ...
  6784. class QRegularExpressionMatch(PyQt6.sip.simplewrapper):
  6785. @typing.overload
  6786. def __init__(self) -> None: ...
  6787. @typing.overload
  6788. def __init__(self, match: 'QRegularExpressionMatch') -> None: ...
  6789. @typing.overload
  6790. def hasCaptured(self, nth: int) -> bool: ...
  6791. @typing.overload
  6792. def hasCaptured(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> bool: ...
  6793. @typing.overload
  6794. def capturedEnd(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> int: ...
  6795. @typing.overload
  6796. def capturedEnd(self, nth: int = ...) -> int: ...
  6797. @typing.overload
  6798. def capturedLength(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> int: ...
  6799. @typing.overload
  6800. def capturedLength(self, nth: int = ...) -> int: ...
  6801. @typing.overload
  6802. def capturedStart(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> int: ...
  6803. @typing.overload
  6804. def capturedStart(self, nth: int = ...) -> int: ...
  6805. def capturedTexts(self) -> list[str]: ...
  6806. @typing.overload
  6807. def captured(self, nth: int = ...) -> str: ...
  6808. @typing.overload
  6809. def captured(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> str: ...
  6810. def lastCapturedIndex(self) -> int: ...
  6811. def isValid(self) -> bool: ...
  6812. def hasPartialMatch(self) -> bool: ...
  6813. def hasMatch(self) -> bool: ...
  6814. def matchOptions(self) -> QRegularExpression.MatchOption: ...
  6815. def matchType(self) -> QRegularExpression.MatchType: ...
  6816. def regularExpression(self) -> QRegularExpression: ...
  6817. def swap(self, match: 'QRegularExpressionMatch') -> None: ...
  6818. class QRegularExpressionMatchIterator(PyQt6.sip.simplewrapper):
  6819. @typing.overload
  6820. def __init__(self) -> None: ...
  6821. @typing.overload
  6822. def __init__(self, iterator: 'QRegularExpressionMatchIterator') -> None: ...
  6823. def matchOptions(self) -> QRegularExpression.MatchOption: ...
  6824. def matchType(self) -> QRegularExpression.MatchType: ...
  6825. def regularExpression(self) -> QRegularExpression: ...
  6826. def peekNext(self) -> QRegularExpressionMatch: ...
  6827. def next(self) -> QRegularExpressionMatch: ...
  6828. def hasNext(self) -> bool: ...
  6829. def isValid(self) -> bool: ...
  6830. def swap(self, iterator: 'QRegularExpressionMatchIterator') -> None: ...
  6831. class QResource(PyQt6.sip.simplewrapper):
  6832. class Compression(enum.Enum):
  6833. NoCompression = ... # type: QResource.Compression
  6834. ZlibCompression = ... # type: QResource.Compression
  6835. ZstdCompression = ... # type: QResource.Compression
  6836. def __init__(self, fileName: str|None = ..., locale: QLocale = ...) -> None: ...
  6837. def uncompressedData(self) -> QByteArray: ...
  6838. def uncompressedSize(self) -> int: ...
  6839. def compressionAlgorithm(self) -> 'QResource.Compression': ...
  6840. def lastModified(self) -> QDateTime: ...
  6841. def isFile(self) -> bool: ...
  6842. def isDir(self) -> bool: ...
  6843. def children(self) -> list[str]: ...
  6844. @staticmethod
  6845. def unregisterResourceData(rccData: bytes, mapRoot: str|None = ...) -> bool: ...
  6846. @staticmethod
  6847. def unregisterResource(rccFileName: str|None, mapRoot: str|None = ...) -> bool: ...
  6848. @staticmethod
  6849. def registerResourceData(rccData: bytes, mapRoot: str|None = ...) -> bool: ...
  6850. @staticmethod
  6851. def registerResource(rccFileName: str|None, mapRoot: str|None = ...) -> bool: ...
  6852. def size(self) -> int: ...
  6853. def setLocale(self, locale: QLocale) -> None: ...
  6854. def setFileName(self, file: str|None) -> None: ...
  6855. def locale(self) -> QLocale: ...
  6856. def isValid(self) -> bool: ...
  6857. def fileName(self) -> str: ...
  6858. def data(self) -> bytes: ...
  6859. def absoluteFilePath(self) -> str: ...
  6860. class QRunnable(PyQt6.sip.wrapper):
  6861. def __init__(self) -> None: ...
  6862. @staticmethod
  6863. def create(functionToRun: collections.abc.Callable[[], None]) -> 'QRunnable|None': ...
  6864. def setAutoDelete(self, _autoDelete: bool) -> None: ...
  6865. def autoDelete(self) -> bool: ...
  6866. def run(self) -> None: ...
  6867. class QSaveFile(QFileDevice):
  6868. @typing.overload
  6869. def __init__(self, name: str|None, parent: QObject|None = ...) -> None: ...
  6870. @typing.overload
  6871. def __init__(self, parent: QObject|None = ...) -> None: ...
  6872. def writeData(self, a0: PyQt6.sip.Buffer) -> int: ...
  6873. def directWriteFallback(self) -> bool: ...
  6874. def setDirectWriteFallback(self, enabled: bool) -> None: ...
  6875. def cancelWriting(self) -> None: ...
  6876. def commit(self) -> bool: ...
  6877. def open(self, flags: QIODeviceBase.OpenModeFlag) -> bool: ...
  6878. def setFileName(self, name: str|None) -> None: ...
  6879. def fileName(self) -> str: ...
  6880. class QSemaphore(PyQt6.sip.simplewrapper):
  6881. def __init__(self, n: int = ...) -> None: ...
  6882. def available(self) -> int: ...
  6883. def release(self, n: int = ...) -> None: ...
  6884. @typing.overload
  6885. def tryAcquire(self, n: int = ...) -> bool: ...
  6886. @typing.overload
  6887. def tryAcquire(self, n: int, timeout: QDeadlineTimer) -> bool: ...
  6888. @typing.overload
  6889. def tryAcquire(self, n: int, timeout: int) -> bool: ...
  6890. def acquire(self, n: int = ...) -> None: ...
  6891. class QSemaphoreReleaser(PyQt6.sip.simplewrapper):
  6892. @typing.overload
  6893. def __init__(self) -> None: ...
  6894. @typing.overload
  6895. def __init__(self, sem: QSemaphore|None, n: int = ...) -> None: ...
  6896. def cancel(self) -> QSemaphore|None: ...
  6897. def semaphore(self) -> QSemaphore|None: ...
  6898. def swap(self, other: 'QSemaphoreReleaser') -> None: ...
  6899. class QSequentialAnimationGroup(QAnimationGroup):
  6900. def __init__(self, parent: QObject|None = ...) -> None: ...
  6901. def updateDirection(self, direction: QAbstractAnimation.Direction) -> None: ...
  6902. def updateState(self, newState: QAbstractAnimation.State, oldState: QAbstractAnimation.State) -> None: ...
  6903. def updateCurrentTime(self, a0: int) -> None: ...
  6904. def event(self, event: QEvent|None) -> bool: ...
  6905. currentAnimationChanged: typing.ClassVar[pyqtSignal]
  6906. def duration(self) -> int: ...
  6907. def currentAnimation(self) -> QAbstractAnimation|None: ...
  6908. def insertPause(self, index: int, msecs: int) -> QPauseAnimation|None: ...
  6909. def addPause(self, msecs: int) -> QPauseAnimation|None: ...
  6910. class QSettings(QObject):
  6911. class Scope(enum.Enum):
  6912. UserScope = ... # type: QSettings.Scope
  6913. SystemScope = ... # type: QSettings.Scope
  6914. class Format(enum.Enum):
  6915. NativeFormat = ... # type: QSettings.Format
  6916. IniFormat = ... # type: QSettings.Format
  6917. InvalidFormat = ... # type: QSettings.Format
  6918. class Status(enum.Enum):
  6919. NoError = ... # type: QSettings.Status
  6920. AccessError = ... # type: QSettings.Status
  6921. FormatError = ... # type: QSettings.Status
  6922. @typing.overload
  6923. def __init__(self, organization: str|None, application: str|None = ..., parent: QObject|None = ...) -> None: ...
  6924. @typing.overload
  6925. def __init__(self, scope: 'QSettings.Scope', organization: str|None, application: str|None = ..., parent: QObject|None = ...) -> None: ...
  6926. @typing.overload
  6927. def __init__(self, format: 'QSettings.Format', scope: 'QSettings.Scope', organization: str|None, application: str|None = ..., parent: QObject|None = ...) -> None: ...
  6928. @typing.overload
  6929. def __init__(self, fileName: str|None, format: 'QSettings.Format', parent: QObject|None = ...) -> None: ...
  6930. @typing.overload
  6931. def __init__(self, scope: 'QSettings.Scope', parent: QObject|None = ...) -> None: ...
  6932. @typing.overload
  6933. def __init__(self, parent: QObject|None = ...) -> None: ...
  6934. def event(self, event: QEvent|None) -> bool: ...
  6935. def setAtomicSyncRequired(self, enable: bool) -> None: ...
  6936. def isAtomicSyncRequired(self) -> bool: ...
  6937. @staticmethod
  6938. def defaultFormat() -> 'QSettings.Format': ...
  6939. @staticmethod
  6940. def setDefaultFormat(format: 'QSettings.Format') -> None: ...
  6941. def applicationName(self) -> str: ...
  6942. def organizationName(self) -> str: ...
  6943. def scope(self) -> 'QSettings.Scope': ...
  6944. def format(self) -> 'QSettings.Format': ...
  6945. @staticmethod
  6946. def setPath(format: 'QSettings.Format', scope: 'QSettings.Scope', path: str|None) -> None: ...
  6947. def fileName(self) -> str: ...
  6948. def fallbacksEnabled(self) -> bool: ...
  6949. def setFallbacksEnabled(self, b: bool) -> None: ...
  6950. def contains(self, key: QByteArray|bytes|bytearray|memoryview|str|None) -> bool: ...
  6951. def remove(self, key: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  6952. def value(self, key: QByteArray|bytes|bytearray|memoryview|str|None, defaultValue: typing.Any = ..., type: type = ...) -> typing.Any: ...
  6953. def setValue(self, key: QByteArray|bytes|bytearray|memoryview|str|None, value: typing.Any) -> None: ...
  6954. def isWritable(self) -> bool: ...
  6955. def childGroups(self) -> list[str]: ...
  6956. def childKeys(self) -> list[str]: ...
  6957. def allKeys(self) -> list[str]: ...
  6958. def setArrayIndex(self, i: int) -> None: ...
  6959. def endArray(self) -> None: ...
  6960. def beginWriteArray(self, prefix: QByteArray|bytes|bytearray|memoryview|str|None, size: int = ...) -> None: ...
  6961. def beginReadArray(self, prefix: QByteArray|bytes|bytearray|memoryview|str|None) -> int: ...
  6962. def group(self) -> str: ...
  6963. def endGroup(self) -> None: ...
  6964. def beginGroup(self, prefix: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  6965. def status(self) -> 'QSettings.Status': ...
  6966. def sync(self) -> None: ...
  6967. def clear(self) -> None: ...
  6968. class QSharedMemory(QObject):
  6969. class SharedMemoryError(enum.Enum):
  6970. NoError = ... # type: QSharedMemory.SharedMemoryError
  6971. PermissionDenied = ... # type: QSharedMemory.SharedMemoryError
  6972. InvalidSize = ... # type: QSharedMemory.SharedMemoryError
  6973. KeyError = ... # type: QSharedMemory.SharedMemoryError
  6974. AlreadyExists = ... # type: QSharedMemory.SharedMemoryError
  6975. NotFound = ... # type: QSharedMemory.SharedMemoryError
  6976. LockError = ... # type: QSharedMemory.SharedMemoryError
  6977. OutOfResources = ... # type: QSharedMemory.SharedMemoryError
  6978. UnknownError = ... # type: QSharedMemory.SharedMemoryError
  6979. class AccessMode(enum.Enum):
  6980. ReadOnly = ... # type: QSharedMemory.AccessMode
  6981. ReadWrite = ... # type: QSharedMemory.AccessMode
  6982. @typing.overload
  6983. def __init__(self, parent: QObject|None = ...) -> None: ...
  6984. @typing.overload
  6985. def __init__(self, key: 'QNativeIpcKey', parent: QObject|None = ...) -> None: ...
  6986. @typing.overload
  6987. def __init__(self, key: str|None, parent: QObject|None = ...) -> None: ...
  6988. @staticmethod
  6989. def legacyNativeKey(key: str|None, type: 'QNativeIpcKey.Type' = ...) -> 'QNativeIpcKey': ...
  6990. @staticmethod
  6991. def platformSafeKey(key: str|None, type: 'QNativeIpcKey.Type' = ...) -> 'QNativeIpcKey': ...
  6992. @staticmethod
  6993. def isKeyTypeSupported(type: 'QNativeIpcKey.Type') -> bool: ...
  6994. def nativeIpcKey(self) -> 'QNativeIpcKey': ...
  6995. def nativeKey(self) -> str: ...
  6996. @typing.overload
  6997. def setNativeKey(self, key: 'QNativeIpcKey') -> None: ...
  6998. @typing.overload
  6999. def setNativeKey(self, key: str|None, type: 'QNativeIpcKey.Type' = ...) -> None: ...
  7000. def errorString(self) -> str: ...
  7001. def error(self) -> 'QSharedMemory.SharedMemoryError': ...
  7002. def unlock(self) -> bool: ...
  7003. def lock(self) -> bool: ...
  7004. def constData(self) -> PyQt6.sip.voidptr: ...
  7005. def data(self) -> PyQt6.sip.voidptr: ...
  7006. def detach(self) -> bool: ...
  7007. def isAttached(self) -> bool: ...
  7008. def attach(self, mode: 'QSharedMemory.AccessMode' = ...) -> bool: ...
  7009. def size(self) -> int: ...
  7010. def create(self, size: int, mode: 'QSharedMemory.AccessMode' = ...) -> bool: ...
  7011. def key(self) -> str: ...
  7012. def setKey(self, key: str|None) -> None: ...
  7013. class QSignalMapper(QObject):
  7014. def __init__(self, parent: QObject|None = ...) -> None: ...
  7015. @typing.overload
  7016. def map(self) -> None: ...
  7017. @typing.overload
  7018. def map(self, sender: QObject|None) -> None: ...
  7019. mappedObject: typing.ClassVar[pyqtSignal]
  7020. mappedString: typing.ClassVar[pyqtSignal]
  7021. mappedInt: typing.ClassVar[pyqtSignal]
  7022. @typing.overload
  7023. def mapping(self, id: int) -> QObject|None: ...
  7024. @typing.overload
  7025. def mapping(self, text: str|None) -> QObject|None: ...
  7026. @typing.overload
  7027. def mapping(self, object: QObject|None) -> QObject|None: ...
  7028. def removeMappings(self, sender: QObject|None) -> None: ...
  7029. @typing.overload
  7030. def setMapping(self, sender: QObject|None, id: int) -> None: ...
  7031. @typing.overload
  7032. def setMapping(self, sender: QObject|None, text: str|None) -> None: ...
  7033. @typing.overload
  7034. def setMapping(self, sender: QObject|None, object: QObject|None) -> None: ...
  7035. class QSize(PyQt6.sip.simplewrapper):
  7036. @typing.overload
  7037. def __init__(self) -> None: ...
  7038. @typing.overload
  7039. def __init__(self, w: int, h: int) -> None: ...
  7040. @typing.overload
  7041. def __init__(self, a0: 'QSize') -> None: ...
  7042. def __eq__(self, other: object): ...
  7043. def __ne__(self, other: object): ...
  7044. def __add__(self, s2: 'QSize') -> 'QSize': ...
  7045. def __sub__(self, s2: 'QSize') -> 'QSize': ...
  7046. def __mul__(self, c: float) -> 'QSize': ...
  7047. def __rmul__(self, c: float) -> 'QSize': ...
  7048. def __truediv__(self, c: float) -> 'QSize': ...
  7049. def toSizeF(self) -> 'QSizeF': ...
  7050. def shrunkBy(self, m: QMargins) -> 'QSize': ...
  7051. def grownBy(self, m: QMargins) -> 'QSize': ...
  7052. def transposed(self) -> 'QSize': ...
  7053. @typing.overload
  7054. def scaled(self, s: 'QSize', mode: Qt.AspectRatioMode) -> 'QSize': ...
  7055. @typing.overload
  7056. def scaled(self, w: int, h: int, mode: Qt.AspectRatioMode) -> 'QSize': ...
  7057. def boundedTo(self, otherSize: 'QSize') -> 'QSize': ...
  7058. def expandedTo(self, otherSize: 'QSize') -> 'QSize': ...
  7059. def __itruediv__(self, c: float) -> 'QSize': ...
  7060. def __imul__(self, c: float) -> 'QSize': ...
  7061. def __isub__(self, s: 'QSize') -> 'QSize': ...
  7062. def __iadd__(self, s: 'QSize') -> 'QSize': ...
  7063. def setHeight(self, h: int) -> None: ...
  7064. def setWidth(self, w: int) -> None: ...
  7065. def height(self) -> int: ...
  7066. def width(self) -> int: ...
  7067. def __hash__(self) -> int: ...
  7068. def __bool__(self) -> int: ...
  7069. def isValid(self) -> bool: ...
  7070. def isEmpty(self) -> bool: ...
  7071. def isNull(self) -> bool: ...
  7072. def __repr__(self) -> str: ...
  7073. @typing.overload
  7074. def scale(self, s: 'QSize', mode: Qt.AspectRatioMode) -> None: ...
  7075. @typing.overload
  7076. def scale(self, w: int, h: int, mode: Qt.AspectRatioMode) -> None: ...
  7077. def transpose(self) -> None: ...
  7078. class QSizeF(PyQt6.sip.simplewrapper):
  7079. @typing.overload
  7080. def __init__(self) -> None: ...
  7081. @typing.overload
  7082. def __init__(self, sz: QSize) -> None: ...
  7083. @typing.overload
  7084. def __init__(self, w: float, h: float) -> None: ...
  7085. @typing.overload
  7086. def __init__(self, a0: 'QSizeF') -> None: ...
  7087. def __eq__(self, other: object): ...
  7088. def __ne__(self, other: object): ...
  7089. def __add__(self, s2: 'QSizeF') -> 'QSizeF': ...
  7090. def __sub__(self, s2: 'QSizeF') -> 'QSizeF': ...
  7091. def __mul__(self, c: float) -> 'QSizeF': ...
  7092. def __rmul__(self, c: float) -> 'QSizeF': ...
  7093. def __truediv__(self, c: float) -> 'QSizeF': ...
  7094. def shrunkBy(self, m: QMarginsF) -> 'QSizeF': ...
  7095. def grownBy(self, m: QMarginsF) -> 'QSizeF': ...
  7096. def transposed(self) -> 'QSizeF': ...
  7097. @typing.overload
  7098. def scaled(self, s: 'QSizeF', mode: Qt.AspectRatioMode) -> 'QSizeF': ...
  7099. @typing.overload
  7100. def scaled(self, w: float, h: float, mode: Qt.AspectRatioMode) -> 'QSizeF': ...
  7101. def toSize(self) -> QSize: ...
  7102. def boundedTo(self, otherSize: 'QSizeF') -> 'QSizeF': ...
  7103. def expandedTo(self, otherSize: 'QSizeF') -> 'QSizeF': ...
  7104. def __itruediv__(self, c: float) -> 'QSizeF': ...
  7105. def __imul__(self, c: float) -> 'QSizeF': ...
  7106. def __isub__(self, s: 'QSizeF') -> 'QSizeF': ...
  7107. def __iadd__(self, s: 'QSizeF') -> 'QSizeF': ...
  7108. def setHeight(self, h: float) -> None: ...
  7109. def setWidth(self, w: float) -> None: ...
  7110. def height(self) -> float: ...
  7111. def width(self) -> float: ...
  7112. def __bool__(self) -> int: ...
  7113. def isValid(self) -> bool: ...
  7114. def isEmpty(self) -> bool: ...
  7115. def isNull(self) -> bool: ...
  7116. def __repr__(self) -> str: ...
  7117. @typing.overload
  7118. def scale(self, s: 'QSizeF', mode: Qt.AspectRatioMode) -> None: ...
  7119. @typing.overload
  7120. def scale(self, w: float, h: float, mode: Qt.AspectRatioMode) -> None: ...
  7121. def transpose(self) -> None: ...
  7122. class QSocketNotifier(QObject):
  7123. class Type(enum.Enum):
  7124. Read = ... # type: QSocketNotifier.Type
  7125. Write = ... # type: QSocketNotifier.Type
  7126. Exception = ... # type: QSocketNotifier.Type
  7127. @typing.overload
  7128. def __init__(self, a0: 'QSocketNotifier.Type', parent: QObject|None = ...) -> None: ...
  7129. @typing.overload
  7130. def __init__(self, socket: PyQt6.sip.voidptr, a1: 'QSocketNotifier.Type', parent: QObject|None = ...) -> None: ...
  7131. def event(self, a0: QEvent|None) -> bool: ...
  7132. activated: typing.ClassVar[pyqtSignal]
  7133. def isValid(self) -> bool: ...
  7134. def setSocket(self, socket: PyQt6.sip.voidptr) -> None: ...
  7135. def setEnabled(self, a0: bool) -> None: ...
  7136. def isEnabled(self) -> bool: ...
  7137. def type(self) -> 'QSocketNotifier.Type': ...
  7138. def socket(self) -> PyQt6.sip.voidptr: ...
  7139. class QSortFilterProxyModel(QAbstractProxyModel):
  7140. class Direction(enum.Enum):
  7141. Rows = ... # type: QSortFilterProxyModel.Direction
  7142. Columns = ... # type: QSortFilterProxyModel.Direction
  7143. Both = ... # type: QSortFilterProxyModel.Direction
  7144. def __init__(self, parent: QObject|None = ...) -> None: ...
  7145. def endFilterChange(self, directions: 'QSortFilterProxyModel.Direction' = ...) -> None: ...
  7146. autoAcceptChildRowsChanged: typing.ClassVar[pyqtSignal]
  7147. def setAutoAcceptChildRows(self, accept: bool) -> None: ...
  7148. def autoAcceptChildRows(self) -> bool: ...
  7149. recursiveFilteringEnabledChanged: typing.ClassVar[pyqtSignal]
  7150. filterRoleChanged: typing.ClassVar[pyqtSignal]
  7151. sortRoleChanged: typing.ClassVar[pyqtSignal]
  7152. sortLocaleAwareChanged: typing.ClassVar[pyqtSignal]
  7153. sortCaseSensitivityChanged: typing.ClassVar[pyqtSignal]
  7154. filterCaseSensitivityChanged: typing.ClassVar[pyqtSignal]
  7155. dynamicSortFilterChanged: typing.ClassVar[pyqtSignal]
  7156. def invalidateColumnsFilter(self) -> None: ...
  7157. def invalidateRowsFilter(self) -> None: ...
  7158. def invalidateFilter(self) -> None: ...
  7159. def beginFilterChange(self) -> None: ...
  7160. def setRecursiveFilteringEnabled(self, recursive: bool) -> None: ...
  7161. def isRecursiveFilteringEnabled(self) -> bool: ...
  7162. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  7163. def setSortLocaleAware(self, on: bool) -> None: ...
  7164. def isSortLocaleAware(self) -> bool: ...
  7165. def supportedDropActions(self) -> Qt.DropAction: ...
  7166. def mimeTypes(self) -> list[str]: ...
  7167. def setFilterRole(self, role: int) -> None: ...
  7168. def filterRole(self) -> int: ...
  7169. def sortOrder(self) -> Qt.SortOrder: ...
  7170. def sortColumn(self) -> int: ...
  7171. def setSortRole(self, role: int) -> None: ...
  7172. def sortRole(self) -> int: ...
  7173. def setDynamicSortFilter(self, enable: bool) -> None: ...
  7174. def dynamicSortFilter(self) -> bool: ...
  7175. def setSortCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ...
  7176. def sortCaseSensitivity(self) -> Qt.CaseSensitivity: ...
  7177. def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ...
  7178. def match(self, start: QModelIndex, role: int, value: typing.Any, hits: int = ..., flags: Qt.MatchFlag = ...) -> list[QModelIndex]: ...
  7179. def span(self, index: QModelIndex) -> QSize: ...
  7180. def buddy(self, index: QModelIndex) -> QModelIndex: ...
  7181. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  7182. def canFetchMore(self, parent: QModelIndex) -> bool: ...
  7183. def fetchMore(self, parent: QModelIndex) -> None: ...
  7184. def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7185. def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7186. def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7187. def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7188. def dropMimeData(self, data: QMimeData|None, action: Qt.DropAction, row: int, column: int, parent: QModelIndex) -> bool: ...
  7189. def mimeData(self, indexes: collections.abc.Iterable[QModelIndex]) -> QMimeData|None: ...
  7190. def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ...
  7191. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  7192. def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
  7193. def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ...
  7194. def hasChildren(self, parent: QModelIndex = ...) -> bool: ...
  7195. def columnCount(self, parent: QModelIndex = ...) -> int: ...
  7196. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  7197. @typing.overload
  7198. def parent(self, child: QModelIndex) -> QModelIndex: ...
  7199. @typing.overload
  7200. def parent(self) -> QObject|None: ...
  7201. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  7202. def lessThan(self, left: QModelIndex, right: QModelIndex) -> bool: ...
  7203. def filterAcceptsColumn(self, source_column: int, source_parent: QModelIndex) -> bool: ...
  7204. def filterAcceptsRow(self, source_row: int, source_parent: QModelIndex) -> bool: ...
  7205. def setFilterWildcard(self, pattern: str|None) -> None: ...
  7206. @typing.overload
  7207. def setFilterRegularExpression(self, regularExpression: QRegularExpression) -> None: ...
  7208. @typing.overload
  7209. def setFilterRegularExpression(self, pattern: str|None) -> None: ...
  7210. def setFilterFixedString(self, pattern: str|None) -> None: ...
  7211. def invalidate(self) -> None: ...
  7212. def setFilterCaseSensitivity(self, cs: Qt.CaseSensitivity) -> None: ...
  7213. def filterCaseSensitivity(self) -> Qt.CaseSensitivity: ...
  7214. def setFilterKeyColumn(self, column: int) -> None: ...
  7215. def filterKeyColumn(self) -> int: ...
  7216. def filterRegularExpression(self) -> QRegularExpression: ...
  7217. def mapSelectionFromSource(self, sourceSelection: QItemSelection) -> QItemSelection: ...
  7218. def mapSelectionToSource(self, proxySelection: QItemSelection) -> QItemSelection: ...
  7219. def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ...
  7220. def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ...
  7221. def setSourceModel(self, sourceModel: QAbstractItemModel|None) -> None: ...
  7222. class QStandardPaths(PyQt6.sip.simplewrapper):
  7223. class LocateOption(enum.Flag):
  7224. LocateFile = ... # type: QStandardPaths.LocateOption
  7225. LocateDirectory = ... # type: QStandardPaths.LocateOption
  7226. class StandardLocation(enum.Enum):
  7227. DesktopLocation = ... # type: QStandardPaths.StandardLocation
  7228. DocumentsLocation = ... # type: QStandardPaths.StandardLocation
  7229. FontsLocation = ... # type: QStandardPaths.StandardLocation
  7230. ApplicationsLocation = ... # type: QStandardPaths.StandardLocation
  7231. MusicLocation = ... # type: QStandardPaths.StandardLocation
  7232. MoviesLocation = ... # type: QStandardPaths.StandardLocation
  7233. PicturesLocation = ... # type: QStandardPaths.StandardLocation
  7234. TempLocation = ... # type: QStandardPaths.StandardLocation
  7235. HomeLocation = ... # type: QStandardPaths.StandardLocation
  7236. CacheLocation = ... # type: QStandardPaths.StandardLocation
  7237. GenericDataLocation = ... # type: QStandardPaths.StandardLocation
  7238. RuntimeLocation = ... # type: QStandardPaths.StandardLocation
  7239. ConfigLocation = ... # type: QStandardPaths.StandardLocation
  7240. DownloadLocation = ... # type: QStandardPaths.StandardLocation
  7241. GenericCacheLocation = ... # type: QStandardPaths.StandardLocation
  7242. GenericConfigLocation = ... # type: QStandardPaths.StandardLocation
  7243. AppDataLocation = ... # type: QStandardPaths.StandardLocation
  7244. AppLocalDataLocation = ... # type: QStandardPaths.StandardLocation
  7245. AppConfigLocation = ... # type: QStandardPaths.StandardLocation
  7246. PublicShareLocation = ... # type: QStandardPaths.StandardLocation
  7247. TemplatesLocation = ... # type: QStandardPaths.StandardLocation
  7248. StateLocation = ... # type: QStandardPaths.StandardLocation
  7249. GenericStateLocation = ... # type: QStandardPaths.StandardLocation
  7250. def __init__(self, a0: 'QStandardPaths') -> None: ...
  7251. @staticmethod
  7252. def setTestModeEnabled(testMode: bool) -> None: ...
  7253. @staticmethod
  7254. def findExecutable(executableName: str|None, paths: collections.abc.Iterable[str|None] = ...) -> str: ...
  7255. @staticmethod
  7256. def displayName(type: 'QStandardPaths.StandardLocation') -> str: ...
  7257. @staticmethod
  7258. def locateAll(type: 'QStandardPaths.StandardLocation', fileName: str|None, options: 'QStandardPaths.LocateOption' = ...) -> list[str]: ...
  7259. @staticmethod
  7260. def locate(type: 'QStandardPaths.StandardLocation', fileName: str|None, options: 'QStandardPaths.LocateOption' = ...) -> str: ...
  7261. @staticmethod
  7262. def standardLocations(type: 'QStandardPaths.StandardLocation') -> list[str]: ...
  7263. @staticmethod
  7264. def writableLocation(type: 'QStandardPaths.StandardLocation') -> str: ...
  7265. class QStorageInfo(PyQt6.sip.simplewrapper):
  7266. @typing.overload
  7267. def __init__(self) -> None: ...
  7268. @typing.overload
  7269. def __init__(self, path: str|None) -> None: ...
  7270. @typing.overload
  7271. def __init__(self, dir: QDir) -> None: ...
  7272. @typing.overload
  7273. def __init__(self, other: 'QStorageInfo') -> None: ...
  7274. def __eq__(self, other: object): ...
  7275. def __ne__(self, other: object): ...
  7276. def subvolume(self) -> QByteArray: ...
  7277. def blockSize(self) -> int: ...
  7278. def isRoot(self) -> bool: ...
  7279. @staticmethod
  7280. def root() -> 'QStorageInfo': ...
  7281. @staticmethod
  7282. def mountedVolumes() -> list['QStorageInfo']: ...
  7283. def refresh(self) -> None: ...
  7284. def isValid(self) -> bool: ...
  7285. def isReady(self) -> bool: ...
  7286. def isReadOnly(self) -> bool: ...
  7287. def bytesAvailable(self) -> int: ...
  7288. def bytesFree(self) -> int: ...
  7289. def bytesTotal(self) -> int: ...
  7290. def displayName(self) -> str: ...
  7291. def name(self) -> str: ...
  7292. def fileSystemType(self) -> QByteArray: ...
  7293. def device(self) -> QByteArray: ...
  7294. def rootPath(self) -> str: ...
  7295. def setPath(self, path: str|None) -> None: ...
  7296. def swap(self, other: 'QStorageInfo') -> None: ...
  7297. class QStringConverterBase(PyQt6.sip.simplewrapper):
  7298. class Flag(enum.Flag):
  7299. Default = ... # type: QStringConverterBase.Flag
  7300. Stateless = ... # type: QStringConverterBase.Flag
  7301. ConvertInvalidToNull = ... # type: QStringConverterBase.Flag
  7302. WriteBom = ... # type: QStringConverterBase.Flag
  7303. ConvertInitialBom = ... # type: QStringConverterBase.Flag
  7304. UsesIcu = ... # type: QStringConverterBase.Flag
  7305. def __init__(self) -> None: ...
  7306. class QStringConverter(QStringConverterBase):
  7307. class FinalizeResultError(enum.Enum):
  7308. NoError = ... # type: QStringConverter.FinalizeResultError
  7309. InvalidCharacters = ... # type: QStringConverter.FinalizeResultError
  7310. NotEnoughSpace = ... # type: QStringConverter.FinalizeResultError
  7311. class Encoding(enum.Enum):
  7312. Utf8 = ... # type: QStringConverter.Encoding
  7313. Utf16 = ... # type: QStringConverter.Encoding
  7314. Utf16LE = ... # type: QStringConverter.Encoding
  7315. Utf16BE = ... # type: QStringConverter.Encoding
  7316. Utf32 = ... # type: QStringConverter.Encoding
  7317. Utf32LE = ... # type: QStringConverter.Encoding
  7318. Utf32BE = ... # type: QStringConverter.Encoding
  7319. Latin1 = ... # type: QStringConverter.Encoding
  7320. System = ... # type: QStringConverter.Encoding
  7321. @typing.overload
  7322. def __init__(self) -> None: ...
  7323. @typing.overload
  7324. def __init__(self, encoding: 'QStringConverter.Encoding', f: QStringConverterBase.Flag) -> None: ...
  7325. @typing.overload
  7326. def __init__(self, name: QByteArray|bytes|bytearray|memoryview|str|None, f: QStringConverterBase.Flag) -> None: ...
  7327. @staticmethod
  7328. def availableCodecs() -> list[str]: ...
  7329. @staticmethod
  7330. def nameForEncoding(e: 'QStringConverter.Encoding') -> str: ...
  7331. def name(self) -> str: ...
  7332. def hasError(self) -> bool: ...
  7333. def resetState(self) -> None: ...
  7334. def isValid(self) -> bool: ...
  7335. class QStringEncoder(QStringConverter):
  7336. @typing.overload
  7337. def __init__(self) -> None: ...
  7338. @typing.overload
  7339. def __init__(self, encoding: QStringConverter.Encoding, flags: QStringConverterBase.Flag = ...) -> None: ...
  7340. @typing.overload
  7341. def __init__(self, name: QByteArray|bytes|bytearray|memoryview|str|None, flags: QStringConverterBase.Flag = ...) -> None: ...
  7342. def encode(self, in_: str) -> QByteArray: ...
  7343. def __call__(self, in_: str) -> QByteArray: ...
  7344. class QStringDecoder(QStringConverter):
  7345. @typing.overload
  7346. def __init__(self) -> None: ...
  7347. @typing.overload
  7348. def __init__(self, encoding: QStringConverter.Encoding, flags: QStringConverterBase.Flag = ...) -> None: ...
  7349. @typing.overload
  7350. def __init__(self, name: QByteArray|bytes|bytearray|memoryview|str|None, flags: QStringConverterBase.Flag = ...) -> None: ...
  7351. @staticmethod
  7352. def decoderForHtml(data: QByteArray|bytes|bytearray|memoryview) -> 'QStringDecoder': ...
  7353. def decode(self, ba: QByteArray|bytes|bytearray|memoryview) -> str: ...
  7354. def __call__(self, ba: QByteArray|bytes|bytearray|memoryview) -> str: ...
  7355. class QStringListModel(QAbstractListModel):
  7356. @typing.overload
  7357. def __init__(self, parent: QObject|None = ...) -> None: ...
  7358. @typing.overload
  7359. def __init__(self, strings: collections.abc.Iterable[str|None], parent: QObject|None = ...) -> None: ...
  7360. def clearItemData(self, index: QModelIndex) -> bool: ...
  7361. def setItemData(self, index: QModelIndex, roles: dict[int, typing.Any]) -> bool: ...
  7362. def itemData(self, index: QModelIndex) -> dict[int, typing.Any]: ...
  7363. def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  7364. def sibling(self, row: int, column: int, idx: QModelIndex) -> QModelIndex: ...
  7365. def supportedDropActions(self) -> Qt.DropAction: ...
  7366. def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ...
  7367. def setStringList(self, strings: collections.abc.Iterable[str|None]) -> None: ...
  7368. def stringList(self) -> list[str]: ...
  7369. def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7370. def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7371. def flags(self, index: QModelIndex) -> Qt.ItemFlag: ...
  7372. def setData(self, index: QModelIndex, value: typing.Any, role: int = ...) -> bool: ...
  7373. def data(self, index: QModelIndex, role: int = ...) -> typing.Any: ...
  7374. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  7375. class QSysInfo(PyQt6.sip.simplewrapper):
  7376. class Endian(enum.Enum):
  7377. BigEndian = ... # type: QSysInfo.Endian
  7378. LittleEndian = ... # type: QSysInfo.Endian
  7379. ByteOrder = ... # type: QSysInfo.Endian
  7380. class Sizes(enum.Enum):
  7381. WordSize = ... # type: QSysInfo.Sizes
  7382. @typing.overload
  7383. def __init__(self) -> None: ...
  7384. @typing.overload
  7385. def __init__(self, a0: 'QSysInfo') -> None: ...
  7386. @staticmethod
  7387. def bootUniqueId() -> QByteArray: ...
  7388. @staticmethod
  7389. def machineUniqueId() -> QByteArray: ...
  7390. @staticmethod
  7391. def machineHostName() -> str: ...
  7392. @staticmethod
  7393. def prettyProductName() -> str: ...
  7394. @staticmethod
  7395. def productVersion() -> str: ...
  7396. @staticmethod
  7397. def productType() -> str: ...
  7398. @staticmethod
  7399. def kernelVersion() -> str: ...
  7400. @staticmethod
  7401. def kernelType() -> str: ...
  7402. @staticmethod
  7403. def buildAbi() -> str: ...
  7404. @staticmethod
  7405. def currentCpuArchitecture() -> str: ...
  7406. @staticmethod
  7407. def buildCpuArchitecture() -> str: ...
  7408. class QSystemSemaphore(PyQt6.sip.simplewrapper):
  7409. class SystemSemaphoreError(enum.Enum):
  7410. NoError = ... # type: QSystemSemaphore.SystemSemaphoreError
  7411. PermissionDenied = ... # type: QSystemSemaphore.SystemSemaphoreError
  7412. KeyError = ... # type: QSystemSemaphore.SystemSemaphoreError
  7413. AlreadyExists = ... # type: QSystemSemaphore.SystemSemaphoreError
  7414. NotFound = ... # type: QSystemSemaphore.SystemSemaphoreError
  7415. OutOfResources = ... # type: QSystemSemaphore.SystemSemaphoreError
  7416. UnknownError = ... # type: QSystemSemaphore.SystemSemaphoreError
  7417. class AccessMode(enum.Enum):
  7418. Open = ... # type: QSystemSemaphore.AccessMode
  7419. Create = ... # type: QSystemSemaphore.AccessMode
  7420. @typing.overload
  7421. def __init__(self, key: 'QNativeIpcKey', initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ...) -> None: ...
  7422. @typing.overload
  7423. def __init__(self, key: str|None, initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ...) -> None: ...
  7424. @staticmethod
  7425. def legacyNativeKey(key: str|None, type: 'QNativeIpcKey.Type' = ...) -> 'QNativeIpcKey': ...
  7426. @staticmethod
  7427. def platformSafeKey(key: str|None, type: 'QNativeIpcKey.Type' = ...) -> 'QNativeIpcKey': ...
  7428. @staticmethod
  7429. def isKeyTypeSupported(type: 'QNativeIpcKey.Type') -> bool: ...
  7430. def nativeIpcKey(self) -> 'QNativeIpcKey': ...
  7431. @typing.overload
  7432. def setNativeKey(self, key: 'QNativeIpcKey', initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ...) -> None: ...
  7433. @typing.overload
  7434. def setNativeKey(self, key: str|None, initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ..., type: 'QNativeIpcKey.Type' = ...) -> None: ...
  7435. def errorString(self) -> str: ...
  7436. def error(self) -> 'QSystemSemaphore.SystemSemaphoreError': ...
  7437. def release(self, n: int = ...) -> bool: ...
  7438. def acquire(self) -> bool: ...
  7439. def key(self) -> str: ...
  7440. def setKey(self, key: str|None, initialValue: int = ..., mode: 'QSystemSemaphore.AccessMode' = ...) -> None: ...
  7441. class QTemporaryDir(PyQt6.sip.simplewrapper):
  7442. @typing.overload
  7443. def __init__(self) -> None: ...
  7444. @typing.overload
  7445. def __init__(self, templateName: str|None) -> None: ...
  7446. def swap(self, other: 'QTemporaryDir') -> None: ...
  7447. def filePath(self, fileName: str|None) -> str: ...
  7448. def errorString(self) -> str: ...
  7449. def path(self) -> str: ...
  7450. def remove(self) -> bool: ...
  7451. def setAutoRemove(self, b: bool) -> None: ...
  7452. def autoRemove(self) -> bool: ...
  7453. def isValid(self) -> bool: ...
  7454. class QTemporaryFile(QFile):
  7455. @typing.overload
  7456. def __init__(self) -> None: ...
  7457. @typing.overload
  7458. def __init__(self, templateName: str|None) -> None: ...
  7459. @typing.overload
  7460. def __init__(self, parent: QObject|None) -> None: ...
  7461. @typing.overload
  7462. def __init__(self, templateName: str|None, parent: QObject|None) -> None: ...
  7463. def renameOverwrite(self, newName: str|None) -> bool: ...
  7464. def rename(self, newName: str|None) -> bool: ...
  7465. @typing.overload
  7466. @staticmethod
  7467. def createNativeFile(fileName: str|None) -> 'QTemporaryFile|None': ...
  7468. @typing.overload
  7469. @staticmethod
  7470. def createNativeFile(file: QFile) -> 'QTemporaryFile|None': ...
  7471. def setFileTemplate(self, name: str|None) -> None: ...
  7472. def fileTemplate(self) -> str: ...
  7473. def fileName(self) -> str: ...
  7474. @typing.overload
  7475. def open(self) -> bool: ...
  7476. @typing.overload
  7477. def open(self, flags: QIODeviceBase.OpenModeFlag) -> bool: ...
  7478. def setAutoRemove(self, b: bool) -> None: ...
  7479. def autoRemove(self) -> bool: ...
  7480. class QTextBoundaryFinder(PyQt6.sip.simplewrapper):
  7481. class BoundaryType(enum.Enum):
  7482. Grapheme = ... # type: QTextBoundaryFinder.BoundaryType
  7483. Word = ... # type: QTextBoundaryFinder.BoundaryType
  7484. Line = ... # type: QTextBoundaryFinder.BoundaryType
  7485. Sentence = ... # type: QTextBoundaryFinder.BoundaryType
  7486. class BoundaryReason(enum.Flag):
  7487. NotAtBoundary = ... # type: QTextBoundaryFinder.BoundaryReason
  7488. SoftHyphen = ... # type: QTextBoundaryFinder.BoundaryReason
  7489. BreakOpportunity = ... # type: QTextBoundaryFinder.BoundaryReason
  7490. StartOfItem = ... # type: QTextBoundaryFinder.BoundaryReason
  7491. EndOfItem = ... # type: QTextBoundaryFinder.BoundaryReason
  7492. MandatoryBreak = ... # type: QTextBoundaryFinder.BoundaryReason
  7493. @typing.overload
  7494. def __init__(self) -> None: ...
  7495. @typing.overload
  7496. def __init__(self, other: 'QTextBoundaryFinder') -> None: ...
  7497. @typing.overload
  7498. def __init__(self, type: 'QTextBoundaryFinder.BoundaryType', string: str|None) -> None: ...
  7499. def swap(self, other: 'QTextBoundaryFinder') -> None: ...
  7500. def boundaryReasons(self) -> 'QTextBoundaryFinder.BoundaryReason': ...
  7501. def isAtBoundary(self) -> bool: ...
  7502. def toPreviousBoundary(self) -> int: ...
  7503. def toNextBoundary(self) -> int: ...
  7504. def setPosition(self, position: int) -> None: ...
  7505. def position(self) -> int: ...
  7506. def toEnd(self) -> None: ...
  7507. def toStart(self) -> None: ...
  7508. def string(self) -> str: ...
  7509. def type(self) -> 'QTextBoundaryFinder.BoundaryType': ...
  7510. def isValid(self) -> bool: ...
  7511. class QTextStream(QIODeviceBase):
  7512. class NumberFlag(enum.Flag):
  7513. ShowBase = ... # type: QTextStream.NumberFlag
  7514. ForcePoint = ... # type: QTextStream.NumberFlag
  7515. ForceSign = ... # type: QTextStream.NumberFlag
  7516. UppercaseBase = ... # type: QTextStream.NumberFlag
  7517. UppercaseDigits = ... # type: QTextStream.NumberFlag
  7518. class Status(enum.Enum):
  7519. Ok = ... # type: QTextStream.Status
  7520. ReadPastEnd = ... # type: QTextStream.Status
  7521. ReadCorruptData = ... # type: QTextStream.Status
  7522. WriteFailed = ... # type: QTextStream.Status
  7523. class FieldAlignment(enum.Enum):
  7524. AlignLeft = ... # type: QTextStream.FieldAlignment
  7525. AlignRight = ... # type: QTextStream.FieldAlignment
  7526. AlignCenter = ... # type: QTextStream.FieldAlignment
  7527. AlignAccountingStyle = ... # type: QTextStream.FieldAlignment
  7528. class RealNumberNotation(enum.Enum):
  7529. SmartNotation = ... # type: QTextStream.RealNumberNotation
  7530. FixedNotation = ... # type: QTextStream.RealNumberNotation
  7531. ScientificNotation = ... # type: QTextStream.RealNumberNotation
  7532. @typing.overload
  7533. def __init__(self) -> None: ...
  7534. @typing.overload
  7535. def __init__(self, device: QIODevice|None) -> None: ...
  7536. @typing.overload
  7537. def __init__(self, array: QByteArray|None, mode: QIODeviceBase.OpenModeFlag = ...) -> None: ...
  7538. def __int__(self) -> bool: ...
  7539. @typing.overload
  7540. def __lshift__(self, s: str) -> 'QTextStream': ...
  7541. @typing.overload
  7542. def __lshift__(self, array: QByteArray|bytes|bytearray|memoryview) -> 'QTextStream': ...
  7543. @typing.overload
  7544. def __lshift__(self, f: float) -> 'QTextStream': ...
  7545. @typing.overload
  7546. def __lshift__(self, i: int) -> 'QTextStream': ...
  7547. @typing.overload
  7548. def __lshift__(self, m: 'QTextStreamManipulator') -> 'QTextStream': ...
  7549. def __rshift__(self, array: QByteArray) -> 'QTextStream': ...
  7550. def realNumberPrecision(self) -> int: ...
  7551. def setRealNumberPrecision(self, precision: int) -> None: ...
  7552. def realNumberNotation(self) -> 'QTextStream.RealNumberNotation': ...
  7553. def setRealNumberNotation(self, notation: 'QTextStream.RealNumberNotation') -> None: ...
  7554. def integerBase(self) -> int: ...
  7555. def setIntegerBase(self, base: int) -> None: ...
  7556. def numberFlags(self) -> 'QTextStream.NumberFlag': ...
  7557. def setNumberFlags(self, flags: 'QTextStream.NumberFlag') -> None: ...
  7558. def fieldWidth(self) -> int: ...
  7559. def setFieldWidth(self, width: int) -> None: ...
  7560. def padChar(self) -> str: ...
  7561. def setPadChar(self, ch: str) -> None: ...
  7562. def fieldAlignment(self) -> 'QTextStream.FieldAlignment': ...
  7563. def setFieldAlignment(self, alignment: 'QTextStream.FieldAlignment') -> None: ...
  7564. def read(self, maxlen: int) -> str: ...
  7565. def readAll(self) -> str: ...
  7566. def readLine(self, maxLength: int = ...) -> str: ...
  7567. def skipWhiteSpace(self) -> None: ...
  7568. def pos(self) -> int: ...
  7569. def seek(self, pos: int) -> bool: ...
  7570. def flush(self) -> None: ...
  7571. def reset(self) -> None: ...
  7572. def atEnd(self) -> bool: ...
  7573. def resetStatus(self) -> None: ...
  7574. def setStatus(self, status: 'QTextStream.Status') -> None: ...
  7575. def status(self) -> 'QTextStream.Status': ...
  7576. def device(self) -> QIODevice|None: ...
  7577. def setDevice(self, device: QIODevice|None) -> None: ...
  7578. def locale(self) -> QLocale: ...
  7579. def setLocale(self, locale: QLocale) -> None: ...
  7580. def generateByteOrderMark(self) -> bool: ...
  7581. def setGenerateByteOrderMark(self, generate: bool) -> None: ...
  7582. def autoDetectUnicode(self) -> bool: ...
  7583. def setAutoDetectUnicode(self, enabled: bool) -> None: ...
  7584. def encoding(self) -> QStringConverter.Encoding: ...
  7585. def setEncoding(self, encoding: QStringConverter.Encoding) -> None: ...
  7586. class QTextStreamManipulator(PyQt6.sip.simplewrapper): ...
  7587. class QThread(QObject):
  7588. class QualityOfService(enum.Enum):
  7589. Auto = ... # type: QThread.QualityOfService
  7590. High = ... # type: QThread.QualityOfService
  7591. Eco = ... # type: QThread.QualityOfService
  7592. class Priority(enum.Enum):
  7593. IdlePriority = ... # type: QThread.Priority
  7594. LowestPriority = ... # type: QThread.Priority
  7595. LowPriority = ... # type: QThread.Priority
  7596. NormalPriority = ... # type: QThread.Priority
  7597. HighPriority = ... # type: QThread.Priority
  7598. HighestPriority = ... # type: QThread.Priority
  7599. TimeCriticalPriority = ... # type: QThread.Priority
  7600. InheritPriority = ... # type: QThread.Priority
  7601. def __init__(self, parent: QObject|None = ...) -> None: ...
  7602. def serviceLevel(self) -> 'QThread.QualityOfService': ...
  7603. def setServiceLevel(self, serviceLevel: 'QThread.QualityOfService') -> None: ...
  7604. def isCurrentThread(self) -> bool: ...
  7605. @staticmethod
  7606. def isMainThread() -> bool: ...
  7607. def loopLevel(self) -> int: ...
  7608. def isInterruptionRequested(self) -> bool: ...
  7609. def requestInterruption(self) -> None: ...
  7610. def setEventDispatcher(self, eventDispatcher: QAbstractEventDispatcher|None) -> None: ...
  7611. def eventDispatcher(self) -> QAbstractEventDispatcher|None: ...
  7612. @staticmethod
  7613. def usleep(a0: int) -> None: ...
  7614. @staticmethod
  7615. def msleep(a0: int) -> None: ...
  7616. @staticmethod
  7617. def sleep(a0: int) -> None: ...
  7618. def event(self, event: QEvent|None) -> bool: ...
  7619. @staticmethod
  7620. def setTerminationEnabled(enabled: bool = ...) -> None: ...
  7621. def exec(self) -> int: ...
  7622. def run(self) -> None: ...
  7623. finished: typing.ClassVar[pyqtSignal]
  7624. started: typing.ClassVar[pyqtSignal]
  7625. @typing.overload
  7626. def wait(self, deadline: QDeadlineTimer = ...) -> bool: ...
  7627. @typing.overload
  7628. def wait(self, time: int) -> bool: ...
  7629. def quit(self) -> None: ...
  7630. def terminate(self) -> None: ...
  7631. def start(self, priority: 'QThread.Priority' = ...) -> None: ...
  7632. def exit(self, returnCode: int = ...) -> None: ...
  7633. def stackSize(self) -> int: ...
  7634. def setStackSize(self, stackSize: int) -> None: ...
  7635. def priority(self) -> 'QThread.Priority': ...
  7636. def setPriority(self, priority: 'QThread.Priority') -> None: ...
  7637. def isRunning(self) -> bool: ...
  7638. def isFinished(self) -> bool: ...
  7639. @staticmethod
  7640. def yieldCurrentThread() -> None: ...
  7641. @staticmethod
  7642. def idealThreadCount() -> int: ...
  7643. @staticmethod
  7644. def currentThreadId() -> PyQt6.sip.voidptr: ...
  7645. @staticmethod
  7646. def currentThread() -> 'QThread|None': ...
  7647. class QThreadPool(QObject):
  7648. def __init__(self, parent: QObject|None = ...) -> None: ...
  7649. def serviceLevel(self) -> QThread.QualityOfService: ...
  7650. def setServiceLevel(self, serviceLevel: QThread.QualityOfService) -> None: ...
  7651. @typing.overload
  7652. def startOnReservedThread(self, runnable: QRunnable|None) -> None: ...
  7653. @typing.overload
  7654. def startOnReservedThread(self, functionToRun: collections.abc.Callable[[], None]) -> None: ...
  7655. def threadPriority(self) -> QThread.Priority: ...
  7656. def setThreadPriority(self, priority: QThread.Priority) -> None: ...
  7657. def contains(self, thread: QThread|None) -> bool: ...
  7658. def stackSize(self) -> int: ...
  7659. def setStackSize(self, stackSize: int) -> None: ...
  7660. def clear(self) -> None: ...
  7661. @typing.overload
  7662. def waitForDone(self, deadline: QDeadlineTimer) -> bool: ...
  7663. @typing.overload
  7664. def waitForDone(self, msecs: int = ...) -> bool: ...
  7665. def releaseThread(self) -> None: ...
  7666. def reserveThread(self) -> None: ...
  7667. def activeThreadCount(self) -> int: ...
  7668. def setMaxThreadCount(self, maxThreadCount: int) -> None: ...
  7669. def maxThreadCount(self) -> int: ...
  7670. def setExpiryTimeout(self, expiryTimeout: int) -> None: ...
  7671. def expiryTimeout(self) -> int: ...
  7672. def tryTake(self, runnable: QRunnable|None) -> bool: ...
  7673. @typing.overload
  7674. def tryStart(self, runnable: QRunnable|None) -> bool: ...
  7675. @typing.overload
  7676. def tryStart(self, functionToRun: collections.abc.Callable[[], None]) -> bool: ...
  7677. @typing.overload
  7678. def start(self, runnable: QRunnable|None, priority: int = ...) -> None: ...
  7679. @typing.overload
  7680. def start(self, functionToRun: collections.abc.Callable[[], None], priority: int = ...) -> None: ...
  7681. @staticmethod
  7682. def globalInstance() -> 'QThreadPool|None': ...
  7683. class QTimeLine(QObject):
  7684. class State(enum.Enum):
  7685. NotRunning = ... # type: QTimeLine.State
  7686. Paused = ... # type: QTimeLine.State
  7687. Running = ... # type: QTimeLine.State
  7688. class Direction(enum.Enum):
  7689. Forward = ... # type: QTimeLine.Direction
  7690. Backward = ... # type: QTimeLine.Direction
  7691. def __init__(self, duration: int = ..., parent: QObject|None = ...) -> None: ...
  7692. def setEasingCurve(self, curve: QEasingCurve|QEasingCurve.Type) -> None: ...
  7693. def easingCurve(self) -> QEasingCurve: ...
  7694. def timerEvent(self, event: QTimerEvent|None) -> None: ...
  7695. valueChanged: typing.ClassVar[pyqtSignal]
  7696. stateChanged: typing.ClassVar[pyqtSignal]
  7697. frameChanged: typing.ClassVar[pyqtSignal]
  7698. finished: typing.ClassVar[pyqtSignal]
  7699. def toggleDirection(self) -> None: ...
  7700. def stop(self) -> None: ...
  7701. def start(self) -> None: ...
  7702. def setPaused(self, paused: bool) -> None: ...
  7703. def setCurrentTime(self, msec: int) -> None: ...
  7704. def resume(self) -> None: ...
  7705. def valueForTime(self, msec: int) -> float: ...
  7706. def frameForTime(self, msec: int) -> int: ...
  7707. def currentValue(self) -> float: ...
  7708. def currentFrame(self) -> int: ...
  7709. def currentTime(self) -> int: ...
  7710. def setUpdateInterval(self, interval: int) -> None: ...
  7711. def updateInterval(self) -> int: ...
  7712. def setFrameRange(self, startFrame: int, endFrame: int) -> None: ...
  7713. def setEndFrame(self, frame: int) -> None: ...
  7714. def endFrame(self) -> int: ...
  7715. def setStartFrame(self, frame: int) -> None: ...
  7716. def startFrame(self) -> int: ...
  7717. def setDuration(self, duration: int) -> None: ...
  7718. def duration(self) -> int: ...
  7719. def setDirection(self, direction: 'QTimeLine.Direction') -> None: ...
  7720. def direction(self) -> 'QTimeLine.Direction': ...
  7721. def setLoopCount(self, count: int) -> None: ...
  7722. def loopCount(self) -> int: ...
  7723. def state(self) -> 'QTimeLine.State': ...
  7724. class QTimer(QObject):
  7725. def __init__(self, parent: QObject|None = ...) -> None: ...
  7726. def id(self) -> int: ...
  7727. def remainingTime(self) -> int: ...
  7728. def timerType(self) -> Qt.TimerType: ...
  7729. def setTimerType(self, atype: Qt.TimerType) -> None: ...
  7730. def timerEvent(self, a0: QTimerEvent|None) -> None: ...
  7731. timeout: typing.ClassVar[pyqtSignal]
  7732. def stop(self) -> None: ...
  7733. @typing.overload
  7734. def start(self, msec: int) -> None: ...
  7735. @typing.overload
  7736. def start(self) -> None: ...
  7737. @typing.overload
  7738. @staticmethod
  7739. def singleShot(msec: int, slot: PYQT_SLOT) -> None: ...
  7740. @typing.overload
  7741. @staticmethod
  7742. def singleShot(msec: int, timerType: Qt.TimerType, slot: PYQT_SLOT) -> None: ...
  7743. def setSingleShot(self, asingleShot: bool) -> None: ...
  7744. def isSingleShot(self) -> bool: ...
  7745. def interval(self) -> int: ...
  7746. def setInterval(self, msec: int) -> None: ...
  7747. def timerId(self) -> int: ...
  7748. def isActive(self) -> bool: ...
  7749. class QTimeZone(PyQt6.sip.simplewrapper):
  7750. class Initialization(enum.Enum):
  7751. LocalTime = ... # type: QTimeZone.Initialization
  7752. UTC = ... # type: QTimeZone.Initialization
  7753. class NameType(enum.Enum):
  7754. DefaultName = ... # type: QTimeZone.NameType
  7755. LongName = ... # type: QTimeZone.NameType
  7756. ShortName = ... # type: QTimeZone.NameType
  7757. OffsetName = ... # type: QTimeZone.NameType
  7758. class TimeType(enum.Enum):
  7759. StandardTime = ... # type: QTimeZone.TimeType
  7760. DaylightTime = ... # type: QTimeZone.TimeType
  7761. GenericTime = ... # type: QTimeZone.TimeType
  7762. class OffsetData(PyQt6.sip.simplewrapper):
  7763. abbreviation = ... # type: str|None
  7764. atUtc = ... # type: QDateTime|datetime.datetime
  7765. daylightTimeOffset = ... # type: int
  7766. offsetFromUtc = ... # type: int
  7767. standardTimeOffset = ... # type: int
  7768. @typing.overload
  7769. def __init__(self) -> None: ...
  7770. @typing.overload
  7771. def __init__(self, a0: 'QTimeZone.OffsetData') -> None: ...
  7772. MaxUtcOffsetSecs = ... # type: int
  7773. MinUtcOffsetSecs = ... # type: int
  7774. @typing.overload
  7775. def __init__(self, spec: 'QTimeZone.Initialization') -> None: ...
  7776. @typing.overload
  7777. def __init__(self, zoneId: QByteArray|bytes|bytearray|memoryview, offsetSeconds: int, name: str|None, abbreviation: str|None, territory: QLocale.Country = ..., comment: str|None = ...) -> None: ...
  7778. @typing.overload
  7779. def __init__(self, ianaId: QByteArray|bytes|bytearray|memoryview) -> None: ...
  7780. @typing.overload
  7781. def __init__(self, offsetSeconds: int) -> None: ...
  7782. @typing.overload
  7783. def __init__(self, other: 'QTimeZone') -> None: ...
  7784. @typing.overload
  7785. def __init__(self) -> None: ...
  7786. def __eq__(self, other: object): ...
  7787. def __ne__(self, other: object): ...
  7788. def hasAlternativeName(self, alias: QByteArray|bytes|bytearray|memoryview) -> bool: ...
  7789. def asBackendZone(self) -> 'QTimeZone': ...
  7790. @typing.overload
  7791. def isUtcOrFixedOffset(self) -> bool: ...
  7792. @typing.overload
  7793. @staticmethod
  7794. def isUtcOrFixedOffset(spec: Qt.TimeSpec) -> bool: ...
  7795. def fixedSecondsAheadOfUtc(self) -> int: ...
  7796. def timeSpec(self) -> Qt.TimeSpec: ...
  7797. @staticmethod
  7798. def fromSecondsAheadOfUtc(offset: int) -> 'QTimeZone': ...
  7799. @staticmethod
  7800. def utc() -> 'QTimeZone': ...
  7801. @staticmethod
  7802. def systemTimeZone() -> 'QTimeZone': ...
  7803. @typing.overload
  7804. @staticmethod
  7805. def windowsIdToIanaIds(windowsId: QByteArray|bytes|bytearray|memoryview) -> list[QByteArray]: ...
  7806. @typing.overload
  7807. @staticmethod
  7808. def windowsIdToIanaIds(windowsId: QByteArray|bytes|bytearray|memoryview, territory: QLocale.Country) -> list[QByteArray]: ...
  7809. @typing.overload
  7810. @staticmethod
  7811. def windowsIdToDefaultIanaId(windowsId: QByteArray|bytes|bytearray|memoryview) -> QByteArray: ...
  7812. @typing.overload
  7813. @staticmethod
  7814. def windowsIdToDefaultIanaId(windowsId: QByteArray|bytes|bytearray|memoryview, territory: QLocale.Country) -> QByteArray: ...
  7815. @staticmethod
  7816. def ianaIdToWindowsId(ianaId: QByteArray|bytes|bytearray|memoryview) -> QByteArray: ...
  7817. @typing.overload
  7818. @staticmethod
  7819. def availableTimeZoneIds(territory: QLocale.Country) -> list[QByteArray]: ...
  7820. @typing.overload
  7821. @staticmethod
  7822. def availableTimeZoneIds(offsetSeconds: int) -> list[QByteArray]: ...
  7823. @typing.overload
  7824. @staticmethod
  7825. def availableTimeZoneIds() -> list[QByteArray]: ...
  7826. @staticmethod
  7827. def isTimeZoneIdAvailable(ianaId: QByteArray|bytes|bytearray|memoryview) -> bool: ...
  7828. @staticmethod
  7829. def systemTimeZoneId() -> QByteArray: ...
  7830. def transitions(self, fromDateTime: QDateTime|datetime.datetime, toDateTime: QDateTime|datetime.datetime) -> list['QTimeZone.OffsetData']: ...
  7831. def previousTransition(self, beforeDateTime: QDateTime|datetime.datetime) -> 'QTimeZone.OffsetData': ...
  7832. def nextTransition(self, afterDateTime: QDateTime|datetime.datetime) -> 'QTimeZone.OffsetData': ...
  7833. def hasTransitions(self) -> bool: ...
  7834. def offsetData(self, forDateTime: QDateTime|datetime.datetime) -> 'QTimeZone.OffsetData': ...
  7835. def isDaylightTime(self, atDateTime: QDateTime|datetime.datetime) -> bool: ...
  7836. def hasDaylightTime(self) -> bool: ...
  7837. def daylightTimeOffset(self, atDateTime: QDateTime|datetime.datetime) -> int: ...
  7838. def standardTimeOffset(self, atDateTime: QDateTime|datetime.datetime) -> int: ...
  7839. def offsetFromUtc(self, atDateTime: QDateTime|datetime.datetime) -> int: ...
  7840. def abbreviation(self, atDateTime: QDateTime|datetime.datetime) -> str: ...
  7841. @typing.overload
  7842. def displayName(self, atDateTime: QDateTime|datetime.datetime, nameType: 'QTimeZone.NameType' = ..., locale: QLocale = ...) -> str: ...
  7843. @typing.overload
  7844. def displayName(self, timeType: 'QTimeZone.TimeType', nameType: 'QTimeZone.NameType' = ..., locale: QLocale = ...) -> str: ...
  7845. def comment(self) -> str: ...
  7846. def territory(self) -> QLocale.Country: ...
  7847. def country(self) -> QLocale.Country: ...
  7848. def id(self) -> QByteArray: ...
  7849. def isValid(self) -> bool: ...
  7850. def swap(self, other: 'QTimeZone') -> None: ...
  7851. class QNativeIpcKey(PyQt6.sip.simplewrapper):
  7852. class Type(enum.Enum):
  7853. SystemV = ... # type: QNativeIpcKey.Type
  7854. PosixRealtime = ... # type: QNativeIpcKey.Type
  7855. Windows = ... # type: QNativeIpcKey.Type
  7856. DefaultTypeForOs = ... # type: 'QNativeIpcKey.Type'
  7857. @typing.overload
  7858. def __init__(self) -> None: ...
  7859. @typing.overload
  7860. def __init__(self, type: 'QNativeIpcKey.Type') -> None: ...
  7861. @typing.overload
  7862. def __init__(self, k: str|None, type: 'QNativeIpcKey.Type' = ...) -> None: ...
  7863. @typing.overload
  7864. def __init__(self, other: 'QNativeIpcKey') -> None: ...
  7865. def __eq__(self, other: object): ...
  7866. def __ne__(self, other: object): ...
  7867. def __hash__(self) -> int: ...
  7868. @staticmethod
  7869. def fromString(string: str|None) -> 'QNativeIpcKey': ...
  7870. def toString(self) -> str: ...
  7871. def setNativeKey(self, newKey: str|None) -> None: ...
  7872. def nativeKey(self) -> str: ...
  7873. def setType(self, type: 'QNativeIpcKey.Type') -> None: ...
  7874. def type(self) -> 'QNativeIpcKey.Type': ...
  7875. def isValid(self) -> bool: ...
  7876. def isEmpty(self) -> bool: ...
  7877. def swap(self, other: 'QNativeIpcKey') -> None: ...
  7878. @staticmethod
  7879. def legacyDefaultTypeForOs() -> 'QNativeIpcKey.Type': ...
  7880. class QTranslator(QObject):
  7881. def __init__(self, parent: QObject|None = ...) -> None: ...
  7882. def filePath(self) -> str: ...
  7883. def language(self) -> str: ...
  7884. def loadFromData(self, data: PyQt6.sip.array[bytes], directory: str|None = ...) -> bool: ...
  7885. @typing.overload
  7886. def load(self, fileName: str|None, directory: str|None = ..., searchDelimiters: str|None = ..., suffix: str|None = ...) -> bool: ...
  7887. @typing.overload
  7888. def load(self, locale: QLocale, fileName: str|None, prefix: str|None = ..., directory: str|None = ..., suffix: str|None = ...) -> bool: ...
  7889. def isEmpty(self) -> bool: ...
  7890. def translate(self, context: str, sourceText: str, disambiguation: str = ..., n: int = ...) -> str: ...
  7891. class QTransposeProxyModel(QAbstractProxyModel):
  7892. def __init__(self, parent: QObject|None = ...) -> None: ...
  7893. def sort(self, column: int, order: Qt.SortOrder = ...) -> None: ...
  7894. def moveColumns(self, sourceParent: QModelIndex, sourceColumn: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  7895. def removeColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7896. def insertColumns(self, column: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7897. def moveRows(self, sourceParent: QModelIndex, sourceRow: int, count: int, destinationParent: QModelIndex, destinationChild: int) -> bool: ...
  7898. def removeRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7899. def insertRows(self, row: int, count: int, parent: QModelIndex = ...) -> bool: ...
  7900. def index(self, row: int, column: int, parent: QModelIndex = ...) -> QModelIndex: ...
  7901. def parent(self, index: QModelIndex) -> QModelIndex: ...
  7902. def mapToSource(self, proxyIndex: QModelIndex) -> QModelIndex: ...
  7903. def mapFromSource(self, sourceIndex: QModelIndex) -> QModelIndex: ...
  7904. def itemData(self, index: QModelIndex) -> dict[int, typing.Any]: ...
  7905. def span(self, index: QModelIndex) -> QSize: ...
  7906. def setItemData(self, index: QModelIndex, roles: dict[int, typing.Any]) -> bool: ...
  7907. def setHeaderData(self, section: int, orientation: Qt.Orientation, value: typing.Any, role: int = ...) -> bool: ...
  7908. def headerData(self, section: int, orientation: Qt.Orientation, role: int = ...) -> typing.Any: ...
  7909. def columnCount(self, parent: QModelIndex = ...) -> int: ...
  7910. def rowCount(self, parent: QModelIndex = ...) -> int: ...
  7911. def setSourceModel(self, newSourceModel: QAbstractItemModel|None) -> None: ...
  7912. class QTypeRevision(PyQt6.sip.simplewrapper):
  7913. @typing.overload
  7914. def __init__(self) -> None: ...
  7915. @typing.overload
  7916. def __init__(self, a0: 'QTypeRevision') -> None: ...
  7917. def __eq__(self, other: object): ...
  7918. def __ne__(self, other: object): ...
  7919. def __ge__(self, rhs: 'QTypeRevision') -> bool: ...
  7920. def __le__(self, rhs: 'QTypeRevision') -> bool: ...
  7921. def __gt__(self, rhs: 'QTypeRevision') -> bool: ...
  7922. def __lt__(self, rhs: 'QTypeRevision') -> bool: ...
  7923. @staticmethod
  7924. def zero() -> 'QTypeRevision': ...
  7925. @staticmethod
  7926. def fromEncodedVersion(value: int) -> 'QTypeRevision': ...
  7927. def __hash__(self) -> int: ...
  7928. def toEncodedVersion(self) -> int: ...
  7929. def isValid(self) -> bool: ...
  7930. def minorVersion(self) -> int: ...
  7931. def hasMinorVersion(self) -> bool: ...
  7932. def majorVersion(self) -> int: ...
  7933. def hasMajorVersion(self) -> bool: ...
  7934. class QUrl(PyQt6.sip.simplewrapper):
  7935. class AceProcessingOption(enum.Flag):
  7936. IgnoreIDNWhitelist = ... # type: QUrl.AceProcessingOption
  7937. AceTransitionalProcessing = ... # type: QUrl.AceProcessingOption
  7938. class UserInputResolutionOption(enum.Flag):
  7939. DefaultResolution = ... # type: QUrl.UserInputResolutionOption
  7940. AssumeLocalFile = ... # type: QUrl.UserInputResolutionOption
  7941. class ComponentFormattingOption(enum.IntFlag):
  7942. PrettyDecoded = ... # type: QUrl.ComponentFormattingOption
  7943. EncodeSpaces = ... # type: QUrl.ComponentFormattingOption
  7944. EncodeUnicode = ... # type: QUrl.ComponentFormattingOption
  7945. EncodeDelimiters = ... # type: QUrl.ComponentFormattingOption
  7946. EncodeReserved = ... # type: QUrl.ComponentFormattingOption
  7947. DecodeReserved = ... # type: QUrl.ComponentFormattingOption
  7948. FullyEncoded = ... # type: QUrl.ComponentFormattingOption
  7949. FullyDecoded = ... # type: QUrl.ComponentFormattingOption
  7950. class UrlFormattingOption(enum.IntFlag):
  7951. None_ = ... # type: QUrl.UrlFormattingOption
  7952. RemoveScheme = ... # type: QUrl.UrlFormattingOption
  7953. RemovePassword = ... # type: QUrl.UrlFormattingOption
  7954. RemoveUserInfo = ... # type: QUrl.UrlFormattingOption
  7955. RemovePort = ... # type: QUrl.UrlFormattingOption
  7956. RemoveAuthority = ... # type: QUrl.UrlFormattingOption
  7957. RemovePath = ... # type: QUrl.UrlFormattingOption
  7958. RemoveQuery = ... # type: QUrl.UrlFormattingOption
  7959. RemoveFragment = ... # type: QUrl.UrlFormattingOption
  7960. PreferLocalFile = ... # type: QUrl.UrlFormattingOption
  7961. StripTrailingSlash = ... # type: QUrl.UrlFormattingOption
  7962. RemoveFilename = ... # type: QUrl.UrlFormattingOption
  7963. NormalizePathSegments = ... # type: QUrl.UrlFormattingOption
  7964. class ParsingMode(enum.Enum):
  7965. TolerantMode = ... # type: QUrl.ParsingMode
  7966. StrictMode = ... # type: QUrl.ParsingMode
  7967. DecodedMode = ... # type: QUrl.ParsingMode
  7968. @typing.overload
  7969. def __init__(self) -> None: ...
  7970. @typing.overload
  7971. def __init__(self, url: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  7972. @typing.overload
  7973. def __init__(self, copy: 'QUrl') -> None: ...
  7974. def __eq__(self, other: object): ...
  7975. def __ne__(self, other: object): ...
  7976. def __ge__(self, rhs: 'QUrl') -> bool: ...
  7977. def __le__(self, rhs: 'QUrl') -> bool: ...
  7978. def __gt__(self, rhs: 'QUrl') -> bool: ...
  7979. def __lt__(self, rhs: 'QUrl') -> bool: ...
  7980. def matches(self, url: 'QUrl', options: 'QUrl.UrlFormattingOption') -> bool: ...
  7981. def fileName(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  7982. def adjusted(self, options: 'QUrl.UrlFormattingOption') -> 'QUrl': ...
  7983. @staticmethod
  7984. def fromStringList(uris: collections.abc.Iterable[str|None], mode: 'QUrl.ParsingMode' = ...) -> list['QUrl']: ...
  7985. @staticmethod
  7986. def toStringList(uris: collections.abc.Iterable['QUrl'], options: 'QUrl.UrlFormattingOption' = ...) -> list[str]: ...
  7987. def query(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  7988. @typing.overload
  7989. def setQuery(self, query: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  7990. @typing.overload
  7991. def setQuery(self, query: 'QUrlQuery') -> None: ...
  7992. @typing.overload
  7993. def toDisplayString(self, options: 'QUrl.UrlFormattingOption' = ...) -> str: ...
  7994. @typing.overload
  7995. def toDisplayString(self, options: 'QUrl.ComponentFormattingOption') -> str: ...
  7996. def isLocalFile(self) -> bool: ...
  7997. def swap(self, other: 'QUrl') -> None: ...
  7998. @staticmethod
  7999. def fromUserInput(userInput: str|None, workingDirectory: str|None = ..., options: 'QUrl.UserInputResolutionOption' = ...) -> 'QUrl': ...
  8000. @staticmethod
  8001. def setIdnWhitelist(a0: collections.abc.Iterable[str|None]) -> None: ...
  8002. @staticmethod
  8003. def idnWhitelist() -> list[str]: ...
  8004. @staticmethod
  8005. def toAce(domain: str|None, options: 'QUrl.AceProcessingOption' = ...) -> QByteArray: ...
  8006. @staticmethod
  8007. def fromAce(domain: QByteArray|bytes|bytearray|memoryview, options: 'QUrl.AceProcessingOption' = ...) -> str: ...
  8008. def errorString(self) -> str: ...
  8009. def hasFragment(self) -> bool: ...
  8010. def hasQuery(self) -> bool: ...
  8011. @staticmethod
  8012. def toPercentEncoding(input: str|None, exclude: QByteArray|bytes|bytearray|memoryview = ..., include: QByteArray|bytes|bytearray|memoryview = ...) -> QByteArray: ...
  8013. @staticmethod
  8014. def fromPercentEncoding(a0: QByteArray|bytes|bytearray|memoryview) -> str: ...
  8015. def isDetached(self) -> bool: ...
  8016. def detach(self) -> None: ...
  8017. @staticmethod
  8018. def fromEncoded(input: QByteArray|bytes|bytearray|memoryview, mode: 'QUrl.ParsingMode' = ...) -> 'QUrl': ...
  8019. @typing.overload
  8020. def toEncoded(self, options: 'QUrl.UrlFormattingOption' = ...) -> QByteArray: ...
  8021. @typing.overload
  8022. def toEncoded(self, options: 'QUrl.ComponentFormattingOption') -> QByteArray: ...
  8023. @typing.overload
  8024. def toString(self, options: 'QUrl.UrlFormattingOption' = ...) -> str: ...
  8025. @typing.overload
  8026. def toString(self, options: 'QUrl.ComponentFormattingOption') -> str: ...
  8027. def toLocalFile(self) -> str: ...
  8028. @staticmethod
  8029. def fromLocalFile(localfile: str|None) -> 'QUrl': ...
  8030. def isParentOf(self, url: 'QUrl') -> bool: ...
  8031. def isRelative(self) -> bool: ...
  8032. def resolved(self, relative: 'QUrl') -> 'QUrl': ...
  8033. def fragment(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8034. def setFragment(self, fragment: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8035. def path(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8036. def setPath(self, path: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8037. def port(self, defaultPort: int = ...) -> int: ...
  8038. def setPort(self, port: int) -> None: ...
  8039. def host(self, a0: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8040. def setHost(self, host: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8041. def password(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8042. def setPassword(self, password: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8043. def userName(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8044. def setUserName(self, userName: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8045. def userInfo(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8046. def setUserInfo(self, userInfo: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8047. def authority(self, options: 'QUrl.ComponentFormattingOption' = ...) -> str: ...
  8048. def setAuthority(self, authority: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8049. def scheme(self) -> str: ...
  8050. def setScheme(self, scheme: str|None) -> None: ...
  8051. def clear(self) -> None: ...
  8052. def isEmpty(self) -> bool: ...
  8053. def isValid(self) -> bool: ...
  8054. def setUrl(self, url: str|None, mode: 'QUrl.ParsingMode' = ...) -> None: ...
  8055. def url(self, options: 'QUrl.UrlFormattingOption' = ...) -> str: ...
  8056. def __repr__(self) -> str: ...
  8057. def __hash__(self) -> int: ...
  8058. class QUrlQuery(PyQt6.sip.simplewrapper):
  8059. @typing.overload
  8060. def __init__(self) -> None: ...
  8061. @typing.overload
  8062. def __init__(self, url: QUrl) -> None: ...
  8063. @typing.overload
  8064. def __init__(self, queryString: str|None) -> None: ...
  8065. @typing.overload
  8066. def __init__(self, other: 'QUrlQuery') -> None: ...
  8067. def __eq__(self, other: object): ...
  8068. def __ne__(self, other: object): ...
  8069. def __hash__(self) -> int: ...
  8070. @staticmethod
  8071. def defaultQueryPairDelimiter() -> str: ...
  8072. @staticmethod
  8073. def defaultQueryValueDelimiter() -> str: ...
  8074. def removeAllQueryItems(self, key: str|None) -> None: ...
  8075. def allQueryItemValues(self, key: str|None, options: QUrl.ComponentFormattingOption = ...) -> list[str]: ...
  8076. def queryItemValue(self, key: str|None, options: QUrl.ComponentFormattingOption = ...) -> str: ...
  8077. def removeQueryItem(self, key: str|None) -> None: ...
  8078. def addQueryItem(self, key: str|None, value: str|None) -> None: ...
  8079. def hasQueryItem(self, key: str|None) -> bool: ...
  8080. def queryItems(self, options: QUrl.ComponentFormattingOption = ...) -> list[tuple[str, str]]: ...
  8081. def setQueryItems(self, query: collections.abc.Iterable[tuple[str|None, str|None]]) -> None: ...
  8082. def queryPairDelimiter(self) -> str: ...
  8083. def queryValueDelimiter(self) -> str: ...
  8084. def setQueryDelimiters(self, valueDelimiter: str, pairDelimiter: str) -> None: ...
  8085. def toString(self, options: QUrl.ComponentFormattingOption = ...) -> str: ...
  8086. def setQuery(self, queryString: str|None) -> None: ...
  8087. def query(self, options: QUrl.ComponentFormattingOption = ...) -> str: ...
  8088. def clear(self) -> None: ...
  8089. def isDetached(self) -> bool: ...
  8090. def isEmpty(self) -> bool: ...
  8091. def swap(self, other: 'QUrlQuery') -> None: ...
  8092. class QUuid(PyQt6.sip.simplewrapper):
  8093. class StringFormat(enum.Enum):
  8094. WithBraces = ... # type: QUuid.StringFormat
  8095. WithoutBraces = ... # type: QUuid.StringFormat
  8096. Id128 = ... # type: QUuid.StringFormat
  8097. class Version(enum.Enum):
  8098. VerUnknown = ... # type: QUuid.Version
  8099. Time = ... # type: QUuid.Version
  8100. EmbeddedPOSIX = ... # type: QUuid.Version
  8101. Md5 = ... # type: QUuid.Version
  8102. Name = ... # type: QUuid.Version
  8103. Random = ... # type: QUuid.Version
  8104. Sha1 = ... # type: QUuid.Version
  8105. UnixEpoch = ... # type: QUuid.Version
  8106. class Variant(enum.Enum):
  8107. VarUnknown = ... # type: QUuid.Variant
  8108. NCS = ... # type: QUuid.Variant
  8109. DCE = ... # type: QUuid.Variant
  8110. Microsoft = ... # type: QUuid.Variant
  8111. Reserved = ... # type: QUuid.Variant
  8112. class Id128Bytes(PyQt6.sip.simplewrapper):
  8113. @typing.overload
  8114. def __init__(self) -> None: ...
  8115. @typing.overload
  8116. def __init__(self, a0: 'QUuid.Id128Bytes') -> None: ...
  8117. @typing.overload
  8118. def __init__(self) -> None: ...
  8119. @typing.overload
  8120. def __init__(self, id128: 'QUuid.Id128Bytes', order: QSysInfo.Endian = ...) -> None: ...
  8121. @typing.overload
  8122. def __init__(self, l: int, w1: int, w2: int, b1: int, b2: int, b3: int, b4: int, b5: int, b6: int, b7: int, b8: int) -> None: ...
  8123. @typing.overload
  8124. def __init__(self, string: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8125. @typing.overload
  8126. def __init__(self, a0: 'QUuid') -> None: ...
  8127. def __eq__(self, other: object): ...
  8128. def __ne__(self, other: object): ...
  8129. def __ge__(self, rhs: 'QUuid') -> bool: ...
  8130. def __le__(self, rhs: 'QUuid') -> bool: ...
  8131. def __gt__(self, rhs: 'QUuid') -> bool: ...
  8132. def __lt__(self, rhs: 'QUuid') -> bool: ...
  8133. @staticmethod
  8134. def fromString(string: QByteArray|bytes|bytearray|memoryview|str|None) -> 'QUuid': ...
  8135. @staticmethod
  8136. def fromRfc4122(a0: QByteArray|bytes|bytearray|memoryview) -> 'QUuid': ...
  8137. def toRfc4122(self) -> QByteArray: ...
  8138. def toByteArray(self, mode: 'QUuid.StringFormat' = ...) -> QByteArray: ...
  8139. def version(self) -> 'QUuid.Version': ...
  8140. def variant(self) -> 'QUuid.Variant': ...
  8141. @staticmethod
  8142. def createUuidV7() -> 'QUuid': ...
  8143. @typing.overload
  8144. @staticmethod
  8145. def createUuidV5(ns: 'QUuid', baseData: QByteArray|bytes|bytearray|memoryview) -> 'QUuid': ...
  8146. @typing.overload
  8147. @staticmethod
  8148. def createUuidV5(ns: 'QUuid', baseData: str|None) -> 'QUuid': ...
  8149. @typing.overload
  8150. @staticmethod
  8151. def createUuidV3(ns: 'QUuid', baseData: QByteArray|bytes|bytearray|memoryview) -> 'QUuid': ...
  8152. @typing.overload
  8153. @staticmethod
  8154. def createUuidV3(ns: 'QUuid', baseData: str|None) -> 'QUuid': ...
  8155. @staticmethod
  8156. def createUuid() -> 'QUuid': ...
  8157. def isNull(self) -> bool: ...
  8158. def toString(self, mode: 'QUuid.StringFormat' = ...) -> str: ...
  8159. def __repr__(self) -> str: ...
  8160. def __hash__(self) -> int: ...
  8161. class QVariant(PyQt6.sip.simplewrapper):
  8162. @typing.overload
  8163. def __init__(self) -> None: ...
  8164. @typing.overload
  8165. def __init__(self, obj: typing.Any) -> None: ...
  8166. @typing.overload
  8167. def __init__(self, a0: 'QVariant|None') -> None: ...
  8168. def __eq__(self, other: object): ...
  8169. def __ne__(self, other: object): ...
  8170. def typeId(self) -> int: ...
  8171. def canView(self, targetType: QMetaType) -> bool: ...
  8172. def metaType(self) -> QMetaType: ...
  8173. def swap(self, other: 'QVariant|None') -> None: ...
  8174. def save(self, ds: QDataStream) -> None: ...
  8175. def load(self, ds: QDataStream) -> None: ...
  8176. def clear(self) -> None: ...
  8177. def isNull(self) -> bool: ...
  8178. def isValid(self) -> bool: ...
  8179. def convert(self, type: QMetaType) -> bool: ...
  8180. def canConvert(self, targetType: QMetaType) -> bool: ...
  8181. def typeName(self) -> str: ...
  8182. def userType(self) -> int: ...
  8183. def value(self) -> typing.Any: ...
  8184. class QVersionNumber(PyQt6.sip.simplewrapper):
  8185. @typing.overload
  8186. def __init__(self) -> None: ...
  8187. @typing.overload
  8188. def __init__(self, seg: collections.abc.Iterable[int]) -> None: ...
  8189. @typing.overload
  8190. def __init__(self, maj: int) -> None: ...
  8191. @typing.overload
  8192. def __init__(self, maj: int, min: int) -> None: ...
  8193. @typing.overload
  8194. def __init__(self, maj: int, min: int, mic: int) -> None: ...
  8195. @typing.overload
  8196. def __init__(self, a0: 'QVersionNumber') -> None: ...
  8197. def __eq__(self, other: object): ...
  8198. def __ne__(self, other: object): ...
  8199. def __ge__(self, rhs: 'QVersionNumber') -> bool: ...
  8200. def __le__(self, rhs: 'QVersionNumber') -> bool: ...
  8201. def __gt__(self, rhs: 'QVersionNumber') -> bool: ...
  8202. def __lt__(self, rhs: 'QVersionNumber') -> bool: ...
  8203. def __hash__(self) -> int: ...
  8204. @staticmethod
  8205. def fromString(string: QByteArray|bytes|bytearray|memoryview|str|None) -> typing.Tuple['QVersionNumber', int]: ...
  8206. def toString(self) -> str: ...
  8207. @staticmethod
  8208. def commonPrefix(v1: 'QVersionNumber', v2: 'QVersionNumber') -> 'QVersionNumber': ...
  8209. @staticmethod
  8210. def compare(v1: 'QVersionNumber', v2: 'QVersionNumber') -> int: ...
  8211. def isPrefixOf(self, other: 'QVersionNumber') -> bool: ...
  8212. def segmentCount(self) -> int: ...
  8213. def segmentAt(self, index: int) -> int: ...
  8214. def segments(self) -> list[int]: ...
  8215. def normalized(self) -> 'QVersionNumber': ...
  8216. def microVersion(self) -> int: ...
  8217. def minorVersion(self) -> int: ...
  8218. def majorVersion(self) -> int: ...
  8219. def isNormalized(self) -> bool: ...
  8220. def isNull(self) -> bool: ...
  8221. class QWaitCondition(PyQt6.sip.simplewrapper):
  8222. def __init__(self) -> None: ...
  8223. def wakeAll(self) -> None: ...
  8224. def wakeOne(self) -> None: ...
  8225. @typing.overload
  8226. def wait(self, lockedMutex: QMutex|None, deadline: QDeadlineTimer = ...) -> bool: ...
  8227. @typing.overload
  8228. def wait(self, lockedMutex: QMutex|None, time: int) -> bool: ...
  8229. @typing.overload
  8230. def wait(self, lockedReadWriteLock: QReadWriteLock|None, deadline: QDeadlineTimer = ...) -> bool: ...
  8231. @typing.overload
  8232. def wait(self, lockedReadWriteLock: QReadWriteLock|None, time: int) -> bool: ...
  8233. class QXmlStreamAttribute(PyQt6.sip.simplewrapper):
  8234. @typing.overload
  8235. def __init__(self) -> None: ...
  8236. @typing.overload
  8237. def __init__(self, qualifiedName: str|None, value: str|None) -> None: ...
  8238. @typing.overload
  8239. def __init__(self, namespaceUri: str|None, name: str|None, value: str|None) -> None: ...
  8240. @typing.overload
  8241. def __init__(self, a0: 'QXmlStreamAttribute') -> None: ...
  8242. def __eq__(self, other: object): ...
  8243. def __ne__(self, other: object): ...
  8244. def isDefault(self) -> bool: ...
  8245. def value(self) -> str: ...
  8246. def prefix(self) -> str: ...
  8247. def qualifiedName(self) -> str: ...
  8248. def name(self) -> str: ...
  8249. def namespaceUri(self) -> str: ...
  8250. class QXmlStreamNamespaceDeclaration(PyQt6.sip.simplewrapper):
  8251. @typing.overload
  8252. def __init__(self) -> None: ...
  8253. @typing.overload
  8254. def __init__(self, prefix: str|None, namespaceUri: str|None) -> None: ...
  8255. @typing.overload
  8256. def __init__(self, a0: 'QXmlStreamNamespaceDeclaration') -> None: ...
  8257. def __eq__(self, other: object): ...
  8258. def __ne__(self, other: object): ...
  8259. def namespaceUri(self) -> str: ...
  8260. def prefix(self) -> str: ...
  8261. class QXmlStreamNotationDeclaration(PyQt6.sip.simplewrapper):
  8262. @typing.overload
  8263. def __init__(self) -> None: ...
  8264. @typing.overload
  8265. def __init__(self, a0: 'QXmlStreamNotationDeclaration') -> None: ...
  8266. def __eq__(self, other: object): ...
  8267. def __ne__(self, other: object): ...
  8268. def publicId(self) -> str: ...
  8269. def systemId(self) -> str: ...
  8270. def name(self) -> str: ...
  8271. class QXmlStreamEntityDeclaration(PyQt6.sip.simplewrapper):
  8272. @typing.overload
  8273. def __init__(self) -> None: ...
  8274. @typing.overload
  8275. def __init__(self, a0: 'QXmlStreamEntityDeclaration') -> None: ...
  8276. def __eq__(self, other: object): ...
  8277. def __ne__(self, other: object): ...
  8278. def value(self) -> str: ...
  8279. def publicId(self) -> str: ...
  8280. def systemId(self) -> str: ...
  8281. def notationName(self) -> str: ...
  8282. def name(self) -> str: ...
  8283. class QXmlStreamEntityResolver(PyQt6.sip.simplewrapper):
  8284. def __init__(self) -> None: ...
  8285. def resolveUndeclaredEntity(self, name: str|None) -> str: ...
  8286. class QXmlStreamReader(PyQt6.sip.simplewrapper):
  8287. class Error(enum.Enum):
  8288. NoError = ... # type: QXmlStreamReader.Error
  8289. UnexpectedElementError = ... # type: QXmlStreamReader.Error
  8290. CustomError = ... # type: QXmlStreamReader.Error
  8291. NotWellFormedError = ... # type: QXmlStreamReader.Error
  8292. PrematureEndOfDocumentError = ... # type: QXmlStreamReader.Error
  8293. class ReadElementTextBehaviour(enum.Enum):
  8294. ErrorOnUnexpectedElement = ... # type: QXmlStreamReader.ReadElementTextBehaviour
  8295. IncludeChildElements = ... # type: QXmlStreamReader.ReadElementTextBehaviour
  8296. SkipChildElements = ... # type: QXmlStreamReader.ReadElementTextBehaviour
  8297. class TokenType(enum.Enum):
  8298. NoToken = ... # type: QXmlStreamReader.TokenType
  8299. Invalid = ... # type: QXmlStreamReader.TokenType
  8300. StartDocument = ... # type: QXmlStreamReader.TokenType
  8301. EndDocument = ... # type: QXmlStreamReader.TokenType
  8302. StartElement = ... # type: QXmlStreamReader.TokenType
  8303. EndElement = ... # type: QXmlStreamReader.TokenType
  8304. Characters = ... # type: QXmlStreamReader.TokenType
  8305. Comment = ... # type: QXmlStreamReader.TokenType
  8306. DTD = ... # type: QXmlStreamReader.TokenType
  8307. EntityReference = ... # type: QXmlStreamReader.TokenType
  8308. ProcessingInstruction = ... # type: QXmlStreamReader.TokenType
  8309. @typing.overload
  8310. def __init__(self) -> None: ...
  8311. @typing.overload
  8312. def __init__(self, device: QIODevice|None) -> None: ...
  8313. @typing.overload
  8314. def __init__(self, data: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8315. def readRawInnerData(self) -> str: ...
  8316. def hasStandaloneDeclaration(self) -> bool: ...
  8317. def setEntityExpansionLimit(self, limit: int) -> None: ...
  8318. def entityExpansionLimit(self) -> int: ...
  8319. def skipCurrentElement(self) -> None: ...
  8320. def readNextStartElement(self) -> bool: ...
  8321. def entityResolver(self) -> QXmlStreamEntityResolver|None: ...
  8322. def setEntityResolver(self, resolver: QXmlStreamEntityResolver|None) -> None: ...
  8323. def hasError(self) -> bool: ...
  8324. def error(self) -> 'QXmlStreamReader.Error': ...
  8325. def errorString(self) -> str: ...
  8326. def raiseError(self, message: str|None = ...) -> None: ...
  8327. def dtdSystemId(self) -> str: ...
  8328. def dtdPublicId(self) -> str: ...
  8329. def dtdName(self) -> str: ...
  8330. def entityDeclarations(self) -> list[QXmlStreamEntityDeclaration]: ...
  8331. def notationDeclarations(self) -> list[QXmlStreamNotationDeclaration]: ...
  8332. def addExtraNamespaceDeclarations(self, extraNamespaceDeclaractions: collections.abc.Iterable[QXmlStreamNamespaceDeclaration]) -> None: ...
  8333. def addExtraNamespaceDeclaration(self, extraNamespaceDeclaraction: QXmlStreamNamespaceDeclaration) -> None: ...
  8334. def namespaceDeclarations(self) -> list[QXmlStreamNamespaceDeclaration]: ...
  8335. def text(self) -> str: ...
  8336. def processingInstructionData(self) -> str: ...
  8337. def processingInstructionTarget(self) -> str: ...
  8338. def prefix(self) -> str: ...
  8339. def qualifiedName(self) -> str: ...
  8340. def namespaceUri(self) -> str: ...
  8341. def name(self) -> str: ...
  8342. def readElementText(self, behaviour: 'QXmlStreamReader.ReadElementTextBehaviour' = ...) -> str: ...
  8343. def attributes(self) -> 'QXmlStreamAttributes': ...
  8344. def characterOffset(self) -> int: ...
  8345. def columnNumber(self) -> int: ...
  8346. def lineNumber(self) -> int: ...
  8347. def documentEncoding(self) -> str: ...
  8348. def documentVersion(self) -> str: ...
  8349. def isStandaloneDocument(self) -> bool: ...
  8350. def isProcessingInstruction(self) -> bool: ...
  8351. def isEntityReference(self) -> bool: ...
  8352. def isDTD(self) -> bool: ...
  8353. def isComment(self) -> bool: ...
  8354. def isCDATA(self) -> bool: ...
  8355. def isWhitespace(self) -> bool: ...
  8356. def isCharacters(self) -> bool: ...
  8357. def isEndElement(self) -> bool: ...
  8358. def isStartElement(self) -> bool: ...
  8359. def isEndDocument(self) -> bool: ...
  8360. def isStartDocument(self) -> bool: ...
  8361. def namespaceProcessing(self) -> bool: ...
  8362. def setNamespaceProcessing(self, a0: bool) -> None: ...
  8363. def tokenString(self) -> str: ...
  8364. def tokenType(self) -> 'QXmlStreamReader.TokenType': ...
  8365. def readNext(self) -> 'QXmlStreamReader.TokenType': ...
  8366. def atEnd(self) -> bool: ...
  8367. def clear(self) -> None: ...
  8368. def addData(self, data: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8369. def device(self) -> QIODevice|None: ...
  8370. def setDevice(self, device: QIODevice|None) -> None: ...
  8371. class QXmlStreamWriter(PyQt6.sip.simplewrapper):
  8372. class Error(enum.Enum):
  8373. None_ = ... # type: QXmlStreamWriter.Error
  8374. IO = ... # type: QXmlStreamWriter.Error
  8375. Encoding = ... # type: QXmlStreamWriter.Error
  8376. InvalidCharacter = ... # type: QXmlStreamWriter.Error
  8377. Custom = ... # type: QXmlStreamWriter.Error
  8378. @typing.overload
  8379. def __init__(self) -> None: ...
  8380. @typing.overload
  8381. def __init__(self, device: QIODevice|None) -> None: ...
  8382. @typing.overload
  8383. def __init__(self, array: QByteArray|bytes|bytearray|memoryview) -> None: ...
  8384. def error(self) -> 'QXmlStreamWriter.Error': ...
  8385. def errorString(self) -> str: ...
  8386. def raiseError(self, message: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8387. def stopWritingOnError(self) -> bool: ...
  8388. def setStopWritingOnError(self, stop: bool) -> None: ...
  8389. def hasError(self) -> bool: ...
  8390. def writeCurrentToken(self, reader: QXmlStreamReader) -> None: ...
  8391. @typing.overload
  8392. def writeStartElement(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, name: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8393. @typing.overload
  8394. def writeStartElement(self, qualifiedName: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8395. @typing.overload
  8396. def writeStartDocument(self, version: QByteArray|bytes|bytearray|memoryview|str|None, standalone: bool) -> None: ...
  8397. @typing.overload
  8398. def writeStartDocument(self, version: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8399. @typing.overload
  8400. def writeStartDocument(self) -> None: ...
  8401. def writeProcessingInstruction(self, target: QByteArray|bytes|bytearray|memoryview|str|None, data: QByteArray|bytes|bytearray|memoryview|str|None = ...) -> None: ...
  8402. def writeDefaultNamespace(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8403. def writeNamespace(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, prefix: QByteArray|bytes|bytearray|memoryview|str|None = ...) -> None: ...
  8404. def writeEntityReference(self, name: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8405. def writeEndElement(self) -> None: ...
  8406. def writeEndDocument(self) -> None: ...
  8407. @typing.overload
  8408. def writeTextElement(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, name: QByteArray|bytes|bytearray|memoryview|str|None, text: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8409. @typing.overload
  8410. def writeTextElement(self, qualifiedName: QByteArray|bytes|bytearray|memoryview|str|None, text: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8411. @typing.overload
  8412. def writeEmptyElement(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, name: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8413. @typing.overload
  8414. def writeEmptyElement(self, qualifiedName: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8415. def writeDTD(self, dtd: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8416. def writeComment(self, text: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8417. def writeCharacters(self, text: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8418. def writeCDATA(self, text: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8419. def writeAttributes(self, attributes: 'QXmlStreamAttributes') -> None: ...
  8420. @typing.overload
  8421. def writeAttribute(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, name: QByteArray|bytes|bytearray|memoryview|str|None, value: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8422. @typing.overload
  8423. def writeAttribute(self, qualifiedName: QByteArray|bytes|bytearray|memoryview|str|None, value: QByteArray|bytes|bytearray|memoryview|str|None) -> None: ...
  8424. @typing.overload
  8425. def writeAttribute(self, attribute: QXmlStreamAttribute) -> None: ...
  8426. def autoFormattingIndent(self) -> int: ...
  8427. def setAutoFormattingIndent(self, spaces: int) -> None: ...
  8428. def autoFormatting(self) -> bool: ...
  8429. def setAutoFormatting(self, a0: bool) -> None: ...
  8430. def device(self) -> QIODevice|None: ...
  8431. def setDevice(self, device: QIODevice|None) -> None: ...
  8432. class QXmlStreamAttributes(PyQt6.sip.simplewrapper):
  8433. @typing.overload
  8434. def __init__(self) -> None: ...
  8435. @typing.overload
  8436. def __init__(self, a0: 'QXmlStreamAttributes') -> None: ...
  8437. def __contains__(self, value: QXmlStreamAttribute) -> int: ...
  8438. @typing.overload
  8439. def __delitem__(self, i: int) -> None: ...
  8440. @typing.overload
  8441. def __delitem__(self, slice: slice) -> None: ...
  8442. @typing.overload
  8443. def __setitem__(self, i: int, value: QXmlStreamAttribute) -> None: ...
  8444. @typing.overload
  8445. def __setitem__(self, slice: slice, list: 'QXmlStreamAttributes') -> None: ...
  8446. @typing.overload
  8447. def __getitem__(self, i: int) -> QXmlStreamAttribute: ...
  8448. @typing.overload
  8449. def __getitem__(self, slice: slice) -> 'QXmlStreamAttributes': ...
  8450. def __eq__(self, other: object): ...
  8451. @typing.overload
  8452. def __iadd__(self, other: 'QXmlStreamAttributes') -> 'QXmlStreamAttributes': ...
  8453. @typing.overload
  8454. def __iadd__(self, value: QXmlStreamAttribute) -> 'QXmlStreamAttributes': ...
  8455. def __ne__(self, other: object): ...
  8456. def size(self) -> int: ...
  8457. def replace(self, i: int, value: QXmlStreamAttribute) -> None: ...
  8458. def resize(self, size: int) -> None: ...
  8459. @typing.overload
  8460. def remove(self, i: int) -> None: ...
  8461. @typing.overload
  8462. def remove(self, i: int, count: int) -> None: ...
  8463. def prepend(self, value: QXmlStreamAttribute) -> None: ...
  8464. def lastIndexOf(self, value: QXmlStreamAttribute, from_: int = ...) -> int: ...
  8465. def last(self) -> QXmlStreamAttribute: ...
  8466. def isEmpty(self) -> bool: ...
  8467. def insert(self, i: int, value: QXmlStreamAttribute) -> None: ...
  8468. def indexOf(self, value: QXmlStreamAttribute, from_: int = ...) -> int: ...
  8469. def first(self) -> QXmlStreamAttribute: ...
  8470. def fill(self, value: QXmlStreamAttribute, size: int = ...) -> None: ...
  8471. def data(self) -> PyQt6.sip.voidptr: ...
  8472. def __len__(self) -> int: ...
  8473. @typing.overload
  8474. def count(self, value: QXmlStreamAttribute) -> int: ...
  8475. @typing.overload
  8476. def count(self) -> int: ...
  8477. def contains(self, value: QXmlStreamAttribute) -> bool: ...
  8478. def clear(self) -> None: ...
  8479. def at(self, i: int) -> QXmlStreamAttribute: ...
  8480. @typing.overload
  8481. def hasAttribute(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, name: QByteArray|bytes|bytearray|memoryview|str|None) -> bool: ...
  8482. @typing.overload
  8483. def hasAttribute(self, qualifiedName: QByteArray|bytes|bytearray|memoryview|str|None) -> bool: ...
  8484. @typing.overload
  8485. def append(self, namespaceUri: str|None, name: str|None, value: str|None) -> None: ...
  8486. @typing.overload
  8487. def append(self, qualifiedName: str|None, value: str|None) -> None: ...
  8488. @typing.overload
  8489. def append(self, value: QXmlStreamAttribute) -> None: ...
  8490. @typing.overload
  8491. def value(self, namespaceUri: QByteArray|bytes|bytearray|memoryview|str|None, name: QByteArray|bytes|bytearray|memoryview|str|None) -> str: ...
  8492. @typing.overload
  8493. def value(self, qualifiedName: QByteArray|bytes|bytearray|memoryview|str|None) -> str: ...
  8494. class QMutexLocker(PyQt6.sip.simplewrapper):
  8495. @typing.overload
  8496. def __init__(self, mutex: QMutex|None) -> None: ...
  8497. @typing.overload
  8498. def __init__(self, mutex: QRecursiveMutex|None) -> None: ...
  8499. def __exit__(self, type: typing.Any, value: typing.Any, traceback: typing.Any) -> None: ...
  8500. def __enter__(self) -> typing.Any: ...
  8501. def relock(self) -> None: ...
  8502. def unlock(self) -> None: ...
  8503. def mutex(self) -> QMutex|QRecursiveMutex: ...
  8504. class QNativeInterface(PyQt6.sip.simplewrapper): ...
  8505. class QPyAbstractRange(QObject):
  8506. def __init__(self, data: typing.Any, editable: bool) -> None: ...
  8507. def editable(self) -> bool: ...
  8508. def data(self) -> typing.Any: ...
  8509. class QPySequenceRange(QPyAbstractRange):
  8510. def __init__(self, data: typing.Any, editable: bool = ...) -> None: ...
  8511. dataChanged: typing.ClassVar[pyqtSignal]
  8512. class QPyTableRange(QPyAbstractRange):
  8513. def __init__(self, data: typing.Any, editable: bool = ...) -> None: ...
  8514. dataChanged: typing.ClassVar[pyqtSignal]
  8515. class QWinEventNotifier(QObject):
  8516. @typing.overload
  8517. def __init__(self, parent: QObject|None = ...) -> None: ...
  8518. @typing.overload
  8519. def __init__(self, hEvent: PyQt6.sip.voidptr, parent: QObject|None = ...) -> None: ...
  8520. def event(self, e: QEvent|None) -> bool: ...
  8521. activated: typing.ClassVar[pyqtSignal]
  8522. def setEnabled(self, enable: bool) -> None: ...
  8523. def setHandle(self, hEvent: PyQt6.sip.voidptr) -> None: ...
  8524. def isEnabled(self) -> bool: ...
  8525. def handle(self) -> PyQt6.sip.voidptr: ...
  8526. PYQT_VERSION = ... # type: int
  8527. PYQT_VERSION_STR = ... # type: str
  8528. QT_VERSION = ... # type: int
  8529. QT_VERSION_STR = ... # type: str
  8530. def qYieldCpu() -> None: ...
  8531. def qSetRealNumberPrecision(precision: int) -> QTextStreamManipulator: ...
  8532. def qSetPadChar(ch: str) -> QTextStreamManipulator: ...
  8533. def qSetFieldWidth(width: int) -> QTextStreamManipulator: ...
  8534. def Q_RETURN_ARG(type: typing.Any) -> QGenericReturnArgument: ...
  8535. def Q_ARG(type: typing.Any, data: typing.Any) -> QGenericArgument: ...
  8536. def QT_TRANSLATE_NOOP(a0: str, a1: str) -> str: ...
  8537. def QT_TR_NOOP(a0: str) -> str: ...
  8538. def pyqtEnum(a0: enum.Enum = ...) -> None: ...
  8539. def pyqtClassInfo(a0: str, a1: str) -> None: ...
  8540. def qRound64(d: float) -> int: ...
  8541. def qRound(d: float) -> int: ...
  8542. def qAbs(t: float) -> float: ...
  8543. def qFloatDistance(a: float, b: float) -> int: ...
  8544. def qQNaN() -> float: ...
  8545. def qSNaN() -> float: ...
  8546. def qInf() -> float: ...
  8547. def qIsNaN(d: float) -> bool: ...
  8548. def qIsFinite(d: float) -> bool: ...
  8549. def qIsInf(d: float) -> bool: ...
  8550. def qFormatLogMessage(type: QtMsgType, context: QMessageLogContext, buf: str|None) -> str: ...
  8551. def qSetMessagePattern(messagePattern: str|None) -> None: ...
  8552. def qInstallMessageHandler(a0: collections.abc.Callable[[QtMsgType, QMessageLogContext, str|None], None]|None) -> collections.abc.Callable[[QtMsgType, QMessageLogContext, str|None], None]|None: ...
  8553. def qWarning(msg: str) -> None: ...
  8554. def qInfo(msg: str) -> None: ...
  8555. def qFatal(msg: str) -> None: ...
  8556. def qDebug(msg: str) -> None: ...
  8557. def qCritical(msg: str) -> None: ...
  8558. @typing.overload
  8559. def qFuzzyIsNull(line: QLineF) -> bool: ...
  8560. @typing.overload
  8561. def qFuzzyIsNull(m: QMarginsF) -> bool: ...
  8562. @typing.overload
  8563. def qFuzzyIsNull(d: float) -> bool: ...
  8564. @typing.overload
  8565. def qFuzzyIsNull(point: QPointF) -> bool: ...
  8566. @typing.overload
  8567. def qFuzzyIsNull(rect: QRectF) -> bool: ...
  8568. @typing.overload
  8569. def qFuzzyIsNull(size: QSizeF) -> bool: ...
  8570. @typing.overload
  8571. def qFuzzyCompare(lhs: QLineF, rhs: QLineF) -> bool: ...
  8572. @typing.overload
  8573. def qFuzzyCompare(lhs: QMarginsF, rhs: QMarginsF) -> bool: ...
  8574. @typing.overload
  8575. def qFuzzyCompare(p1: float, p2: float) -> bool: ...
  8576. @typing.overload
  8577. def qFuzzyCompare(p1: QPointF, p2: QPointF) -> bool: ...
  8578. @typing.overload
  8579. def qFuzzyCompare(lhs: QRectF, rhs: QRectF) -> bool: ...
  8580. @typing.overload
  8581. def qFuzzyCompare(s1: QSizeF, s2: QSizeF) -> bool: ...
  8582. def pyqtRestoreInputHook() -> None: ...
  8583. def pyqtRemoveInputHook() -> None: ...
  8584. def qAddPreRoutine(routine: collections.abc.Callable[[], None]) -> None: ...
  8585. def qRemovePostRoutine(a0: typing.Callable[..., None]) -> None: ...
  8586. def qAddPostRoutine(a0: typing.Callable[..., None]) -> None: ...
  8587. def qChecksum(data: QByteArray|bytes|bytearray|memoryview, standard: Qt.ChecksumType = ...) -> int: ...
  8588. @typing.overload
  8589. def qUncompress(data: PyQt6.sip.array[bytes]) -> QByteArray: ...
  8590. @typing.overload
  8591. def qUncompress(data: QByteArray|bytes|bytearray|memoryview) -> QByteArray: ...
  8592. @typing.overload
  8593. def qCompress(data: PyQt6.sip.array[bytes], compressionLevel: int = ...) -> QByteArray: ...
  8594. @typing.overload
  8595. def qCompress(data: QByteArray|bytes|bytearray|memoryview, compressionLevel: int = ...) -> QByteArray: ...
  8596. def qVersion() -> str: ...
  8597. def qEnvironmentVariableIntegerValue(varName: str) -> int|None: ...
  8598. def qEnvironmentVariableIntValue(varName: str) -> typing.Tuple[int, bool]: ...
  8599. def qEnvironmentVariableIsSet(varName: str) -> bool: ...
  8600. def qEnvironmentVariableIsEmpty(varName: str) -> bool: ...
  8601. @typing.overload
  8602. def qEnvironmentVariable(varName: str, defaultValue: str|None) -> str: ...
  8603. @typing.overload
  8604. def qEnvironmentVariable(varName: str) -> str: ...
  8605. def pyqtPickleProtocol() -> int|None: ...
  8606. def pyqtSetPickleProtocol(a0: int|None) -> None: ...
  8607. def qUnregisterResourceData(a0: int, a1: bytes, a2: bytes, a3: bytes) -> bool: ...
  8608. def qRegisterResourceData(a0: int, a1: bytes, a2: bytes, a3: bytes) -> bool: ...