QtGui.pyi 602 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429
  1. # Copyright (C) 2022 The Qt Company Ltd.
  2. # SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
  3. """
  4. This file contains the exact signatures for all functions in module
  5. PySide6.QtGui, except for defaults which are replaced by "...".
  6. """
  7. # mypy: disable-error-code="override, overload-overlap"
  8. # Module `PySide6.QtGui`
  9. import PySide6.QtGui
  10. import PySide6.QtCore
  11. import os
  12. import enum
  13. import typing
  14. import collections.abc
  15. from PySide6.QtCore import Signal
  16. from shiboken6 import Shiboken
  17. class QAbstractFileIconProvider(Shiboken.Object):
  18. class IconType(enum.Enum):
  19. Computer = 0x0
  20. Desktop = 0x1
  21. Trashcan = 0x2
  22. Network = 0x3
  23. Drive = 0x4
  24. Folder = 0x5
  25. File = 0x6
  26. class Option(enum.Flag):
  27. DontUseCustomDirectoryIcons = 0x1
  28. def __init__(self, /) -> None: ...
  29. @typing.overload
  30. def icon(self, arg__1: PySide6.QtGui.QAbstractFileIconProvider.IconType, /) -> PySide6.QtGui.QIcon: ...
  31. @typing.overload
  32. def icon(self, arg__1: PySide6.QtCore.QFileInfo, /) -> PySide6.QtGui.QIcon: ...
  33. def options(self, /) -> PySide6.QtGui.QAbstractFileIconProvider.Option: ...
  34. def setOptions(self, arg__1: PySide6.QtGui.QAbstractFileIconProvider.Option, /) -> None: ...
  35. def type(self, arg__1: PySide6.QtCore.QFileInfo, /) -> str: ...
  36. class QAbstractTextDocumentLayout(PySide6.QtCore.QObject):
  37. documentSizeChanged : typing.ClassVar[Signal] = ... # documentSizeChanged(QSizeF)
  38. pageCountChanged : typing.ClassVar[Signal] = ... # pageCountChanged(int)
  39. update : typing.ClassVar[Signal] = ... # update(); update(QRectF)
  40. updateBlock : typing.ClassVar[Signal] = ... # updateBlock(QTextBlock)
  41. class PaintContext(Shiboken.Object):
  42. @typing.overload
  43. def __init__(self, /) -> None: ...
  44. @typing.overload
  45. def __init__(self, PaintContext: PySide6.QtGui.QAbstractTextDocumentLayout.PaintContext, /) -> None: ...
  46. def __copy__(self, /) -> typing.Self: ...
  47. class Selection(Shiboken.Object):
  48. @typing.overload
  49. def __init__(self, /) -> None: ...
  50. @typing.overload
  51. def __init__(self, Selection: PySide6.QtGui.QAbstractTextDocumentLayout.Selection, /) -> None: ...
  52. def __copy__(self, /) -> typing.Self: ...
  53. def __init__(self, doc: PySide6.QtGui.QTextDocument, /) -> None: ...
  54. def anchorAt(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> str: ...
  55. def blockBoundingRect(self, block: PySide6.QtGui.QTextBlock, /) -> PySide6.QtCore.QRectF: ...
  56. def blockWithMarkerAt(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtGui.QTextBlock: ...
  57. def document(self, /) -> PySide6.QtGui.QTextDocument: ...
  58. def documentChanged(self, from_: int, charsRemoved: int, charsAdded: int, /) -> None: ...
  59. def documentSize(self, /) -> PySide6.QtCore.QSizeF: ...
  60. def draw(self, painter: PySide6.QtGui.QPainter, context: PySide6.QtGui.QAbstractTextDocumentLayout.PaintContext, /) -> None: ...
  61. def drawInlineObject(self, painter: PySide6.QtGui.QPainter, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, object: PySide6.QtGui.QTextInlineObject, posInDocument: int, format: PySide6.QtGui.QTextFormat, /) -> None: ...
  62. def format(self, pos: int, /) -> PySide6.QtGui.QTextCharFormat: ...
  63. def formatAt(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtGui.QTextFormat: ...
  64. def formatIndex(self, pos: int, /) -> int: ...
  65. def frameBoundingRect(self, frame: PySide6.QtGui.QTextFrame, /) -> PySide6.QtCore.QRectF: ...
  66. def handlerForObject(self, objectType: int, /) -> PySide6.QtGui.QTextObjectInterface: ...
  67. def hitTest(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, accuracy: PySide6.QtCore.Qt.HitTestAccuracy, /) -> int: ...
  68. def imageAt(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> str: ...
  69. def pageCount(self, /) -> int: ...
  70. def paintDevice(self, /) -> PySide6.QtGui.QPaintDevice: ...
  71. def positionInlineObject(self, item: PySide6.QtGui.QTextInlineObject, posInDocument: int, format: PySide6.QtGui.QTextFormat, /) -> None: ...
  72. def registerHandler(self, objectType: int, component: PySide6.QtCore.QObject, /) -> None: ...
  73. def resizeInlineObject(self, item: PySide6.QtGui.QTextInlineObject, posInDocument: int, format: PySide6.QtGui.QTextFormat, /) -> None: ...
  74. def setPaintDevice(self, device: PySide6.QtGui.QPaintDevice, /) -> None: ...
  75. def unregisterHandler(self, objectType: int, /, component: PySide6.QtCore.QObject | None = ...) -> None: ...
  76. class QAccessibilityHints(PySide6.QtCore.QObject):
  77. contrastPreferenceChanged: typing.ClassVar[Signal] = ... # contrastPreferenceChanged(Qt::ContrastPreference)
  78. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, contrastPreference: PySide6.QtCore.Qt.ContrastPreference | None = ...) -> None: ...
  79. def contrastPreference(self, /) -> PySide6.QtCore.Qt.ContrastPreference: ...
  80. def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
  81. class QAccessible(Shiboken.Object):
  82. class AnnouncementPoliteness(enum.Enum):
  83. Polite = 0x0
  84. Assertive = 0x1
  85. class Attribute(enum.Enum):
  86. Custom = 0x0
  87. Level = 0x1
  88. Locale = 0x2
  89. class Event(enum.Enum):
  90. SoundPlayed = 0x1
  91. Alert = 0x2
  92. ForegroundChanged = 0x3
  93. MenuStart = 0x4
  94. MenuEnd = 0x5
  95. PopupMenuStart = 0x6
  96. PopupMenuEnd = 0x7
  97. ContextHelpStart = 0xc
  98. ContextHelpEnd = 0xd
  99. DragDropStart = 0xe
  100. DragDropEnd = 0xf
  101. DialogStart = 0x10
  102. DialogEnd = 0x11
  103. ScrollingStart = 0x12
  104. ScrollingEnd = 0x13
  105. MenuCommand = 0x18
  106. ActionChanged = 0x101
  107. ActiveDescendantChanged = 0x102
  108. AttributeChanged = 0x103
  109. DocumentContentChanged = 0x104
  110. DocumentLoadComplete = 0x105
  111. DocumentLoadStopped = 0x106
  112. DocumentReload = 0x107
  113. HyperlinkEndIndexChanged = 0x108
  114. HyperlinkNumberOfAnchorsChanged = 0x109
  115. HyperlinkSelectedLinkChanged = 0x10a
  116. HypertextLinkActivated = 0x10b
  117. HypertextLinkSelected = 0x10c
  118. HyperlinkStartIndexChanged = 0x10d
  119. HypertextChanged = 0x10e
  120. HypertextNLinksChanged = 0x10f
  121. ObjectAttributeChanged = 0x110
  122. PageChanged = 0x111
  123. SectionChanged = 0x112
  124. TableCaptionChanged = 0x113
  125. TableColumnDescriptionChanged = 0x114
  126. TableColumnHeaderChanged = 0x115
  127. TableModelChanged = 0x116
  128. TableRowDescriptionChanged = 0x117
  129. TableRowHeaderChanged = 0x118
  130. TableSummaryChanged = 0x119
  131. TextAttributeChanged = 0x11a
  132. TextCaretMoved = 0x11b
  133. TextColumnChanged = 0x11d
  134. TextInserted = 0x11e
  135. TextRemoved = 0x11f
  136. TextUpdated = 0x120
  137. TextSelectionChanged = 0x121
  138. VisibleDataChanged = 0x122
  139. ObjectCreated = 0x8000
  140. ObjectDestroyed = 0x8001
  141. ObjectShow = 0x8002
  142. ObjectHide = 0x8003
  143. ObjectReorder = 0x8004
  144. Focus = 0x8005
  145. Selection = 0x8006
  146. SelectionAdd = 0x8007
  147. SelectionRemove = 0x8008
  148. SelectionWithin = 0x8009
  149. StateChanged = 0x800a
  150. LocationChanged = 0x800b
  151. NameChanged = 0x800c
  152. DescriptionChanged = 0x800d
  153. ValueChanged = 0x800e
  154. ParentChanged = 0x800f
  155. HelpChanged = 0x80a0
  156. DefaultActionChanged = 0x80b0
  157. AcceleratorChanged = 0x80c0
  158. InvalidEvent = 0x80c1
  159. Announcement = 0x80d0
  160. IdentifierChanged = 0x80e0
  161. class InterfaceType(enum.Enum):
  162. TextInterface = 0x0
  163. EditableTextInterface = 0x1
  164. ValueInterface = 0x2
  165. ActionInterface = 0x3
  166. ImageInterface = 0x4
  167. TableInterface = 0x5
  168. TableCellInterface = 0x6
  169. HyperlinkInterface = 0x7
  170. SelectionInterface = 0x8
  171. AttributesInterface = 0x9
  172. class RelationFlag(enum.Flag):
  173. AllRelations = -1
  174. Label = 0x1
  175. Labelled = 0x2
  176. Controller = 0x4
  177. Controlled = 0x8
  178. DescriptionFor = 0x10
  179. Described = 0x20
  180. FlowsFrom = 0x40
  181. FlowsTo = 0x80
  182. class Role(enum.Enum):
  183. NoRole = 0x0
  184. TitleBar = 0x1
  185. MenuBar = 0x2
  186. ScrollBar = 0x3
  187. Grip = 0x4
  188. Sound = 0x5
  189. Cursor = 0x6
  190. Caret = 0x7
  191. AlertMessage = 0x8
  192. Window = 0x9
  193. Client = 0xa
  194. PopupMenu = 0xb
  195. MenuItem = 0xc
  196. ToolTip = 0xd
  197. Application = 0xe
  198. Document = 0xf
  199. Pane = 0x10
  200. Chart = 0x11
  201. Dialog = 0x12
  202. Border = 0x13
  203. Grouping = 0x14
  204. Separator = 0x15
  205. ToolBar = 0x16
  206. StatusBar = 0x17
  207. Table = 0x18
  208. ColumnHeader = 0x19
  209. RowHeader = 0x1a
  210. Column = 0x1b
  211. Row = 0x1c
  212. Cell = 0x1d
  213. Link = 0x1e
  214. HelpBalloon = 0x1f
  215. Assistant = 0x20
  216. List = 0x21
  217. ListItem = 0x22
  218. Tree = 0x23
  219. TreeItem = 0x24
  220. PageTab = 0x25
  221. PropertyPage = 0x26
  222. Indicator = 0x27
  223. Graphic = 0x28
  224. StaticText = 0x29
  225. EditableText = 0x2a
  226. Button = 0x2b
  227. PushButton = 0x2b
  228. CheckBox = 0x2c
  229. RadioButton = 0x2d
  230. ComboBox = 0x2e
  231. ProgressBar = 0x30
  232. Dial = 0x31
  233. HotkeyField = 0x32
  234. Slider = 0x33
  235. SpinBox = 0x34
  236. Canvas = 0x35
  237. Animation = 0x36
  238. Equation = 0x37
  239. ButtonDropDown = 0x38
  240. ButtonMenu = 0x39
  241. ButtonDropGrid = 0x3a
  242. Whitespace = 0x3b
  243. PageTabList = 0x3c
  244. Clock = 0x3d
  245. Splitter = 0x3e
  246. LayeredPane = 0x80
  247. Terminal = 0x81
  248. Desktop = 0x82
  249. Paragraph = 0x83
  250. WebDocument = 0x84
  251. Section = 0x85
  252. Notification = 0x86
  253. ColorChooser = 0x404
  254. Footer = 0x40e
  255. Form = 0x410
  256. Heading = 0x414
  257. Note = 0x41b
  258. ComplementaryContent = 0x42c
  259. BlockQuote = 0x431
  260. UserRole = 0xffff
  261. class State(Shiboken.Object):
  262. @typing.overload
  263. def __init__(self, /) -> None: ...
  264. @typing.overload
  265. def __init__(self, State: PySide6.QtGui.QAccessible.State, /) -> None: ...
  266. def __copy__(self, /) -> typing.Self: ...
  267. def __eq__(self, second: PySide6.QtGui.QAccessible.State, /) -> bool: ...
  268. class Text(enum.Enum):
  269. Name = 0x0
  270. Description = 0x1
  271. Value = 0x2
  272. Help = 0x3
  273. Accelerator = 0x4
  274. DebugDescription = 0x5
  275. Identifier = 0x6
  276. UserText = 0xffff
  277. class TextBoundaryType(enum.Enum):
  278. CharBoundary = 0x0
  279. WordBoundary = 0x1
  280. SentenceBoundary = 0x2
  281. ParagraphBoundary = 0x3
  282. LineBoundary = 0x4
  283. NoBoundary = 0x5
  284. def __init__(self, QAccessible: PySide6.QtGui.QAccessible, /) -> None: ...
  285. def __copy__(self, /) -> typing.Self: ...
  286. @staticmethod
  287. def accessibleInterface(uniqueId: int, /) -> PySide6.QtGui.QAccessibleInterface: ...
  288. @staticmethod
  289. def cleanup() -> None: ...
  290. @staticmethod
  291. def deleteAccessibleInterface(uniqueId: int, /) -> None: ...
  292. @staticmethod
  293. def installFactory(arg__1: collections.abc.Callable[..., typing.Any], /) -> None: ...
  294. @staticmethod
  295. def isActive() -> bool: ...
  296. @staticmethod
  297. def qAccessibleTextBoundaryHelper(cursor: PySide6.QtGui.QTextCursor, boundaryType: PySide6.QtGui.QAccessible.TextBoundaryType, /) -> typing.Tuple[int, int]: ...
  298. @staticmethod
  299. def queryAccessibleInterface(arg__1: PySide6.QtCore.QObject, /) -> PySide6.QtGui.QAccessibleInterface: ...
  300. @staticmethod
  301. def registerAccessibleInterface(iface: PySide6.QtGui.QAccessibleInterface, /) -> int: ...
  302. @staticmethod
  303. def setActive(active: bool, /) -> None: ...
  304. @staticmethod
  305. def setRootObject(object: PySide6.QtCore.QObject, /) -> None: ...
  306. @staticmethod
  307. def uniqueId(iface: PySide6.QtGui.QAccessibleInterface, /) -> int: ...
  308. @staticmethod
  309. def updateAccessibility(event: PySide6.QtGui.QAccessibleEvent, /) -> None: ...
  310. class QAccessibleActionInterface(Shiboken.Object):
  311. def __init__(self, /) -> None: ...
  312. def actionNames(self, /) -> typing.List[str]: ...
  313. @staticmethod
  314. def decreaseAction() -> str: ...
  315. def doAction(self, actionName: str, /) -> None: ...
  316. @staticmethod
  317. def increaseAction() -> str: ...
  318. def keyBindingsForAction(self, actionName: str, /) -> typing.List[str]: ...
  319. def localizedActionDescription(self, name: str, /) -> str: ...
  320. def localizedActionName(self, name: str, /) -> str: ...
  321. @staticmethod
  322. def nextPageAction() -> str: ...
  323. @staticmethod
  324. def pressAction() -> str: ...
  325. @staticmethod
  326. def previousPageAction() -> str: ...
  327. @staticmethod
  328. def scrollDownAction() -> str: ...
  329. @staticmethod
  330. def scrollLeftAction() -> str: ...
  331. @staticmethod
  332. def scrollRightAction() -> str: ...
  333. @staticmethod
  334. def scrollUpAction() -> str: ...
  335. @staticmethod
  336. def setFocusAction() -> str: ...
  337. @staticmethod
  338. def showMenuAction() -> str: ...
  339. @staticmethod
  340. def toggleAction() -> str: ...
  341. class QAccessibleAnnouncementEvent(PySide6.QtGui.QAccessibleEvent):
  342. @typing.overload
  343. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, message: str, /) -> None: ...
  344. @typing.overload
  345. def __init__(self, object: PySide6.QtCore.QObject, message: str, /) -> None: ...
  346. def message(self, /) -> str: ...
  347. def politeness(self, /) -> PySide6.QtGui.QAccessible.AnnouncementPoliteness: ...
  348. def setPoliteness(self, politeness: PySide6.QtGui.QAccessible.AnnouncementPoliteness, /) -> None: ...
  349. class QAccessibleAttributesInterface(Shiboken.Object):
  350. def __init__(self, /) -> None: ...
  351. def attributeKeys(self, /) -> typing.List[PySide6.QtGui.QAccessible.Attribute]: ...
  352. def attributeValue(self, key: PySide6.QtGui.QAccessible.Attribute, /) -> typing.Any: ...
  353. class QAccessibleEditableTextInterface(Shiboken.Object):
  354. def __init__(self, /) -> None: ...
  355. def deleteText(self, startOffset: int, endOffset: int, /) -> None: ...
  356. def insertText(self, offset: int, text: str, /) -> None: ...
  357. def replaceText(self, startOffset: int, endOffset: int, text: str, /) -> None: ...
  358. class QAccessibleEvent(Shiboken.Object):
  359. @typing.overload
  360. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, typ: PySide6.QtGui.QAccessible.Event, /) -> None: ...
  361. @typing.overload
  362. def __init__(self, obj: PySide6.QtCore.QObject, typ: PySide6.QtGui.QAccessible.Event, /) -> None: ...
  363. def __repr__(self, /) -> str: ...
  364. def accessibleInterface(self, /) -> PySide6.QtGui.QAccessibleInterface: ...
  365. def child(self, /) -> int: ...
  366. def object(self, /) -> PySide6.QtCore.QObject: ...
  367. def setChild(self, chld: int, /) -> None: ...
  368. def type(self, /) -> PySide6.QtGui.QAccessible.Event: ...
  369. def uniqueId(self, /) -> int: ...
  370. class QAccessibleInterface(Shiboken.Object):
  371. def __init__(self, /) -> None: ...
  372. def __repr__(self, /) -> str: ...
  373. def actionInterface(self, /) -> PySide6.QtGui.QAccessibleActionInterface: ...
  374. def attributesInterface(self, /) -> PySide6.QtGui.QAccessibleAttributesInterface: ...
  375. def backgroundColor(self, /) -> PySide6.QtGui.QColor: ...
  376. def child(self, index: int, /) -> PySide6.QtGui.QAccessibleInterface: ...
  377. def childAt(self, x: int, y: int, /) -> PySide6.QtGui.QAccessibleInterface: ...
  378. def childCount(self, /) -> int: ...
  379. def editableTextInterface(self, /) -> PySide6.QtGui.QAccessibleEditableTextInterface: ...
  380. def focusChild(self, /) -> PySide6.QtGui.QAccessibleInterface: ...
  381. def foregroundColor(self, /) -> PySide6.QtGui.QColor: ...
  382. def indexOfChild(self, arg__1: PySide6.QtGui.QAccessibleInterface, /) -> int: ...
  383. def interface_cast(self, arg__1: PySide6.QtGui.QAccessible.InterfaceType, /) -> int: ...
  384. def isValid(self, /) -> bool: ...
  385. def object(self, /) -> PySide6.QtCore.QObject: ...
  386. def parent(self, /) -> PySide6.QtGui.QAccessibleInterface: ...
  387. def rect(self, /) -> PySide6.QtCore.QRect: ...
  388. def relations(self, /, match: PySide6.QtGui.QAccessible.RelationFlag = ...) -> typing.List[typing.Tuple[PySide6.QtGui.QAccessibleInterface, PySide6.QtGui.QAccessible.RelationFlag]]: ...
  389. def role(self, /) -> PySide6.QtGui.QAccessible.Role: ...
  390. def selectionInterface(self, /) -> PySide6.QtGui.QAccessibleSelectionInterface: ...
  391. def setText(self, t: PySide6.QtGui.QAccessible.Text, text: str, /) -> None: ...
  392. def state(self, /) -> PySide6.QtGui.QAccessible.State: ...
  393. def tableCellInterface(self, /) -> PySide6.QtGui.QAccessibleTableCellInterface: ...
  394. def text(self, t: PySide6.QtGui.QAccessible.Text, /) -> str: ...
  395. def textInterface(self, /) -> PySide6.QtGui.QAccessibleTextInterface: ...
  396. def valueInterface(self, /) -> PySide6.QtGui.QAccessibleValueInterface: ...
  397. def virtual_hook(self, id: int, data: int, /) -> None: ...
  398. def window(self, /) -> PySide6.QtGui.QWindow: ...
  399. class QAccessibleObject(PySide6.QtGui.QAccessibleInterface):
  400. def __init__(self, object: PySide6.QtCore.QObject, /) -> None: ...
  401. def childAt(self, x: int, y: int, /) -> PySide6.QtGui.QAccessibleInterface: ...
  402. def isValid(self, /) -> bool: ...
  403. def object(self, /) -> PySide6.QtCore.QObject: ...
  404. def rect(self, /) -> PySide6.QtCore.QRect: ...
  405. def setText(self, t: PySide6.QtGui.QAccessible.Text, text: str, /) -> None: ...
  406. class QAccessibleSelectionInterface(Shiboken.Object):
  407. def __init__(self, /) -> None: ...
  408. def clear(self, /) -> bool: ...
  409. def isSelected(self, childItem: PySide6.QtGui.QAccessibleInterface, /) -> bool: ...
  410. def select(self, childItem: PySide6.QtGui.QAccessibleInterface, /) -> bool: ...
  411. def selectAll(self, /) -> bool: ...
  412. def selectedItem(self, selectionIndex: int, /) -> PySide6.QtGui.QAccessibleInterface: ...
  413. def selectedItemCount(self, /) -> int: ...
  414. def selectedItems(self, /) -> typing.List[PySide6.QtGui.QAccessibleInterface]: ...
  415. def unselect(self, childItem: PySide6.QtGui.QAccessibleInterface, /) -> bool: ...
  416. class QAccessibleStateChangeEvent(PySide6.QtGui.QAccessibleEvent):
  417. @typing.overload
  418. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, state: PySide6.QtGui.QAccessible.State, /) -> None: ...
  419. @typing.overload
  420. def __init__(self, obj: PySide6.QtCore.QObject, state: PySide6.QtGui.QAccessible.State, /) -> None: ...
  421. def changedStates(self, /) -> PySide6.QtGui.QAccessible.State: ...
  422. class QAccessibleTableCellInterface(Shiboken.Object):
  423. def __init__(self, /) -> None: ...
  424. def columnExtent(self, /) -> int: ...
  425. def columnHeaderCells(self, /) -> typing.List[PySide6.QtGui.QAccessibleInterface]: ...
  426. def columnIndex(self, /) -> int: ...
  427. def isSelected(self, /) -> bool: ...
  428. def rowExtent(self, /) -> int: ...
  429. def rowHeaderCells(self, /) -> typing.List[PySide6.QtGui.QAccessibleInterface]: ...
  430. def rowIndex(self, /) -> int: ...
  431. def table(self, /) -> PySide6.QtGui.QAccessibleInterface: ...
  432. class QAccessibleTableModelChangeEvent(PySide6.QtGui.QAccessibleEvent):
  433. class ModelChangeType(enum.Enum):
  434. ModelReset = 0x0
  435. DataChanged = 0x1
  436. RowsInserted = 0x2
  437. ColumnsInserted = 0x3
  438. RowsRemoved = 0x4
  439. ColumnsRemoved = 0x5
  440. @typing.overload
  441. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, changeType: PySide6.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType, /) -> None: ...
  442. @typing.overload
  443. def __init__(self, obj: PySide6.QtCore.QObject, changeType: PySide6.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType, /) -> None: ...
  444. def firstColumn(self, /) -> int: ...
  445. def firstRow(self, /) -> int: ...
  446. def lastColumn(self, /) -> int: ...
  447. def lastRow(self, /) -> int: ...
  448. def modelChangeType(self, /) -> PySide6.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType: ...
  449. def setFirstColumn(self, col: int, /) -> None: ...
  450. def setFirstRow(self, row: int, /) -> None: ...
  451. def setLastColumn(self, col: int, /) -> None: ...
  452. def setLastRow(self, row: int, /) -> None: ...
  453. def setModelChangeType(self, changeType: PySide6.QtGui.QAccessibleTableModelChangeEvent.ModelChangeType, /) -> None: ...
  454. class QAccessibleTextCursorEvent(PySide6.QtGui.QAccessibleEvent):
  455. @typing.overload
  456. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, cursorPos: int, /) -> None: ...
  457. @typing.overload
  458. def __init__(self, obj: PySide6.QtCore.QObject, cursorPos: int, /) -> None: ...
  459. def cursorPosition(self, /) -> int: ...
  460. def setCursorPosition(self, position: int, /) -> None: ...
  461. class QAccessibleTextInsertEvent(PySide6.QtGui.QAccessibleTextCursorEvent):
  462. @typing.overload
  463. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, position: int, text: str, /) -> None: ...
  464. @typing.overload
  465. def __init__(self, obj: PySide6.QtCore.QObject, position: int, text: str, /) -> None: ...
  466. def changePosition(self, /) -> int: ...
  467. def textInserted(self, /) -> str: ...
  468. class QAccessibleTextInterface(Shiboken.Object):
  469. def __init__(self, /) -> None: ...
  470. def addSelection(self, startOffset: int, endOffset: int, /) -> None: ...
  471. def attributes(self, offset: int, /) -> typing.Tuple[str, int, int]: ...
  472. def characterCount(self, /) -> int: ...
  473. def characterRect(self, offset: int, /) -> PySide6.QtCore.QRect: ...
  474. def cursorPosition(self, /) -> int: ...
  475. def offsetAtPoint(self, point: PySide6.QtCore.QPoint, /) -> int: ...
  476. def removeSelection(self, selectionIndex: int, /) -> None: ...
  477. def scrollToSubstring(self, startIndex: int, endIndex: int, /) -> None: ...
  478. def selection(self, selectionIndex: int, /) -> typing.Tuple[int, int]: ...
  479. def selectionCount(self, /) -> int: ...
  480. def setCursorPosition(self, position: int, /) -> None: ...
  481. def setSelection(self, selectionIndex: int, startOffset: int, endOffset: int, /) -> None: ...
  482. def text(self, startOffset: int, endOffset: int, /) -> str: ...
  483. def textAfterOffset(self, offset: int, boundaryType: PySide6.QtGui.QAccessible.TextBoundaryType, /) -> typing.Tuple[str, int, int]: ...
  484. def textAtOffset(self, offset: int, boundaryType: PySide6.QtGui.QAccessible.TextBoundaryType, /) -> typing.Tuple[str, int, int]: ...
  485. def textBeforeOffset(self, offset: int, boundaryType: PySide6.QtGui.QAccessible.TextBoundaryType, /) -> typing.Tuple[str, int, int]: ...
  486. class QAccessibleTextRemoveEvent(PySide6.QtGui.QAccessibleTextCursorEvent):
  487. @typing.overload
  488. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, position: int, text: str, /) -> None: ...
  489. @typing.overload
  490. def __init__(self, obj: PySide6.QtCore.QObject, position: int, text: str, /) -> None: ...
  491. def changePosition(self, /) -> int: ...
  492. def textRemoved(self, /) -> str: ...
  493. class QAccessibleTextSelectionEvent(PySide6.QtGui.QAccessibleTextCursorEvent):
  494. @typing.overload
  495. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, start: int, end: int, /) -> None: ...
  496. @typing.overload
  497. def __init__(self, obj: PySide6.QtCore.QObject, start: int, end: int, /) -> None: ...
  498. def selectionEnd(self, /) -> int: ...
  499. def selectionStart(self, /) -> int: ...
  500. def setSelection(self, start: int, end: int, /) -> None: ...
  501. class QAccessibleTextUpdateEvent(PySide6.QtGui.QAccessibleTextCursorEvent):
  502. @typing.overload
  503. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, position: int, oldText: str, text: str, /) -> None: ...
  504. @typing.overload
  505. def __init__(self, obj: PySide6.QtCore.QObject, position: int, oldText: str, text: str, /) -> None: ...
  506. def changePosition(self, /) -> int: ...
  507. def textInserted(self, /) -> str: ...
  508. def textRemoved(self, /) -> str: ...
  509. class QAccessibleValueChangeEvent(PySide6.QtGui.QAccessibleEvent):
  510. @typing.overload
  511. def __init__(self, iface: PySide6.QtGui.QAccessibleInterface, val: typing.Any, /) -> None: ...
  512. @typing.overload
  513. def __init__(self, obj: PySide6.QtCore.QObject, val: typing.Any, /) -> None: ...
  514. def setValue(self, val: typing.Any, /) -> None: ...
  515. def value(self, /) -> typing.Any: ...
  516. class QAccessibleValueInterface(Shiboken.Object):
  517. def __init__(self, /) -> None: ...
  518. def currentValue(self, /) -> typing.Any: ...
  519. def maximumValue(self, /) -> typing.Any: ...
  520. def minimumStepSize(self, /) -> typing.Any: ...
  521. def minimumValue(self, /) -> typing.Any: ...
  522. def setCurrentValue(self, value: typing.Any, /) -> None: ...
  523. class QAction(PySide6.QtCore.QObject):
  524. changed : typing.ClassVar[Signal] = ... # changed()
  525. checkableChanged : typing.ClassVar[Signal] = ... # checkableChanged(bool)
  526. enabledChanged : typing.ClassVar[Signal] = ... # enabledChanged(bool)
  527. hovered : typing.ClassVar[Signal] = ... # hovered()
  528. toggled : typing.ClassVar[Signal] = ... # toggled(bool)
  529. triggered : typing.ClassVar[Signal] = ... # triggered(); triggered(bool)
  530. visibleChanged : typing.ClassVar[Signal] = ... # visibleChanged()
  531. class ActionEvent(enum.Enum):
  532. Trigger = 0x0
  533. Hover = 0x1
  534. class MenuRole(enum.Enum):
  535. NoRole = 0x0
  536. TextHeuristicRole = 0x1
  537. ApplicationSpecificRole = 0x2
  538. AboutQtRole = 0x3
  539. AboutRole = 0x4
  540. PreferencesRole = 0x5
  541. QuitRole = 0x6
  542. class Priority(enum.Enum):
  543. LowPriority = 0x0
  544. NormalPriority = 0x80
  545. HighPriority = 0x100
  546. @typing.overload
  547. def __init__(self, text: str, /, parent: PySide6.QtCore.QObject | None = ..., *, checkable: bool | None = ..., checked: bool | None = ..., enabled: bool | None = ..., icon: PySide6.QtGui.QIcon | None = ..., iconText: str | None = ..., toolTip: str | None = ..., statusTip: str | None = ..., whatsThis: str | None = ..., font: PySide6.QtGui.QFont | None = ..., shortcut: PySide6.QtGui.QKeySequence | None = ..., shortcutContext: PySide6.QtCore.Qt.ShortcutContext | None = ..., autoRepeat: bool | None = ..., visible: bool | None = ..., menuRole: PySide6.QtGui.QAction.MenuRole | None = ..., iconVisibleInMenu: bool | None = ..., shortcutVisibleInContextMenu: bool | None = ..., priority: PySide6.QtGui.QAction.Priority | None = ...) -> None: ...
  548. @typing.overload
  549. def __init__(self, icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, text: str, /, parent: PySide6.QtCore.QObject | None = ..., *, checkable: bool | None = ..., checked: bool | None = ..., enabled: bool | None = ..., iconText: str | None = ..., toolTip: str | None = ..., statusTip: str | None = ..., whatsThis: str | None = ..., font: PySide6.QtGui.QFont | None = ..., shortcut: PySide6.QtGui.QKeySequence | None = ..., shortcutContext: PySide6.QtCore.Qt.ShortcutContext | None = ..., autoRepeat: bool | None = ..., visible: bool | None = ..., menuRole: PySide6.QtGui.QAction.MenuRole | None = ..., iconVisibleInMenu: bool | None = ..., shortcutVisibleInContextMenu: bool | None = ..., priority: PySide6.QtGui.QAction.Priority | None = ...) -> None: ...
  550. @typing.overload
  551. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, checkable: bool | None = ..., checked: bool | None = ..., enabled: bool | None = ..., icon: PySide6.QtGui.QIcon | None = ..., text: str | None = ..., iconText: str | None = ..., toolTip: str | None = ..., statusTip: str | None = ..., whatsThis: str | None = ..., font: PySide6.QtGui.QFont | None = ..., shortcut: PySide6.QtGui.QKeySequence | None = ..., shortcutContext: PySide6.QtCore.Qt.ShortcutContext | None = ..., autoRepeat: bool | None = ..., visible: bool | None = ..., menuRole: PySide6.QtGui.QAction.MenuRole | None = ..., iconVisibleInMenu: bool | None = ..., shortcutVisibleInContextMenu: bool | None = ..., priority: PySide6.QtGui.QAction.Priority | None = ...) -> None: ...
  552. def __repr__(self, /) -> str: ...
  553. def actionGroup(self, /) -> PySide6.QtGui.QActionGroup: ...
  554. def activate(self, event: PySide6.QtGui.QAction.ActionEvent, /) -> None: ...
  555. def associatedObjects(self, /) -> typing.List[PySide6.QtCore.QObject]: ...
  556. def autoRepeat(self, /) -> bool: ...
  557. def data(self, /) -> typing.Any: ...
  558. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  559. def font(self, /) -> PySide6.QtGui.QFont: ...
  560. def hover(self, /) -> None: ...
  561. def icon(self, /) -> PySide6.QtGui.QIcon: ...
  562. def iconText(self, /) -> str: ...
  563. def isCheckable(self, /) -> bool: ...
  564. def isChecked(self, /) -> bool: ...
  565. def isEnabled(self, /) -> bool: ...
  566. def isIconVisibleInMenu(self, /) -> bool: ...
  567. def isSeparator(self, /) -> bool: ...
  568. def isShortcutVisibleInContextMenu(self, /) -> bool: ...
  569. def isVisible(self, /) -> bool: ...
  570. def menu(self, /) -> PySide6.QtCore.QObject: ...
  571. def menuRole(self, /) -> PySide6.QtGui.QAction.MenuRole: ...
  572. def priority(self, /) -> PySide6.QtGui.QAction.Priority: ...
  573. def resetEnabled(self, /) -> None: ...
  574. def setActionGroup(self, group: PySide6.QtGui.QActionGroup, /) -> None: ...
  575. def setAutoRepeat(self, arg__1: bool, /) -> None: ...
  576. def setCheckable(self, arg__1: bool, /) -> None: ...
  577. def setChecked(self, arg__1: bool, /) -> None: ...
  578. def setData(self, var: typing.Any, /) -> None: ...
  579. def setDisabled(self, b: bool, /) -> None: ...
  580. def setEnabled(self, arg__1: bool, /) -> None: ...
  581. def setFont(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  582. def setIcon(self, icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> None: ...
  583. def setIconText(self, text: str, /) -> None: ...
  584. def setIconVisibleInMenu(self, visible: bool, /) -> None: ...
  585. def setMenu(self, arg__1: PySide6.QtCore.QObject, /) -> None: ...
  586. def setMenuRole(self, menuRole: PySide6.QtGui.QAction.MenuRole, /) -> None: ...
  587. def setPriority(self, priority: PySide6.QtGui.QAction.Priority, /) -> None: ...
  588. def setSeparator(self, b: bool, /) -> None: ...
  589. @typing.overload
  590. def setShortcut(self, arg__1: PySide6.QtCore.Qt.Key, /) -> None: ...
  591. @typing.overload
  592. def setShortcut(self, shortcut: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> None: ...
  593. def setShortcutContext(self, context: PySide6.QtCore.Qt.ShortcutContext, /) -> None: ...
  594. def setShortcutVisibleInContextMenu(self, show: bool, /) -> None: ...
  595. @typing.overload
  596. def setShortcuts(self, arg__1: PySide6.QtGui.QKeySequence.StandardKey, /) -> None: ...
  597. @typing.overload
  598. def setShortcuts(self, shortcuts: collections.abc.Sequence[PySide6.QtGui.QKeySequence], /) -> None: ...
  599. def setStatusTip(self, statusTip: str, /) -> None: ...
  600. def setText(self, text: str, /) -> None: ...
  601. def setToolTip(self, tip: str, /) -> None: ...
  602. def setVisible(self, arg__1: bool, /) -> None: ...
  603. def setWhatsThis(self, what: str, /) -> None: ...
  604. def shortcut(self, /) -> PySide6.QtGui.QKeySequence: ...
  605. def shortcutContext(self, /) -> PySide6.QtCore.Qt.ShortcutContext: ...
  606. def shortcuts(self, /) -> typing.List[PySide6.QtGui.QKeySequence]: ...
  607. def showStatusText(self, /, object: PySide6.QtCore.QObject | None = ...) -> bool: ...
  608. def statusTip(self, /) -> str: ...
  609. def text(self, /) -> str: ...
  610. def toggle(self, /) -> None: ...
  611. def toolTip(self, /) -> str: ...
  612. def trigger(self, /) -> None: ...
  613. def whatsThis(self, /) -> str: ...
  614. class QActionEvent(PySide6.QtCore.QEvent):
  615. @typing.overload
  616. def __init__(self, arg__1: PySide6.QtGui.QActionEvent, /) -> None: ...
  617. @typing.overload
  618. def __init__(self, type: int, action: PySide6.QtGui.QAction, /, before: PySide6.QtGui.QAction | None = ...) -> None: ...
  619. def action(self, /) -> PySide6.QtGui.QAction: ...
  620. def before(self, /) -> PySide6.QtGui.QAction: ...
  621. def clone(self, /) -> PySide6.QtGui.QActionEvent: ...
  622. class QActionGroup(PySide6.QtCore.QObject):
  623. hovered : typing.ClassVar[Signal] = ... # hovered(QAction*)
  624. triggered : typing.ClassVar[Signal] = ... # triggered(QAction*)
  625. class ExclusionPolicy(enum.Enum):
  626. None_ = 0x0
  627. Exclusive = 0x1
  628. ExclusiveOptional = 0x2
  629. def __init__(self, parent: PySide6.QtCore.QObject, /, *, exclusionPolicy: PySide6.QtGui.QActionGroup.ExclusionPolicy | None = ..., enabled: bool | None = ..., visible: bool | None = ...) -> None: ...
  630. def actions(self, /) -> typing.List[PySide6.QtGui.QAction]: ...
  631. @typing.overload
  632. def addAction(self, a: PySide6.QtGui.QAction, /) -> PySide6.QtGui.QAction: ...
  633. @typing.overload
  634. def addAction(self, text: str, /) -> PySide6.QtGui.QAction: ...
  635. @typing.overload
  636. def addAction(self, icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, text: str, /) -> PySide6.QtGui.QAction: ...
  637. def checkedAction(self, /) -> PySide6.QtGui.QAction: ...
  638. def exclusionPolicy(self, /) -> PySide6.QtGui.QActionGroup.ExclusionPolicy: ...
  639. def isEnabled(self, /) -> bool: ...
  640. def isExclusive(self, /) -> bool: ...
  641. def isVisible(self, /) -> bool: ...
  642. def removeAction(self, a: PySide6.QtGui.QAction, /) -> None: ...
  643. def setDisabled(self, b: bool, /) -> None: ...
  644. def setEnabled(self, arg__1: bool, /) -> None: ...
  645. def setExclusionPolicy(self, policy: PySide6.QtGui.QActionGroup.ExclusionPolicy, /) -> None: ...
  646. def setExclusive(self, arg__1: bool, /) -> None: ...
  647. def setVisible(self, arg__1: bool, /) -> None: ...
  648. class QBackingStore(Shiboken.Object):
  649. def __init__(self, window: PySide6.QtGui.QWindow, /) -> None: ...
  650. def beginPaint(self, arg__1: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  651. def endPaint(self, /) -> None: ...
  652. def flush(self, region: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /, window: PySide6.QtGui.QWindow | None = ..., offset: PySide6.QtCore.QPoint = ...) -> None: ...
  653. def hasStaticContents(self, /) -> bool: ...
  654. def paintDevice(self, /) -> PySide6.QtGui.QPaintDevice: ...
  655. def resize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  656. def scroll(self, area: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, dx: int, dy: int, /) -> bool: ...
  657. def setStaticContents(self, region: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  658. def size(self, /) -> PySide6.QtCore.QSize: ...
  659. def staticContents(self, /) -> PySide6.QtGui.QRegion: ...
  660. def window(self, /) -> PySide6.QtGui.QWindow: ...
  661. class QBitmap(PySide6.QtGui.QPixmap):
  662. @typing.overload
  663. def __init__(self, /) -> None: ...
  664. @typing.overload
  665. def __init__(self, QBitmap: PySide6.QtGui.QBitmap, /) -> None: ...
  666. @typing.overload
  667. def __init__(self, arg__1: PySide6.QtCore.QSize, /) -> None: ...
  668. @typing.overload
  669. def __init__(self, fileName: str, /, format: bytes | bytearray | memoryview | None = ...) -> None: ...
  670. @typing.overload
  671. def __init__(self, arg__1: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  672. @typing.overload
  673. def __init__(self, w: int, h: int, /) -> None: ...
  674. def __copy__(self, /) -> typing.Self: ...
  675. def clear(self, /) -> None: ...
  676. @staticmethod
  677. def fromData(size: PySide6.QtCore.QSize, bits: bytes | bytearray | memoryview, /, monoFormat: PySide6.QtGui.QImage.Format = ...) -> PySide6.QtGui.QBitmap: ...
  678. @staticmethod
  679. def fromImage(image: PySide6.QtGui.QImage, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QBitmap: ...
  680. @staticmethod
  681. def fromPixmap(pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> PySide6.QtGui.QBitmap: ...
  682. def swap(self, other: PySide6.QtGui.QBitmap | str, /) -> None: ...
  683. def transformed(self, matrix: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QBitmap: ...
  684. class QBrush(Shiboken.Object):
  685. @typing.overload
  686. def __init__(self, /) -> None: ...
  687. @typing.overload
  688. def __init__(self, image: PySide6.QtGui.QImage, /) -> None: ...
  689. @typing.overload
  690. def __init__(self, bs: PySide6.QtCore.Qt.BrushStyle, /) -> None: ...
  691. @typing.overload
  692. def __init__(self, color: PySide6.QtCore.Qt.GlobalColor, /, bs: PySide6.QtCore.Qt.BrushStyle = ...) -> None: ...
  693. @typing.overload
  694. def __init__(self, color: PySide6.QtCore.Qt.GlobalColor, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  695. @typing.overload
  696. def __init__(self, brush: PySide6.QtGui.QBrush, /) -> None: ...
  697. @typing.overload
  698. def __init__(self, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  699. @typing.overload
  700. def __init__(self, gradient: PySide6.QtGui.QGradient | PySide6.QtGui.QGradient.Preset, /) -> None: ...
  701. @typing.overload
  702. def __init__(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /, bs: PySide6.QtCore.Qt.BrushStyle = ...) -> None: ...
  703. @typing.overload
  704. def __init__(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  705. def __copy__(self, /) -> typing.Self: ...
  706. @typing.overload
  707. def __eq__(self, lhs: PySide6.QtCore.Qt.BrushStyle, /) -> bool: ...
  708. @typing.overload
  709. def __eq__(self, lhs: PySide6.QtCore.Qt.GlobalColor, /) -> bool: ...
  710. @typing.overload
  711. def __eq__(self, b: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> bool: ...
  712. @typing.overload
  713. def __eq__(self, rhs: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> bool: ...
  714. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  715. @typing.overload
  716. def __ne__(self, lhs: PySide6.QtCore.Qt.BrushStyle, /) -> bool: ...
  717. @typing.overload
  718. def __ne__(self, lhs: PySide6.QtCore.Qt.GlobalColor, /) -> bool: ...
  719. @typing.overload
  720. def __ne__(self, b: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> bool: ...
  721. @typing.overload
  722. def __ne__(self, rhs: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> bool: ...
  723. def __repr__(self, /) -> str: ...
  724. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  725. def color(self, /) -> PySide6.QtGui.QColor: ...
  726. def gradient(self, /) -> PySide6.QtGui.QGradient: ...
  727. def isOpaque(self, /) -> bool: ...
  728. @typing.overload
  729. def setColor(self, color: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  730. @typing.overload
  731. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  732. def setStyle(self, arg__1: PySide6.QtCore.Qt.BrushStyle, /) -> None: ...
  733. def setTexture(self, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  734. def setTextureImage(self, image: PySide6.QtGui.QImage, /) -> None: ...
  735. def setTransform(self, arg__1: PySide6.QtGui.QTransform, /) -> None: ...
  736. def style(self, /) -> PySide6.QtCore.Qt.BrushStyle: ...
  737. def swap(self, other: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  738. def texture(self, /) -> PySide6.QtGui.QPixmap: ...
  739. def textureImage(self, /) -> PySide6.QtGui.QImage: ...
  740. def transform(self, /) -> PySide6.QtGui.QTransform: ...
  741. class QChildWindowEvent(PySide6.QtCore.QEvent):
  742. @typing.overload
  743. def __init__(self, type: PySide6.QtCore.QEvent.Type, childWindow: PySide6.QtGui.QWindow, /) -> None: ...
  744. @typing.overload
  745. def __init__(self, arg__1: PySide6.QtGui.QChildWindowEvent, /) -> None: ...
  746. def child(self, /) -> PySide6.QtGui.QWindow: ...
  747. def clone(self, /) -> PySide6.QtGui.QChildWindowEvent: ...
  748. class QClipboard(PySide6.QtCore.QObject):
  749. changed : typing.ClassVar[Signal] = ... # changed(QClipboard::Mode)
  750. dataChanged : typing.ClassVar[Signal] = ... # dataChanged()
  751. findBufferChanged : typing.ClassVar[Signal] = ... # findBufferChanged()
  752. selectionChanged : typing.ClassVar[Signal] = ... # selectionChanged()
  753. class Mode(enum.Enum):
  754. Clipboard = 0x0
  755. Selection = 0x1
  756. FindBuffer = 0x2
  757. LastMode = 0x2
  758. def clear(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
  759. def image(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> PySide6.QtGui.QImage: ...
  760. def mimeData(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> PySide6.QtCore.QMimeData: ...
  761. def ownsClipboard(self, /) -> bool: ...
  762. def ownsFindBuffer(self, /) -> bool: ...
  763. def ownsSelection(self, /) -> bool: ...
  764. def pixmap(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> PySide6.QtGui.QPixmap: ...
  765. @typing.overload
  766. def setImage(self, arg__1: PySide6.QtGui.QImage, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
  767. @typing.overload
  768. def setImage(self, path: str | bytes | os.PathLike[str], /) -> None: ...
  769. def setMimeData(self, data: PySide6.QtCore.QMimeData, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
  770. @typing.overload
  771. def setPixmap(self, arg__1: PySide6.QtGui.QPixmap, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
  772. @typing.overload
  773. def setPixmap(self, path: str | bytes | os.PathLike[str], /) -> None: ...
  774. def setText(self, arg__1: str, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> None: ...
  775. def supportsFindBuffer(self, /) -> bool: ...
  776. def supportsSelection(self, /) -> bool: ...
  777. @typing.overload
  778. def text(self, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> str: ...
  779. @typing.overload
  780. def text(self, subtype: str, /, mode: PySide6.QtGui.QClipboard.Mode = ...) -> typing.Tuple[str, PySide6.QtGui.QClipboard.Mode]: ...
  781. class QCloseEvent(PySide6.QtCore.QEvent):
  782. @typing.overload
  783. def __init__(self, /) -> None: ...
  784. @typing.overload
  785. def __init__(self, arg__1: PySide6.QtGui.QCloseEvent, /) -> None: ...
  786. def clone(self, /) -> PySide6.QtGui.QCloseEvent: ...
  787. class QColor(Shiboken.Object):
  788. class NameFormat(enum.Enum):
  789. HexRgb = 0x0
  790. HexArgb = 0x1
  791. class Spec(enum.Enum):
  792. Invalid = 0x0
  793. Rgb = 0x1
  794. Hsv = 0x2
  795. Cmyk = 0x3
  796. Hsl = 0x4
  797. ExtendedRgb = 0x5
  798. @typing.overload
  799. def __init__(self, /) -> None: ...
  800. @typing.overload
  801. def __init__(self, color: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  802. @typing.overload
  803. def __init__(self, QColor: PySide6.QtGui.QColor, /) -> None: ...
  804. @typing.overload
  805. def __init__(self, rgba64: PySide6.QtGui.QRgba64, /) -> None: ...
  806. @typing.overload
  807. def __init__(self, spec: PySide6.QtGui.QColor.Spec, a1: int, a2: int, a3: int, a4: int, /, a5: int | None = ...) -> None: ...
  808. @typing.overload
  809. def __init__(self, name: str, /) -> None: ...
  810. @typing.overload
  811. def __init__(self, rgb: int, /) -> None: ...
  812. @typing.overload
  813. def __init__(self, r: int, g: int, b: int, /, a: int = ...) -> None: ...
  814. @typing.overload
  815. def __init__(self, color: typing.Any, /) -> None: ...
  816. def __copy__(self, /) -> typing.Self: ...
  817. @typing.overload
  818. def __eq__(self, rhs: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> bool: ...
  819. @typing.overload
  820. def __eq__(self, rhs: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> bool: ...
  821. @typing.overload
  822. def __eq__(self, c: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> bool: ...
  823. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  824. @typing.overload
  825. def __ne__(self, rhs: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> bool: ...
  826. @typing.overload
  827. def __ne__(self, rhs: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> bool: ...
  828. @typing.overload
  829. def __ne__(self, c: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> bool: ...
  830. def __reduce__(self, /) -> str: ...
  831. def __repr__(self, /) -> str: ...
  832. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  833. def __setstate__(self, arg__1: object, /) -> object: ...
  834. def __str__(self, /) -> str: ...
  835. def alpha(self, /) -> int: ...
  836. def alphaF(self, /) -> float: ...
  837. def black(self, /) -> int: ...
  838. def blackF(self, /) -> float: ...
  839. def blue(self, /) -> int: ...
  840. def blueF(self, /) -> float: ...
  841. @staticmethod
  842. def colorNames() -> typing.List[str]: ...
  843. def convertTo(self, colorSpec: PySide6.QtGui.QColor.Spec, /) -> PySide6.QtGui.QColor: ...
  844. def cyan(self, /) -> int: ...
  845. def cyanF(self, /) -> float: ...
  846. def darker(self, /, f: int = ...) -> PySide6.QtGui.QColor: ...
  847. @staticmethod
  848. def fromCmyk(c: int, m: int, y: int, k: int, /, a: int = ...) -> PySide6.QtGui.QColor: ...
  849. @staticmethod
  850. def fromCmykF(c: float, m: float, y: float, k: float, /, a: float = ...) -> PySide6.QtGui.QColor: ...
  851. @staticmethod
  852. def fromHsl(h: int, s: int, l: int, /, a: int = ...) -> PySide6.QtGui.QColor: ...
  853. @staticmethod
  854. def fromHslF(h: float, s: float, l: float, /, a: float = ...) -> PySide6.QtGui.QColor: ...
  855. @staticmethod
  856. def fromHsv(h: int, s: int, v: int, /, a: int = ...) -> PySide6.QtGui.QColor: ...
  857. @staticmethod
  858. def fromHsvF(h: float, s: float, v: float, /, a: float = ...) -> PySide6.QtGui.QColor: ...
  859. @typing.overload
  860. @staticmethod
  861. def fromRgb(rgb: int, /) -> PySide6.QtGui.QColor: ...
  862. @typing.overload
  863. @staticmethod
  864. def fromRgb(r: int, g: int, b: int, /, a: int = ...) -> PySide6.QtGui.QColor: ...
  865. @staticmethod
  866. def fromRgbF(r: float, g: float, b: float, /, a: float = ...) -> PySide6.QtGui.QColor: ...
  867. @staticmethod
  868. def fromRgba(rgba: int, /) -> PySide6.QtGui.QColor: ...
  869. @typing.overload
  870. @staticmethod
  871. def fromRgba64(rgba: PySide6.QtGui.QRgba64, /) -> PySide6.QtGui.QColor: ...
  872. @typing.overload
  873. @staticmethod
  874. def fromRgba64(r: int, g: int, b: int, /, a: int = ...) -> PySide6.QtGui.QColor: ...
  875. @staticmethod
  876. def fromString(name: str, /) -> PySide6.QtGui.QColor: ...
  877. def getCmyk(self, /) -> object: ...
  878. def getCmykF(self, /) -> object: ...
  879. def getHsl(self, /) -> object: ...
  880. def getHslF(self, /) -> object: ...
  881. def getHsv(self, /) -> object: ...
  882. def getHsvF(self, /) -> object: ...
  883. def getRgb(self, /) -> object: ...
  884. def getRgbF(self, /) -> object: ...
  885. def green(self, /) -> int: ...
  886. def greenF(self, /) -> float: ...
  887. def hslHue(self, /) -> int: ...
  888. def hslHueF(self, /) -> float: ...
  889. def hslSaturation(self, /) -> int: ...
  890. def hslSaturationF(self, /) -> float: ...
  891. def hsvHue(self, /) -> int: ...
  892. def hsvHueF(self, /) -> float: ...
  893. def hsvSaturation(self, /) -> int: ...
  894. def hsvSaturationF(self, /) -> float: ...
  895. def hue(self, /) -> int: ...
  896. def hueF(self, /) -> float: ...
  897. def isValid(self, /) -> bool: ...
  898. @staticmethod
  899. def isValidColor(arg__1: str, /) -> bool: ...
  900. @staticmethod
  901. def isValidColorName(arg__1: str, /) -> bool: ...
  902. def lighter(self, /, f: int = ...) -> PySide6.QtGui.QColor: ...
  903. def lightness(self, /) -> int: ...
  904. def lightnessF(self, /) -> float: ...
  905. def magenta(self, /) -> int: ...
  906. def magentaF(self, /) -> float: ...
  907. def name(self, /, format: PySide6.QtGui.QColor.NameFormat = ...) -> str: ...
  908. def red(self, /) -> int: ...
  909. def redF(self, /) -> float: ...
  910. def rgb(self, /) -> int: ...
  911. def rgba(self, /) -> int: ...
  912. def rgba64(self, /) -> PySide6.QtGui.QRgba64: ...
  913. def saturation(self, /) -> int: ...
  914. def saturationF(self, /) -> float: ...
  915. def setAlpha(self, alpha: int, /) -> None: ...
  916. def setAlphaF(self, alpha: float, /) -> None: ...
  917. def setBlue(self, blue: int, /) -> None: ...
  918. def setBlueF(self, blue: float, /) -> None: ...
  919. def setCmyk(self, c: int, m: int, y: int, k: int, /, a: int = ...) -> None: ...
  920. def setCmykF(self, c: float, m: float, y: float, k: float, /, a: float = ...) -> None: ...
  921. def setGreen(self, green: int, /) -> None: ...
  922. def setGreenF(self, green: float, /) -> None: ...
  923. def setHsl(self, h: int, s: int, l: int, /, a: int = ...) -> None: ...
  924. def setHslF(self, h: float, s: float, l: float, /, a: float = ...) -> None: ...
  925. def setHsv(self, h: int, s: int, v: int, /, a: int = ...) -> None: ...
  926. def setHsvF(self, h: float, s: float, v: float, /, a: float = ...) -> None: ...
  927. def setNamedColor(self, name: str, /) -> None: ...
  928. def setRed(self, red: int, /) -> None: ...
  929. def setRedF(self, red: float, /) -> None: ...
  930. @typing.overload
  931. def setRgb(self, rgb: int, /) -> None: ...
  932. @typing.overload
  933. def setRgb(self, r: int, g: int, b: int, /, a: int = ...) -> None: ...
  934. def setRgbF(self, r: float, g: float, b: float, /, a: float = ...) -> None: ...
  935. def setRgba(self, rgba: int, /) -> None: ...
  936. def setRgba64(self, rgba: PySide6.QtGui.QRgba64, /) -> None: ...
  937. def spec(self, /) -> PySide6.QtGui.QColor.Spec: ...
  938. def toCmyk(self, /) -> PySide6.QtGui.QColor: ...
  939. def toExtendedRgb(self, /) -> PySide6.QtGui.QColor: ...
  940. def toHsl(self, /) -> PySide6.QtGui.QColor: ...
  941. def toHsv(self, /) -> PySide6.QtGui.QColor: ...
  942. def toRgb(self, /) -> PySide6.QtGui.QColor: ...
  943. def toTuple(self, /) -> object: ...
  944. def value(self, /) -> int: ...
  945. def valueF(self, /) -> float: ...
  946. def yellow(self, /) -> int: ...
  947. def yellowF(self, /) -> float: ...
  948. class QColorConstants(Shiboken.Object):
  949. Black = ... # type: PySide6.QtGui.QColor
  950. Blue = ... # type: PySide6.QtGui.QColor
  951. Color0 = ... # type: PySide6.QtGui.QColor
  952. Color1 = ... # type: PySide6.QtGui.QColor
  953. Cyan = ... # type: PySide6.QtGui.QColor
  954. DarkBlue = ... # type: PySide6.QtGui.QColor
  955. DarkCyan = ... # type: PySide6.QtGui.QColor
  956. DarkGray = ... # type: PySide6.QtGui.QColor
  957. DarkGreen = ... # type: PySide6.QtGui.QColor
  958. DarkMagenta = ... # type: PySide6.QtGui.QColor
  959. DarkRed = ... # type: PySide6.QtGui.QColor
  960. DarkYellow = ... # type: PySide6.QtGui.QColor
  961. Gray = ... # type: PySide6.QtGui.QColor
  962. Green = ... # type: PySide6.QtGui.QColor
  963. LightGray = ... # type: PySide6.QtGui.QColor
  964. Magenta = ... # type: PySide6.QtGui.QColor
  965. Red = ... # type: PySide6.QtGui.QColor
  966. Transparent = ... # type: PySide6.QtGui.QColor
  967. White = ... # type: PySide6.QtGui.QColor
  968. Yellow = ... # type: PySide6.QtGui.QColor
  969. class Svg(Shiboken.Object):
  970. aliceblue = ... # type: PySide6.QtGui.QColor
  971. antiquewhite = ... # type: PySide6.QtGui.QColor
  972. aqua = ... # type: PySide6.QtGui.QColor
  973. aquamarine = ... # type: PySide6.QtGui.QColor
  974. azure = ... # type: PySide6.QtGui.QColor
  975. beige = ... # type: PySide6.QtGui.QColor
  976. bisque = ... # type: PySide6.QtGui.QColor
  977. black = ... # type: PySide6.QtGui.QColor
  978. blanchedalmond = ... # type: PySide6.QtGui.QColor
  979. blue = ... # type: PySide6.QtGui.QColor
  980. blueviolet = ... # type: PySide6.QtGui.QColor
  981. brown = ... # type: PySide6.QtGui.QColor
  982. burlywood = ... # type: PySide6.QtGui.QColor
  983. cadetblue = ... # type: PySide6.QtGui.QColor
  984. chartreuse = ... # type: PySide6.QtGui.QColor
  985. chocolate = ... # type: PySide6.QtGui.QColor
  986. coral = ... # type: PySide6.QtGui.QColor
  987. cornflowerblue = ... # type: PySide6.QtGui.QColor
  988. cornsilk = ... # type: PySide6.QtGui.QColor
  989. crimson = ... # type: PySide6.QtGui.QColor
  990. cyan = ... # type: PySide6.QtGui.QColor
  991. darkblue = ... # type: PySide6.QtGui.QColor
  992. darkcyan = ... # type: PySide6.QtGui.QColor
  993. darkgoldenrod = ... # type: PySide6.QtGui.QColor
  994. darkgray = ... # type: PySide6.QtGui.QColor
  995. darkgreen = ... # type: PySide6.QtGui.QColor
  996. darkgrey = ... # type: PySide6.QtGui.QColor
  997. darkkhaki = ... # type: PySide6.QtGui.QColor
  998. darkmagenta = ... # type: PySide6.QtGui.QColor
  999. darkolivegreen = ... # type: PySide6.QtGui.QColor
  1000. darkorange = ... # type: PySide6.QtGui.QColor
  1001. darkorchid = ... # type: PySide6.QtGui.QColor
  1002. darkred = ... # type: PySide6.QtGui.QColor
  1003. darksalmon = ... # type: PySide6.QtGui.QColor
  1004. darkseagreen = ... # type: PySide6.QtGui.QColor
  1005. darkslateblue = ... # type: PySide6.QtGui.QColor
  1006. darkslategray = ... # type: PySide6.QtGui.QColor
  1007. darkslategrey = ... # type: PySide6.QtGui.QColor
  1008. darkturquoise = ... # type: PySide6.QtGui.QColor
  1009. darkviolet = ... # type: PySide6.QtGui.QColor
  1010. deeppink = ... # type: PySide6.QtGui.QColor
  1011. deepskyblue = ... # type: PySide6.QtGui.QColor
  1012. dimgray = ... # type: PySide6.QtGui.QColor
  1013. dimgrey = ... # type: PySide6.QtGui.QColor
  1014. dodgerblue = ... # type: PySide6.QtGui.QColor
  1015. firebrick = ... # type: PySide6.QtGui.QColor
  1016. floralwhite = ... # type: PySide6.QtGui.QColor
  1017. forestgreen = ... # type: PySide6.QtGui.QColor
  1018. fuchsia = ... # type: PySide6.QtGui.QColor
  1019. gainsboro = ... # type: PySide6.QtGui.QColor
  1020. ghostwhite = ... # type: PySide6.QtGui.QColor
  1021. gold = ... # type: PySide6.QtGui.QColor
  1022. goldenrod = ... # type: PySide6.QtGui.QColor
  1023. gray = ... # type: PySide6.QtGui.QColor
  1024. green = ... # type: PySide6.QtGui.QColor
  1025. greenyellow = ... # type: PySide6.QtGui.QColor
  1026. grey = ... # type: PySide6.QtGui.QColor
  1027. honeydew = ... # type: PySide6.QtGui.QColor
  1028. hotpink = ... # type: PySide6.QtGui.QColor
  1029. indianred = ... # type: PySide6.QtGui.QColor
  1030. indigo = ... # type: PySide6.QtGui.QColor
  1031. ivory = ... # type: PySide6.QtGui.QColor
  1032. khaki = ... # type: PySide6.QtGui.QColor
  1033. lavender = ... # type: PySide6.QtGui.QColor
  1034. lavenderblush = ... # type: PySide6.QtGui.QColor
  1035. lawngreen = ... # type: PySide6.QtGui.QColor
  1036. lemonchiffon = ... # type: PySide6.QtGui.QColor
  1037. lightblue = ... # type: PySide6.QtGui.QColor
  1038. lightcoral = ... # type: PySide6.QtGui.QColor
  1039. lightcyan = ... # type: PySide6.QtGui.QColor
  1040. lightgoldenrodyellow = ... # type: PySide6.QtGui.QColor
  1041. lightgray = ... # type: PySide6.QtGui.QColor
  1042. lightgreen = ... # type: PySide6.QtGui.QColor
  1043. lightgrey = ... # type: PySide6.QtGui.QColor
  1044. lightpink = ... # type: PySide6.QtGui.QColor
  1045. lightsalmon = ... # type: PySide6.QtGui.QColor
  1046. lightseagreen = ... # type: PySide6.QtGui.QColor
  1047. lightskyblue = ... # type: PySide6.QtGui.QColor
  1048. lightslategray = ... # type: PySide6.QtGui.QColor
  1049. lightslategrey = ... # type: PySide6.QtGui.QColor
  1050. lightsteelblue = ... # type: PySide6.QtGui.QColor
  1051. lightyellow = ... # type: PySide6.QtGui.QColor
  1052. lime = ... # type: PySide6.QtGui.QColor
  1053. limegreen = ... # type: PySide6.QtGui.QColor
  1054. linen = ... # type: PySide6.QtGui.QColor
  1055. magenta = ... # type: PySide6.QtGui.QColor
  1056. maroon = ... # type: PySide6.QtGui.QColor
  1057. mediumaquamarine = ... # type: PySide6.QtGui.QColor
  1058. mediumblue = ... # type: PySide6.QtGui.QColor
  1059. mediumorchid = ... # type: PySide6.QtGui.QColor
  1060. mediumpurple = ... # type: PySide6.QtGui.QColor
  1061. mediumseagreen = ... # type: PySide6.QtGui.QColor
  1062. mediumslateblue = ... # type: PySide6.QtGui.QColor
  1063. mediumspringgreen = ... # type: PySide6.QtGui.QColor
  1064. mediumturquoise = ... # type: PySide6.QtGui.QColor
  1065. mediumvioletred = ... # type: PySide6.QtGui.QColor
  1066. midnightblue = ... # type: PySide6.QtGui.QColor
  1067. mintcream = ... # type: PySide6.QtGui.QColor
  1068. mistyrose = ... # type: PySide6.QtGui.QColor
  1069. moccasin = ... # type: PySide6.QtGui.QColor
  1070. navajowhite = ... # type: PySide6.QtGui.QColor
  1071. navy = ... # type: PySide6.QtGui.QColor
  1072. oldlace = ... # type: PySide6.QtGui.QColor
  1073. olive = ... # type: PySide6.QtGui.QColor
  1074. olivedrab = ... # type: PySide6.QtGui.QColor
  1075. orange = ... # type: PySide6.QtGui.QColor
  1076. orangered = ... # type: PySide6.QtGui.QColor
  1077. orchid = ... # type: PySide6.QtGui.QColor
  1078. palegoldenrod = ... # type: PySide6.QtGui.QColor
  1079. palegreen = ... # type: PySide6.QtGui.QColor
  1080. paleturquoise = ... # type: PySide6.QtGui.QColor
  1081. palevioletred = ... # type: PySide6.QtGui.QColor
  1082. papayawhip = ... # type: PySide6.QtGui.QColor
  1083. peachpuff = ... # type: PySide6.QtGui.QColor
  1084. peru = ... # type: PySide6.QtGui.QColor
  1085. pink = ... # type: PySide6.QtGui.QColor
  1086. plum = ... # type: PySide6.QtGui.QColor
  1087. powderblue = ... # type: PySide6.QtGui.QColor
  1088. purple = ... # type: PySide6.QtGui.QColor
  1089. red = ... # type: PySide6.QtGui.QColor
  1090. rosybrown = ... # type: PySide6.QtGui.QColor
  1091. royalblue = ... # type: PySide6.QtGui.QColor
  1092. saddlebrown = ... # type: PySide6.QtGui.QColor
  1093. salmon = ... # type: PySide6.QtGui.QColor
  1094. sandybrown = ... # type: PySide6.QtGui.QColor
  1095. seagreen = ... # type: PySide6.QtGui.QColor
  1096. seashell = ... # type: PySide6.QtGui.QColor
  1097. sienna = ... # type: PySide6.QtGui.QColor
  1098. silver = ... # type: PySide6.QtGui.QColor
  1099. skyblue = ... # type: PySide6.QtGui.QColor
  1100. slateblue = ... # type: PySide6.QtGui.QColor
  1101. slategray = ... # type: PySide6.QtGui.QColor
  1102. slategrey = ... # type: PySide6.QtGui.QColor
  1103. snow = ... # type: PySide6.QtGui.QColor
  1104. springgreen = ... # type: PySide6.QtGui.QColor
  1105. steelblue = ... # type: PySide6.QtGui.QColor
  1106. tan = ... # type: PySide6.QtGui.QColor
  1107. teal = ... # type: PySide6.QtGui.QColor
  1108. thistle = ... # type: PySide6.QtGui.QColor
  1109. tomato = ... # type: PySide6.QtGui.QColor
  1110. turquoise = ... # type: PySide6.QtGui.QColor
  1111. violet = ... # type: PySide6.QtGui.QColor
  1112. wheat = ... # type: PySide6.QtGui.QColor
  1113. white = ... # type: PySide6.QtGui.QColor
  1114. whitesmoke = ... # type: PySide6.QtGui.QColor
  1115. yellow = ... # type: PySide6.QtGui.QColor
  1116. yellowgreen = ... # type: PySide6.QtGui.QColor
  1117. class QColorSpace(Shiboken.Object):
  1118. class ColorModel(enum.Enum):
  1119. Undefined = 0x0
  1120. Rgb = 0x1
  1121. Gray = 0x2
  1122. Cmyk = 0x3
  1123. class NamedColorSpace(enum.Enum):
  1124. SRgb = 0x1
  1125. SRgbLinear = 0x2
  1126. AdobeRgb = 0x3
  1127. DisplayP3 = 0x4
  1128. ProPhotoRgb = 0x5
  1129. Bt2020 = 0x6
  1130. Bt2100Pq = 0x7
  1131. Bt2100Hlg = 0x8
  1132. class Primaries(enum.Enum):
  1133. Custom = 0x0
  1134. SRgb = 0x1
  1135. AdobeRgb = 0x2
  1136. DciP3D65 = 0x3
  1137. ProPhotoRgb = 0x4
  1138. Bt2020 = 0x5
  1139. class TransferFunction(enum.Enum):
  1140. Custom = 0x0
  1141. Linear = 0x1
  1142. Gamma = 0x2
  1143. SRgb = 0x3
  1144. ProPhotoRgb = 0x4
  1145. Bt2020 = 0x5
  1146. St2084 = 0x6
  1147. Hlg = 0x7
  1148. class TransformModel(enum.Enum):
  1149. ThreeComponentMatrix = 0x0
  1150. ElementListProcessing = 0x1
  1151. @typing.overload
  1152. def __init__(self, /) -> None: ...
  1153. @typing.overload
  1154. def __init__(self, namedColorSpace: PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> None: ...
  1155. @typing.overload
  1156. def __init__(self, primaries: PySide6.QtGui.QColorSpace.Primaries, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, /, gamma: float = ...) -> None: ...
  1157. @typing.overload
  1158. def __init__(self, primaries: PySide6.QtGui.QColorSpace.Primaries, transferFunctionTable: collections.abc.Sequence[int], /) -> None: ...
  1159. @typing.overload
  1160. def __init__(self, primaries: PySide6.QtGui.QColorSpace.Primaries, gamma: float, /) -> None: ...
  1161. @typing.overload
  1162. def __init__(self, colorSpace: PySide6.QtGui.QColorSpace, /) -> None: ...
  1163. @typing.overload
  1164. def __init__(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, /, gamma: float = ...) -> None: ...
  1165. @typing.overload
  1166. def __init__(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, transferFunctionTable: collections.abc.Sequence[int], /) -> None: ...
  1167. @typing.overload
  1168. def __init__(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, redPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, greenPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, bluePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, /, gamma: float = ...) -> None: ...
  1169. @typing.overload
  1170. def __init__(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, redPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, greenPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, bluePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, transferFunctionTable: collections.abc.Sequence[int], /) -> None: ...
  1171. @typing.overload
  1172. def __init__(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, redPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, greenPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, bluePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, redTransferFunctionTable: collections.abc.Sequence[int], greenTransferFunctionTable: collections.abc.Sequence[int], blueTransferFunctionTable: collections.abc.Sequence[int], /) -> None: ...
  1173. def __copy__(self, /) -> typing.Self: ...
  1174. def __eq__(self, colorSpace2: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> bool: ...
  1175. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  1176. def __ne__(self, colorSpace2: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> bool: ...
  1177. def __repr__(self, /) -> str: ...
  1178. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  1179. def colorModel(self, /) -> PySide6.QtGui.QColorSpace.ColorModel: ...
  1180. def description(self, /) -> str: ...
  1181. @staticmethod
  1182. def fromIccProfile(iccProfile: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtGui.QColorSpace: ...
  1183. def gamma(self, /) -> float: ...
  1184. def iccProfile(self, /) -> PySide6.QtCore.QByteArray: ...
  1185. def isValid(self, /) -> bool: ...
  1186. def isValidTarget(self, /) -> bool: ...
  1187. def primaries(self, /) -> PySide6.QtGui.QColorSpace.Primaries: ...
  1188. def setDescription(self, description: str, /) -> None: ...
  1189. @typing.overload
  1190. def setPrimaries(self, primariesId: PySide6.QtGui.QColorSpace.Primaries, /) -> None: ...
  1191. @typing.overload
  1192. def setPrimaries(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, redPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, greenPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, bluePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  1193. @typing.overload
  1194. def setTransferFunction(self, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, /, gamma: float = ...) -> None: ...
  1195. @typing.overload
  1196. def setTransferFunction(self, transferFunctionTable: collections.abc.Sequence[int], /) -> None: ...
  1197. def setTransferFunctions(self, redTransferFunctionTable: collections.abc.Sequence[int], greenTransferFunctionTable: collections.abc.Sequence[int], blueTransferFunctionTable: collections.abc.Sequence[int], /) -> None: ...
  1198. def setWhitePoint(self, whitePoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  1199. def swap(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> None: ...
  1200. def transferFunction(self, /) -> PySide6.QtGui.QColorSpace.TransferFunction: ...
  1201. def transformModel(self, /) -> PySide6.QtGui.QColorSpace.TransformModel: ...
  1202. def transformationToColorSpace(self, colorspace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> PySide6.QtGui.QColorTransform: ...
  1203. def whitePoint(self, /) -> PySide6.QtCore.QPointF: ...
  1204. @typing.overload
  1205. def withTransferFunction(self, transferFunction: PySide6.QtGui.QColorSpace.TransferFunction, /, gamma: float = ...) -> PySide6.QtGui.QColorSpace: ...
  1206. @typing.overload
  1207. def withTransferFunction(self, transferFunctionTable: collections.abc.Sequence[int], /) -> PySide6.QtGui.QColorSpace: ...
  1208. def withTransferFunctions(self, redTransferFunctionTable: collections.abc.Sequence[int], greenTransferFunctionTable: collections.abc.Sequence[int], blueTransferFunctionTable: collections.abc.Sequence[int], /) -> PySide6.QtGui.QColorSpace: ...
  1209. class QColorTransform(Shiboken.Object):
  1210. @typing.overload
  1211. def __init__(self, /) -> None: ...
  1212. @typing.overload
  1213. def __init__(self, colorTransform: PySide6.QtGui.QColorTransform, /) -> None: ...
  1214. def __copy__(self, /) -> typing.Self: ...
  1215. def __eq__(self, ct2: PySide6.QtGui.QColorTransform, /) -> bool: ...
  1216. def __ne__(self, ct2: PySide6.QtGui.QColorTransform, /) -> bool: ...
  1217. def isIdentity(self, /) -> bool: ...
  1218. @typing.overload
  1219. def map(self, rgba64: PySide6.QtGui.QRgba64, /) -> PySide6.QtGui.QRgba64: ...
  1220. @typing.overload
  1221. def map(self, argb: int, /) -> int: ...
  1222. @typing.overload
  1223. def map(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> PySide6.QtGui.QColor: ...
  1224. def swap(self, other: PySide6.QtGui.QColorTransform, /) -> None: ...
  1225. class QConicalGradient(PySide6.QtGui.QGradient):
  1226. @typing.overload
  1227. def __init__(self, /) -> None: ...
  1228. @typing.overload
  1229. def __init__(self, QConicalGradient: PySide6.QtGui.QConicalGradient, /) -> None: ...
  1230. @typing.overload
  1231. def __init__(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, startAngle: float, /) -> None: ...
  1232. @typing.overload
  1233. def __init__(self, cx: float, cy: float, startAngle: float, /) -> None: ...
  1234. def __copy__(self, /) -> typing.Self: ...
  1235. def angle(self, /) -> float: ...
  1236. def center(self, /) -> PySide6.QtCore.QPointF: ...
  1237. def setAngle(self, angle: float, /) -> None: ...
  1238. @typing.overload
  1239. def setCenter(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  1240. @typing.overload
  1241. def setCenter(self, x: float, y: float, /) -> None: ...
  1242. class QContextMenuEvent(PySide6.QtGui.QInputEvent):
  1243. class Reason(enum.Enum):
  1244. Mouse = 0x0
  1245. Keyboard = 0x1
  1246. Other = 0x2
  1247. @typing.overload
  1248. def __init__(self, arg__1: PySide6.QtGui.QContextMenuEvent, /) -> None: ...
  1249. @typing.overload
  1250. def __init__(self, reason: PySide6.QtGui.QContextMenuEvent.Reason, pos: PySide6.QtCore.QPoint, /) -> None: ...
  1251. @typing.overload
  1252. def __init__(self, reason: PySide6.QtGui.QContextMenuEvent.Reason, pos: PySide6.QtCore.QPoint, globalPos: PySide6.QtCore.QPoint, /, modifiers: PySide6.QtCore.Qt.KeyboardModifier = ...) -> None: ...
  1253. def clone(self, /) -> PySide6.QtGui.QContextMenuEvent: ...
  1254. def globalPos(self, /) -> PySide6.QtCore.QPoint: ...
  1255. def globalX(self, /) -> int: ...
  1256. def globalY(self, /) -> int: ...
  1257. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  1258. def reason(self, /) -> PySide6.QtGui.QContextMenuEvent.Reason: ...
  1259. def x(self, /) -> int: ...
  1260. def y(self, /) -> int: ...
  1261. class QCursor(Shiboken.Object):
  1262. @typing.overload
  1263. def __init__(self, /) -> None: ...
  1264. @typing.overload
  1265. def __init__(self, shape: PySide6.QtCore.Qt.CursorShape, /) -> None: ...
  1266. @typing.overload
  1267. def __init__(self, cursor: PySide6.QtGui.QCursor, /) -> None: ...
  1268. @typing.overload
  1269. def __init__(self, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /, hotX: int = ..., hotY: int = ...) -> None: ...
  1270. @typing.overload
  1271. def __init__(self, bitmap: PySide6.QtGui.QBitmap | str, mask: PySide6.QtGui.QBitmap | str, /, hotX: int = ..., hotY: int = ...) -> None: ...
  1272. def __copy__(self, /) -> typing.Self: ...
  1273. def __lshift__(self, outS: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  1274. def __ne__(self, rhs: PySide6.QtGui.QCursor | PySide6.QtCore.Qt.CursorShape | PySide6.QtGui.QPixmap, /) -> bool: ...
  1275. def __repr__(self, /) -> str: ...
  1276. def __rshift__(self, inS: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  1277. @typing.overload
  1278. def bitmap(self, /) -> PySide6.QtGui.QBitmap: ...
  1279. @typing.overload
  1280. def bitmap(self, arg__1: PySide6.QtCore.Qt.ReturnByValueConstant, /) -> PySide6.QtGui.QBitmap: ...
  1281. def hotSpot(self, /) -> PySide6.QtCore.QPoint: ...
  1282. @typing.overload
  1283. def mask(self, /) -> PySide6.QtGui.QBitmap: ...
  1284. @typing.overload
  1285. def mask(self, arg__1: PySide6.QtCore.Qt.ReturnByValueConstant, /) -> PySide6.QtGui.QBitmap: ...
  1286. def pixmap(self, /) -> PySide6.QtGui.QPixmap: ...
  1287. @typing.overload
  1288. @staticmethod
  1289. def pos() -> PySide6.QtCore.QPoint: ...
  1290. @typing.overload
  1291. @staticmethod
  1292. def pos(screen: PySide6.QtGui.QScreen, /) -> PySide6.QtCore.QPoint: ...
  1293. @typing.overload
  1294. @staticmethod
  1295. def setPos(screen: PySide6.QtGui.QScreen, p: PySide6.QtCore.QPoint, /) -> None: ...
  1296. @typing.overload
  1297. @staticmethod
  1298. def setPos(screen: PySide6.QtGui.QScreen, x: int, y: int, /) -> None: ...
  1299. @typing.overload
  1300. @staticmethod
  1301. def setPos(p: PySide6.QtCore.QPoint, /) -> None: ...
  1302. @typing.overload
  1303. @staticmethod
  1304. def setPos(x: int, y: int, /) -> None: ...
  1305. def setShape(self, newShape: PySide6.QtCore.Qt.CursorShape, /) -> None: ...
  1306. def shape(self, /) -> PySide6.QtCore.Qt.CursorShape: ...
  1307. def swap(self, other: PySide6.QtGui.QCursor | PySide6.QtCore.Qt.CursorShape | PySide6.QtGui.QPixmap, /) -> None: ...
  1308. class QDesktopServices(Shiboken.Object):
  1309. def __init__(self, /) -> None: ...
  1310. @staticmethod
  1311. def openUrl(url: PySide6.QtCore.QUrl | str, /) -> bool: ...
  1312. @staticmethod
  1313. def setUrlHandler(scheme: str, receiver: PySide6.QtCore.QObject, method: bytes | bytearray | memoryview, /) -> None: ...
  1314. @staticmethod
  1315. def unsetUrlHandler(scheme: str, /) -> None: ...
  1316. class QDoubleValidator(PySide6.QtGui.QValidator):
  1317. bottomChanged : typing.ClassVar[Signal] = ... # bottomChanged(double)
  1318. decimalsChanged : typing.ClassVar[Signal] = ... # decimalsChanged(int)
  1319. notationChanged : typing.ClassVar[Signal] = ... # notationChanged(QDoubleValidator::Notation)
  1320. topChanged : typing.ClassVar[Signal] = ... # topChanged(double)
  1321. class Notation(enum.Enum):
  1322. StandardNotation = 0x0
  1323. ScientificNotation = 0x1
  1324. @typing.overload
  1325. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, bottom: float | None = ..., top: float | None = ..., decimals: int | None = ..., notation: PySide6.QtGui.QDoubleValidator.Notation | None = ...) -> None: ...
  1326. @typing.overload
  1327. def __init__(self, bottom: float, top: float, decimals: int, /, parent: PySide6.QtCore.QObject | None = ..., *, notation: PySide6.QtGui.QDoubleValidator.Notation | None = ...) -> None: ...
  1328. def bottom(self, /) -> float: ...
  1329. def decimals(self, /) -> int: ...
  1330. def fixup(self, input: str, /) -> str: ...
  1331. def notation(self, /) -> PySide6.QtGui.QDoubleValidator.Notation: ...
  1332. def setBottom(self, arg__1: float, /) -> None: ...
  1333. def setDecimals(self, arg__1: int, /) -> None: ...
  1334. def setNotation(self, arg__1: PySide6.QtGui.QDoubleValidator.Notation, /) -> None: ...
  1335. @typing.overload
  1336. def setRange(self, bottom: float, top: float, /) -> None: ...
  1337. @typing.overload
  1338. def setRange(self, bottom: float, top: float, decimals: int, /) -> None: ...
  1339. def setTop(self, arg__1: float, /) -> None: ...
  1340. def top(self, /) -> float: ...
  1341. def validate(self, arg__1: str, arg__2: int, /) -> object: ...
  1342. class QDrag(PySide6.QtCore.QObject):
  1343. actionChanged : typing.ClassVar[Signal] = ... # actionChanged(Qt::DropAction)
  1344. targetChanged : typing.ClassVar[Signal] = ... # targetChanged(QObject*)
  1345. def __init__(self, dragSource: PySide6.QtCore.QObject, /) -> None: ...
  1346. @staticmethod
  1347. def cancel() -> None: ...
  1348. def defaultAction(self, /) -> PySide6.QtCore.Qt.DropAction: ...
  1349. def dragCursor(self, action: PySide6.QtCore.Qt.DropAction, /) -> PySide6.QtGui.QPixmap: ...
  1350. @typing.overload
  1351. def exec(self, /, supportedActions: PySide6.QtCore.Qt.DropAction = ...) -> PySide6.QtCore.Qt.DropAction: ...
  1352. @typing.overload
  1353. def exec(self, supportedActions: PySide6.QtCore.Qt.DropAction, defaultAction: PySide6.QtCore.Qt.DropAction, /) -> PySide6.QtCore.Qt.DropAction: ...
  1354. @typing.overload
  1355. def exec_(self, /, supportedActions: PySide6.QtCore.Qt.DropAction = ...) -> PySide6.QtCore.Qt.DropAction: ...
  1356. @typing.overload
  1357. def exec_(self, arg__1: PySide6.QtCore.Qt.DropAction, arg__2: PySide6.QtCore.Qt.DropAction, /) -> PySide6.QtCore.Qt.DropAction: ...
  1358. def hotSpot(self, /) -> PySide6.QtCore.QPoint: ...
  1359. def mimeData(self, /) -> PySide6.QtCore.QMimeData: ...
  1360. def pixmap(self, /) -> PySide6.QtGui.QPixmap: ...
  1361. def setDragCursor(self, cursor: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, action: PySide6.QtCore.Qt.DropAction, /) -> None: ...
  1362. def setHotSpot(self, hotspot: PySide6.QtCore.QPoint, /) -> None: ...
  1363. def setMimeData(self, data: PySide6.QtCore.QMimeData, /) -> None: ...
  1364. def setPixmap(self, arg__1: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  1365. def source(self, /) -> PySide6.QtCore.QObject: ...
  1366. def supportedActions(self, /) -> PySide6.QtCore.Qt.DropAction: ...
  1367. def target(self, /) -> PySide6.QtCore.QObject: ...
  1368. class QDragEnterEvent(PySide6.QtGui.QDragMoveEvent):
  1369. @typing.overload
  1370. def __init__(self, arg__1: PySide6.QtGui.QDragEnterEvent, /) -> None: ...
  1371. @typing.overload
  1372. def __init__(self, pos: PySide6.QtCore.QPoint, actions: PySide6.QtCore.Qt.DropAction, data: PySide6.QtCore.QMimeData, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /) -> None: ...
  1373. def __repr__(self, /) -> str: ...
  1374. def clone(self, /) -> PySide6.QtGui.QDragEnterEvent: ...
  1375. class QDragLeaveEvent(PySide6.QtCore.QEvent):
  1376. @typing.overload
  1377. def __init__(self, /) -> None: ...
  1378. @typing.overload
  1379. def __init__(self, arg__1: PySide6.QtGui.QDragLeaveEvent, /) -> None: ...
  1380. def __repr__(self, /) -> str: ...
  1381. def clone(self, /) -> PySide6.QtGui.QDragLeaveEvent: ...
  1382. class QDragMoveEvent(PySide6.QtGui.QDropEvent):
  1383. @typing.overload
  1384. def __init__(self, arg__1: PySide6.QtGui.QDragMoveEvent, /) -> None: ...
  1385. @typing.overload
  1386. def __init__(self, pos: PySide6.QtCore.QPoint, actions: PySide6.QtCore.Qt.DropAction, data: PySide6.QtCore.QMimeData, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, type: PySide6.QtCore.QEvent.Type = ...) -> None: ...
  1387. def __repr__(self, /) -> str: ...
  1388. @typing.overload
  1389. def accept(self, /) -> None: ...
  1390. @typing.overload
  1391. def accept(self, r: PySide6.QtCore.QRect, /) -> None: ...
  1392. def answerRect(self, /) -> PySide6.QtCore.QRect: ...
  1393. def clone(self, /) -> PySide6.QtGui.QDragMoveEvent: ...
  1394. @typing.overload
  1395. def ignore(self, /) -> None: ...
  1396. @typing.overload
  1397. def ignore(self, r: PySide6.QtCore.QRect, /) -> None: ...
  1398. class QDropEvent(PySide6.QtCore.QEvent):
  1399. @typing.overload
  1400. def __init__(self, arg__1: PySide6.QtGui.QDropEvent, /) -> None: ...
  1401. @typing.overload
  1402. def __init__(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, actions: PySide6.QtCore.Qt.DropAction, data: PySide6.QtCore.QMimeData, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, type: PySide6.QtCore.QEvent.Type = ...) -> None: ...
  1403. def __repr__(self, /) -> str: ...
  1404. def acceptProposedAction(self, /) -> None: ...
  1405. def buttons(self, /) -> PySide6.QtCore.Qt.MouseButton: ...
  1406. def clone(self, /) -> PySide6.QtGui.QDropEvent: ...
  1407. def dropAction(self, /) -> PySide6.QtCore.Qt.DropAction: ...
  1408. def keyboardModifiers(self, /) -> PySide6.QtCore.Qt.KeyboardModifier: ...
  1409. def mimeData(self, /) -> PySide6.QtCore.QMimeData: ...
  1410. def modifiers(self, /) -> PySide6.QtCore.Qt.KeyboardModifier: ...
  1411. def mouseButtons(self, /) -> PySide6.QtCore.Qt.MouseButton: ...
  1412. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  1413. def posF(self, /) -> PySide6.QtCore.QPointF: ...
  1414. def position(self, /) -> PySide6.QtCore.QPointF: ...
  1415. def possibleActions(self, /) -> PySide6.QtCore.Qt.DropAction: ...
  1416. def proposedAction(self, /) -> PySide6.QtCore.Qt.DropAction: ...
  1417. def setDropAction(self, action: PySide6.QtCore.Qt.DropAction, /) -> None: ...
  1418. def source(self, /) -> PySide6.QtCore.QObject: ...
  1419. class QEnterEvent(PySide6.QtGui.QSinglePointEvent):
  1420. @typing.overload
  1421. def __init__(self, arg__1: PySide6.QtGui.QEnterEvent, /) -> None: ...
  1422. @typing.overload
  1423. def __init__(self, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  1424. def clone(self, /) -> PySide6.QtGui.QEnterEvent: ...
  1425. def globalPos(self, /) -> PySide6.QtCore.QPoint: ...
  1426. def globalX(self, /) -> int: ...
  1427. def globalY(self, /) -> int: ...
  1428. def localPos(self, /) -> PySide6.QtCore.QPointF: ...
  1429. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  1430. def screenPos(self, /) -> PySide6.QtCore.QPointF: ...
  1431. def windowPos(self, /) -> PySide6.QtCore.QPointF: ...
  1432. def x(self, /) -> int: ...
  1433. def y(self, /) -> int: ...
  1434. class QEventPoint(Shiboken.Object):
  1435. class State(enum.Enum):
  1436. Unknown = 0x0
  1437. Pressed = 0x1
  1438. Updated = 0x2
  1439. Stationary = 0x4
  1440. Released = 0x8
  1441. @typing.overload
  1442. def __init__(self, other: PySide6.QtGui.QEventPoint, /, *, accepted: bool | None = ..., device: PySide6.QtGui.QPointingDevice | None = ..., id: int | None = ..., uniqueId: PySide6.QtGui.QPointingDeviceUniqueId | None = ..., state: PySide6.QtGui.QEventPoint.State | None = ..., timestamp: int | None = ..., pressTimestamp: int | None = ..., lastTimestamp: int | None = ..., timeHeld: float | None = ..., pressure: float | None = ..., rotation: float | None = ..., ellipseDiameters: PySide6.QtCore.QSizeF | None = ..., velocity: PySide6.QtGui.QVector2D | None = ..., position: PySide6.QtCore.QPointF | None = ..., pressPosition: PySide6.QtCore.QPointF | None = ..., grabPosition: PySide6.QtCore.QPointF | None = ..., lastPosition: PySide6.QtCore.QPointF | None = ..., scenePosition: PySide6.QtCore.QPointF | None = ..., scenePressPosition: PySide6.QtCore.QPointF | None = ..., sceneGrabPosition: PySide6.QtCore.QPointF | None = ..., sceneLastPosition: PySide6.QtCore.QPointF | None = ..., globalPosition: PySide6.QtCore.QPointF | None = ..., globalPressPosition: PySide6.QtCore.QPointF | None = ..., globalGrabPosition: PySide6.QtCore.QPointF | None = ..., globalLastPosition: PySide6.QtCore.QPointF | None = ...) -> None: ...
  1443. @typing.overload
  1444. def __init__(self, pointId: int, state: PySide6.QtGui.QEventPoint.State, scenePosition: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPosition: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, *, accepted: bool | None = ..., device: PySide6.QtGui.QPointingDevice | None = ..., id: int | None = ..., uniqueId: PySide6.QtGui.QPointingDeviceUniqueId | None = ..., timestamp: int | None = ..., pressTimestamp: int | None = ..., lastTimestamp: int | None = ..., timeHeld: float | None = ..., pressure: float | None = ..., rotation: float | None = ..., ellipseDiameters: PySide6.QtCore.QSizeF | None = ..., velocity: PySide6.QtGui.QVector2D | None = ..., position: PySide6.QtCore.QPointF | None = ..., pressPosition: PySide6.QtCore.QPointF | None = ..., grabPosition: PySide6.QtCore.QPointF | None = ..., lastPosition: PySide6.QtCore.QPointF | None = ..., scenePressPosition: PySide6.QtCore.QPointF | None = ..., sceneGrabPosition: PySide6.QtCore.QPointF | None = ..., sceneLastPosition: PySide6.QtCore.QPointF | None = ..., globalPressPosition: PySide6.QtCore.QPointF | None = ..., globalGrabPosition: PySide6.QtCore.QPointF | None = ..., globalLastPosition: PySide6.QtCore.QPointF | None = ...) -> None: ...
  1445. @typing.overload
  1446. def __init__(self, /, id: int = ..., device: PySide6.QtGui.QPointingDevice | None = ..., *, accepted: bool | None = ..., uniqueId: PySide6.QtGui.QPointingDeviceUniqueId | None = ..., state: PySide6.QtGui.QEventPoint.State | None = ..., timestamp: int | None = ..., pressTimestamp: int | None = ..., lastTimestamp: int | None = ..., timeHeld: float | None = ..., pressure: float | None = ..., rotation: float | None = ..., ellipseDiameters: PySide6.QtCore.QSizeF | None = ..., velocity: PySide6.QtGui.QVector2D | None = ..., position: PySide6.QtCore.QPointF | None = ..., pressPosition: PySide6.QtCore.QPointF | None = ..., grabPosition: PySide6.QtCore.QPointF | None = ..., lastPosition: PySide6.QtCore.QPointF | None = ..., scenePosition: PySide6.QtCore.QPointF | None = ..., scenePressPosition: PySide6.QtCore.QPointF | None = ..., sceneGrabPosition: PySide6.QtCore.QPointF | None = ..., sceneLastPosition: PySide6.QtCore.QPointF | None = ..., globalPosition: PySide6.QtCore.QPointF | None = ..., globalPressPosition: PySide6.QtCore.QPointF | None = ..., globalGrabPosition: PySide6.QtCore.QPointF | None = ..., globalLastPosition: PySide6.QtCore.QPointF | None = ...) -> None: ...
  1447. def __copy__(self, /) -> typing.Self: ...
  1448. def __eq__(self, other: PySide6.QtGui.QEventPoint, /) -> bool: ...
  1449. def __ne__(self, other: PySide6.QtGui.QEventPoint, /) -> bool: ...
  1450. def __repr__(self, /) -> str: ...
  1451. def device(self, /) -> PySide6.QtGui.QPointingDevice: ...
  1452. def ellipseDiameters(self, /) -> PySide6.QtCore.QSizeF: ...
  1453. def globalGrabPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1454. def globalLastPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1455. def globalPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1456. def globalPressPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1457. def grabPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1458. def id(self, /) -> int: ...
  1459. def isAccepted(self, /) -> bool: ...
  1460. def lastNormalizedPos(self, /) -> PySide6.QtCore.QPointF: ...
  1461. def lastPos(self, /) -> PySide6.QtCore.QPointF: ...
  1462. def lastPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1463. def lastScenePos(self, /) -> PySide6.QtCore.QPointF: ...
  1464. def lastScreenPos(self, /) -> PySide6.QtCore.QPointF: ...
  1465. def lastTimestamp(self, /) -> int: ...
  1466. def normalizedPos(self, /) -> PySide6.QtCore.QPointF: ...
  1467. def normalizedPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1468. def pos(self, /) -> PySide6.QtCore.QPointF: ...
  1469. def position(self, /) -> PySide6.QtCore.QPointF: ...
  1470. def pressPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1471. def pressTimestamp(self, /) -> int: ...
  1472. def pressure(self, /) -> float: ...
  1473. def rotation(self, /) -> float: ...
  1474. def sceneGrabPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1475. def sceneLastPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1476. def scenePos(self, /) -> PySide6.QtCore.QPointF: ...
  1477. def scenePosition(self, /) -> PySide6.QtCore.QPointF: ...
  1478. def scenePressPosition(self, /) -> PySide6.QtCore.QPointF: ...
  1479. def screenPos(self, /) -> PySide6.QtCore.QPointF: ...
  1480. def setAccepted(self, /, accepted: bool = ...) -> None: ...
  1481. def startNormalizedPos(self, /) -> PySide6.QtCore.QPointF: ...
  1482. def startPos(self, /) -> PySide6.QtCore.QPointF: ...
  1483. def startScenePos(self, /) -> PySide6.QtCore.QPointF: ...
  1484. def startScreenPos(self, /) -> PySide6.QtCore.QPointF: ...
  1485. def state(self, /) -> PySide6.QtGui.QEventPoint.State: ...
  1486. def swap(self, other: PySide6.QtGui.QEventPoint, /) -> None: ...
  1487. def timeHeld(self, /) -> float: ...
  1488. def timestamp(self, /) -> int: ...
  1489. def uniqueId(self, /) -> PySide6.QtGui.QPointingDeviceUniqueId: ...
  1490. def velocity(self, /) -> PySide6.QtGui.QVector2D: ...
  1491. class QExposeEvent(PySide6.QtCore.QEvent):
  1492. @typing.overload
  1493. def __init__(self, arg__1: PySide6.QtGui.QExposeEvent, /) -> None: ...
  1494. @typing.overload
  1495. def __init__(self, m_region: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  1496. def clone(self, /) -> PySide6.QtGui.QExposeEvent: ...
  1497. def region(self, /) -> PySide6.QtGui.QRegion: ...
  1498. class QFileOpenEvent(PySide6.QtCore.QEvent):
  1499. @typing.overload
  1500. def __init__(self, arg__1: PySide6.QtGui.QFileOpenEvent, /) -> None: ...
  1501. @typing.overload
  1502. def __init__(self, file: str, /) -> None: ...
  1503. @typing.overload
  1504. def __init__(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
  1505. def clone(self, /) -> PySide6.QtGui.QFileOpenEvent: ...
  1506. def file(self, /) -> str: ...
  1507. def openFile(self, file: PySide6.QtCore.QFile, flags: PySide6.QtCore.QIODeviceBase.OpenModeFlag, /) -> bool: ...
  1508. def url(self, /) -> PySide6.QtCore.QUrl: ...
  1509. class QFocusEvent(PySide6.QtCore.QEvent):
  1510. @typing.overload
  1511. def __init__(self, type: PySide6.QtCore.QEvent.Type, /, reason: PySide6.QtCore.Qt.FocusReason = ...) -> None: ...
  1512. @typing.overload
  1513. def __init__(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  1514. def __repr__(self, /) -> str: ...
  1515. def clone(self, /) -> PySide6.QtGui.QFocusEvent: ...
  1516. def gotFocus(self, /) -> bool: ...
  1517. def lostFocus(self, /) -> bool: ...
  1518. def reason(self, /) -> PySide6.QtCore.Qt.FocusReason: ...
  1519. class QFont(Shiboken.Object):
  1520. class Capitalization(enum.Enum):
  1521. MixedCase = 0x0
  1522. AllUppercase = 0x1
  1523. AllLowercase = 0x2
  1524. SmallCaps = 0x3
  1525. Capitalize = 0x4
  1526. class HintingPreference(enum.Enum):
  1527. PreferDefaultHinting = 0x0
  1528. PreferNoHinting = 0x1
  1529. PreferVerticalHinting = 0x2
  1530. PreferFullHinting = 0x3
  1531. class SpacingType(enum.Enum):
  1532. PercentageSpacing = 0x0
  1533. AbsoluteSpacing = 0x1
  1534. class Stretch(enum.IntEnum):
  1535. AnyStretch = 0x0
  1536. UltraCondensed = 0x32
  1537. ExtraCondensed = 0x3e
  1538. Condensed = 0x4b
  1539. SemiCondensed = 0x57
  1540. Unstretched = 0x64
  1541. SemiExpanded = 0x70
  1542. Expanded = 0x7d
  1543. ExtraExpanded = 0x96
  1544. UltraExpanded = 0xc8
  1545. class Style(enum.Enum):
  1546. StyleNormal = 0x0
  1547. StyleItalic = 0x1
  1548. StyleOblique = 0x2
  1549. class StyleHint(enum.Enum):
  1550. Helvetica = 0x0
  1551. SansSerif = 0x0
  1552. Serif = 0x1
  1553. Times = 0x1
  1554. Courier = 0x2
  1555. TypeWriter = 0x2
  1556. Decorative = 0x3
  1557. OldEnglish = 0x3
  1558. System = 0x4
  1559. AnyStyle = 0x5
  1560. Cursive = 0x6
  1561. Monospace = 0x7
  1562. Fantasy = 0x8
  1563. class StyleStrategy(enum.Flag):
  1564. PreferDefault = 0x1
  1565. PreferBitmap = 0x2
  1566. PreferDevice = 0x4
  1567. PreferOutline = 0x8
  1568. ForceOutline = 0x10
  1569. PreferMatch = 0x20
  1570. PreferQuality = 0x40
  1571. PreferAntialias = 0x80
  1572. NoAntialias = 0x100
  1573. NoSubpixelAntialias = 0x800
  1574. PreferNoShaping = 0x1000
  1575. ContextFontMerging = 0x2000
  1576. PreferTypoLineMetrics = 0x4000
  1577. NoFontMerging = 0x8000
  1578. class Tag(Shiboken.Object):
  1579. @typing.overload
  1580. def __init__(self, /) -> None: ...
  1581. @typing.overload
  1582. def __init__(self, Tag: PySide6.QtGui.QFont.Tag, /) -> None: ...
  1583. @typing.overload
  1584. def __init__(self, name: str, /) -> None: ...
  1585. def __copy__(self, /) -> typing.Self: ...
  1586. def __eq__(self, rhs: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1587. def __ge__(self, rhs: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1588. def __gt__(self, rhs: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1589. def __hash__(self, /) -> int: ...
  1590. def __le__(self, rhs: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1591. def __lt__(self, rhs: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1592. def __ne__(self, rhs: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1593. @staticmethod
  1594. def fromString(name: str, /) -> PySide6.QtGui.QFont.Tag: ...
  1595. @staticmethod
  1596. def fromValue(value: int, /) -> PySide6.QtGui.QFont.Tag: ...
  1597. def isValid(self, /) -> bool: ...
  1598. def toString(self, /) -> PySide6.QtCore.QByteArray: ...
  1599. def value(self, /) -> int: ...
  1600. class Weight(enum.IntEnum):
  1601. Thin = 0x64
  1602. ExtraLight = 0xc8
  1603. Light = 0x12c
  1604. Normal = 0x190
  1605. Medium = 0x1f4
  1606. DemiBold = 0x258
  1607. Bold = 0x2bc
  1608. ExtraBold = 0x320
  1609. Black = 0x384
  1610. @typing.overload
  1611. def __init__(self, /) -> None: ...
  1612. @typing.overload
  1613. def __init__(self, font: PySide6.QtGui.QFont, /) -> None: ...
  1614. @typing.overload
  1615. def __init__(self, family: str, /, pointSize: int = ..., weight: int = ..., italic: bool = ...) -> None: ...
  1616. @typing.overload
  1617. def __init__(self, families: collections.abc.Sequence[str], /, pointSize: int = ..., weight: int = ..., italic: bool = ...) -> None: ...
  1618. @typing.overload
  1619. def __init__(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], pd: PySide6.QtGui.QPaintDevice, /) -> None: ...
  1620. def __copy__(self, /) -> typing.Self: ...
  1621. def __eq__(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> bool: ...
  1622. def __hash__(self, /) -> int: ...
  1623. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  1624. def __lt__(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> bool: ...
  1625. def __ne__(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> bool: ...
  1626. def __repr__(self, /) -> str: ...
  1627. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  1628. def bold(self, /) -> bool: ...
  1629. @staticmethod
  1630. def cacheStatistics() -> None: ...
  1631. def capitalization(self, /) -> PySide6.QtGui.QFont.Capitalization: ...
  1632. @staticmethod
  1633. def cleanup() -> None: ...
  1634. def clearFeatures(self, /) -> None: ...
  1635. def clearVariableAxes(self, /) -> None: ...
  1636. def defaultFamily(self, /) -> str: ...
  1637. def exactMatch(self, /) -> bool: ...
  1638. def families(self, /) -> typing.List[str]: ...
  1639. def family(self, /) -> str: ...
  1640. def featureTags(self, /) -> typing.List[PySide6.QtGui.QFont.Tag]: ...
  1641. def featureValue(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> int: ...
  1642. def fixedPitch(self, /) -> bool: ...
  1643. def fromString(self, arg__1: str, /) -> bool: ...
  1644. def hintingPreference(self, /) -> PySide6.QtGui.QFont.HintingPreference: ...
  1645. @staticmethod
  1646. def initialize() -> None: ...
  1647. @staticmethod
  1648. def insertSubstitution(arg__1: str, arg__2: str, /) -> None: ...
  1649. @staticmethod
  1650. def insertSubstitutions(arg__1: str, arg__2: collections.abc.Sequence[str], /) -> None: ...
  1651. def isCopyOf(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> bool: ...
  1652. def isFeatureSet(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1653. def isVariableAxisSet(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> bool: ...
  1654. def italic(self, /) -> bool: ...
  1655. def kerning(self, /) -> bool: ...
  1656. def key(self, /) -> str: ...
  1657. def legacyWeight(self, /) -> int: ...
  1658. def letterSpacing(self, /) -> float: ...
  1659. def letterSpacingType(self, /) -> PySide6.QtGui.QFont.SpacingType: ...
  1660. def overline(self, /) -> bool: ...
  1661. def pixelSize(self, /) -> int: ...
  1662. def pointSize(self, /) -> int: ...
  1663. def pointSizeF(self, /) -> float: ...
  1664. @staticmethod
  1665. def removeSubstitutions(arg__1: str, /) -> None: ...
  1666. def resolve(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> PySide6.QtGui.QFont: ...
  1667. def resolveMask(self, /) -> int: ...
  1668. def setBold(self, arg__1: bool, /) -> None: ...
  1669. def setCapitalization(self, arg__1: PySide6.QtGui.QFont.Capitalization, /) -> None: ...
  1670. def setFamilies(self, arg__1: collections.abc.Sequence[str], /) -> None: ...
  1671. def setFamily(self, arg__1: str, /) -> None: ...
  1672. def setFeature(self, tag: PySide6.QtGui.QFont.Tag | str, value: int, /) -> None: ...
  1673. def setFixedPitch(self, arg__1: bool, /) -> None: ...
  1674. def setHintingPreference(self, hintingPreference: PySide6.QtGui.QFont.HintingPreference, /) -> None: ...
  1675. def setItalic(self, b: bool, /) -> None: ...
  1676. def setKerning(self, arg__1: bool, /) -> None: ...
  1677. def setLegacyWeight(self, legacyWeight: int, /) -> None: ...
  1678. def setLetterSpacing(self, type: PySide6.QtGui.QFont.SpacingType, spacing: float, /) -> None: ...
  1679. def setOverline(self, arg__1: bool, /) -> None: ...
  1680. def setPixelSize(self, arg__1: int, /) -> None: ...
  1681. def setPointSize(self, arg__1: int, /) -> None: ...
  1682. def setPointSizeF(self, arg__1: float, /) -> None: ...
  1683. def setResolveMask(self, mask: int, /) -> None: ...
  1684. def setStretch(self, arg__1: int, /) -> None: ...
  1685. def setStrikeOut(self, arg__1: bool, /) -> None: ...
  1686. def setStyle(self, style: PySide6.QtGui.QFont.Style, /) -> None: ...
  1687. def setStyleHint(self, arg__1: PySide6.QtGui.QFont.StyleHint, /, strategy: PySide6.QtGui.QFont.StyleStrategy = ...) -> None: ...
  1688. def setStyleName(self, arg__1: str, /) -> None: ...
  1689. def setStyleStrategy(self, s: PySide6.QtGui.QFont.StyleStrategy, /) -> None: ...
  1690. def setUnderline(self, arg__1: bool, /) -> None: ...
  1691. def setVariableAxis(self, tag: PySide6.QtGui.QFont.Tag | str, value: float, /) -> None: ...
  1692. def setWeight(self, weight: PySide6.QtGui.QFont.Weight, /) -> None: ...
  1693. def setWordSpacing(self, spacing: float, /) -> None: ...
  1694. def stretch(self, /) -> int: ...
  1695. def strikeOut(self, /) -> bool: ...
  1696. def style(self, /) -> PySide6.QtGui.QFont.Style: ...
  1697. def styleHint(self, /) -> PySide6.QtGui.QFont.StyleHint: ...
  1698. def styleName(self, /) -> str: ...
  1699. def styleStrategy(self, /) -> PySide6.QtGui.QFont.StyleStrategy: ...
  1700. @staticmethod
  1701. def substitute(arg__1: str, /) -> str: ...
  1702. @staticmethod
  1703. def substitutes(arg__1: str, /) -> typing.List[str]: ...
  1704. @staticmethod
  1705. def substitutions() -> typing.List[str]: ...
  1706. def swap(self, other: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  1707. def toString(self, /) -> str: ...
  1708. def underline(self, /) -> bool: ...
  1709. def unsetFeature(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> None: ...
  1710. def unsetVariableAxis(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> None: ...
  1711. def variableAxisTags(self, /) -> typing.List[PySide6.QtGui.QFont.Tag]: ...
  1712. def variableAxisValue(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> float: ...
  1713. def weight(self, /) -> PySide6.QtGui.QFont.Weight: ...
  1714. def wordSpacing(self, /) -> float: ...
  1715. class QFontDatabase(Shiboken.Object):
  1716. class SystemFont(enum.Enum):
  1717. GeneralFont = 0x0
  1718. FixedFont = 0x1
  1719. TitleFont = 0x2
  1720. SmallestReadableFont = 0x3
  1721. class WritingSystem(enum.Enum):
  1722. Any = 0x0
  1723. Latin = 0x1
  1724. Greek = 0x2
  1725. Cyrillic = 0x3
  1726. Armenian = 0x4
  1727. Hebrew = 0x5
  1728. Arabic = 0x6
  1729. Syriac = 0x7
  1730. Thaana = 0x8
  1731. Devanagari = 0x9
  1732. Bengali = 0xa
  1733. Gurmukhi = 0xb
  1734. Gujarati = 0xc
  1735. Oriya = 0xd
  1736. Tamil = 0xe
  1737. Telugu = 0xf
  1738. Kannada = 0x10
  1739. Malayalam = 0x11
  1740. Sinhala = 0x12
  1741. Thai = 0x13
  1742. Lao = 0x14
  1743. Tibetan = 0x15
  1744. Myanmar = 0x16
  1745. Georgian = 0x17
  1746. Khmer = 0x18
  1747. SimplifiedChinese = 0x19
  1748. TraditionalChinese = 0x1a
  1749. Japanese = 0x1b
  1750. Korean = 0x1c
  1751. Vietnamese = 0x1d
  1752. Other = 0x1e
  1753. Symbol = 0x1e
  1754. Ogham = 0x1f
  1755. Runic = 0x20
  1756. Nko = 0x21
  1757. WritingSystemsCount = 0x22
  1758. @typing.overload
  1759. def __init__(self, /) -> None: ...
  1760. @typing.overload
  1761. def __init__(self, QFontDatabase: PySide6.QtGui.QFontDatabase, /) -> None: ...
  1762. def __copy__(self, /) -> typing.Self: ...
  1763. @staticmethod
  1764. def addApplicationEmojiFontFamily(familyName: str, /) -> None: ...
  1765. @staticmethod
  1766. def addApplicationFont(fileName: str, /) -> int: ...
  1767. @staticmethod
  1768. def addApplicationFontFromData(fontData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> int: ...
  1769. @staticmethod
  1770. def applicationEmojiFontFamilies() -> typing.List[str]: ...
  1771. @staticmethod
  1772. def applicationFontFamilies(id: int, /) -> typing.List[str]: ...
  1773. @staticmethod
  1774. def bold(family: str, style: str, /) -> bool: ...
  1775. @staticmethod
  1776. def families(writingSystem: PySide6.QtGui.QFontDatabase.WritingSystem = ...) -> typing.List[str]: ...
  1777. @staticmethod
  1778. def font(family: str, style: str, pointSize: int, /) -> PySide6.QtGui.QFont: ...
  1779. @staticmethod
  1780. def hasFamily(family: str, /) -> bool: ...
  1781. @staticmethod
  1782. def isBitmapScalable(family: str, /, style: str = ...) -> bool: ...
  1783. @staticmethod
  1784. def isFixedPitch(family: str, /, style: str = ...) -> bool: ...
  1785. @staticmethod
  1786. def isPrivateFamily(family: str, /) -> bool: ...
  1787. @staticmethod
  1788. def isScalable(family: str, /, style: str = ...) -> bool: ...
  1789. @staticmethod
  1790. def isSmoothlyScalable(family: str, /, style: str = ...) -> bool: ...
  1791. @staticmethod
  1792. def italic(family: str, style: str, /) -> bool: ...
  1793. @staticmethod
  1794. def pointSizes(family: str, /, style: str = ...) -> typing.List[int]: ...
  1795. @staticmethod
  1796. def removeAllApplicationFonts() -> bool: ...
  1797. @staticmethod
  1798. def removeApplicationEmojiFontFamily(familyName: str, /) -> bool: ...
  1799. @staticmethod
  1800. def removeApplicationFont(id: int, /) -> bool: ...
  1801. @staticmethod
  1802. def setApplicationEmojiFontFamilies(familyNames: collections.abc.Sequence[str], /) -> None: ...
  1803. @staticmethod
  1804. def smoothSizes(family: str, style: str, /) -> typing.List[int]: ...
  1805. @staticmethod
  1806. def standardSizes() -> typing.List[int]: ...
  1807. @typing.overload
  1808. @staticmethod
  1809. def styleString(fontInfo: PySide6.QtGui.QFontInfo | PySide6.QtGui.QFont, /) -> str: ...
  1810. @typing.overload
  1811. @staticmethod
  1812. def styleString(font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> str: ...
  1813. @staticmethod
  1814. def styles(family: str, /) -> typing.List[str]: ...
  1815. @staticmethod
  1816. def systemFont(type: PySide6.QtGui.QFontDatabase.SystemFont, /) -> PySide6.QtGui.QFont: ...
  1817. @staticmethod
  1818. def weight(family: str, style: str, /) -> int: ...
  1819. @staticmethod
  1820. def writingSystemName(writingSystem: PySide6.QtGui.QFontDatabase.WritingSystem, /) -> str: ...
  1821. @staticmethod
  1822. def writingSystemSample(writingSystem: PySide6.QtGui.QFontDatabase.WritingSystem, /) -> str: ...
  1823. @typing.overload
  1824. @staticmethod
  1825. def writingSystems() -> typing.List[PySide6.QtGui.QFontDatabase.WritingSystem]: ...
  1826. @typing.overload
  1827. @staticmethod
  1828. def writingSystems(family: str, /) -> typing.List[PySide6.QtGui.QFontDatabase.WritingSystem]: ...
  1829. class QFontInfo(Shiboken.Object):
  1830. @typing.overload
  1831. def __init__(self, arg__1: PySide6.QtGui.QFontInfo, /) -> None: ...
  1832. @typing.overload
  1833. def __init__(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  1834. def __copy__(self, /) -> typing.Self: ...
  1835. def bold(self, /) -> bool: ...
  1836. def exactMatch(self, /) -> bool: ...
  1837. def family(self, /) -> str: ...
  1838. def fixedPitch(self, /) -> bool: ...
  1839. def italic(self, /) -> bool: ...
  1840. def legacyWeight(self, /) -> int: ...
  1841. def overline(self, /) -> bool: ...
  1842. def pixelSize(self, /) -> int: ...
  1843. def pointSize(self, /) -> int: ...
  1844. def pointSizeF(self, /) -> float: ...
  1845. def strikeOut(self, /) -> bool: ...
  1846. def style(self, /) -> PySide6.QtGui.QFont.Style: ...
  1847. def styleHint(self, /) -> PySide6.QtGui.QFont.StyleHint: ...
  1848. def styleName(self, /) -> str: ...
  1849. def swap(self, other: PySide6.QtGui.QFontInfo | PySide6.QtGui.QFont, /) -> None: ...
  1850. def underline(self, /) -> bool: ...
  1851. def variableAxes(self, /) -> typing.List[PySide6.QtGui.QFontVariableAxis]: ...
  1852. def weight(self, /) -> int: ...
  1853. class QFontMetrics(Shiboken.Object):
  1854. @typing.overload
  1855. def __init__(self, arg__1: PySide6.QtGui.QFontMetrics, /) -> None: ...
  1856. @typing.overload
  1857. def __init__(self, arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  1858. @typing.overload
  1859. def __init__(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], pd: PySide6.QtGui.QPaintDevice, /) -> None: ...
  1860. def __copy__(self, /) -> typing.Self: ...
  1861. def __eq__(self, other: PySide6.QtGui.QFontMetrics, /) -> bool: ...
  1862. def __ne__(self, other: PySide6.QtGui.QFontMetrics, /) -> bool: ...
  1863. def ascent(self, /) -> int: ...
  1864. def averageCharWidth(self, /) -> int: ...
  1865. @typing.overload
  1866. def boundingRect(self, r: PySide6.QtCore.QRect, flags: int, text: str, /, tabstops: int | None = ..., tabarray: object | None = ...) -> PySide6.QtCore.QRect: ...
  1867. @typing.overload
  1868. def boundingRect(self, text: str, /) -> PySide6.QtCore.QRect: ...
  1869. @typing.overload
  1870. def boundingRect(self, text: str, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> PySide6.QtCore.QRect: ...
  1871. @typing.overload
  1872. def boundingRect(self, x: int, y: int, w: int, h: int, flags: int, text: str, /, tabstops: int | None = ..., tabarray: object | None = ...) -> PySide6.QtCore.QRect: ...
  1873. def boundingRectChar(self, arg__1: int, /) -> PySide6.QtCore.QRect: ...
  1874. def capHeight(self, /) -> int: ...
  1875. def descent(self, /) -> int: ...
  1876. def elidedText(self, text: str, mode: PySide6.QtCore.Qt.TextElideMode, width: int, /, flags: int | None = ...) -> str: ...
  1877. def fontDpi(self, /) -> float: ...
  1878. def height(self, /) -> int: ...
  1879. @typing.overload
  1880. def horizontalAdvance(self, arg__1: str, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> int: ...
  1881. @typing.overload
  1882. def horizontalAdvance(self, arg__1: str, /, len: int = ...) -> int: ...
  1883. def horizontalAdvanceChar(self, arg__1: int, /) -> int: ...
  1884. def inFont(self, arg__1: str, /) -> bool: ...
  1885. def inFontUcs4(self, ucs4: int, /) -> bool: ...
  1886. def leading(self, /) -> int: ...
  1887. def leftBearing(self, arg__1: str, /) -> int: ...
  1888. def lineSpacing(self, /) -> int: ...
  1889. def lineWidth(self, /) -> int: ...
  1890. def maxWidth(self, /) -> int: ...
  1891. def minLeftBearing(self, /) -> int: ...
  1892. def minRightBearing(self, /) -> int: ...
  1893. def overlinePos(self, /) -> int: ...
  1894. def rightBearing(self, arg__1: str, /) -> int: ...
  1895. def size(self, flags: int, str: str, /, tabstops: int | None = ..., tabarray: object | None = ...) -> PySide6.QtCore.QSize: ...
  1896. def strikeOutPos(self, /) -> int: ...
  1897. def swap(self, other: PySide6.QtGui.QFontMetrics, /) -> None: ...
  1898. @typing.overload
  1899. def tightBoundingRect(self, text: str, /) -> PySide6.QtCore.QRect: ...
  1900. @typing.overload
  1901. def tightBoundingRect(self, text: str, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> PySide6.QtCore.QRect: ...
  1902. def underlinePos(self, /) -> int: ...
  1903. def xHeight(self, /) -> int: ...
  1904. class QFontMetricsF(Shiboken.Object):
  1905. @typing.overload
  1906. def __init__(self, arg__1: PySide6.QtGui.QFontMetrics, /) -> None: ...
  1907. @typing.overload
  1908. def __init__(self, arg__1: PySide6.QtGui.QFontMetricsF, /) -> None: ...
  1909. @typing.overload
  1910. def __init__(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  1911. @typing.overload
  1912. def __init__(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], pd: PySide6.QtGui.QPaintDevice, /) -> None: ...
  1913. def __copy__(self, /) -> typing.Self: ...
  1914. def __eq__(self, other: PySide6.QtGui.QFontMetricsF | PySide6.QtGui.QFontMetrics, /) -> bool: ...
  1915. def __ne__(self, other: PySide6.QtGui.QFontMetricsF | PySide6.QtGui.QFontMetrics, /) -> bool: ...
  1916. def ascent(self, /) -> float: ...
  1917. def averageCharWidth(self, /) -> float: ...
  1918. @typing.overload
  1919. def boundingRect(self, string: str, /) -> PySide6.QtCore.QRectF: ...
  1920. @typing.overload
  1921. def boundingRect(self, text: str, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> PySide6.QtCore.QRectF: ...
  1922. @typing.overload
  1923. def boundingRect(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, flags: int, string: str, /, tabstops: int | None = ..., tabarray: object | None = ...) -> PySide6.QtCore.QRectF: ...
  1924. def boundingRectChar(self, arg__1: int, /) -> PySide6.QtCore.QRectF: ...
  1925. def capHeight(self, /) -> float: ...
  1926. def descent(self, /) -> float: ...
  1927. def elidedText(self, text: str, mode: PySide6.QtCore.Qt.TextElideMode, width: float, /, flags: int | None = ...) -> str: ...
  1928. def fontDpi(self, /) -> float: ...
  1929. def height(self, /) -> float: ...
  1930. @typing.overload
  1931. def horizontalAdvance(self, string: str, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> float: ...
  1932. @typing.overload
  1933. def horizontalAdvance(self, string: str, /, length: int = ...) -> float: ...
  1934. def horizontalAdvanceChar(self, arg__1: int, /) -> float: ...
  1935. def inFont(self, arg__1: str, /) -> bool: ...
  1936. def inFontUcs4(self, ucs4: int, /) -> bool: ...
  1937. def leading(self, /) -> float: ...
  1938. def leftBearing(self, arg__1: str, /) -> float: ...
  1939. def lineSpacing(self, /) -> float: ...
  1940. def lineWidth(self, /) -> float: ...
  1941. def maxWidth(self, /) -> float: ...
  1942. def minLeftBearing(self, /) -> float: ...
  1943. def minRightBearing(self, /) -> float: ...
  1944. def overlinePos(self, /) -> float: ...
  1945. def rightBearing(self, arg__1: str, /) -> float: ...
  1946. def size(self, flags: int, str: str, /, tabstops: int | None = ..., tabarray: object | None = ...) -> PySide6.QtCore.QSizeF: ...
  1947. def strikeOutPos(self, /) -> float: ...
  1948. def swap(self, other: PySide6.QtGui.QFontMetricsF | PySide6.QtGui.QFontMetrics, /) -> None: ...
  1949. @typing.overload
  1950. def tightBoundingRect(self, text: str, /) -> PySide6.QtCore.QRectF: ...
  1951. @typing.overload
  1952. def tightBoundingRect(self, text: str, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> PySide6.QtCore.QRectF: ...
  1953. def underlinePos(self, /) -> float: ...
  1954. def xHeight(self, /) -> float: ...
  1955. class QFontVariableAxis(Shiboken.Object):
  1956. @typing.overload
  1957. def __init__(self, axis: PySide6.QtGui.QFontVariableAxis, /, *, tag: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview | None = ..., name: str | None = ..., minimumValue: float | None = ..., maximumValue: float | None = ..., defaultValue: float | None = ...) -> None: ...
  1958. @typing.overload
  1959. def __init__(self, /, *, tag: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview | None = ..., name: str | None = ..., minimumValue: float | None = ..., maximumValue: float | None = ..., defaultValue: float | None = ...) -> None: ...
  1960. def __copy__(self, /) -> typing.Self: ...
  1961. def defaultValue(self, /) -> float: ...
  1962. def maximumValue(self, /) -> float: ...
  1963. def minimumValue(self, /) -> float: ...
  1964. def name(self, /) -> str: ...
  1965. def setDefaultValue(self, defaultValue: float, /) -> None: ...
  1966. def setMaximumValue(self, maximumValue: float, /) -> None: ...
  1967. def setMinimumValue(self, minimumValue: float, /) -> None: ...
  1968. def setName(self, name: str, /) -> None: ...
  1969. def setTag(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> None: ...
  1970. def swap(self, other: PySide6.QtGui.QFontVariableAxis, /) -> None: ...
  1971. def tag(self, /) -> PySide6.QtGui.QFont.Tag: ...
  1972. class QGlyphRun(Shiboken.Object):
  1973. class GlyphRunFlag(enum.Flag):
  1974. Overline = 0x1
  1975. Underline = 0x2
  1976. StrikeOut = 0x4
  1977. RightToLeft = 0x8
  1978. SplitLigature = 0x10
  1979. @typing.overload
  1980. def __init__(self, /) -> None: ...
  1981. @typing.overload
  1982. def __init__(self, other: PySide6.QtGui.QGlyphRun, /) -> None: ...
  1983. def __copy__(self, /) -> typing.Self: ...
  1984. def __eq__(self, other: PySide6.QtGui.QGlyphRun, /) -> bool: ...
  1985. def __ne__(self, other: PySide6.QtGui.QGlyphRun, /) -> bool: ...
  1986. def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  1987. def clear(self, /) -> None: ...
  1988. def flags(self, /) -> PySide6.QtGui.QGlyphRun.GlyphRunFlag: ...
  1989. def glyphIndexes(self, /) -> typing.List[int]: ...
  1990. def isEmpty(self, /) -> bool: ...
  1991. def isRightToLeft(self, /) -> bool: ...
  1992. def overline(self, /) -> bool: ...
  1993. def positions(self, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  1994. def rawFont(self, /) -> PySide6.QtGui.QRawFont: ...
  1995. def setBoundingRect(self, boundingRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  1996. def setFlag(self, flag: PySide6.QtGui.QGlyphRun.GlyphRunFlag, /, enabled: bool = ...) -> None: ...
  1997. def setFlags(self, flags: PySide6.QtGui.QGlyphRun.GlyphRunFlag, /) -> None: ...
  1998. def setGlyphIndexes(self, glyphIndexes: collections.abc.Sequence[int], /) -> None: ...
  1999. def setOverline(self, overline: bool, /) -> None: ...
  2000. def setPositions(self, positions: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  2001. def setRawData(self, glyphIndexArray: int, glyphPositionArray: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, size: int, /) -> None: ...
  2002. def setRawFont(self, rawFont: PySide6.QtGui.QRawFont, /) -> None: ...
  2003. def setRightToLeft(self, on: bool, /) -> None: ...
  2004. def setSourceString(self, sourceString: str, /) -> None: ...
  2005. def setStrikeOut(self, strikeOut: bool, /) -> None: ...
  2006. def setStringIndexes(self, stringIndexes: collections.abc.Sequence[int], /) -> None: ...
  2007. def setUnderline(self, underline: bool, /) -> None: ...
  2008. def sourceString(self, /) -> str: ...
  2009. def strikeOut(self, /) -> bool: ...
  2010. def stringIndexes(self, /) -> typing.List[int]: ...
  2011. def swap(self, other: PySide6.QtGui.QGlyphRun, /) -> None: ...
  2012. def underline(self, /) -> bool: ...
  2013. class QGradient(Shiboken.Object):
  2014. class CoordinateMode(enum.Enum):
  2015. LogicalMode = 0x0
  2016. StretchToDeviceMode = 0x1
  2017. ObjectBoundingMode = 0x2
  2018. ObjectMode = 0x3
  2019. class InterpolationMode(enum.Enum):
  2020. ColorInterpolation = 0x0
  2021. ComponentInterpolation = 0x1
  2022. class Preset(enum.Enum):
  2023. WarmFlame = 0x1
  2024. NightFade = 0x2
  2025. SpringWarmth = 0x3
  2026. JuicyPeach = 0x4
  2027. YoungPassion = 0x5
  2028. LadyLips = 0x6
  2029. SunnyMorning = 0x7
  2030. RainyAshville = 0x8
  2031. FrozenDreams = 0x9
  2032. WinterNeva = 0xa
  2033. DustyGrass = 0xb
  2034. TemptingAzure = 0xc
  2035. HeavyRain = 0xd
  2036. AmyCrisp = 0xe
  2037. MeanFruit = 0xf
  2038. DeepBlue = 0x10
  2039. RipeMalinka = 0x11
  2040. CloudyKnoxville = 0x12
  2041. MalibuBeach = 0x13
  2042. NewLife = 0x14
  2043. TrueSunset = 0x15
  2044. MorpheusDen = 0x16
  2045. RareWind = 0x17
  2046. NearMoon = 0x18
  2047. WildApple = 0x19
  2048. SaintPetersburg = 0x1a
  2049. PlumPlate = 0x1c
  2050. EverlastingSky = 0x1d
  2051. HappyFisher = 0x1e
  2052. Blessing = 0x1f
  2053. SharpeyeEagle = 0x20
  2054. LadogaBottom = 0x21
  2055. LemonGate = 0x22
  2056. ItmeoBranding = 0x23
  2057. ZeusMiracle = 0x24
  2058. OldHat = 0x25
  2059. StarWine = 0x26
  2060. HappyAcid = 0x29
  2061. AwesomePine = 0x2a
  2062. NewYork = 0x2b
  2063. ShyRainbow = 0x2c
  2064. MixedHopes = 0x2e
  2065. FlyHigh = 0x2f
  2066. StrongBliss = 0x30
  2067. FreshMilk = 0x31
  2068. SnowAgain = 0x32
  2069. FebruaryInk = 0x33
  2070. KindSteel = 0x34
  2071. SoftGrass = 0x35
  2072. GrownEarly = 0x36
  2073. SharpBlues = 0x37
  2074. ShadyWater = 0x38
  2075. DirtyBeauty = 0x39
  2076. GreatWhale = 0x3a
  2077. TeenNotebook = 0x3b
  2078. PoliteRumors = 0x3c
  2079. SweetPeriod = 0x3d
  2080. WideMatrix = 0x3e
  2081. SoftCherish = 0x3f
  2082. RedSalvation = 0x40
  2083. BurningSpring = 0x41
  2084. NightParty = 0x42
  2085. SkyGlider = 0x43
  2086. HeavenPeach = 0x44
  2087. PurpleDivision = 0x45
  2088. AquaSplash = 0x46
  2089. SpikyNaga = 0x48
  2090. LoveKiss = 0x49
  2091. CleanMirror = 0x4b
  2092. PremiumDark = 0x4c
  2093. ColdEvening = 0x4d
  2094. CochitiLake = 0x4e
  2095. SummerGames = 0x4f
  2096. PassionateBed = 0x50
  2097. MountainRock = 0x51
  2098. DesertHump = 0x52
  2099. JungleDay = 0x53
  2100. PhoenixStart = 0x54
  2101. OctoberSilence = 0x55
  2102. FarawayRiver = 0x56
  2103. AlchemistLab = 0x57
  2104. OverSun = 0x58
  2105. PremiumWhite = 0x59
  2106. MarsParty = 0x5a
  2107. EternalConstance = 0x5b
  2108. JapanBlush = 0x5c
  2109. SmilingRain = 0x5d
  2110. CloudyApple = 0x5e
  2111. BigMango = 0x5f
  2112. HealthyWater = 0x60
  2113. AmourAmour = 0x61
  2114. RiskyConcrete = 0x62
  2115. StrongStick = 0x63
  2116. ViciousStance = 0x64
  2117. PaloAlto = 0x65
  2118. HappyMemories = 0x66
  2119. MidnightBloom = 0x67
  2120. Crystalline = 0x68
  2121. PartyBliss = 0x6a
  2122. ConfidentCloud = 0x6b
  2123. LeCocktail = 0x6c
  2124. RiverCity = 0x6d
  2125. FrozenBerry = 0x6e
  2126. ChildCare = 0x70
  2127. FlyingLemon = 0x71
  2128. NewRetrowave = 0x72
  2129. HiddenJaguar = 0x73
  2130. AboveTheSky = 0x74
  2131. Nega = 0x75
  2132. DenseWater = 0x76
  2133. Seashore = 0x78
  2134. MarbleWall = 0x79
  2135. CheerfulCaramel = 0x7a
  2136. NightSky = 0x7b
  2137. MagicLake = 0x7c
  2138. YoungGrass = 0x7d
  2139. ColorfulPeach = 0x7e
  2140. GentleCare = 0x7f
  2141. PlumBath = 0x80
  2142. HappyUnicorn = 0x81
  2143. AfricanField = 0x83
  2144. SolidStone = 0x84
  2145. OrangeJuice = 0x85
  2146. GlassWater = 0x86
  2147. NorthMiracle = 0x88
  2148. FruitBlend = 0x89
  2149. MillenniumPine = 0x8a
  2150. HighFlight = 0x8b
  2151. MoleHall = 0x8c
  2152. SpaceShift = 0x8e
  2153. ForestInei = 0x8f
  2154. RoyalGarden = 0x90
  2155. RichMetal = 0x91
  2156. JuicyCake = 0x92
  2157. SmartIndigo = 0x93
  2158. SandStrike = 0x94
  2159. NorseBeauty = 0x95
  2160. AquaGuidance = 0x96
  2161. SunVeggie = 0x97
  2162. SeaLord = 0x98
  2163. BlackSea = 0x99
  2164. GrassShampoo = 0x9a
  2165. LandingAircraft = 0x9b
  2166. WitchDance = 0x9c
  2167. SleeplessNight = 0x9d
  2168. AngelCare = 0x9e
  2169. CrystalRiver = 0x9f
  2170. SoftLipstick = 0xa0
  2171. SaltMountain = 0xa1
  2172. PerfectWhite = 0xa2
  2173. FreshOasis = 0xa3
  2174. StrictNovember = 0xa4
  2175. MorningSalad = 0xa5
  2176. DeepRelief = 0xa6
  2177. SeaStrike = 0xa7
  2178. NightCall = 0xa8
  2179. SupremeSky = 0xa9
  2180. LightBlue = 0xaa
  2181. MindCrawl = 0xab
  2182. LilyMeadow = 0xac
  2183. SugarLollipop = 0xad
  2184. SweetDessert = 0xae
  2185. MagicRay = 0xaf
  2186. TeenParty = 0xb0
  2187. FrozenHeat = 0xb1
  2188. GagarinView = 0xb2
  2189. FabledSunset = 0xb3
  2190. PerfectBlue = 0xb4
  2191. NumPresets = 0xb5
  2192. class Spread(enum.Enum):
  2193. PadSpread = 0x0
  2194. ReflectSpread = 0x1
  2195. RepeatSpread = 0x2
  2196. class Type(enum.Enum):
  2197. LinearGradient = 0x0
  2198. RadialGradient = 0x1
  2199. ConicalGradient = 0x2
  2200. NoGradient = 0x3
  2201. @typing.overload
  2202. def __init__(self, /) -> None: ...
  2203. @typing.overload
  2204. def __init__(self, arg__1: PySide6.QtGui.QGradient.Preset, /) -> None: ...
  2205. @typing.overload
  2206. def __init__(self, QGradient: PySide6.QtGui.QGradient, /) -> None: ...
  2207. def __copy__(self, /) -> typing.Self: ...
  2208. def __eq__(self, gradient: PySide6.QtGui.QGradient | PySide6.QtGui.QGradient.Preset, /) -> bool: ...
  2209. def __ne__(self, other: PySide6.QtGui.QGradient | PySide6.QtGui.QGradient.Preset, /) -> bool: ...
  2210. def coordinateMode(self, /) -> PySide6.QtGui.QGradient.CoordinateMode: ...
  2211. def interpolationMode(self, /) -> PySide6.QtGui.QGradient.InterpolationMode: ...
  2212. def setColorAt(self, pos: float, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  2213. def setCoordinateMode(self, mode: PySide6.QtGui.QGradient.CoordinateMode, /) -> None: ...
  2214. def setInterpolationMode(self, mode: PySide6.QtGui.QGradient.InterpolationMode, /) -> None: ...
  2215. def setSpread(self, spread: PySide6.QtGui.QGradient.Spread, /) -> None: ...
  2216. def setStops(self, stops: collections.abc.Sequence[typing.Tuple[float, PySide6.QtGui.QColor]], /) -> None: ...
  2217. def spread(self, /) -> PySide6.QtGui.QGradient.Spread: ...
  2218. def stops(self, /) -> typing.List[typing.Tuple[float, PySide6.QtGui.QColor]]: ...
  2219. def type(self, /) -> PySide6.QtGui.QGradient.Type: ...
  2220. class QGuiApplication(PySide6.QtCore.QCoreApplication):
  2221. applicationDisplayNameChanged: typing.ClassVar[Signal] = ... # applicationDisplayNameChanged()
  2222. applicationStateChanged : typing.ClassVar[Signal] = ... # applicationStateChanged(Qt::ApplicationState)
  2223. commitDataRequest : typing.ClassVar[Signal] = ... # commitDataRequest(QSessionManager&)
  2224. focusObjectChanged : typing.ClassVar[Signal] = ... # focusObjectChanged(QObject*)
  2225. focusWindowChanged : typing.ClassVar[Signal] = ... # focusWindowChanged(QWindow*)
  2226. fontChanged : typing.ClassVar[Signal] = ... # fontChanged(QFont)
  2227. fontDatabaseChanged : typing.ClassVar[Signal] = ... # fontDatabaseChanged()
  2228. lastWindowClosed : typing.ClassVar[Signal] = ... # lastWindowClosed()
  2229. layoutDirectionChanged : typing.ClassVar[Signal] = ... # layoutDirectionChanged(Qt::LayoutDirection)
  2230. paletteChanged : typing.ClassVar[Signal] = ... # paletteChanged(QPalette)
  2231. primaryScreenChanged : typing.ClassVar[Signal] = ... # primaryScreenChanged(QScreen*)
  2232. saveStateRequest : typing.ClassVar[Signal] = ... # saveStateRequest(QSessionManager&)
  2233. screenAdded : typing.ClassVar[Signal] = ... # screenAdded(QScreen*)
  2234. screenRemoved : typing.ClassVar[Signal] = ... # screenRemoved(QScreen*)
  2235. @typing.overload
  2236. def __init__(self, arguments: collections.abc.Sequence[str], /, *, windowIcon: PySide6.QtGui.QIcon | None = ..., applicationDisplayName: str | None = ..., desktopFileName: str | None = ..., layoutDirection: PySide6.QtCore.Qt.LayoutDirection | None = ..., platformName: str | None = ..., quitOnLastWindowClosed: bool | None = ..., primaryScreen: PySide6.QtGui.QScreen | None = ...) -> None: ...
  2237. @typing.overload
  2238. def __init__(self, /, *, windowIcon: PySide6.QtGui.QIcon | None = ..., applicationDisplayName: str | None = ..., desktopFileName: str | None = ..., layoutDirection: PySide6.QtCore.Qt.LayoutDirection | None = ..., platformName: str | None = ..., quitOnLastWindowClosed: bool | None = ..., primaryScreen: PySide6.QtGui.QScreen | None = ...) -> None: ...
  2239. @staticmethod
  2240. def allWindows() -> typing.List[PySide6.QtGui.QWindow]: ...
  2241. @staticmethod
  2242. def applicationDisplayName() -> str: ...
  2243. @staticmethod
  2244. def applicationState() -> PySide6.QtCore.Qt.ApplicationState: ...
  2245. @staticmethod
  2246. def changeOverrideCursor(arg__1: PySide6.QtGui.QCursor | PySide6.QtCore.Qt.CursorShape | PySide6.QtGui.QPixmap, /) -> None: ...
  2247. @staticmethod
  2248. def clipboard() -> PySide6.QtGui.QClipboard: ...
  2249. @staticmethod
  2250. def desktopFileName() -> str: ...
  2251. @staticmethod
  2252. def desktopSettingsAware() -> bool: ...
  2253. def devicePixelRatio(self, /) -> float: ...
  2254. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  2255. @staticmethod
  2256. def exec() -> int: ...
  2257. def exec_(self, /) -> int: ...
  2258. @staticmethod
  2259. def focusObject() -> PySide6.QtCore.QObject: ...
  2260. @staticmethod
  2261. def focusWindow() -> PySide6.QtGui.QWindow: ...
  2262. @staticmethod
  2263. def font() -> PySide6.QtGui.QFont: ...
  2264. @staticmethod
  2265. def highDpiScaleFactorRoundingPolicy() -> PySide6.QtCore.Qt.HighDpiScaleFactorRoundingPolicy: ...
  2266. @staticmethod
  2267. def inputMethod() -> PySide6.QtGui.QInputMethod: ...
  2268. @staticmethod
  2269. def isLeftToRight() -> bool: ...
  2270. @staticmethod
  2271. def isRightToLeft() -> bool: ...
  2272. def isSavingSession(self, /) -> bool: ...
  2273. def isSessionRestored(self, /) -> bool: ...
  2274. @staticmethod
  2275. def keyboardModifiers() -> PySide6.QtCore.Qt.KeyboardModifier: ...
  2276. @staticmethod
  2277. def layoutDirection() -> PySide6.QtCore.Qt.LayoutDirection: ...
  2278. @staticmethod
  2279. def modalWindow() -> PySide6.QtGui.QWindow | None: ...
  2280. @staticmethod
  2281. def mouseButtons() -> PySide6.QtCore.Qt.MouseButton: ...
  2282. def nativeInterface(self, /) -> object: ...
  2283. def notify(self, arg__1: PySide6.QtCore.QObject, arg__2: PySide6.QtCore.QEvent, /) -> bool: ...
  2284. @staticmethod
  2285. def overrideCursor() -> PySide6.QtGui.QCursor: ...
  2286. @staticmethod
  2287. def palette() -> PySide6.QtGui.QPalette: ...
  2288. @staticmethod
  2289. def platformFunction(function: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> int: ...
  2290. @staticmethod
  2291. def platformName() -> str: ...
  2292. @staticmethod
  2293. def primaryScreen() -> PySide6.QtGui.QScreen: ...
  2294. @staticmethod
  2295. def queryKeyboardModifiers() -> PySide6.QtCore.Qt.KeyboardModifier: ...
  2296. @staticmethod
  2297. def quitOnLastWindowClosed() -> bool: ...
  2298. def resolveInterface(self, name: bytes | bytearray | memoryview, revision: int, /) -> int: ...
  2299. @staticmethod
  2300. def restoreOverrideCursor() -> None: ...
  2301. @staticmethod
  2302. def screenAt(point: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QScreen | None: ...
  2303. @staticmethod
  2304. def screens() -> typing.List[PySide6.QtGui.QScreen]: ...
  2305. def sessionId(self, /) -> str: ...
  2306. def sessionKey(self, /) -> str: ...
  2307. @staticmethod
  2308. def setApplicationDisplayName(name: str, /) -> None: ...
  2309. def setBadgeNumber(self, number: int, /) -> None: ...
  2310. @staticmethod
  2311. def setDesktopFileName(name: str, /) -> None: ...
  2312. @staticmethod
  2313. def setDesktopSettingsAware(on: bool, /) -> None: ...
  2314. @staticmethod
  2315. def setFont(arg__1: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  2316. @staticmethod
  2317. def setHighDpiScaleFactorRoundingPolicy(policy: PySide6.QtCore.Qt.HighDpiScaleFactorRoundingPolicy, /) -> None: ...
  2318. @staticmethod
  2319. def setLayoutDirection(direction: PySide6.QtCore.Qt.LayoutDirection, /) -> None: ...
  2320. @staticmethod
  2321. def setOverrideCursor(arg__1: PySide6.QtGui.QCursor | PySide6.QtCore.Qt.CursorShape | PySide6.QtGui.QPixmap, /) -> object: ...
  2322. @staticmethod
  2323. def setPalette(pal: PySide6.QtGui.QPalette | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor, /) -> None: ...
  2324. @staticmethod
  2325. def setQuitOnLastWindowClosed(quit: bool, /) -> None: ...
  2326. @staticmethod
  2327. def setWindowIcon(icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> None: ...
  2328. @staticmethod
  2329. def styleHints() -> PySide6.QtGui.QStyleHints: ...
  2330. @staticmethod
  2331. def sync() -> None: ...
  2332. @staticmethod
  2333. def topLevelAt(pos: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QWindow: ...
  2334. @staticmethod
  2335. def topLevelWindows() -> typing.List[PySide6.QtGui.QWindow]: ...
  2336. @staticmethod
  2337. def windowIcon() -> PySide6.QtGui.QIcon: ...
  2338. class QHelpEvent(PySide6.QtCore.QEvent):
  2339. @typing.overload
  2340. def __init__(self, type: PySide6.QtCore.QEvent.Type, pos: PySide6.QtCore.QPoint, globalPos: PySide6.QtCore.QPoint, /) -> None: ...
  2341. @typing.overload
  2342. def __init__(self, arg__1: PySide6.QtGui.QHelpEvent, /) -> None: ...
  2343. def clone(self, /) -> PySide6.QtGui.QHelpEvent: ...
  2344. def globalPos(self, /) -> PySide6.QtCore.QPoint: ...
  2345. def globalX(self, /) -> int: ...
  2346. def globalY(self, /) -> int: ...
  2347. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  2348. def x(self, /) -> int: ...
  2349. def y(self, /) -> int: ...
  2350. class QHideEvent(PySide6.QtCore.QEvent):
  2351. @typing.overload
  2352. def __init__(self, /) -> None: ...
  2353. @typing.overload
  2354. def __init__(self, arg__1: PySide6.QtGui.QHideEvent, /) -> None: ...
  2355. def clone(self, /) -> PySide6.QtGui.QHideEvent: ...
  2356. class QHoverEvent(PySide6.QtGui.QSinglePointEvent):
  2357. @typing.overload
  2358. def __init__(self, arg__1: PySide6.QtGui.QHoverEvent, /) -> None: ...
  2359. @typing.overload
  2360. def __init__(self, type: PySide6.QtCore.QEvent.Type, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, oldPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, modifiers: PySide6.QtCore.Qt.KeyboardModifier = ..., device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  2361. @typing.overload
  2362. def __init__(self, type: PySide6.QtCore.QEvent.Type, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, oldPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, modifiers: PySide6.QtCore.Qt.KeyboardModifier = ..., device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  2363. def clone(self, /) -> PySide6.QtGui.QHoverEvent: ...
  2364. def isUpdateEvent(self, /) -> bool: ...
  2365. def oldPos(self, /) -> PySide6.QtCore.QPoint: ...
  2366. def oldPosF(self, /) -> PySide6.QtCore.QPointF: ...
  2367. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  2368. def posF(self, /) -> PySide6.QtCore.QPointF: ...
  2369. class QIcon(Shiboken.Object):
  2370. class Mode(enum.Enum):
  2371. Normal = 0x0
  2372. Disabled = 0x1
  2373. Active = 0x2
  2374. Selected = 0x3
  2375. class State(enum.Enum):
  2376. On = 0x0
  2377. Off = 0x1
  2378. class ThemeIcon(enum.Enum):
  2379. AddressBookNew = 0x0
  2380. ApplicationExit = 0x1
  2381. AppointmentNew = 0x2
  2382. CallStart = 0x3
  2383. CallStop = 0x4
  2384. ContactNew = 0x5
  2385. DocumentNew = 0x6
  2386. DocumentOpen = 0x7
  2387. DocumentOpenRecent = 0x8
  2388. DocumentPageSetup = 0x9
  2389. DocumentPrint = 0xa
  2390. DocumentPrintPreview = 0xb
  2391. DocumentProperties = 0xc
  2392. DocumentRevert = 0xd
  2393. DocumentSave = 0xe
  2394. DocumentSaveAs = 0xf
  2395. DocumentSend = 0x10
  2396. EditClear = 0x11
  2397. EditCopy = 0x12
  2398. EditCut = 0x13
  2399. EditDelete = 0x14
  2400. EditFind = 0x15
  2401. EditPaste = 0x16
  2402. EditRedo = 0x17
  2403. EditSelectAll = 0x18
  2404. EditUndo = 0x19
  2405. FolderNew = 0x1a
  2406. FormatIndentLess = 0x1b
  2407. FormatIndentMore = 0x1c
  2408. FormatJustifyCenter = 0x1d
  2409. FormatJustifyFill = 0x1e
  2410. FormatJustifyLeft = 0x1f
  2411. FormatJustifyRight = 0x20
  2412. FormatTextDirectionLtr = 0x21
  2413. FormatTextDirectionRtl = 0x22
  2414. FormatTextBold = 0x23
  2415. FormatTextItalic = 0x24
  2416. FormatTextUnderline = 0x25
  2417. FormatTextStrikethrough = 0x26
  2418. GoDown = 0x27
  2419. GoHome = 0x28
  2420. GoNext = 0x29
  2421. GoPrevious = 0x2a
  2422. GoUp = 0x2b
  2423. HelpAbout = 0x2c
  2424. HelpFaq = 0x2d
  2425. InsertImage = 0x2e
  2426. InsertLink = 0x2f
  2427. InsertText = 0x30
  2428. ListAdd = 0x31
  2429. ListRemove = 0x32
  2430. MailForward = 0x33
  2431. MailMarkImportant = 0x34
  2432. MailMarkRead = 0x35
  2433. MailMarkUnread = 0x36
  2434. MailMessageNew = 0x37
  2435. MailReplyAll = 0x38
  2436. MailReplySender = 0x39
  2437. MailSend = 0x3a
  2438. MediaEject = 0x3b
  2439. MediaPlaybackPause = 0x3c
  2440. MediaPlaybackStart = 0x3d
  2441. MediaPlaybackStop = 0x3e
  2442. MediaRecord = 0x3f
  2443. MediaSeekBackward = 0x40
  2444. MediaSeekForward = 0x41
  2445. MediaSkipBackward = 0x42
  2446. MediaSkipForward = 0x43
  2447. ObjectRotateLeft = 0x44
  2448. ObjectRotateRight = 0x45
  2449. ProcessStop = 0x46
  2450. SystemLockScreen = 0x47
  2451. SystemLogOut = 0x48
  2452. SystemSearch = 0x49
  2453. SystemReboot = 0x4a
  2454. SystemShutdown = 0x4b
  2455. ToolsCheckSpelling = 0x4c
  2456. ViewFullscreen = 0x4d
  2457. ViewRefresh = 0x4e
  2458. ViewRestore = 0x4f
  2459. WindowClose = 0x50
  2460. WindowNew = 0x51
  2461. ZoomFitBest = 0x52
  2462. ZoomIn = 0x53
  2463. ZoomOut = 0x54
  2464. AudioCard = 0x55
  2465. AudioInputMicrophone = 0x56
  2466. Battery = 0x57
  2467. CameraPhoto = 0x58
  2468. CameraVideo = 0x59
  2469. CameraWeb = 0x5a
  2470. Computer = 0x5b
  2471. DriveHarddisk = 0x5c
  2472. DriveOptical = 0x5d
  2473. InputGaming = 0x5e
  2474. InputKeyboard = 0x5f
  2475. InputMouse = 0x60
  2476. InputTablet = 0x61
  2477. MediaFlash = 0x62
  2478. MediaOptical = 0x63
  2479. MediaTape = 0x64
  2480. MultimediaPlayer = 0x65
  2481. NetworkWired = 0x66
  2482. NetworkWireless = 0x67
  2483. Phone = 0x68
  2484. Printer = 0x69
  2485. Scanner = 0x6a
  2486. VideoDisplay = 0x6b
  2487. AppointmentMissed = 0x6c
  2488. AppointmentSoon = 0x6d
  2489. AudioVolumeHigh = 0x6e
  2490. AudioVolumeLow = 0x6f
  2491. AudioVolumeMedium = 0x70
  2492. AudioVolumeMuted = 0x71
  2493. BatteryCaution = 0x72
  2494. BatteryLow = 0x73
  2495. DialogError = 0x74
  2496. DialogInformation = 0x75
  2497. DialogPassword = 0x76
  2498. DialogQuestion = 0x77
  2499. DialogWarning = 0x78
  2500. FolderDragAccept = 0x79
  2501. FolderOpen = 0x7a
  2502. FolderVisiting = 0x7b
  2503. ImageLoading = 0x7c
  2504. ImageMissing = 0x7d
  2505. MailAttachment = 0x7e
  2506. MailUnread = 0x7f
  2507. MailRead = 0x80
  2508. MailReplied = 0x81
  2509. MediaPlaylistRepeat = 0x82
  2510. MediaPlaylistShuffle = 0x83
  2511. NetworkOffline = 0x84
  2512. PrinterPrinting = 0x85
  2513. SecurityHigh = 0x86
  2514. SecurityLow = 0x87
  2515. SoftwareUpdateAvailable = 0x88
  2516. SoftwareUpdateUrgent = 0x89
  2517. SyncError = 0x8a
  2518. SyncSynchronizing = 0x8b
  2519. UserAvailable = 0x8c
  2520. UserOffline = 0x8d
  2521. WeatherClear = 0x8e
  2522. WeatherClearNight = 0x8f
  2523. WeatherFewClouds = 0x90
  2524. WeatherFewCloudsNight = 0x91
  2525. WeatherFog = 0x92
  2526. WeatherShowers = 0x93
  2527. WeatherSnow = 0x94
  2528. WeatherStorm = 0x95
  2529. NThemeIcons = 0x96
  2530. @typing.overload
  2531. def __init__(self, /) -> None: ...
  2532. @typing.overload
  2533. def __init__(self, other: PySide6.QtGui.QIcon, /) -> None: ...
  2534. @typing.overload
  2535. def __init__(self, engine: PySide6.QtGui.QIconEngine, /) -> None: ...
  2536. @typing.overload
  2537. def __init__(self, fileName: str, /) -> None: ...
  2538. @typing.overload
  2539. def __init__(self, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  2540. def __copy__(self, /) -> typing.Self: ...
  2541. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  2542. def __repr__(self, /) -> str: ...
  2543. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  2544. @typing.overload
  2545. def actualSize(self, window: PySide6.QtGui.QWindow, size: PySide6.QtCore.QSize, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtCore.QSize: ...
  2546. @typing.overload
  2547. def actualSize(self, size: PySide6.QtCore.QSize, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtCore.QSize: ...
  2548. def addFile(self, fileName: str, /, size: PySide6.QtCore.QSize = ..., mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> None: ...
  2549. @typing.overload
  2550. def addPixmap(self, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> None: ...
  2551. @typing.overload
  2552. def addPixmap(self, path: str | bytes | os.PathLike[str], /) -> None: ...
  2553. def availableSizes(self, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> typing.List[PySide6.QtCore.QSize]: ...
  2554. def cacheKey(self, /) -> int: ...
  2555. @staticmethod
  2556. def fallbackSearchPaths() -> typing.List[str]: ...
  2557. @staticmethod
  2558. def fallbackThemeName() -> str: ...
  2559. @typing.overload
  2560. @staticmethod
  2561. def fromTheme(icon: PySide6.QtGui.QIcon.ThemeIcon, /) -> PySide6.QtGui.QIcon: ...
  2562. @typing.overload
  2563. @staticmethod
  2564. def fromTheme(icon: PySide6.QtGui.QIcon.ThemeIcon, fallback: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> PySide6.QtGui.QIcon: ...
  2565. @typing.overload
  2566. @staticmethod
  2567. def fromTheme(name: str, /) -> PySide6.QtGui.QIcon: ...
  2568. @typing.overload
  2569. @staticmethod
  2570. def fromTheme(name: str, fallback: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> PySide6.QtGui.QIcon: ...
  2571. @typing.overload
  2572. @staticmethod
  2573. def hasThemeIcon(icon: PySide6.QtGui.QIcon.ThemeIcon, /) -> bool: ...
  2574. @typing.overload
  2575. @staticmethod
  2576. def hasThemeIcon(name: str, /) -> bool: ...
  2577. def isMask(self, /) -> bool: ...
  2578. def isNull(self, /) -> bool: ...
  2579. def name(self, /) -> str: ...
  2580. @typing.overload
  2581. def paint(self, painter: PySide6.QtGui.QPainter, rect: PySide6.QtCore.QRect, /, alignment: PySide6.QtCore.Qt.AlignmentFlag = ..., mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> None: ...
  2582. @typing.overload
  2583. def paint(self, painter: PySide6.QtGui.QPainter, x: int, y: int, w: int, h: int, /, alignment: PySide6.QtCore.Qt.AlignmentFlag = ..., mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> None: ...
  2584. @typing.overload
  2585. def pixmap(self, window: PySide6.QtGui.QWindow, size: PySide6.QtCore.QSize, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtGui.QPixmap: ...
  2586. @typing.overload
  2587. def pixmap(self, size: PySide6.QtCore.QSize, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtGui.QPixmap: ...
  2588. @typing.overload
  2589. def pixmap(self, size: PySide6.QtCore.QSize, devicePixelRatio: float, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtGui.QPixmap: ...
  2590. @typing.overload
  2591. def pixmap(self, extent: int, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtGui.QPixmap: ...
  2592. @typing.overload
  2593. def pixmap(self, w: int, h: int, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> PySide6.QtGui.QPixmap: ...
  2594. @staticmethod
  2595. def setFallbackSearchPaths(paths: collections.abc.Sequence[str], /) -> None: ...
  2596. @staticmethod
  2597. def setFallbackThemeName(name: str, /) -> None: ...
  2598. def setIsMask(self, isMask: bool, /) -> None: ...
  2599. @staticmethod
  2600. def setThemeName(path: str, /) -> None: ...
  2601. @staticmethod
  2602. def setThemeSearchPaths(searchpath: collections.abc.Sequence[str], /) -> None: ...
  2603. def swap(self, other: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> None: ...
  2604. @staticmethod
  2605. def themeName() -> str: ...
  2606. @staticmethod
  2607. def themeSearchPaths() -> typing.List[str]: ...
  2608. class QIconDragEvent(PySide6.QtCore.QEvent):
  2609. @typing.overload
  2610. def __init__(self, /) -> None: ...
  2611. @typing.overload
  2612. def __init__(self, arg__1: PySide6.QtGui.QIconDragEvent, /) -> None: ...
  2613. def clone(self, /) -> PySide6.QtGui.QIconDragEvent: ...
  2614. class QIconEngine(Shiboken.Object):
  2615. class IconEngineHook(enum.Enum):
  2616. IsNullHook = 0x3
  2617. ScaledPixmapHook = 0x4
  2618. class ScaledPixmapArgument(Shiboken.Object):
  2619. def __init__(self, /) -> None: ...
  2620. @typing.overload
  2621. def __init__(self, /) -> None: ...
  2622. @typing.overload
  2623. def __init__(self, other: PySide6.QtGui.QIconEngine, /) -> None: ...
  2624. def actualSize(self, size: PySide6.QtCore.QSize, mode: PySide6.QtGui.QIcon.Mode, state: PySide6.QtGui.QIcon.State, /) -> PySide6.QtCore.QSize: ...
  2625. def addFile(self, fileName: str, size: PySide6.QtCore.QSize, mode: PySide6.QtGui.QIcon.Mode, state: PySide6.QtGui.QIcon.State, /) -> None: ...
  2626. def addPixmap(self, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, mode: PySide6.QtGui.QIcon.Mode, state: PySide6.QtGui.QIcon.State, /) -> None: ...
  2627. def availableSizes(self, /, mode: PySide6.QtGui.QIcon.Mode = ..., state: PySide6.QtGui.QIcon.State = ...) -> typing.List[PySide6.QtCore.QSize]: ...
  2628. def clone(self, /) -> PySide6.QtGui.QIconEngine: ...
  2629. def iconName(self, /) -> str: ...
  2630. def isNull(self, /) -> bool: ...
  2631. def key(self, /) -> str: ...
  2632. def paint(self, painter: PySide6.QtGui.QPainter, rect: PySide6.QtCore.QRect, mode: PySide6.QtGui.QIcon.Mode, state: PySide6.QtGui.QIcon.State, /) -> None: ...
  2633. def pixmap(self, size: PySide6.QtCore.QSize, mode: PySide6.QtGui.QIcon.Mode, state: PySide6.QtGui.QIcon.State, /) -> PySide6.QtGui.QPixmap: ...
  2634. def read(self, in_: PySide6.QtCore.QDataStream, /) -> bool: ...
  2635. def scaledPixmap(self, size: PySide6.QtCore.QSize, mode: PySide6.QtGui.QIcon.Mode, state: PySide6.QtGui.QIcon.State, scale: float, /) -> PySide6.QtGui.QPixmap: ...
  2636. def write(self, out: PySide6.QtCore.QDataStream, /) -> bool: ...
  2637. class QImage(PySide6.QtGui.QPaintDevice):
  2638. class Format(enum.Enum):
  2639. Format_Invalid = 0x0
  2640. Format_Mono = 0x1
  2641. Format_MonoLSB = 0x2
  2642. Format_Indexed8 = 0x3
  2643. Format_RGB32 = 0x4
  2644. Format_ARGB32 = 0x5
  2645. Format_ARGB32_Premultiplied = 0x6
  2646. Format_RGB16 = 0x7
  2647. Format_ARGB8565_Premultiplied = 0x8
  2648. Format_RGB666 = 0x9
  2649. Format_ARGB6666_Premultiplied = 0xa
  2650. Format_RGB555 = 0xb
  2651. Format_ARGB8555_Premultiplied = 0xc
  2652. Format_RGB888 = 0xd
  2653. Format_RGB444 = 0xe
  2654. Format_ARGB4444_Premultiplied = 0xf
  2655. Format_RGBX8888 = 0x10
  2656. Format_RGBA8888 = 0x11
  2657. Format_RGBA8888_Premultiplied = 0x12
  2658. Format_BGR30 = 0x13
  2659. Format_A2BGR30_Premultiplied = 0x14
  2660. Format_RGB30 = 0x15
  2661. Format_A2RGB30_Premultiplied = 0x16
  2662. Format_Alpha8 = 0x17
  2663. Format_Grayscale8 = 0x18
  2664. Format_RGBX64 = 0x19
  2665. Format_RGBA64 = 0x1a
  2666. Format_RGBA64_Premultiplied = 0x1b
  2667. Format_Grayscale16 = 0x1c
  2668. Format_BGR888 = 0x1d
  2669. Format_RGBX16FPx4 = 0x1e
  2670. Format_RGBA16FPx4 = 0x1f
  2671. Format_RGBA16FPx4_Premultiplied = 0x20
  2672. Format_RGBX32FPx4 = 0x21
  2673. Format_RGBA32FPx4 = 0x22
  2674. Format_RGBA32FPx4_Premultiplied = 0x23
  2675. Format_CMYK8888 = 0x24
  2676. NImageFormats = 0x25
  2677. class InvertMode(enum.Enum):
  2678. InvertRgb = 0x0
  2679. InvertRgba = 0x1
  2680. @typing.overload
  2681. def __init__(self, /) -> None: ...
  2682. @typing.overload
  2683. def __init__(self, arg__1: PySide6.QtGui.QImage, /) -> None: ...
  2684. @typing.overload
  2685. def __init__(self, size: PySide6.QtCore.QSize, format: PySide6.QtGui.QImage.Format, /) -> None: ...
  2686. @typing.overload
  2687. def __init__(self, arg__1: str, width: int, height: int, format: PySide6.QtGui.QImage.Format, /) -> None: ...
  2688. @typing.overload
  2689. def __init__(self, arg__1: str, width: int, height: int, bytes_per_line: int, format: PySide6.QtGui.QImage.Format, /) -> None: ...
  2690. @typing.overload
  2691. def __init__(self, data: bytes | bytearray | memoryview, width: int, height: int, format: PySide6.QtGui.QImage.Format, /, cleanupFunction: collections.abc.Callable[..., typing.Any] | None = ..., cleanupInfo: int | None = ...) -> None: ...
  2692. @typing.overload
  2693. def __init__(self, data: bytes | bytearray | memoryview, width: int, height: int, bytesPerLine: int, format: PySide6.QtGui.QImage.Format, /, cleanupFunction: collections.abc.Callable[..., typing.Any] | None = ..., cleanupInfo: int | None = ...) -> None: ...
  2694. @typing.overload
  2695. def __init__(self, fileName: str | bytes | os.PathLike[str], /, format: bytes | bytearray | memoryview | None = ...) -> None: ...
  2696. @typing.overload
  2697. def __init__(self, width: int, height: int, format: PySide6.QtGui.QImage.Format, /) -> None: ...
  2698. @typing.overload
  2699. def __init__(self, xpm: collections.abc.Iterable, /) -> None: ...
  2700. def __copy__(self, /) -> typing.Self: ...
  2701. def __eq__(self, arg__1: PySide6.QtGui.QImage, /) -> bool: ...
  2702. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  2703. def __ne__(self, arg__1: PySide6.QtGui.QImage, /) -> bool: ...
  2704. def __repr__(self, /) -> str: ...
  2705. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  2706. def allGray(self, /) -> bool: ...
  2707. @typing.overload
  2708. def applyColorTransform(self, transform: PySide6.QtGui.QColorTransform, /) -> None: ...
  2709. @typing.overload
  2710. def applyColorTransform(self, transform: PySide6.QtGui.QColorTransform, format: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  2711. def bitPlaneCount(self, /) -> int: ...
  2712. def bits(self, /) -> bytes | bytearray | memoryview: ...
  2713. def bytesPerLine(self, /) -> int: ...
  2714. def cacheKey(self, /) -> int: ...
  2715. def color(self, i: int, /) -> int: ...
  2716. def colorCount(self, /) -> int: ...
  2717. def colorSpace(self, /) -> PySide6.QtGui.QColorSpace: ...
  2718. def colorTable(self, /) -> typing.List[int]: ...
  2719. @typing.overload
  2720. def colorTransformed(self, transform: PySide6.QtGui.QColorTransform, /) -> PySide6.QtGui.QImage: ...
  2721. @typing.overload
  2722. def colorTransformed(self, transform: PySide6.QtGui.QColorTransform, format: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QImage: ...
  2723. def constBits(self, /) -> bytes | bytearray | memoryview: ...
  2724. def constScanLine(self, arg__1: int, /) -> object: ...
  2725. def convertTo(self, f: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  2726. @typing.overload
  2727. def convertToColorSpace(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> None: ...
  2728. @typing.overload
  2729. def convertToColorSpace(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, format: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  2730. @typing.overload
  2731. def convertToFormat(self, f: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QImage: ...
  2732. @typing.overload
  2733. def convertToFormat(self, f: PySide6.QtGui.QImage.Format, colorTable: collections.abc.Sequence[int], /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QImage: ...
  2734. def convertToFormat_helper(self, format: PySide6.QtGui.QImage.Format, flags: PySide6.QtCore.Qt.ImageConversionFlag, /) -> PySide6.QtGui.QImage: ...
  2735. def convertToFormat_inplace(self, format: PySide6.QtGui.QImage.Format, flags: PySide6.QtCore.Qt.ImageConversionFlag, /) -> bool: ...
  2736. def convertedTo(self, f: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QImage: ...
  2737. @typing.overload
  2738. def convertedToColorSpace(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> PySide6.QtGui.QImage: ...
  2739. @typing.overload
  2740. def convertedToColorSpace(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, format: PySide6.QtGui.QImage.Format, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QImage: ...
  2741. @typing.overload
  2742. def copy(self, /, rect: PySide6.QtCore.QRect = ...) -> PySide6.QtGui.QImage: ...
  2743. @typing.overload
  2744. def copy(self, x: int, y: int, w: int, h: int, /) -> PySide6.QtGui.QImage: ...
  2745. def createAlphaMask(self, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QImage: ...
  2746. def createHeuristicMask(self, /, clipTight: bool = ...) -> PySide6.QtGui.QImage: ...
  2747. def createMaskFromColor(self, color: int, /, mode: PySide6.QtCore.Qt.MaskMode = ...) -> PySide6.QtGui.QImage: ...
  2748. def depth(self, /) -> int: ...
  2749. def detachMetadata(self, /, invalidateCache: bool = ...) -> None: ...
  2750. def devType(self, /) -> int: ...
  2751. def deviceIndependentSize(self, /) -> PySide6.QtCore.QSizeF: ...
  2752. def devicePixelRatio(self, /) -> float: ...
  2753. def dotsPerMeterX(self, /) -> int: ...
  2754. def dotsPerMeterY(self, /) -> int: ...
  2755. @typing.overload
  2756. def fill(self, color: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  2757. @typing.overload
  2758. def fill(self, pixel: int, /) -> None: ...
  2759. @typing.overload
  2760. def fill(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  2761. def flip(self, /, orient: PySide6.QtCore.Qt.Orientation = ...) -> None: ...
  2762. def flipped(self, /, orient: PySide6.QtCore.Qt.Orientation = ...) -> PySide6.QtGui.QImage: ...
  2763. def format(self, /) -> PySide6.QtGui.QImage.Format: ...
  2764. @staticmethod
  2765. def fromData(data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, format: bytes | bytearray | memoryview | None = ...) -> PySide6.QtGui.QImage: ...
  2766. @staticmethod
  2767. def fromHBITMAP(hbitmap: int, /) -> PySide6.QtGui.QImage: ...
  2768. @staticmethod
  2769. def fromHICON(icon: int, /) -> PySide6.QtGui.QImage: ...
  2770. def hasAlphaChannel(self, /) -> bool: ...
  2771. def height(self, /) -> int: ...
  2772. def invertPixels(self, /, mode: PySide6.QtGui.QImage.InvertMode = ...) -> None: ...
  2773. def isGrayscale(self, /) -> bool: ...
  2774. def isNull(self, /) -> bool: ...
  2775. @typing.overload
  2776. def load(self, device: PySide6.QtCore.QIODevice, format: bytes | bytearray | memoryview, /) -> bool: ...
  2777. @typing.overload
  2778. def load(self, fileName: str, /, format: bytes | bytearray | memoryview | None = ...) -> bool: ...
  2779. def loadFromData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, format: bytes | bytearray | memoryview | None = ...) -> bool: ...
  2780. def metric(self, metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  2781. def mirror(self, /, horizontally: bool = ..., vertically: bool = ...) -> None: ...
  2782. def mirrored(self, /, horizontally: bool = ..., vertically: bool = ...) -> PySide6.QtGui.QImage: ...
  2783. def mirrored_helper(self, horizontal: bool, vertical: bool, /) -> PySide6.QtGui.QImage: ...
  2784. def mirrored_inplace(self, horizontal: bool, vertical: bool, /) -> None: ...
  2785. def offset(self, /) -> PySide6.QtCore.QPoint: ...
  2786. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  2787. @typing.overload
  2788. def pixel(self, pt: PySide6.QtCore.QPoint, /) -> int: ...
  2789. @typing.overload
  2790. def pixel(self, x: int, y: int, /) -> int: ...
  2791. @typing.overload
  2792. def pixelColor(self, pt: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QColor: ...
  2793. @typing.overload
  2794. def pixelColor(self, x: int, y: int, /) -> PySide6.QtGui.QColor: ...
  2795. def pixelFormat(self, /) -> PySide6.QtGui.QPixelFormat: ...
  2796. @typing.overload
  2797. def pixelIndex(self, pt: PySide6.QtCore.QPoint, /) -> int: ...
  2798. @typing.overload
  2799. def pixelIndex(self, x: int, y: int, /) -> int: ...
  2800. def rect(self, /) -> PySide6.QtCore.QRect: ...
  2801. def reinterpretAsFormat(self, f: PySide6.QtGui.QImage.Format, /) -> bool: ...
  2802. def rgbSwap(self, /) -> None: ...
  2803. def rgbSwapped(self, /) -> PySide6.QtGui.QImage: ...
  2804. def rgbSwapped_helper(self, /) -> PySide6.QtGui.QImage: ...
  2805. def rgbSwapped_inplace(self, /) -> None: ...
  2806. @typing.overload
  2807. def save(self, device: PySide6.QtCore.QIODevice, /, format: bytes | bytearray | memoryview | None = ..., quality: int = ...) -> bool: ...
  2808. @typing.overload
  2809. def save(self, fileName: str, /, format: bytes | bytearray | memoryview | None = ..., quality: int = ...) -> bool: ...
  2810. @typing.overload
  2811. def scaled(self, s: PySide6.QtCore.QSize, /, aspectMode: PySide6.QtCore.Qt.AspectRatioMode = ..., mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QImage: ...
  2812. @typing.overload
  2813. def scaled(self, w: int, h: int, /, aspectMode: PySide6.QtCore.Qt.AspectRatioMode = ..., mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QImage: ...
  2814. def scaledToHeight(self, h: int, /, mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QImage: ...
  2815. def scaledToWidth(self, w: int, /, mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QImage: ...
  2816. def scanLine(self, arg__1: int, /) -> object: ...
  2817. def setAlphaChannel(self, alphaChannel: PySide6.QtGui.QImage, /) -> None: ...
  2818. def setColor(self, i: int, c: int, /) -> None: ...
  2819. def setColorCount(self, arg__1: int, /) -> None: ...
  2820. def setColorSpace(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> None: ...
  2821. def setColorTable(self, colors: collections.abc.Sequence[int], /) -> None: ...
  2822. def setDevicePixelRatio(self, scaleFactor: float, /) -> None: ...
  2823. def setDotsPerMeterX(self, arg__1: int, /) -> None: ...
  2824. def setDotsPerMeterY(self, arg__1: int, /) -> None: ...
  2825. def setOffset(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  2826. @typing.overload
  2827. def setPixel(self, pt: PySide6.QtCore.QPoint, index_or_rgb: int, /) -> None: ...
  2828. @typing.overload
  2829. def setPixel(self, x: int, y: int, index_or_rgb: int, /) -> None: ...
  2830. @typing.overload
  2831. def setPixelColor(self, pt: PySide6.QtCore.QPoint, c: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  2832. @typing.overload
  2833. def setPixelColor(self, x: int, y: int, c: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  2834. def setText(self, key: str, value: str, /) -> None: ...
  2835. def size(self, /) -> PySide6.QtCore.QSize: ...
  2836. def sizeInBytes(self, /) -> int: ...
  2837. def smoothScaled(self, w: int, h: int, /) -> PySide6.QtGui.QImage: ...
  2838. def swap(self, other: PySide6.QtGui.QImage, /) -> None: ...
  2839. def text(self, /, key: str = ...) -> str: ...
  2840. def textKeys(self, /) -> typing.List[str]: ...
  2841. def toHBITMAP(self, /) -> int: ...
  2842. def toHICON(self, /, mask: PySide6.QtGui.QImage = ...) -> int: ...
  2843. @staticmethod
  2844. def toImageFormat(format: PySide6.QtGui.QPixelFormat, /) -> PySide6.QtGui.QImage.Format: ...
  2845. @staticmethod
  2846. def toPixelFormat(format: PySide6.QtGui.QImage.Format, /) -> PySide6.QtGui.QPixelFormat: ...
  2847. def transformed(self, matrix: PySide6.QtGui.QTransform, /, mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QImage: ...
  2848. @staticmethod
  2849. def trueMatrix(arg__1: PySide6.QtGui.QTransform, w: int, h: int, /) -> PySide6.QtGui.QTransform: ...
  2850. @typing.overload
  2851. def valid(self, pt: PySide6.QtCore.QPoint, /) -> bool: ...
  2852. @typing.overload
  2853. def valid(self, x: int, y: int, /) -> bool: ...
  2854. def width(self, /) -> int: ...
  2855. class QImageIOHandler(Shiboken.Object):
  2856. class ImageOption(enum.Enum):
  2857. Size = 0x0
  2858. ClipRect = 0x1
  2859. Description = 0x2
  2860. ScaledClipRect = 0x3
  2861. ScaledSize = 0x4
  2862. CompressionRatio = 0x5
  2863. Gamma = 0x6
  2864. Quality = 0x7
  2865. Name = 0x8
  2866. SubType = 0x9
  2867. IncrementalReading = 0xa
  2868. Endianness = 0xb
  2869. Animation = 0xc
  2870. BackgroundColor = 0xd
  2871. ImageFormat = 0xe
  2872. SupportedSubTypes = 0xf
  2873. OptimizedWrite = 0x10
  2874. ProgressiveScanWrite = 0x11
  2875. ImageTransformation = 0x12
  2876. class Transformation(enum.Flag):
  2877. TransformationNone = 0x0
  2878. TransformationMirror = 0x1
  2879. TransformationFlip = 0x2
  2880. TransformationRotate180 = 0x3
  2881. TransformationRotate90 = 0x4
  2882. TransformationMirrorAndRotate90 = 0x5
  2883. TransformationFlipAndRotate90 = 0x6
  2884. TransformationRotate270 = 0x7
  2885. def __init__(self, /) -> None: ...
  2886. @staticmethod
  2887. def allocateImage(size: PySide6.QtCore.QSize, format: PySide6.QtGui.QImage.Format, image: PySide6.QtGui.QImage, /) -> bool: ...
  2888. def canRead(self, /) -> bool: ...
  2889. def currentImageNumber(self, /) -> int: ...
  2890. def currentImageRect(self, /) -> PySide6.QtCore.QRect: ...
  2891. def device(self, /) -> PySide6.QtCore.QIODevice: ...
  2892. def format(self, /) -> PySide6.QtCore.QByteArray: ...
  2893. def imageCount(self, /) -> int: ...
  2894. def jumpToImage(self, imageNumber: int, /) -> bool: ...
  2895. def jumpToNextImage(self, /) -> bool: ...
  2896. def loopCount(self, /) -> int: ...
  2897. def nextImageDelay(self, /) -> int: ...
  2898. def option(self, option: PySide6.QtGui.QImageIOHandler.ImageOption, /) -> typing.Any: ...
  2899. def read(self, image: PySide6.QtGui.QImage, /) -> bool: ...
  2900. def setDevice(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
  2901. def setFormat(self, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  2902. def setOption(self, option: PySide6.QtGui.QImageIOHandler.ImageOption, value: typing.Any, /) -> None: ...
  2903. def supportsOption(self, option: PySide6.QtGui.QImageIOHandler.ImageOption, /) -> bool: ...
  2904. def write(self, image: PySide6.QtGui.QImage, /) -> bool: ...
  2905. class QImageReader(Shiboken.Object):
  2906. class ImageReaderError(enum.Enum):
  2907. UnknownError = 0x0
  2908. FileNotFoundError = 0x1
  2909. DeviceError = 0x2
  2910. UnsupportedFormatError = 0x3
  2911. InvalidDataError = 0x4
  2912. @typing.overload
  2913. def __init__(self, /) -> None: ...
  2914. @typing.overload
  2915. def __init__(self, device: PySide6.QtCore.QIODevice, /, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
  2916. @typing.overload
  2917. def __init__(self, fileName: str, /, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
  2918. @staticmethod
  2919. def allocationLimit() -> int: ...
  2920. def autoDetectImageFormat(self, /) -> bool: ...
  2921. def autoTransform(self, /) -> bool: ...
  2922. def backgroundColor(self, /) -> PySide6.QtGui.QColor: ...
  2923. def canRead(self, /) -> bool: ...
  2924. def clipRect(self, /) -> PySide6.QtCore.QRect: ...
  2925. def currentImageNumber(self, /) -> int: ...
  2926. def currentImageRect(self, /) -> PySide6.QtCore.QRect: ...
  2927. def decideFormatFromContent(self, /) -> bool: ...
  2928. def device(self, /) -> PySide6.QtCore.QIODevice: ...
  2929. def error(self, /) -> PySide6.QtGui.QImageReader.ImageReaderError: ...
  2930. def errorString(self, /) -> str: ...
  2931. def fileName(self, /) -> str: ...
  2932. def format(self, /) -> PySide6.QtCore.QByteArray: ...
  2933. def imageCount(self, /) -> int: ...
  2934. @typing.overload # type: ignore[misc, overload-cannot-match]
  2935. @staticmethod
  2936. def imageFormat(device: PySide6.QtCore.QIODevice, /) -> PySide6.QtCore.QByteArray: ... # type: ignore[misc, overload-cannot-match]
  2937. @typing.overload # type: ignore[misc, overload-cannot-match]
  2938. def imageFormat(self, /) -> PySide6.QtGui.QImage.Format: ... # type: ignore[misc, overload-cannot-match]
  2939. @typing.overload # type: ignore[misc, overload-cannot-match]
  2940. @staticmethod
  2941. def imageFormat(fileName: str, /) -> PySide6.QtCore.QByteArray: ... # type: ignore[misc, overload-cannot-match]
  2942. @staticmethod
  2943. def imageFormatsForMimeType(mimeType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
  2944. def jumpToImage(self, imageNumber: int, /) -> bool: ...
  2945. def jumpToNextImage(self, /) -> bool: ...
  2946. def loopCount(self, /) -> int: ...
  2947. def nextImageDelay(self, /) -> int: ...
  2948. def quality(self, /) -> int: ...
  2949. def read(self, /) -> PySide6.QtGui.QImage: ...
  2950. def scaledClipRect(self, /) -> PySide6.QtCore.QRect: ...
  2951. def scaledSize(self, /) -> PySide6.QtCore.QSize: ...
  2952. @staticmethod
  2953. def setAllocationLimit(mbLimit: int, /) -> None: ...
  2954. def setAutoDetectImageFormat(self, enabled: bool, /) -> None: ...
  2955. def setAutoTransform(self, enabled: bool, /) -> None: ...
  2956. def setBackgroundColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  2957. def setClipRect(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  2958. def setDecideFormatFromContent(self, ignored: bool, /) -> None: ...
  2959. def setDevice(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
  2960. def setFileName(self, fileName: str, /) -> None: ...
  2961. def setFormat(self, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  2962. def setQuality(self, quality: int, /) -> None: ...
  2963. def setScaledClipRect(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  2964. def setScaledSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  2965. def size(self, /) -> PySide6.QtCore.QSize: ...
  2966. def subType(self, /) -> PySide6.QtCore.QByteArray: ...
  2967. @staticmethod
  2968. def supportedImageFormats() -> typing.List[PySide6.QtCore.QByteArray]: ...
  2969. @staticmethod
  2970. def supportedMimeTypes() -> typing.List[PySide6.QtCore.QByteArray]: ...
  2971. def supportedSubTypes(self, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
  2972. def supportsAnimation(self, /) -> bool: ...
  2973. def supportsOption(self, option: PySide6.QtGui.QImageIOHandler.ImageOption, /) -> bool: ...
  2974. def text(self, key: str, /) -> str: ...
  2975. def textKeys(self, /) -> typing.List[str]: ...
  2976. def transformation(self, /) -> PySide6.QtGui.QImageIOHandler.Transformation: ...
  2977. class QImageWriter(Shiboken.Object):
  2978. class ImageWriterError(enum.Enum):
  2979. UnknownError = 0x0
  2980. DeviceError = 0x1
  2981. UnsupportedFormatError = 0x2
  2982. InvalidImageError = 0x3
  2983. @typing.overload
  2984. def __init__(self, /) -> None: ...
  2985. @typing.overload
  2986. def __init__(self, device: PySide6.QtCore.QIODevice, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  2987. @typing.overload
  2988. def __init__(self, fileName: str, /, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
  2989. def canWrite(self, /) -> bool: ...
  2990. def compression(self, /) -> int: ...
  2991. def device(self, /) -> PySide6.QtCore.QIODevice: ...
  2992. def error(self, /) -> PySide6.QtGui.QImageWriter.ImageWriterError: ...
  2993. def errorString(self, /) -> str: ...
  2994. def fileName(self, /) -> str: ...
  2995. def format(self, /) -> PySide6.QtCore.QByteArray: ...
  2996. @staticmethod
  2997. def imageFormatsForMimeType(mimeType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
  2998. def optimizedWrite(self, /) -> bool: ...
  2999. def progressiveScanWrite(self, /) -> bool: ...
  3000. def quality(self, /) -> int: ...
  3001. def setCompression(self, compression: int, /) -> None: ...
  3002. def setDevice(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
  3003. def setFileName(self, fileName: str, /) -> None: ...
  3004. def setFormat(self, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  3005. def setOptimizedWrite(self, optimize: bool, /) -> None: ...
  3006. def setProgressiveScanWrite(self, progressive: bool, /) -> None: ...
  3007. def setQuality(self, quality: int, /) -> None: ...
  3008. def setSubType(self, type: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  3009. def setText(self, key: str, text: str, /) -> None: ...
  3010. def setTransformation(self, orientation: PySide6.QtGui.QImageIOHandler.Transformation, /) -> None: ...
  3011. def subType(self, /) -> PySide6.QtCore.QByteArray: ...
  3012. @staticmethod
  3013. def supportedImageFormats() -> typing.List[PySide6.QtCore.QByteArray]: ...
  3014. @staticmethod
  3015. def supportedMimeTypes() -> typing.List[PySide6.QtCore.QByteArray]: ...
  3016. def supportedSubTypes(self, /) -> typing.List[PySide6.QtCore.QByteArray]: ...
  3017. def supportsOption(self, option: PySide6.QtGui.QImageIOHandler.ImageOption, /) -> bool: ...
  3018. def transformation(self, /) -> PySide6.QtGui.QImageIOHandler.Transformation: ...
  3019. def write(self, image: PySide6.QtGui.QImage, /) -> bool: ...
  3020. class QInputDevice(PySide6.QtCore.QObject):
  3021. availableVirtualGeometryChanged: typing.ClassVar[Signal] = ... # availableVirtualGeometryChanged(QRect)
  3022. capabilitiesChanged : typing.ClassVar[Signal] = ... # capabilitiesChanged(Capabilities)
  3023. class Capability(enum.Flag):
  3024. None_ = 0x0
  3025. Position = 0x1
  3026. Area = 0x2
  3027. Pressure = 0x4
  3028. Velocity = 0x8
  3029. NormalizedPosition = 0x20
  3030. MouseEmulation = 0x40
  3031. PixelScroll = 0x80
  3032. Scroll = 0x100
  3033. Hover = 0x200
  3034. Rotation = 0x400
  3035. XTilt = 0x800
  3036. YTilt = 0x1000
  3037. TangentialPressure = 0x2000
  3038. ZPosition = 0x4000
  3039. All = 0x7fffffff
  3040. class DeviceType(enum.Flag):
  3041. Unknown = 0x0
  3042. Mouse = 0x1
  3043. TouchScreen = 0x2
  3044. TouchPad = 0x4
  3045. Puck = 0x8
  3046. Stylus = 0x10
  3047. Airbrush = 0x20
  3048. Keyboard = 0x1000
  3049. AllDevices = 0x7fffffff
  3050. @typing.overload
  3051. def __init__(self, name: str, systemId: int, type: PySide6.QtGui.QInputDevice.DeviceType, /, seatName: str = ..., parent: PySide6.QtCore.QObject | None = ..., *, capabilities: PySide6.QtGui.QInputDevice.Capability | None = ..., availableVirtualGeometry: PySide6.QtCore.QRect | None = ...) -> None: ...
  3052. @typing.overload
  3053. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, name: str | None = ..., type: PySide6.QtGui.QInputDevice.DeviceType | None = ..., capabilities: PySide6.QtGui.QInputDevice.Capability | None = ..., systemId: int | None = ..., seatName: str | None = ..., availableVirtualGeometry: PySide6.QtCore.QRect | None = ...) -> None: ...
  3054. def __eq__(self, other: PySide6.QtGui.QInputDevice, /) -> bool: ...
  3055. def __repr__(self, /) -> str: ...
  3056. def availableVirtualGeometry(self, /) -> PySide6.QtCore.QRect: ...
  3057. def capabilities(self, /) -> PySide6.QtGui.QInputDevice.Capability: ...
  3058. @staticmethod
  3059. def devices() -> typing.List[PySide6.QtGui.QInputDevice]: ...
  3060. def hasCapability(self, cap: PySide6.QtGui.QInputDevice.Capability, /) -> bool: ...
  3061. def name(self, /) -> str: ...
  3062. @staticmethod
  3063. def primaryKeyboard(seatName: str = ...) -> PySide6.QtGui.QInputDevice: ...
  3064. def seatName(self, /) -> str: ...
  3065. @staticmethod
  3066. def seatNames() -> typing.List[str]: ...
  3067. def systemId(self, /) -> int: ...
  3068. def type(self, /) -> PySide6.QtGui.QInputDevice.DeviceType: ...
  3069. class QInputEvent(PySide6.QtCore.QEvent):
  3070. @typing.overload
  3071. def __init__(self, type: PySide6.QtCore.QEvent.Type, m_dev: PySide6.QtGui.QInputDevice, /, modifiers: PySide6.QtCore.Qt.KeyboardModifier = ...) -> None: ...
  3072. @typing.overload
  3073. def __init__(self, arg__1: PySide6.QtGui.QInputEvent, /) -> None: ...
  3074. def clone(self, /) -> PySide6.QtGui.QInputEvent: ...
  3075. def device(self, /) -> PySide6.QtGui.QInputDevice: ...
  3076. def deviceType(self, /) -> PySide6.QtGui.QInputDevice.DeviceType: ...
  3077. def modifiers(self, /) -> PySide6.QtCore.Qt.KeyboardModifier: ...
  3078. def setModifiers(self, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /) -> None: ...
  3079. def setTimestamp(self, timestamp: int, /) -> None: ...
  3080. def timestamp(self, /) -> int: ...
  3081. class QInputMethod(PySide6.QtCore.QObject):
  3082. anchorRectangleChanged : typing.ClassVar[Signal] = ... # anchorRectangleChanged()
  3083. animatingChanged : typing.ClassVar[Signal] = ... # animatingChanged()
  3084. cursorRectangleChanged : typing.ClassVar[Signal] = ... # cursorRectangleChanged()
  3085. inputDirectionChanged : typing.ClassVar[Signal] = ... # inputDirectionChanged(Qt::LayoutDirection)
  3086. inputItemClipRectangleChanged: typing.ClassVar[Signal] = ... # inputItemClipRectangleChanged()
  3087. keyboardRectangleChanged : typing.ClassVar[Signal] = ... # keyboardRectangleChanged()
  3088. localeChanged : typing.ClassVar[Signal] = ... # localeChanged()
  3089. visibleChanged : typing.ClassVar[Signal] = ... # visibleChanged()
  3090. class Action(enum.Enum):
  3091. Click = 0x0
  3092. ContextMenu = 0x1
  3093. def anchorRectangle(self, /) -> PySide6.QtCore.QRectF: ...
  3094. def commit(self, /) -> None: ...
  3095. def cursorRectangle(self, /) -> PySide6.QtCore.QRectF: ...
  3096. def hide(self, /) -> None: ...
  3097. def inputDirection(self, /) -> PySide6.QtCore.Qt.LayoutDirection: ...
  3098. def inputItemClipRectangle(self, /) -> PySide6.QtCore.QRectF: ...
  3099. def inputItemRectangle(self, /) -> PySide6.QtCore.QRectF: ...
  3100. def inputItemTransform(self, /) -> PySide6.QtGui.QTransform: ...
  3101. def invokeAction(self, a: PySide6.QtGui.QInputMethod.Action, cursorPosition: int, /) -> None: ...
  3102. def isAnimating(self, /) -> bool: ...
  3103. def isVisible(self, /) -> bool: ...
  3104. def keyboardRectangle(self, /) -> PySide6.QtCore.QRectF: ...
  3105. def locale(self, /) -> PySide6.QtCore.QLocale: ...
  3106. @staticmethod
  3107. def queryFocusObject(query: PySide6.QtCore.Qt.InputMethodQuery, argument: typing.Any, /) -> typing.Any: ...
  3108. def reset(self, /) -> None: ...
  3109. def setInputItemRectangle(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  3110. def setInputItemTransform(self, transform: PySide6.QtGui.QTransform, /) -> None: ...
  3111. def setVisible(self, visible: bool, /) -> None: ...
  3112. def show(self, /) -> None: ...
  3113. def update(self, queries: PySide6.QtCore.Qt.InputMethodQuery, /) -> None: ...
  3114. class QInputMethodEvent(PySide6.QtCore.QEvent):
  3115. class Attribute(Shiboken.Object):
  3116. @typing.overload
  3117. def __init__(self, Attribute: PySide6.QtGui.QInputMethodEvent.Attribute, /) -> None: ...
  3118. @typing.overload
  3119. def __init__(self, typ: PySide6.QtGui.QInputMethodEvent.AttributeType, s: int, l: int, /) -> None: ...
  3120. @typing.overload
  3121. def __init__(self, typ: PySide6.QtGui.QInputMethodEvent.AttributeType, s: int, l: int, val: typing.Any, /) -> None: ...
  3122. def __copy__(self, /) -> typing.Self: ...
  3123. def __eq__(self, rhs: PySide6.QtGui.QInputMethodEvent.Attribute, /) -> bool: ...
  3124. def __ne__(self, rhs: PySide6.QtGui.QInputMethodEvent.Attribute, /) -> bool: ...
  3125. class AttributeType(enum.Enum):
  3126. TextFormat = 0x0
  3127. Cursor = 0x1
  3128. Language = 0x2
  3129. Ruby = 0x3
  3130. Selection = 0x4
  3131. MimeData = 0x5
  3132. @typing.overload
  3133. def __init__(self, /) -> None: ...
  3134. @typing.overload
  3135. def __init__(self, arg__1: PySide6.QtGui.QInputMethodEvent, /) -> None: ...
  3136. @typing.overload
  3137. def __init__(self, preeditText: str, attributes: collections.abc.Sequence[PySide6.QtGui.QInputMethodEvent.Attribute], /) -> None: ...
  3138. def __repr__(self, /) -> str: ...
  3139. def attributes(self, /) -> typing.List[PySide6.QtGui.QInputMethodEvent.Attribute]: ...
  3140. def clone(self, /) -> PySide6.QtGui.QInputMethodEvent: ...
  3141. def commitString(self, /) -> str: ...
  3142. def preeditString(self, /) -> str: ...
  3143. def replacementLength(self, /) -> int: ...
  3144. def replacementStart(self, /) -> int: ...
  3145. def setCommitString(self, commitString: str, /, replaceFrom: int | None = ..., replaceLength: int | None = ...) -> None: ...
  3146. class QInputMethodQueryEvent(PySide6.QtCore.QEvent):
  3147. @typing.overload
  3148. def __init__(self, queries: PySide6.QtCore.Qt.InputMethodQuery, /) -> None: ...
  3149. @typing.overload
  3150. def __init__(self, arg__1: PySide6.QtGui.QInputMethodQueryEvent, /) -> None: ...
  3151. def clone(self, /) -> PySide6.QtGui.QInputMethodQueryEvent: ...
  3152. def queries(self, /) -> PySide6.QtCore.Qt.InputMethodQuery: ...
  3153. def setValue(self, query: PySide6.QtCore.Qt.InputMethodQuery, value: typing.Any, /) -> None: ...
  3154. def value(self, query: PySide6.QtCore.Qt.InputMethodQuery, /) -> typing.Any: ...
  3155. class QIntList: ...
  3156. class QIntValidator(PySide6.QtGui.QValidator):
  3157. bottomChanged : typing.ClassVar[Signal] = ... # bottomChanged(int)
  3158. topChanged : typing.ClassVar[Signal] = ... # topChanged(int)
  3159. @typing.overload
  3160. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, bottom: int | None = ..., top: int | None = ...) -> None: ...
  3161. @typing.overload
  3162. def __init__(self, bottom: int, top: int, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  3163. def bottom(self, /) -> int: ...
  3164. def fixup(self, input: str, /) -> str: ...
  3165. def setBottom(self, arg__1: int, /) -> None: ...
  3166. def setRange(self, bottom: int, top: int, /) -> None: ...
  3167. def setTop(self, arg__1: int, /) -> None: ...
  3168. def top(self, /) -> int: ...
  3169. def validate(self, arg__1: str, arg__2: int, /) -> object: ...
  3170. class QKeyEvent(PySide6.QtGui.QInputEvent):
  3171. @typing.overload
  3172. def __init__(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  3173. @typing.overload
  3174. def __init__(self, type: PySide6.QtCore.QEvent.Type, key: int, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, text: str = ..., autorep: bool = ..., count: int = ...) -> None: ...
  3175. @typing.overload
  3176. def __init__(self, type: PySide6.QtCore.QEvent.Type, key: int, modifiers: PySide6.QtCore.Qt.KeyboardModifier, nativeScanCode: int, nativeVirtualKey: int, nativeModifiers: int, /, text: str = ..., autorep: bool = ..., count: int = ..., device: PySide6.QtGui.QInputDevice = ...) -> None: ...
  3177. def __eq__(self, key: PySide6.QtGui.QKeySequence.StandardKey, /) -> bool: ...
  3178. def __ne__(self, standard_key: PySide6.QtGui.QKeySequence.StandardKey, /) -> None: ...
  3179. def __repr__(self, /) -> str: ...
  3180. def clone(self, /) -> PySide6.QtGui.QKeyEvent: ...
  3181. def count(self, /) -> int: ...
  3182. def isAutoRepeat(self, /) -> bool: ...
  3183. def key(self, /) -> int: ...
  3184. def keyCombination(self, /) -> PySide6.QtCore.QKeyCombination: ...
  3185. def matches(self, key: PySide6.QtGui.QKeySequence.StandardKey, /) -> bool: ...
  3186. def modifiers(self, /) -> PySide6.QtCore.Qt.KeyboardModifier: ...
  3187. def nativeModifiers(self, /) -> int: ...
  3188. def nativeScanCode(self, /) -> int: ...
  3189. def nativeVirtualKey(self, /) -> int: ...
  3190. def text(self, /) -> str: ...
  3191. class QKeySequence(Shiboken.Object):
  3192. class SequenceFormat(enum.Enum):
  3193. NativeText = 0x0
  3194. PortableText = 0x1
  3195. class SequenceMatch(enum.Enum):
  3196. NoMatch = 0x0
  3197. PartialMatch = 0x1
  3198. ExactMatch = 0x2
  3199. class StandardKey(enum.Enum):
  3200. UnknownKey = 0x0
  3201. HelpContents = 0x1
  3202. WhatsThis = 0x2
  3203. Open = 0x3
  3204. Close = 0x4
  3205. Save = 0x5
  3206. New = 0x6
  3207. Delete = 0x7
  3208. Cut = 0x8
  3209. Copy = 0x9
  3210. Paste = 0xa
  3211. Undo = 0xb
  3212. Redo = 0xc
  3213. Back = 0xd
  3214. Forward = 0xe
  3215. Refresh = 0xf
  3216. ZoomIn = 0x10
  3217. ZoomOut = 0x11
  3218. Print = 0x12
  3219. AddTab = 0x13
  3220. NextChild = 0x14
  3221. PreviousChild = 0x15
  3222. Find = 0x16
  3223. FindNext = 0x17
  3224. FindPrevious = 0x18
  3225. Replace = 0x19
  3226. SelectAll = 0x1a
  3227. Bold = 0x1b
  3228. Italic = 0x1c
  3229. Underline = 0x1d
  3230. MoveToNextChar = 0x1e
  3231. MoveToPreviousChar = 0x1f
  3232. MoveToNextWord = 0x20
  3233. MoveToPreviousWord = 0x21
  3234. MoveToNextLine = 0x22
  3235. MoveToPreviousLine = 0x23
  3236. MoveToNextPage = 0x24
  3237. MoveToPreviousPage = 0x25
  3238. MoveToStartOfLine = 0x26
  3239. MoveToEndOfLine = 0x27
  3240. MoveToStartOfBlock = 0x28
  3241. MoveToEndOfBlock = 0x29
  3242. MoveToStartOfDocument = 0x2a
  3243. MoveToEndOfDocument = 0x2b
  3244. SelectNextChar = 0x2c
  3245. SelectPreviousChar = 0x2d
  3246. SelectNextWord = 0x2e
  3247. SelectPreviousWord = 0x2f
  3248. SelectNextLine = 0x30
  3249. SelectPreviousLine = 0x31
  3250. SelectNextPage = 0x32
  3251. SelectPreviousPage = 0x33
  3252. SelectStartOfLine = 0x34
  3253. SelectEndOfLine = 0x35
  3254. SelectStartOfBlock = 0x36
  3255. SelectEndOfBlock = 0x37
  3256. SelectStartOfDocument = 0x38
  3257. SelectEndOfDocument = 0x39
  3258. DeleteStartOfWord = 0x3a
  3259. DeleteEndOfWord = 0x3b
  3260. DeleteEndOfLine = 0x3c
  3261. InsertParagraphSeparator = 0x3d
  3262. InsertLineSeparator = 0x3e
  3263. SaveAs = 0x3f
  3264. Preferences = 0x40
  3265. Quit = 0x41
  3266. FullScreen = 0x42
  3267. Deselect = 0x43
  3268. DeleteCompleteLine = 0x44
  3269. Backspace = 0x45
  3270. Cancel = 0x46
  3271. @typing.overload
  3272. def __init__(self, /) -> None: ...
  3273. @typing.overload
  3274. def __init__(self, ks: PySide6.QtGui.QKeySequence, /) -> None: ...
  3275. @typing.overload
  3276. def __init__(self, key: PySide6.QtGui.QKeySequence.StandardKey, /) -> None: ...
  3277. @typing.overload
  3278. def __init__(self, key: str, /, format: PySide6.QtGui.QKeySequence.SequenceFormat = ...) -> None: ...
  3279. @typing.overload
  3280. def __init__(self, k1: PySide6.QtCore.QKeyCombination | PySide6.QtCore.Qt.KeyboardModifier | PySide6.QtCore.Qt.Key, /, k2: PySide6.QtCore.QKeyCombination | PySide6.QtCore.Qt.KeyboardModifier | PySide6.QtCore.Qt.Key = ..., k3: PySide6.QtCore.QKeyCombination | PySide6.QtCore.Qt.KeyboardModifier | PySide6.QtCore.Qt.Key = ..., k4: PySide6.QtCore.QKeyCombination | PySide6.QtCore.Qt.KeyboardModifier | PySide6.QtCore.Qt.Key = ...) -> None: ...
  3281. @typing.overload
  3282. def __init__(self, k1: int, /, k2: int | None = ..., k3: int | None = ..., k4: int | None = ...) -> None: ...
  3283. def __copy__(self, /) -> typing.Self: ...
  3284. def __eq__(self, other: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> bool: ...
  3285. def __ge__(self, other: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> bool: ...
  3286. def __gt__(self, other: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> bool: ...
  3287. def __hash__(self, /) -> int: ...
  3288. def __le__(self, other: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> bool: ...
  3289. def __lshift__(self, in_: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  3290. def __lt__(self, ks: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> bool: ...
  3291. def __ne__(self, other: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> bool: ...
  3292. def __reduce__(self, /) -> str: ...
  3293. def __repr__(self, /) -> str: ...
  3294. def __rshift__(self, out: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  3295. def count(self, /) -> int: ...
  3296. @staticmethod
  3297. def fromString(str: str, /, format: PySide6.QtGui.QKeySequence.SequenceFormat = ...) -> PySide6.QtGui.QKeySequence: ...
  3298. def isEmpty(self, /) -> bool: ...
  3299. @staticmethod
  3300. def keyBindings(key: PySide6.QtGui.QKeySequence.StandardKey, /) -> typing.List[PySide6.QtGui.QKeySequence]: ...
  3301. @staticmethod
  3302. def listFromString(str: str, /, format: PySide6.QtGui.QKeySequence.SequenceFormat = ...) -> typing.List[PySide6.QtGui.QKeySequence]: ...
  3303. @staticmethod
  3304. def listToString(list: collections.abc.Sequence[PySide6.QtGui.QKeySequence], /, format: PySide6.QtGui.QKeySequence.SequenceFormat = ...) -> str: ...
  3305. def matches(self, seq: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> PySide6.QtGui.QKeySequence.SequenceMatch: ...
  3306. @staticmethod
  3307. def mnemonic(text: str, /) -> PySide6.QtGui.QKeySequence: ...
  3308. def swap(self, other: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> None: ...
  3309. def toString(self, /, format: PySide6.QtGui.QKeySequence.SequenceFormat = ...) -> str: ...
  3310. class QLinearGradient(PySide6.QtGui.QGradient):
  3311. @typing.overload
  3312. def __init__(self, /) -> None: ...
  3313. @typing.overload
  3314. def __init__(self, QLinearGradient: PySide6.QtGui.QLinearGradient, /) -> None: ...
  3315. @typing.overload
  3316. def __init__(self, start: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, finalStop: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  3317. @typing.overload
  3318. def __init__(self, xStart: float, yStart: float, xFinalStop: float, yFinalStop: float, /) -> None: ...
  3319. def __copy__(self, /) -> typing.Self: ...
  3320. def finalStop(self, /) -> PySide6.QtCore.QPointF: ...
  3321. @typing.overload
  3322. def setFinalStop(self, stop: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  3323. @typing.overload
  3324. def setFinalStop(self, x: float, y: float, /) -> None: ...
  3325. @typing.overload
  3326. def setStart(self, start: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  3327. @typing.overload
  3328. def setStart(self, x: float, y: float, /) -> None: ...
  3329. def start(self, /) -> PySide6.QtCore.QPointF: ...
  3330. class QMatrix2x2(Shiboken.Object):
  3331. @typing.overload
  3332. def __init__(self, /) -> None: ...
  3333. @typing.overload
  3334. def __init__(self, QMatrix2x2: PySide6.QtGui.QMatrix2x2, /) -> None: ...
  3335. @typing.overload
  3336. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3337. def __call__(self, row: int, column: int, /) -> float: ...
  3338. def __copy__(self, /) -> typing.Self: ...
  3339. def __eq__(self, other: PySide6.QtGui.QMatrix2x2, /) -> bool: ...
  3340. def __iadd__(self, other: PySide6.QtGui.QMatrix2x2, /) -> PySide6.QtGui.QMatrix2x2: ...
  3341. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix2x2: ...
  3342. def __isub__(self, other: PySide6.QtGui.QMatrix2x2, /) -> PySide6.QtGui.QMatrix2x2: ...
  3343. def __ne__(self, other: PySide6.QtGui.QMatrix2x2, /) -> bool: ...
  3344. def __reduce__(self, /) -> str: ...
  3345. def __repr__(self, /) -> str: ...
  3346. def data(self, /) -> float: ...
  3347. def fill(self, value: float, /) -> None: ...
  3348. def isIdentity(self, /) -> bool: ...
  3349. def setToIdentity(self, /) -> None: ...
  3350. def transposed(self, /) -> PySide6.QtGui.QMatrix2x2: ...
  3351. class QMatrix2x3(Shiboken.Object):
  3352. @typing.overload
  3353. def __init__(self, /) -> None: ...
  3354. @typing.overload
  3355. def __init__(self, QMatrix2x3: PySide6.QtGui.QMatrix2x3, /) -> None: ...
  3356. @typing.overload
  3357. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3358. def __call__(self, row: int, column: int, /) -> float: ...
  3359. def __copy__(self, /) -> typing.Self: ...
  3360. def __eq__(self, other: PySide6.QtGui.QMatrix2x3, /) -> bool: ...
  3361. def __iadd__(self, other: PySide6.QtGui.QMatrix2x3, /) -> PySide6.QtGui.QMatrix2x3: ...
  3362. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix2x3: ...
  3363. def __isub__(self, other: PySide6.QtGui.QMatrix2x3, /) -> PySide6.QtGui.QMatrix2x3: ...
  3364. def __ne__(self, other: PySide6.QtGui.QMatrix2x3, /) -> bool: ...
  3365. def __reduce__(self, /) -> str: ...
  3366. def __repr__(self, /) -> str: ...
  3367. def data(self, /) -> float: ...
  3368. def fill(self, value: float, /) -> None: ...
  3369. def isIdentity(self, /) -> bool: ...
  3370. def setToIdentity(self, /) -> None: ...
  3371. def transposed(self, /) -> PySide6.QtGui.QMatrix3x2: ...
  3372. class QMatrix2x4(Shiboken.Object):
  3373. @typing.overload
  3374. def __init__(self, /) -> None: ...
  3375. @typing.overload
  3376. def __init__(self, QMatrix2x4: PySide6.QtGui.QMatrix2x4, /) -> None: ...
  3377. @typing.overload
  3378. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3379. def __call__(self, row: int, column: int, /) -> float: ...
  3380. def __copy__(self, /) -> typing.Self: ...
  3381. def __eq__(self, other: PySide6.QtGui.QMatrix2x4, /) -> bool: ...
  3382. def __iadd__(self, other: PySide6.QtGui.QMatrix2x4, /) -> PySide6.QtGui.QMatrix2x4: ...
  3383. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix2x4: ...
  3384. def __isub__(self, other: PySide6.QtGui.QMatrix2x4, /) -> PySide6.QtGui.QMatrix2x4: ...
  3385. def __ne__(self, other: PySide6.QtGui.QMatrix2x4, /) -> bool: ...
  3386. def __reduce__(self, /) -> str: ...
  3387. def __repr__(self, /) -> str: ...
  3388. def data(self, /) -> float: ...
  3389. def fill(self, value: float, /) -> None: ...
  3390. def isIdentity(self, /) -> bool: ...
  3391. def setToIdentity(self, /) -> None: ...
  3392. def transposed(self, /) -> PySide6.QtGui.QMatrix4x2: ...
  3393. class QMatrix3x2(Shiboken.Object):
  3394. @typing.overload
  3395. def __init__(self, /) -> None: ...
  3396. @typing.overload
  3397. def __init__(self, QMatrix3x2: PySide6.QtGui.QMatrix3x2, /) -> None: ...
  3398. @typing.overload
  3399. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3400. def __call__(self, row: int, column: int, /) -> float: ...
  3401. def __copy__(self, /) -> typing.Self: ...
  3402. def __eq__(self, other: PySide6.QtGui.QMatrix3x2, /) -> bool: ...
  3403. def __iadd__(self, other: PySide6.QtGui.QMatrix3x2, /) -> PySide6.QtGui.QMatrix3x2: ...
  3404. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix3x2: ...
  3405. def __isub__(self, other: PySide6.QtGui.QMatrix3x2, /) -> PySide6.QtGui.QMatrix3x2: ...
  3406. def __ne__(self, other: PySide6.QtGui.QMatrix3x2, /) -> bool: ...
  3407. def __reduce__(self, /) -> str: ...
  3408. def __repr__(self, /) -> str: ...
  3409. def data(self, /) -> float: ...
  3410. def fill(self, value: float, /) -> None: ...
  3411. def isIdentity(self, /) -> bool: ...
  3412. def setToIdentity(self, /) -> None: ...
  3413. def transposed(self, /) -> PySide6.QtGui.QMatrix2x3: ...
  3414. class QMatrix3x3(Shiboken.Object):
  3415. @typing.overload
  3416. def __init__(self, /) -> None: ...
  3417. @typing.overload
  3418. def __init__(self, QMatrix3x3: PySide6.QtGui.QMatrix3x3, /) -> None: ...
  3419. @typing.overload
  3420. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3421. def __call__(self, row: int, column: int, /) -> float: ...
  3422. def __copy__(self, /) -> typing.Self: ...
  3423. def __eq__(self, other: PySide6.QtGui.QMatrix3x3, /) -> bool: ...
  3424. def __iadd__(self, other: PySide6.QtGui.QMatrix3x3, /) -> PySide6.QtGui.QMatrix3x3: ...
  3425. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix3x3: ...
  3426. def __isub__(self, other: PySide6.QtGui.QMatrix3x3, /) -> PySide6.QtGui.QMatrix3x3: ...
  3427. def __ne__(self, other: PySide6.QtGui.QMatrix3x3, /) -> bool: ...
  3428. def __reduce__(self, /) -> str: ...
  3429. def __repr__(self, /) -> str: ...
  3430. def data(self, /) -> float: ...
  3431. def fill(self, value: float, /) -> None: ...
  3432. def isIdentity(self, /) -> bool: ...
  3433. def setToIdentity(self, /) -> None: ...
  3434. def transposed(self, /) -> PySide6.QtGui.QMatrix3x3: ...
  3435. class QMatrix3x4(Shiboken.Object):
  3436. @typing.overload
  3437. def __init__(self, /) -> None: ...
  3438. @typing.overload
  3439. def __init__(self, QMatrix3x4: PySide6.QtGui.QMatrix3x4, /) -> None: ...
  3440. @typing.overload
  3441. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3442. def __call__(self, row: int, column: int, /) -> float: ...
  3443. def __copy__(self, /) -> typing.Self: ...
  3444. def __eq__(self, other: PySide6.QtGui.QMatrix3x4, /) -> bool: ...
  3445. def __iadd__(self, other: PySide6.QtGui.QMatrix3x4, /) -> PySide6.QtGui.QMatrix3x4: ...
  3446. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix3x4: ...
  3447. def __isub__(self, other: PySide6.QtGui.QMatrix3x4, /) -> PySide6.QtGui.QMatrix3x4: ...
  3448. def __ne__(self, other: PySide6.QtGui.QMatrix3x4, /) -> bool: ...
  3449. def __reduce__(self, /) -> str: ...
  3450. def __repr__(self, /) -> str: ...
  3451. def data(self, /) -> float: ...
  3452. def fill(self, value: float, /) -> None: ...
  3453. def isIdentity(self, /) -> bool: ...
  3454. def setToIdentity(self, /) -> None: ...
  3455. def transposed(self, /) -> PySide6.QtGui.QMatrix4x3: ...
  3456. class QMatrix4x2(Shiboken.Object):
  3457. @typing.overload
  3458. def __init__(self, /) -> None: ...
  3459. @typing.overload
  3460. def __init__(self, QMatrix4x2: PySide6.QtGui.QMatrix4x2, /) -> None: ...
  3461. @typing.overload
  3462. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3463. def __call__(self, row: int, column: int, /) -> float: ...
  3464. def __copy__(self, /) -> typing.Self: ...
  3465. def __eq__(self, other: PySide6.QtGui.QMatrix4x2, /) -> bool: ...
  3466. def __iadd__(self, other: PySide6.QtGui.QMatrix4x2, /) -> PySide6.QtGui.QMatrix4x2: ...
  3467. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix4x2: ...
  3468. def __isub__(self, other: PySide6.QtGui.QMatrix4x2, /) -> PySide6.QtGui.QMatrix4x2: ...
  3469. def __ne__(self, other: PySide6.QtGui.QMatrix4x2, /) -> bool: ...
  3470. def __reduce__(self, /) -> str: ...
  3471. def __repr__(self, /) -> str: ...
  3472. def data(self, /) -> float: ...
  3473. def fill(self, value: float, /) -> None: ...
  3474. def isIdentity(self, /) -> bool: ...
  3475. def setToIdentity(self, /) -> None: ...
  3476. def transposed(self, /) -> PySide6.QtGui.QMatrix2x4: ...
  3477. class QMatrix4x3(Shiboken.Object):
  3478. @typing.overload
  3479. def __init__(self, /) -> None: ...
  3480. @typing.overload
  3481. def __init__(self, QMatrix4x3: PySide6.QtGui.QMatrix4x3, /) -> None: ...
  3482. @typing.overload
  3483. def __init__(self, elements: collections.abc.Iterable, /) -> None: ...
  3484. def __call__(self, row: int, column: int, /) -> float: ...
  3485. def __copy__(self, /) -> typing.Self: ...
  3486. def __eq__(self, other: PySide6.QtGui.QMatrix4x3, /) -> bool: ...
  3487. def __iadd__(self, other: PySide6.QtGui.QMatrix4x3, /) -> PySide6.QtGui.QMatrix4x3: ...
  3488. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix4x3: ...
  3489. def __isub__(self, other: PySide6.QtGui.QMatrix4x3, /) -> PySide6.QtGui.QMatrix4x3: ...
  3490. def __ne__(self, other: PySide6.QtGui.QMatrix4x3, /) -> bool: ...
  3491. def __reduce__(self, /) -> str: ...
  3492. def __repr__(self, /) -> str: ...
  3493. def data(self, /) -> float: ...
  3494. def fill(self, value: float, /) -> None: ...
  3495. def isIdentity(self, /) -> bool: ...
  3496. def setToIdentity(self, /) -> None: ...
  3497. def transposed(self, /) -> PySide6.QtGui.QMatrix3x4: ...
  3498. class QMatrix4x4(Shiboken.Object):
  3499. class Flag(enum.Flag):
  3500. Identity = 0x0
  3501. Translation = 0x1
  3502. Scale = 0x2
  3503. Rotation2D = 0x4
  3504. Rotation = 0x8
  3505. Perspective = 0x10
  3506. General = 0x1f
  3507. @typing.overload
  3508. def __init__(self, /) -> None: ...
  3509. @typing.overload
  3510. def __init__(self, QMatrix4x4: PySide6.QtGui.QMatrix4x4, /) -> None: ...
  3511. @typing.overload
  3512. def __init__(self, transform: PySide6.QtGui.QTransform, /) -> None: ...
  3513. @typing.overload
  3514. def __init__(self, m11: float, m12: float, m13: float, m14: float, m21: float, m22: float, m23: float, m24: float, m31: float, m32: float, m33: float, m34: float, m41: float, m42: float, m43: float, m44: float, /) -> None: ...
  3515. @typing.overload
  3516. def __init__(self, values: collections.abc.Iterable, /) -> None: ...
  3517. def __add__(self, m2: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QMatrix4x4: ...
  3518. def __copy__(self, /) -> typing.Self: ...
  3519. def __dummy(self, arg__1: collections.abc.Sequence[float], /) -> None: ...
  3520. def __eq__(self, other: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> bool: ...
  3521. def __iadd__(self, other: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QMatrix4x4: ... # type: ignore[misc]
  3522. @typing.overload # type: ignore[misc]
  3523. def __imul__(self, other: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QMatrix4x4: ...
  3524. @typing.overload
  3525. def __imul__(self, factor: float, /) -> PySide6.QtGui.QMatrix4x4: ...
  3526. def __isub__(self, other: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QMatrix4x4: ... # type: ignore[misc]
  3527. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  3528. @typing.overload
  3529. def __mul__(self, point: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QPoint: ...
  3530. @typing.overload
  3531. def __mul__(self, m2: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QMatrix4x4: ...
  3532. @typing.overload
  3533. def __mul__(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  3534. @typing.overload
  3535. def __mul__(self, factor: float, /) -> PySide6.QtGui.QMatrix4x4: ...
  3536. def __ne__(self, other: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> bool: ...
  3537. def __neg__(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  3538. def __reduce__(self, /) -> str: ...
  3539. def __repr__(self, /) -> str: ...
  3540. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  3541. def __sub__(self, m2: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QMatrix4x4: ...
  3542. def column(self, index: int, /) -> PySide6.QtGui.QVector4D: ...
  3543. def copyDataTo(self, /) -> typing.Tuple: ...
  3544. def data(self, /) -> typing.List[float]: ...
  3545. def determinant(self, /) -> float: ...
  3546. def fill(self, value: float, /) -> None: ...
  3547. def flags(self, /) -> PySide6.QtGui.QMatrix4x4.Flag: ...
  3548. def flipCoordinates(self, /) -> None: ...
  3549. def frustum(self, left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float, /) -> None: ...
  3550. def inverted(self, /) -> typing.Tuple[PySide6.QtGui.QMatrix4x4, bool]: ...
  3551. def isAffine(self, /) -> bool: ...
  3552. def isIdentity(self, /) -> bool: ...
  3553. def lookAt(self, eye: PySide6.QtGui.QVector3D, center: PySide6.QtGui.QVector3D, up: PySide6.QtGui.QVector3D, /) -> None: ...
  3554. @typing.overload
  3555. def map(self, point: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QPoint: ...
  3556. @typing.overload
  3557. def map(self, point: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  3558. @typing.overload
  3559. def map(self, point: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ...
  3560. @typing.overload
  3561. def map(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  3562. @typing.overload
  3563. def mapRect(self, rect: PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRect: ...
  3564. @typing.overload
  3565. def mapRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  3566. def mapVector(self, vector: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  3567. def normalMatrix(self, /) -> PySide6.QtGui.QMatrix3x3: ...
  3568. def optimize(self, /) -> None: ...
  3569. @typing.overload
  3570. def ortho(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  3571. @typing.overload
  3572. def ortho(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  3573. @typing.overload
  3574. def ortho(self, left: float, right: float, bottom: float, top: float, nearPlane: float, farPlane: float, /) -> None: ...
  3575. def perspective(self, verticalAngle: float, aspectRatio: float, nearPlane: float, farPlane: float, /) -> None: ...
  3576. @typing.overload
  3577. def projectedRotate(self, angle: float, x: float, y: float, z: float, /) -> None: ...
  3578. @typing.overload
  3579. def projectedRotate(self, angle: float, x: float, y: float, z: float, distanceToPlane: float, /) -> None: ...
  3580. @typing.overload
  3581. def rotate(self, quaternion: PySide6.QtGui.QQuaternion, /) -> None: ...
  3582. @typing.overload
  3583. def rotate(self, angle: float, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  3584. @typing.overload
  3585. def rotate(self, angle: float, x: float, y: float, /, z: float = ...) -> None: ...
  3586. def row(self, index: int, /) -> PySide6.QtGui.QVector4D: ...
  3587. @typing.overload
  3588. def scale(self, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  3589. @typing.overload
  3590. def scale(self, factor: float, /) -> None: ...
  3591. @typing.overload
  3592. def scale(self, x: float, y: float, /) -> None: ...
  3593. @typing.overload
  3594. def scale(self, x: float, y: float, z: float, /) -> None: ...
  3595. def setColumn(self, index: int, value: PySide6.QtGui.QVector4D, /) -> None: ...
  3596. def setRow(self, index: int, value: PySide6.QtGui.QVector4D, /) -> None: ...
  3597. def setToIdentity(self, /) -> None: ...
  3598. @typing.overload
  3599. def toTransform(self, /) -> PySide6.QtGui.QTransform: ...
  3600. @typing.overload
  3601. def toTransform(self, distanceToPlane: float, /) -> PySide6.QtGui.QTransform: ...
  3602. @typing.overload
  3603. def translate(self, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  3604. @typing.overload
  3605. def translate(self, x: float, y: float, /) -> None: ...
  3606. @typing.overload
  3607. def translate(self, x: float, y: float, z: float, /) -> None: ...
  3608. def transposed(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  3609. @typing.overload
  3610. def viewport(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  3611. @typing.overload
  3612. def viewport(self, left: float, bottom: float, width: float, height: float, /, nearPlane: float = ..., farPlane: float = ...) -> None: ...
  3613. class QMouseEvent(PySide6.QtGui.QSinglePointEvent):
  3614. @typing.overload
  3615. def __init__(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  3616. @typing.overload
  3617. def __init__(self, type: PySide6.QtCore.QEvent.Type, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  3618. @typing.overload
  3619. def __init__(self, type: PySide6.QtCore.QEvent.Type, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  3620. @typing.overload
  3621. def __init__(self, type: PySide6.QtCore.QEvent.Type, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  3622. @typing.overload
  3623. def __init__(self, type: PySide6.QtCore.QEvent.Type, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, source: PySide6.QtCore.Qt.MouseEventSource, /, device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  3624. def __repr__(self, /) -> str: ...
  3625. def clone(self, /) -> PySide6.QtGui.QMouseEvent: ...
  3626. def flags(self, /) -> PySide6.QtCore.Qt.MouseEventFlag: ...
  3627. def globalPos(self, /) -> PySide6.QtCore.QPoint: ...
  3628. def globalX(self, /) -> int: ...
  3629. def globalY(self, /) -> int: ...
  3630. def localPos(self, /) -> PySide6.QtCore.QPointF: ...
  3631. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  3632. def screenPos(self, /) -> PySide6.QtCore.QPointF: ...
  3633. def source(self, /) -> PySide6.QtCore.Qt.MouseEventSource: ...
  3634. def windowPos(self, /) -> PySide6.QtCore.QPointF: ...
  3635. def x(self, /) -> int: ...
  3636. def y(self, /) -> int: ...
  3637. class QMoveEvent(PySide6.QtCore.QEvent):
  3638. @typing.overload
  3639. def __init__(self, arg__1: PySide6.QtGui.QMoveEvent, /) -> None: ...
  3640. @typing.overload
  3641. def __init__(self, pos: PySide6.QtCore.QPoint, oldPos: PySide6.QtCore.QPoint, /) -> None: ...
  3642. def __repr__(self, /) -> str: ...
  3643. def clone(self, /) -> PySide6.QtGui.QMoveEvent: ...
  3644. def oldPos(self, /) -> PySide6.QtCore.QPoint: ...
  3645. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  3646. class QMovie(PySide6.QtCore.QObject):
  3647. error : typing.ClassVar[Signal] = ... # error(QImageReader::ImageReaderError)
  3648. finished : typing.ClassVar[Signal] = ... # finished()
  3649. frameChanged : typing.ClassVar[Signal] = ... # frameChanged(int)
  3650. resized : typing.ClassVar[Signal] = ... # resized(QSize)
  3651. started : typing.ClassVar[Signal] = ... # started()
  3652. stateChanged : typing.ClassVar[Signal] = ... # stateChanged(QMovie::MovieState)
  3653. updated : typing.ClassVar[Signal] = ... # updated(QRect)
  3654. class CacheMode(enum.Enum):
  3655. CacheNone = 0x0
  3656. CacheAll = 0x1
  3657. class MovieState(enum.Enum):
  3658. NotRunning = 0x0
  3659. Paused = 0x1
  3660. Running = 0x2
  3661. @typing.overload
  3662. def __init__(self, device: PySide6.QtCore.QIODevice, /, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ..., parent: PySide6.QtCore.QObject | None = ..., *, speed: int | None = ..., cacheMode: PySide6.QtGui.QMovie.CacheMode | None = ...) -> None: ...
  3663. @typing.overload
  3664. def __init__(self, fileName: str, /, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ..., parent: PySide6.QtCore.QObject | None = ..., *, speed: int | None = ..., cacheMode: PySide6.QtGui.QMovie.CacheMode | None = ...) -> None: ...
  3665. @typing.overload
  3666. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, speed: int | None = ..., cacheMode: PySide6.QtGui.QMovie.CacheMode | None = ...) -> None: ...
  3667. def backgroundColor(self, /) -> PySide6.QtGui.QColor: ...
  3668. def cacheMode(self, /) -> PySide6.QtGui.QMovie.CacheMode: ...
  3669. def currentFrameNumber(self, /) -> int: ...
  3670. def currentImage(self, /) -> PySide6.QtGui.QImage: ...
  3671. def currentPixmap(self, /) -> PySide6.QtGui.QPixmap: ...
  3672. def device(self, /) -> PySide6.QtCore.QIODevice: ...
  3673. def fileName(self, /) -> str: ...
  3674. def format(self, /) -> PySide6.QtCore.QByteArray: ...
  3675. def frameCount(self, /) -> int: ...
  3676. def frameRect(self, /) -> PySide6.QtCore.QRect: ...
  3677. def isValid(self, /) -> bool: ...
  3678. def jumpToFrame(self, frameNumber: int, /) -> bool: ...
  3679. def jumpToNextFrame(self, /) -> bool: ...
  3680. def lastError(self, /) -> PySide6.QtGui.QImageReader.ImageReaderError: ...
  3681. def lastErrorString(self, /) -> str: ...
  3682. def loopCount(self, /) -> int: ...
  3683. def nextFrameDelay(self, /) -> int: ...
  3684. def scaledSize(self, /) -> PySide6.QtCore.QSize: ...
  3685. def setBackgroundColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  3686. def setCacheMode(self, mode: PySide6.QtGui.QMovie.CacheMode, /) -> None: ...
  3687. def setDevice(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
  3688. def setFileName(self, fileName: str, /) -> None: ...
  3689. def setFormat(self, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  3690. def setPaused(self, paused: bool, /) -> None: ...
  3691. def setScaledSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  3692. def setSpeed(self, percentSpeed: int, /) -> None: ...
  3693. def speed(self, /) -> int: ...
  3694. def start(self, /) -> None: ...
  3695. def state(self, /) -> PySide6.QtGui.QMovie.MovieState: ...
  3696. def stop(self, /) -> None: ...
  3697. @staticmethod
  3698. def supportedFormats() -> typing.List[PySide6.QtCore.QByteArray]: ...
  3699. class QNativeGestureEvent(PySide6.QtGui.QSinglePointEvent):
  3700. @typing.overload
  3701. def __init__(self, arg__1: PySide6.QtGui.QNativeGestureEvent, /) -> None: ...
  3702. @typing.overload
  3703. def __init__(self, type: PySide6.QtCore.Qt.NativeGestureType, dev: PySide6.QtGui.QPointingDevice, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, value: float, sequenceId: int, intArgument: int, /) -> None: ...
  3704. @typing.overload
  3705. def __init__(self, type: PySide6.QtCore.Qt.NativeGestureType, dev: PySide6.QtGui.QPointingDevice, fingerCount: int, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, value: float, delta: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, sequenceId: int = ...) -> None: ...
  3706. def clone(self, /) -> PySide6.QtGui.QNativeGestureEvent: ...
  3707. def delta(self, /) -> PySide6.QtCore.QPointF: ...
  3708. def fingerCount(self, /) -> int: ...
  3709. def gestureType(self, /) -> PySide6.QtCore.Qt.NativeGestureType: ...
  3710. def globalPos(self, /) -> PySide6.QtCore.QPoint: ...
  3711. def localPos(self, /) -> PySide6.QtCore.QPointF: ...
  3712. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  3713. def screenPos(self, /) -> PySide6.QtCore.QPointF: ...
  3714. def value(self, /) -> float: ...
  3715. def windowPos(self, /) -> PySide6.QtCore.QPointF: ...
  3716. class QNativeInterface(Shiboken.Object):
  3717. class QWindowsScreen(Shiboken.Object):
  3718. def __init__(self, /) -> None: ...
  3719. def handle(self, /) -> int: ...
  3720. class QOffscreenSurface(PySide6.QtCore.QObject, PySide6.QtGui.QSurface):
  3721. screenChanged : typing.ClassVar[Signal] = ... # screenChanged(QScreen*)
  3722. def __init__(self, /, screen: PySide6.QtGui.QScreen | None = ..., parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  3723. def create(self, /) -> None: ...
  3724. def destroy(self, /) -> None: ...
  3725. def format(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
  3726. def isValid(self, /) -> bool: ...
  3727. def requestedFormat(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
  3728. def resolveInterface(self, name: bytes | bytearray | memoryview, revision: int, /) -> int: ...
  3729. def screen(self, /) -> PySide6.QtGui.QScreen: ...
  3730. def setFormat(self, format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
  3731. def setScreen(self, screen: PySide6.QtGui.QScreen, /) -> None: ...
  3732. def size(self, /) -> PySide6.QtCore.QSize: ...
  3733. def surfaceHandle(self, /) -> int: ...
  3734. def surfaceType(self, /) -> PySide6.QtGui.QSurface.SurfaceType: ...
  3735. class QOpenGLContext(PySide6.QtCore.QObject):
  3736. aboutToBeDestroyed : typing.ClassVar[Signal] = ... # aboutToBeDestroyed()
  3737. class OpenGLModuleType(enum.Enum):
  3738. LibGL = 0x0
  3739. LibGLES = 0x1
  3740. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  3741. def __repr__(self, /) -> str: ...
  3742. @staticmethod
  3743. def areSharing(first: PySide6.QtGui.QOpenGLContext, second: PySide6.QtGui.QOpenGLContext, /) -> bool: ...
  3744. def create(self, /) -> bool: ...
  3745. @staticmethod
  3746. def currentContext() -> PySide6.QtGui.QOpenGLContext: ...
  3747. def defaultFramebufferObject(self, /) -> int: ...
  3748. def doneCurrent(self, /) -> None: ...
  3749. def extensions(self, /) -> typing.Set[PySide6.QtCore.QByteArray]: ...
  3750. def extraFunctions(self, /) -> PySide6.QtGui.QOpenGLExtraFunctions: ...
  3751. def format(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
  3752. def functions(self, /) -> PySide6.QtGui.QOpenGLFunctions: ...
  3753. @typing.overload
  3754. def getProcAddress(self, procName: bytes | bytearray | memoryview, /) -> int: ...
  3755. @typing.overload
  3756. def getProcAddress(self, procName: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> int: ...
  3757. @staticmethod
  3758. def globalShareContext() -> PySide6.QtGui.QOpenGLContext: ...
  3759. def hasExtension(self, extension: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> bool: ...
  3760. def isOpenGLES(self, /) -> bool: ...
  3761. def isValid(self, /) -> bool: ...
  3762. def makeCurrent(self, surface: PySide6.QtGui.QSurface, /) -> bool: ...
  3763. @staticmethod
  3764. def openGLModuleType() -> PySide6.QtGui.QOpenGLContext.OpenGLModuleType: ...
  3765. def resolveInterface(self, name: bytes | bytearray | memoryview, revision: int, /) -> int: ...
  3766. def screen(self, /) -> PySide6.QtGui.QScreen: ...
  3767. def setFormat(self, format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
  3768. def setScreen(self, screen: PySide6.QtGui.QScreen, /) -> None: ...
  3769. def setShareContext(self, shareContext: PySide6.QtGui.QOpenGLContext, /) -> None: ...
  3770. def shareContext(self, /) -> PySide6.QtGui.QOpenGLContext: ...
  3771. def shareGroup(self, /) -> PySide6.QtGui.QOpenGLContextGroup: ...
  3772. @staticmethod
  3773. def supportsThreadedOpenGL() -> bool: ...
  3774. def surface(self, /) -> PySide6.QtGui.QSurface: ...
  3775. def swapBuffers(self, surface: PySide6.QtGui.QSurface, /) -> None: ...
  3776. class QOpenGLContextGroup(PySide6.QtCore.QObject):
  3777. def __repr__(self, /) -> str: ...
  3778. @staticmethod
  3779. def currentContextGroup() -> PySide6.QtGui.QOpenGLContextGroup: ...
  3780. def shares(self, /) -> typing.List[PySide6.QtGui.QOpenGLContext]: ...
  3781. class QOpenGLExtraFunctions(PySide6.QtGui.QOpenGLFunctions):
  3782. @typing.overload
  3783. def __init__(self, /) -> None: ...
  3784. @typing.overload
  3785. def __init__(self, context: PySide6.QtGui.QOpenGLContext, /) -> None: ...
  3786. def glActiveShaderProgram(self, pipeline: int, program: int, /) -> None: ...
  3787. def glBeginQuery(self, target: int, id: int, /) -> None: ...
  3788. def glBeginTransformFeedback(self, primitiveMode: int, /) -> None: ...
  3789. def glBindBufferBase(self, target: int, index: int, buffer: int, /) -> None: ...
  3790. def glBindImageTexture(self, unit: int, texture: int, level: int, layered: int, layer: int, access: int, format: int, /) -> None: ...
  3791. def glBindProgramPipeline(self, pipeline: int, /) -> None: ...
  3792. def glBindSampler(self, unit: int, sampler: int, /) -> None: ...
  3793. def glBindTransformFeedback(self, target: int, id: int, /) -> None: ...
  3794. def glBindVertexArray(self, array: int, /) -> None: ...
  3795. def glBlendBarrier(self, /) -> None: ...
  3796. def glBlendEquationSeparatei(self, buf: int, modeRGB: int, modeAlpha: int, /) -> None: ...
  3797. def glBlendEquationi(self, buf: int, mode: int, /) -> None: ...
  3798. def glBlendFuncSeparatei(self, buf: int, srcRGB: int, dstRGB: int, srcAlpha: int, dstAlpha: int, /) -> None: ...
  3799. def glBlendFunci(self, buf: int, src: int, dst: int, /) -> None: ...
  3800. def glBlitFramebuffer(self, srcX0: int, srcY0: int, srcX1: int, srcY1: int, dstX0: int, dstY0: int, dstX1: int, dstY1: int, mask: int, filter: int, /) -> None: ...
  3801. def glClearBufferfi(self, buffer: int, drawbuffer: int, depth: float, stencil: int, /) -> None: ...
  3802. def glClearBufferfv(self, buffer: int, drawbuffer: int, value: collections.abc.Sequence[float], /) -> None: ...
  3803. def glClearBufferiv(self, buffer: int, drawbuffer: int, value: collections.abc.Sequence[int], /) -> None: ...
  3804. def glClearBufferuiv(self, buffer: int, drawbuffer: int, value: collections.abc.Sequence[int], /) -> None: ...
  3805. def glColorMaski(self, index: int, r: int, g: int, b: int, a: int, /) -> None: ...
  3806. def glCompressedTexImage3D(self, target: int, level: int, internalformat: int, width: int, height: int, depth: int, border: int, imageSize: int, data: int, /) -> None: ...
  3807. def glCompressedTexSubImage3D(self, target: int, level: int, xoffset: int, yoffset: int, zoffset: int, width: int, height: int, depth: int, format: int, imageSize: int, data: int, /) -> None: ...
  3808. def glCopyImageSubData(self, srcName: int, srcTarget: int, srcLevel: int, srcX: int, srcY: int, srcZ: int, dstName: int, dstTarget: int, dstLevel: int, dstX: int, dstY: int, dstZ: int, srcWidth: int, srcHeight: int, srcDepth: int, /) -> None: ...
  3809. def glCopyTexSubImage3D(self, target: int, level: int, xoffset: int, yoffset: int, zoffset: int, x: int, y: int, width: int, height: int, /) -> None: ...
  3810. def glDebugMessageControl(self, source: int, type: int, severity: int, count: int, ids: collections.abc.Sequence[int], enabled: int, /) -> None: ...
  3811. def glDebugMessageInsert(self, source: int, type: int, id: int, severity: int, length: int, buf: bytes | bytearray | memoryview, /) -> None: ...
  3812. def glDeleteProgramPipelines(self, n: int, pipelines: collections.abc.Sequence[int], /) -> None: ...
  3813. def glDeleteQueries(self, n: int, ids: collections.abc.Sequence[int], /) -> None: ...
  3814. def glDeleteSamplers(self, count: int, samplers: collections.abc.Sequence[int], /) -> None: ...
  3815. def glDeleteTransformFeedbacks(self, n: int, ids: collections.abc.Sequence[int], /) -> None: ...
  3816. def glDeleteVertexArrays(self, n: int, arrays: collections.abc.Sequence[int], /) -> None: ...
  3817. def glDisablei(self, target: int, index: int, /) -> None: ...
  3818. def glDispatchCompute(self, num_groups_x: int, num_groups_y: int, num_groups_z: int, /) -> None: ...
  3819. def glDrawArraysIndirect(self, mode: int, indirect: int, /) -> None: ...
  3820. def glDrawArraysInstanced(self, mode: int, first: int, count: int, instancecount: int, /) -> None: ...
  3821. def glDrawBuffers(self, n: int, bufs: collections.abc.Sequence[int], /) -> None: ...
  3822. def glDrawElementsBaseVertex(self, mode: int, count: int, type: int, indices: int, basevertex: int, /) -> None: ...
  3823. def glDrawElementsIndirect(self, mode: int, type: int, indirect: int, /) -> None: ...
  3824. def glDrawElementsInstanced(self, mode: int, count: int, type: int, indices: int, instancecount: int, /) -> None: ...
  3825. def glDrawElementsInstancedBaseVertex(self, mode: int, count: int, type: int, indices: int, instancecount: int, basevertex: int, /) -> None: ...
  3826. def glDrawRangeElements(self, mode: int, start: int, end: int, count: int, type: int, indices: int, /) -> None: ...
  3827. def glDrawRangeElementsBaseVertex(self, mode: int, start: int, end: int, count: int, type: int, indices: int, basevertex: int, /) -> None: ...
  3828. def glEnablei(self, target: int, index: int, /) -> None: ...
  3829. def glEndQuery(self, target: int, /) -> None: ...
  3830. def glFramebufferParameteri(self, target: int, pname: int, param: int, /) -> None: ...
  3831. def glFramebufferTexture(self, target: int, attachment: int, texture: int, level: int, /) -> None: ...
  3832. def glFramebufferTextureLayer(self, target: int, attachment: int, texture: int, level: int, layer: int, /) -> None: ...
  3833. def glGenProgramPipelines(self, n: int, pipelines: collections.abc.Sequence[int], /) -> None: ...
  3834. def glGenQueries(self, n: int, ids: collections.abc.Sequence[int], /) -> None: ...
  3835. def glGenSamplers(self, count: int, samplers: collections.abc.Sequence[int], /) -> None: ...
  3836. def glGenTransformFeedbacks(self, n: int, ids: collections.abc.Sequence[int], /) -> None: ...
  3837. def glGenVertexArrays(self, n: int, arrays: collections.abc.Sequence[int], /) -> None: ...
  3838. def glGetActiveUniformBlockiv(self, program: int, uniformBlockIndex: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3839. def glGetActiveUniformsiv(self, program: int, uniformCount: int, uniformIndices: collections.abc.Sequence[int], pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3840. def glGetBooleani_v(self, target: int, index: int, /) -> typing.Union[bool, typing.List[typing.Any]]: ...
  3841. def glGetFragDataLocation(self, program: int, name: bytes | bytearray | memoryview, /) -> int: ...
  3842. def glGetFramebufferParameteriv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3843. def glGetGraphicsResetStatus(self, /) -> int: ...
  3844. @typing.overload
  3845. def glGetIntegeri_v(self, arg__1: int, arg__2: int, /) -> typing.Union[int, typing.List[typing.Any]]: ...
  3846. @typing.overload
  3847. def glGetIntegeri_v(self, target: int, index: int, data: collections.abc.Sequence[int], /) -> None: ...
  3848. def glGetInternalformativ(self, target: int, internalformat: int, pname: int, bufSize: int, params: collections.abc.Sequence[int], /) -> None: ...
  3849. def glGetMultisamplefv(self, pname: int, index: int, val: collections.abc.Sequence[float], /) -> None: ...
  3850. def glGetProgramInterfaceiv(self, program: int, programInterface: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3851. def glGetProgramPipelineiv(self, pipeline: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3852. def glGetProgramResourceIndex(self, program: int, programInterface: int, name: bytes | bytearray | memoryview, /) -> int: ...
  3853. def glGetProgramResourceLocation(self, program: int, programInterface: int, name: bytes | bytearray | memoryview, /) -> int: ...
  3854. def glGetProgramResourceiv(self, program: int, programInterface: int, index: int, propCount: int, props: collections.abc.Sequence[int], bufSize: int, length: collections.abc.Sequence[int], params: collections.abc.Sequence[int], /) -> None: ...
  3855. def glGetQueryObjectuiv(self, id: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3856. def glGetQueryiv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3857. def glGetSamplerParameterIiv(self, sampler: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3858. def glGetSamplerParameterIuiv(self, sampler: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3859. def glGetSamplerParameterfv(self, sampler: int, pname: int, params: collections.abc.Sequence[float], /) -> None: ...
  3860. def glGetSamplerParameteriv(self, sampler: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3861. def glGetStringi(self, name: int, index: int, /) -> str: ...
  3862. def glGetTexLevelParameterfv(self, target: int, level: int, pname: int, params: collections.abc.Sequence[float], /) -> None: ...
  3863. def glGetTexLevelParameteriv(self, target: int, level: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3864. def glGetTexParameterIiv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3865. def glGetTexParameterIuiv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3866. def glGetUniformBlockIndex(self, program: int, uniformBlockName: bytes | bytearray | memoryview, /) -> int: ...
  3867. def glGetUniformuiv(self, program: int, location: int, params: collections.abc.Sequence[int], /) -> None: ...
  3868. def glGetVertexAttribIiv(self, index: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3869. def glGetVertexAttribIuiv(self, index: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3870. def glGetnUniformfv(self, program: int, location: int, bufSize: int, /) -> float: ...
  3871. def glGetnUniformiv(self, program: int, location: int, bufSize: int, params: collections.abc.Sequence[int], /) -> None: ...
  3872. def glGetnUniformuiv(self, program: int, location: int, bufSize: int, params: collections.abc.Sequence[int], /) -> None: ...
  3873. def glInvalidateFramebuffer(self, target: int, numAttachments: int, attachments: collections.abc.Sequence[int], /) -> None: ...
  3874. def glInvalidateSubFramebuffer(self, target: int, numAttachments: int, attachments: collections.abc.Sequence[int], x: int, y: int, width: int, height: int, /) -> None: ...
  3875. def glIsEnabledi(self, target: int, index: int, /) -> int: ...
  3876. def glIsProgramPipeline(self, pipeline: int, /) -> int: ...
  3877. def glIsQuery(self, id: int, /) -> int: ...
  3878. def glIsSampler(self, sampler: int, /) -> int: ...
  3879. def glIsTransformFeedback(self, id: int, /) -> int: ...
  3880. def glIsVertexArray(self, array: int, /) -> int: ...
  3881. def glMemoryBarrier(self, barriers: int, /) -> None: ...
  3882. def glMemoryBarrierByRegion(self, barriers: int, /) -> None: ...
  3883. def glMinSampleShading(self, value: float, /) -> None: ...
  3884. def glObjectLabel(self, identifier: int, name: int, length: int, label: bytes | bytearray | memoryview, /) -> None: ...
  3885. def glObjectPtrLabel(self, ptr: int, length: int, label: bytes | bytearray | memoryview, /) -> None: ...
  3886. def glPatchParameteri(self, pname: int, value: int, /) -> None: ...
  3887. def glPopDebugGroup(self, /) -> None: ...
  3888. def glPrimitiveBoundingBox(self, minX: float, minY: float, minZ: float, minW: float, maxX: float, maxY: float, maxZ: float, maxW: float, /) -> None: ...
  3889. def glProgramBinary(self, program: int, binaryFormat: int, binary: int, length: int, /) -> None: ...
  3890. def glProgramParameteri(self, program: int, pname: int, value: int, /) -> None: ...
  3891. def glProgramUniform1f(self, program: int, location: int, v0: float, /) -> None: ...
  3892. def glProgramUniform1fv(self, program: int, location: int, count: int, value: collections.abc.Sequence[float], /) -> None: ...
  3893. def glProgramUniform1i(self, program: int, location: int, v0: int, /) -> None: ...
  3894. def glProgramUniform1iv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3895. def glProgramUniform1ui(self, program: int, location: int, v0: int, /) -> None: ...
  3896. def glProgramUniform1uiv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3897. def glProgramUniform2f(self, program: int, location: int, v0: float, v1: float, /) -> None: ...
  3898. def glProgramUniform2fv(self, program: int, location: int, count: int, value: collections.abc.Sequence[float], /) -> None: ...
  3899. def glProgramUniform2i(self, program: int, location: int, v0: int, v1: int, /) -> None: ...
  3900. def glProgramUniform2iv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3901. def glProgramUniform2ui(self, program: int, location: int, v0: int, v1: int, /) -> None: ...
  3902. def glProgramUniform2uiv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3903. def glProgramUniform3f(self, program: int, location: int, v0: float, v1: float, v2: float, /) -> None: ...
  3904. def glProgramUniform3fv(self, program: int, location: int, count: int, value: collections.abc.Sequence[float], /) -> None: ...
  3905. def glProgramUniform3i(self, program: int, location: int, v0: int, v1: int, v2: int, /) -> None: ...
  3906. def glProgramUniform3iv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3907. def glProgramUniform3ui(self, program: int, location: int, v0: int, v1: int, v2: int, /) -> None: ...
  3908. def glProgramUniform3uiv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3909. def glProgramUniform4f(self, program: int, location: int, v0: float, v1: float, v2: float, v3: float, /) -> None: ...
  3910. def glProgramUniform4fv(self, program: int, location: int, count: int, value: collections.abc.Sequence[float], /) -> None: ...
  3911. def glProgramUniform4i(self, program: int, location: int, v0: int, v1: int, v2: int, v3: int, /) -> None: ...
  3912. def glProgramUniform4iv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3913. def glProgramUniform4ui(self, program: int, location: int, v0: int, v1: int, v2: int, v3: int, /) -> None: ...
  3914. def glProgramUniform4uiv(self, program: int, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3915. def glProgramUniformMatrix2fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3916. def glProgramUniformMatrix2x3fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3917. def glProgramUniformMatrix2x4fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3918. def glProgramUniformMatrix3fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3919. def glProgramUniformMatrix3x2fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3920. def glProgramUniformMatrix3x4fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3921. def glProgramUniformMatrix4fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3922. def glProgramUniformMatrix4x2fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3923. def glProgramUniformMatrix4x3fv(self, program: int, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3924. def glPushDebugGroup(self, source: int, id: int, length: int, message: bytes | bytearray | memoryview, /) -> None: ...
  3925. def glReadBuffer(self, mode: int, /) -> None: ...
  3926. def glReadnPixels(self, x: int, y: int, width: int, height: int, format: int, type: int, bufSize: int, data: int, /) -> None: ...
  3927. def glRenderbufferStorageMultisample(self, target: int, samples: int, internalformat: int, width: int, height: int, /) -> None: ...
  3928. def glSampleMaski(self, maskNumber: int, mask: int, /) -> None: ...
  3929. def glSamplerParameterIiv(self, sampler: int, pname: int, param: collections.abc.Sequence[int], /) -> None: ...
  3930. def glSamplerParameterIuiv(self, sampler: int, pname: int, param: collections.abc.Sequence[int], /) -> None: ...
  3931. def glSamplerParameterf(self, sampler: int, pname: int, param: float, /) -> None: ...
  3932. def glSamplerParameterfv(self, sampler: int, pname: int, param: collections.abc.Sequence[float], /) -> None: ...
  3933. def glSamplerParameteri(self, sampler: int, pname: int, param: int, /) -> None: ...
  3934. def glSamplerParameteriv(self, sampler: int, pname: int, param: collections.abc.Sequence[int], /) -> None: ...
  3935. def glTexBuffer(self, target: int, internalformat: int, buffer: int, /) -> None: ...
  3936. def glTexImage3D(self, target: int, level: int, internalformat: int, width: int, height: int, depth: int, border: int, format: int, type: int, pixels: int, /) -> None: ...
  3937. def glTexParameterIiv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3938. def glTexParameterIuiv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  3939. def glTexStorage2D(self, target: int, levels: int, internalformat: int, width: int, height: int, /) -> None: ...
  3940. def glTexStorage2DMultisample(self, target: int, samples: int, internalformat: int, width: int, height: int, fixedsamplelocations: int, /) -> None: ...
  3941. def glTexStorage3D(self, target: int, levels: int, internalformat: int, width: int, height: int, depth: int, /) -> None: ...
  3942. def glTexStorage3DMultisample(self, target: int, samples: int, internalformat: int, width: int, height: int, depth: int, fixedsamplelocations: int, /) -> None: ...
  3943. def glTexSubImage3D(self, target: int, level: int, xoffset: int, yoffset: int, zoffset: int, width: int, height: int, depth: int, format: int, type: int, pixels: int, /) -> None: ...
  3944. def glUniform1ui(self, location: int, v0: int, /) -> None: ...
  3945. def glUniform1uiv(self, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3946. def glUniform2ui(self, location: int, v0: int, v1: int, /) -> None: ...
  3947. def glUniform2uiv(self, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3948. def glUniform3ui(self, location: int, v0: int, v1: int, v2: int, /) -> None: ...
  3949. def glUniform3uiv(self, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3950. def glUniform4ui(self, location: int, v0: int, v1: int, v2: int, v3: int, /) -> None: ...
  3951. def glUniform4uiv(self, location: int, count: int, value: collections.abc.Sequence[int], /) -> None: ...
  3952. def glUniformBlockBinding(self, program: int, uniformBlockIndex: int, uniformBlockBinding: int, /) -> None: ...
  3953. def glUniformMatrix2x3fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3954. def glUniformMatrix2x4fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3955. def glUniformMatrix3x2fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3956. def glUniformMatrix3x4fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3957. def glUniformMatrix4x2fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3958. def glUniformMatrix4x3fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  3959. def glUnmapBuffer(self, target: int, /) -> int: ...
  3960. def glUseProgramStages(self, pipeline: int, stages: int, program: int, /) -> None: ...
  3961. def glValidateProgramPipeline(self, pipeline: int, /) -> None: ...
  3962. def glVertexAttribBinding(self, attribindex: int, bindingindex: int, /) -> None: ...
  3963. def glVertexAttribDivisor(self, index: int, divisor: int, /) -> None: ...
  3964. def glVertexAttribFormat(self, attribindex: int, size: int, type: int, normalized: int, relativeoffset: int, /) -> None: ...
  3965. def glVertexAttribI4i(self, index: int, x: int, y: int, z: int, w: int, /) -> None: ...
  3966. def glVertexAttribI4iv(self, index: int, v: collections.abc.Sequence[int], /) -> None: ...
  3967. def glVertexAttribI4ui(self, index: int, x: int, y: int, z: int, w: int, /) -> None: ...
  3968. def glVertexAttribI4uiv(self, index: int, v: collections.abc.Sequence[int], /) -> None: ...
  3969. def glVertexAttribIFormat(self, attribindex: int, size: int, type: int, relativeoffset: int, /) -> None: ...
  3970. def glVertexAttribIPointer(self, index: int, size: int, type: int, stride: int, pointer: int, /) -> None: ...
  3971. def glVertexBindingDivisor(self, bindingindex: int, divisor: int, /) -> None: ...
  3972. class QOpenGLFunctions(Shiboken.Object):
  3973. class OpenGLFeature(enum.Flag):
  3974. Multitexture = 0x1
  3975. Shaders = 0x2
  3976. Buffers = 0x4
  3977. Framebuffers = 0x8
  3978. BlendColor = 0x10
  3979. BlendEquation = 0x20
  3980. BlendEquationSeparate = 0x40
  3981. BlendFuncSeparate = 0x80
  3982. BlendSubtract = 0x100
  3983. CompressedTextures = 0x200
  3984. Multisample = 0x400
  3985. StencilSeparate = 0x800
  3986. NPOTTextures = 0x1000
  3987. NPOTTextureRepeat = 0x2000
  3988. FixedFunctionPipeline = 0x4000
  3989. TextureRGFormats = 0x8000
  3990. MultipleRenderTargets = 0x10000
  3991. BlendEquationAdvanced = 0x20000
  3992. @typing.overload
  3993. def __init__(self, /) -> None: ...
  3994. @typing.overload
  3995. def __init__(self, context: PySide6.QtGui.QOpenGLContext, /) -> None: ...
  3996. def glActiveTexture(self, texture: int, /) -> None: ...
  3997. def glAttachShader(self, program: int, shader: int, /) -> None: ...
  3998. def glBindAttribLocation(self, program: int, index: int, name: bytes | bytearray | memoryview, /) -> None: ...
  3999. def glBindBuffer(self, target: int, buffer: int, /) -> None: ...
  4000. def glBindFramebuffer(self, target: int, framebuffer: int, /) -> None: ...
  4001. def glBindRenderbuffer(self, target: int, renderbuffer: int, /) -> None: ...
  4002. def glBindTexture(self, target: int, texture: int, /) -> None: ...
  4003. def glBlendColor(self, red: float, green: float, blue: float, alpha: float, /) -> None: ...
  4004. def glBlendEquation(self, mode: int, /) -> None: ...
  4005. def glBlendEquationSeparate(self, modeRGB: int, modeAlpha: int, /) -> None: ...
  4006. def glBlendFunc(self, sfactor: int, dfactor: int, /) -> None: ...
  4007. def glBlendFuncSeparate(self, srcRGB: int, dstRGB: int, srcAlpha: int, dstAlpha: int, /) -> None: ...
  4008. def glCheckFramebufferStatus(self, target: int, /) -> int: ...
  4009. def glClear(self, mask: int, /) -> None: ...
  4010. def glClearColor(self, red: float, green: float, blue: float, alpha: float, /) -> None: ...
  4011. def glClearDepthf(self, depth: float, /) -> None: ...
  4012. def glClearStencil(self, s: int, /) -> None: ...
  4013. def glColorMask(self, red: int, green: int, blue: int, alpha: int, /) -> None: ...
  4014. def glCompileShader(self, shader: int, /) -> None: ...
  4015. def glCompressedTexImage2D(self, target: int, level: int, internalformat: int, width: int, height: int, border: int, imageSize: int, data: int, /) -> None: ...
  4016. def glCompressedTexSubImage2D(self, target: int, level: int, xoffset: int, yoffset: int, width: int, height: int, format: int, imageSize: int, data: int, /) -> None: ...
  4017. def glCopyTexImage2D(self, target: int, level: int, internalformat: int, x: int, y: int, width: int, height: int, border: int, /) -> None: ...
  4018. def glCopyTexSubImage2D(self, target: int, level: int, xoffset: int, yoffset: int, x: int, y: int, width: int, height: int, /) -> None: ...
  4019. def glCreateProgram(self, /) -> int: ...
  4020. def glCreateShader(self, type: int, /) -> int: ...
  4021. def glCullFace(self, mode: int, /) -> None: ...
  4022. def glDeleteBuffers(self, n: int, buffers: collections.abc.Sequence[int], /) -> None: ...
  4023. def glDeleteFramebuffers(self, n: int, framebuffers: collections.abc.Sequence[int], /) -> None: ...
  4024. def glDeleteProgram(self, program: int, /) -> None: ...
  4025. def glDeleteRenderbuffers(self, n: int, renderbuffers: collections.abc.Sequence[int], /) -> None: ...
  4026. def glDeleteShader(self, shader: int, /) -> None: ...
  4027. def glDeleteTextures(self, n: int, textures: collections.abc.Sequence[int], /) -> None: ...
  4028. def glDepthFunc(self, func: int, /) -> None: ...
  4029. def glDepthMask(self, flag: int, /) -> None: ...
  4030. def glDepthRangef(self, zNear: float, zFar: float, /) -> None: ...
  4031. def glDetachShader(self, program: int, shader: int, /) -> None: ...
  4032. def glDisable(self, cap: int, /) -> None: ...
  4033. def glDisableVertexAttribArray(self, index: int, /) -> None: ...
  4034. def glDrawArrays(self, mode: int, first: int, count: int, /) -> None: ...
  4035. def glDrawElements(self, mode: int, count: int, type: int, indices: int, /) -> None: ...
  4036. def glEnable(self, cap: int, /) -> None: ...
  4037. def glEnableVertexAttribArray(self, index: int, /) -> None: ...
  4038. def glFinish(self, /) -> None: ...
  4039. def glFlush(self, /) -> None: ...
  4040. def glFramebufferRenderbuffer(self, target: int, attachment: int, renderbuffertarget: int, renderbuffer: int, /) -> None: ...
  4041. def glFramebufferTexture2D(self, target: int, attachment: int, textarget: int, texture: int, level: int, /) -> None: ...
  4042. def glFrontFace(self, mode: int, /) -> None: ...
  4043. def glGenBuffers(self, n: int, buffers: collections.abc.Sequence[int], /) -> None: ...
  4044. def glGenFramebuffers(self, n: int, framebuffers: collections.abc.Sequence[int], /) -> None: ...
  4045. def glGenRenderbuffers(self, n: int, renderbuffers: collections.abc.Sequence[int], /) -> None: ...
  4046. def glGenTextures(self, n: int, textures: collections.abc.Sequence[int], /) -> None: ...
  4047. def glGenerateMipmap(self, target: int, /) -> None: ...
  4048. def glGetAttachedShaders(self, program: int, maxcount: int, count: collections.abc.Sequence[int], shaders: collections.abc.Sequence[int], /) -> None: ...
  4049. def glGetAttribLocation(self, program: int, name: bytes | bytearray | memoryview, /) -> int: ...
  4050. def glGetBooleanv(self, pname: int, /) -> typing.Union[bool, typing.List[typing.Any]]: ...
  4051. def glGetBufferParameteriv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4052. def glGetError(self, /) -> int: ...
  4053. @typing.overload
  4054. def glGetFloatv(self, arg__1: int, /) -> typing.Union[float, typing.List[typing.Any]]: ...
  4055. @typing.overload
  4056. def glGetFloatv(self, pname: int, params: collections.abc.Sequence[float], /) -> None: ...
  4057. def glGetFramebufferAttachmentParameteriv(self, target: int, attachment: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4058. @typing.overload
  4059. def glGetIntegerv(self, arg__1: int, /) -> typing.Union[int, typing.List[typing.Any]]: ...
  4060. @typing.overload
  4061. def glGetIntegerv(self, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4062. def glGetProgramiv(self, program: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4063. def glGetRenderbufferParameteriv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4064. def glGetShaderPrecisionFormat(self, shadertype: int, precisiontype: int, range: collections.abc.Sequence[int], precision: collections.abc.Sequence[int], /) -> None: ...
  4065. def glGetShaderSource(self, shader: int, /) -> bytes | bytearray | memoryview: ...
  4066. def glGetShaderiv(self, shader: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4067. def glGetString(self, name: int, /) -> str: ...
  4068. def glGetTexParameterfv(self, target: int, pname: int, params: collections.abc.Sequence[float], /) -> None: ...
  4069. def glGetTexParameteriv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4070. def glGetUniformLocation(self, program: int, name: bytes | bytearray | memoryview, /) -> int: ...
  4071. def glGetUniformfv(self, program: int, location: int, params: collections.abc.Sequence[float], /) -> None: ...
  4072. def glGetUniformiv(self, program: int, location: int, params: collections.abc.Sequence[int], /) -> None: ...
  4073. def glGetVertexAttribfv(self, index: int, pname: int, params: collections.abc.Sequence[float], /) -> None: ...
  4074. def glGetVertexAttribiv(self, index: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4075. def glHint(self, target: int, mode: int, /) -> None: ...
  4076. def glIsBuffer(self, buffer: int, /) -> int: ...
  4077. def glIsEnabled(self, cap: int, /) -> int: ...
  4078. def glIsFramebuffer(self, framebuffer: int, /) -> int: ...
  4079. def glIsProgram(self, program: int, /) -> int: ...
  4080. def glIsRenderbuffer(self, renderbuffer: int, /) -> int: ...
  4081. def glIsShader(self, shader: int, /) -> int: ...
  4082. def glIsTexture(self, texture: int, /) -> int: ...
  4083. def glLineWidth(self, width: float, /) -> None: ...
  4084. def glLinkProgram(self, program: int, /) -> None: ...
  4085. def glPixelStorei(self, pname: int, param: int, /) -> None: ...
  4086. def glPolygonOffset(self, factor: float, units: float, /) -> None: ...
  4087. def glReadPixels(self, x: int, y: int, width: int, height: int, format: int, type: int, pixels: int, /) -> None: ...
  4088. def glReleaseShaderCompiler(self, /) -> None: ...
  4089. def glRenderbufferStorage(self, target: int, internalformat: int, width: int, height: int, /) -> None: ...
  4090. def glSampleCoverage(self, value: float, invert: int, /) -> None: ...
  4091. def glScissor(self, x: int, y: int, width: int, height: int, /) -> None: ...
  4092. def glShaderBinary(self, n: int, shaders: collections.abc.Sequence[int], binaryformat: int, binary: int, length: int, /) -> None: ...
  4093. def glShaderSource(self, shader: int, source: str, /) -> None: ...
  4094. def glStencilFunc(self, func: int, ref: int, mask: int, /) -> None: ...
  4095. def glStencilFuncSeparate(self, face: int, func: int, ref: int, mask: int, /) -> None: ...
  4096. def glStencilMask(self, mask: int, /) -> None: ...
  4097. def glStencilMaskSeparate(self, face: int, mask: int, /) -> None: ...
  4098. def glStencilOp(self, fail: int, zfail: int, zpass: int, /) -> None: ...
  4099. def glStencilOpSeparate(self, face: int, fail: int, zfail: int, zpass: int, /) -> None: ...
  4100. def glTexImage2D(self, target: int, level: int, internalformat: int, width: int, height: int, border: int, format: int, type: int, pixels: int, /) -> None: ...
  4101. def glTexParameterf(self, target: int, pname: int, param: float, /) -> None: ...
  4102. def glTexParameterfv(self, target: int, pname: int, params: collections.abc.Sequence[float], /) -> None: ...
  4103. def glTexParameteri(self, target: int, pname: int, param: int, /) -> None: ...
  4104. def glTexParameteriv(self, target: int, pname: int, params: collections.abc.Sequence[int], /) -> None: ...
  4105. def glTexSubImage2D(self, target: int, level: int, xoffset: int, yoffset: int, width: int, height: int, format: int, type: int, pixels: int, /) -> None: ...
  4106. def glUniform1f(self, location: int, x: float, /) -> None: ...
  4107. def glUniform1fv(self, location: int, count: int, v: collections.abc.Sequence[float], /) -> None: ...
  4108. def glUniform1i(self, location: int, x: int, /) -> None: ...
  4109. def glUniform1iv(self, location: int, count: int, v: collections.abc.Sequence[int], /) -> None: ...
  4110. def glUniform2f(self, location: int, x: float, y: float, /) -> None: ...
  4111. def glUniform2fv(self, location: int, count: int, v: collections.abc.Sequence[float], /) -> None: ...
  4112. def glUniform2i(self, location: int, x: int, y: int, /) -> None: ...
  4113. def glUniform2iv(self, location: int, count: int, v: collections.abc.Sequence[int], /) -> None: ...
  4114. def glUniform3f(self, location: int, x: float, y: float, z: float, /) -> None: ...
  4115. def glUniform3fv(self, location: int, count: int, v: collections.abc.Sequence[float], /) -> None: ...
  4116. def glUniform3i(self, location: int, x: int, y: int, z: int, /) -> None: ...
  4117. def glUniform3iv(self, location: int, count: int, v: collections.abc.Sequence[int], /) -> None: ...
  4118. def glUniform4f(self, location: int, x: float, y: float, z: float, w: float, /) -> None: ...
  4119. def glUniform4fv(self, location: int, count: int, v: collections.abc.Sequence[float], /) -> None: ...
  4120. def glUniform4i(self, location: int, x: int, y: int, z: int, w: int, /) -> None: ...
  4121. def glUniform4iv(self, location: int, count: int, v: collections.abc.Sequence[int], /) -> None: ...
  4122. def glUniformMatrix2fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  4123. def glUniformMatrix3fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  4124. def glUniformMatrix4fv(self, location: int, count: int, transpose: int, value: collections.abc.Sequence[float], /) -> None: ...
  4125. def glUseProgram(self, program: int, /) -> None: ...
  4126. def glValidateProgram(self, program: int, /) -> None: ...
  4127. def glVertexAttrib1f(self, indx: int, x: float, /) -> None: ...
  4128. def glVertexAttrib1fv(self, indx: int, values: collections.abc.Sequence[float], /) -> None: ...
  4129. def glVertexAttrib2f(self, indx: int, x: float, y: float, /) -> None: ...
  4130. def glVertexAttrib2fv(self, indx: int, values: collections.abc.Sequence[float], /) -> None: ...
  4131. def glVertexAttrib3f(self, indx: int, x: float, y: float, z: float, /) -> None: ...
  4132. def glVertexAttrib3fv(self, indx: int, values: collections.abc.Sequence[float], /) -> None: ...
  4133. def glVertexAttrib4f(self, indx: int, x: float, y: float, z: float, w: float, /) -> None: ...
  4134. def glVertexAttrib4fv(self, indx: int, values: collections.abc.Sequence[float], /) -> None: ...
  4135. def glVertexAttribPointer(self, indx: int, size: int, type: int, normalized: int, stride: int, ptr: int, /) -> None: ...
  4136. def glViewport(self, x: int, y: int, width: int, height: int, /) -> None: ...
  4137. def hasOpenGLFeature(self, feature: PySide6.QtGui.QOpenGLFunctions.OpenGLFeature, /) -> bool: ...
  4138. def initializeOpenGLFunctions(self, /) -> None: ...
  4139. def openGLFeatures(self, /) -> PySide6.QtGui.QOpenGLFunctions.OpenGLFeature: ...
  4140. class QOverrideCursorGuard(Shiboken.Object):
  4141. def __init__(self, /) -> None: ...
  4142. def __enter__(self, /) -> PySide6.QtGui.QOverrideCursorGuard: ...
  4143. def __exit__(self, arg__1: object, arg__2: object, arg__3: object, /) -> None: ...
  4144. def restoreOverrideCursor(self, /) -> None: ...
  4145. class QPageLayout(Shiboken.Object):
  4146. class Mode(enum.Enum):
  4147. StandardMode = 0x0
  4148. FullPageMode = 0x1
  4149. class Orientation(enum.Enum):
  4150. Portrait = 0x0
  4151. Landscape = 0x1
  4152. class OutOfBoundsPolicy(enum.Enum):
  4153. Reject = 0x0
  4154. Clamp = 0x1
  4155. class Unit(enum.Enum):
  4156. Millimeter = 0x0
  4157. Point = 0x1
  4158. Inch = 0x2
  4159. Pica = 0x3
  4160. Didot = 0x4
  4161. Cicero = 0x5
  4162. @typing.overload
  4163. def __init__(self, /) -> None: ...
  4164. @typing.overload
  4165. def __init__(self, other: PySide6.QtGui.QPageLayout, /) -> None: ...
  4166. @typing.overload
  4167. def __init__(self, pageSize: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, orientation: PySide6.QtGui.QPageLayout.Orientation, margins: PySide6.QtCore.QMarginsF | PySide6.QtCore.QMargins, /, units: PySide6.QtGui.QPageLayout.Unit = ..., minMargins: PySide6.QtCore.QMarginsF | PySide6.QtCore.QMargins = ...) -> None: ...
  4168. def __copy__(self, /) -> typing.Self: ...
  4169. def __eq__(self, rhs: PySide6.QtGui.QPageLayout, /) -> bool: ...
  4170. def __ne__(self, rhs: PySide6.QtGui.QPageLayout, /) -> bool: ...
  4171. def __repr__(self, /) -> str: ...
  4172. @typing.overload
  4173. def fullRect(self, /) -> PySide6.QtCore.QRectF: ...
  4174. @typing.overload
  4175. def fullRect(self, units: PySide6.QtGui.QPageLayout.Unit, /) -> PySide6.QtCore.QRectF: ...
  4176. def fullRectPixels(self, resolution: int, /) -> PySide6.QtCore.QRect: ...
  4177. def fullRectPoints(self, /) -> PySide6.QtCore.QRect: ...
  4178. def isEquivalentTo(self, other: PySide6.QtGui.QPageLayout, /) -> bool: ...
  4179. def isValid(self, /) -> bool: ...
  4180. @typing.overload
  4181. def margins(self, /) -> PySide6.QtCore.QMarginsF: ...
  4182. @typing.overload
  4183. def margins(self, units: PySide6.QtGui.QPageLayout.Unit, /) -> PySide6.QtCore.QMarginsF: ...
  4184. def marginsPixels(self, resolution: int, /) -> PySide6.QtCore.QMargins: ...
  4185. def marginsPoints(self, /) -> PySide6.QtCore.QMargins: ...
  4186. def maximumMargins(self, /) -> PySide6.QtCore.QMarginsF: ...
  4187. def minimumMargins(self, /) -> PySide6.QtCore.QMarginsF: ...
  4188. def mode(self, /) -> PySide6.QtGui.QPageLayout.Mode: ...
  4189. def orientation(self, /) -> PySide6.QtGui.QPageLayout.Orientation: ...
  4190. def pageSize(self, /) -> PySide6.QtGui.QPageSize: ...
  4191. @typing.overload
  4192. def paintRect(self, /) -> PySide6.QtCore.QRectF: ...
  4193. @typing.overload
  4194. def paintRect(self, units: PySide6.QtGui.QPageLayout.Unit, /) -> PySide6.QtCore.QRectF: ...
  4195. def paintRectPixels(self, resolution: int, /) -> PySide6.QtCore.QRect: ...
  4196. def paintRectPoints(self, /) -> PySide6.QtCore.QRect: ...
  4197. def setBottomMargin(self, bottomMargin: float, /, outOfBoundsPolicy: PySide6.QtGui.QPageLayout.OutOfBoundsPolicy = ...) -> bool: ...
  4198. def setLeftMargin(self, leftMargin: float, /, outOfBoundsPolicy: PySide6.QtGui.QPageLayout.OutOfBoundsPolicy = ...) -> bool: ...
  4199. def setMargins(self, margins: PySide6.QtCore.QMarginsF | PySide6.QtCore.QMargins, /, outOfBoundsPolicy: PySide6.QtGui.QPageLayout.OutOfBoundsPolicy = ...) -> bool: ...
  4200. def setMinimumMargins(self, minMargins: PySide6.QtCore.QMarginsF | PySide6.QtCore.QMargins, /) -> None: ...
  4201. def setMode(self, mode: PySide6.QtGui.QPageLayout.Mode, /) -> None: ...
  4202. def setOrientation(self, orientation: PySide6.QtGui.QPageLayout.Orientation, /) -> None: ...
  4203. def setPageSize(self, pageSize: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /, minMargins: PySide6.QtCore.QMarginsF | PySide6.QtCore.QMargins = ...) -> None: ...
  4204. def setRightMargin(self, rightMargin: float, /, outOfBoundsPolicy: PySide6.QtGui.QPageLayout.OutOfBoundsPolicy = ...) -> bool: ...
  4205. def setTopMargin(self, topMargin: float, /, outOfBoundsPolicy: PySide6.QtGui.QPageLayout.OutOfBoundsPolicy = ...) -> bool: ...
  4206. def setUnits(self, units: PySide6.QtGui.QPageLayout.Unit, /) -> None: ...
  4207. def swap(self, other: PySide6.QtGui.QPageLayout, /) -> None: ...
  4208. def units(self, /) -> PySide6.QtGui.QPageLayout.Unit: ...
  4209. class QPageRanges(Shiboken.Object):
  4210. class Range(Shiboken.Object):
  4211. @typing.overload
  4212. def __init__(self, /) -> None: ...
  4213. @typing.overload
  4214. def __init__(self, Range: PySide6.QtGui.QPageRanges.Range, /) -> None: ...
  4215. def __copy__(self, /) -> typing.Self: ...
  4216. def __eq__(self, rhs: PySide6.QtGui.QPageRanges.Range, /) -> bool: ...
  4217. def __lt__(self, rhs: PySide6.QtGui.QPageRanges.Range, /) -> bool: ...
  4218. def __ne__(self, rhs: PySide6.QtGui.QPageRanges.Range, /) -> bool: ...
  4219. def contains(self, pageNumber: int, /) -> bool: ...
  4220. @typing.overload
  4221. def __init__(self, /) -> None: ...
  4222. @typing.overload
  4223. def __init__(self, other: PySide6.QtGui.QPageRanges, /) -> None: ...
  4224. def __copy__(self, /) -> typing.Self: ...
  4225. def __eq__(self, rhs: PySide6.QtGui.QPageRanges, /) -> bool: ...
  4226. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  4227. def __ne__(self, rhs: PySide6.QtGui.QPageRanges, /) -> bool: ...
  4228. def __repr__(self, /) -> str: ...
  4229. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  4230. def addPage(self, pageNumber: int, /) -> None: ...
  4231. def addRange(self, from_: int, to: int, /) -> None: ...
  4232. def clear(self, /) -> None: ...
  4233. def contains(self, pageNumber: int, /) -> bool: ...
  4234. def firstPage(self, /) -> int: ...
  4235. @staticmethod
  4236. def fromString(ranges: str, /) -> PySide6.QtGui.QPageRanges: ...
  4237. def isEmpty(self, /) -> bool: ...
  4238. def lastPage(self, /) -> int: ...
  4239. def swap(self, other: PySide6.QtGui.QPageRanges, /) -> None: ...
  4240. def toRangeList(self, /) -> typing.List[PySide6.QtGui.QPageRanges.Range]: ...
  4241. def toString(self, /) -> str: ...
  4242. class QPageSize(Shiboken.Object):
  4243. class PageSizeId(enum.Enum):
  4244. AnsiA = 0x0
  4245. Letter = 0x0
  4246. Legal = 0x1
  4247. Executive = 0x2
  4248. A0 = 0x3
  4249. A1 = 0x4
  4250. A2 = 0x5
  4251. A3 = 0x6
  4252. A4 = 0x7
  4253. A5 = 0x8
  4254. A6 = 0x9
  4255. A7 = 0xa
  4256. A8 = 0xb
  4257. A9 = 0xc
  4258. A10 = 0xd
  4259. B0 = 0xe
  4260. B1 = 0xf
  4261. B2 = 0x10
  4262. B3 = 0x11
  4263. B4 = 0x12
  4264. B5 = 0x13
  4265. B6 = 0x14
  4266. B7 = 0x15
  4267. B8 = 0x16
  4268. B9 = 0x17
  4269. B10 = 0x18
  4270. C5E = 0x19
  4271. EnvelopeC5 = 0x19
  4272. Comm10E = 0x1a
  4273. Envelope10 = 0x1a
  4274. DLE = 0x1b
  4275. EnvelopeDL = 0x1b
  4276. Folio = 0x1c
  4277. AnsiB = 0x1d
  4278. Ledger = 0x1d
  4279. Tabloid = 0x1e
  4280. Custom = 0x1f
  4281. A3Extra = 0x20
  4282. A4Extra = 0x21
  4283. A4Plus = 0x22
  4284. A4Small = 0x23
  4285. A5Extra = 0x24
  4286. B5Extra = 0x25
  4287. JisB0 = 0x26
  4288. JisB1 = 0x27
  4289. JisB2 = 0x28
  4290. JisB3 = 0x29
  4291. JisB4 = 0x2a
  4292. JisB5 = 0x2b
  4293. JisB6 = 0x2c
  4294. JisB7 = 0x2d
  4295. JisB8 = 0x2e
  4296. JisB9 = 0x2f
  4297. JisB10 = 0x30
  4298. AnsiC = 0x31
  4299. AnsiD = 0x32
  4300. AnsiE = 0x33
  4301. LegalExtra = 0x34
  4302. LetterExtra = 0x35
  4303. LetterPlus = 0x36
  4304. LetterSmall = 0x37
  4305. TabloidExtra = 0x38
  4306. ArchA = 0x39
  4307. ArchB = 0x3a
  4308. ArchC = 0x3b
  4309. ArchD = 0x3c
  4310. ArchE = 0x3d
  4311. Imperial7x9 = 0x3e
  4312. Imperial8x10 = 0x3f
  4313. Imperial9x11 = 0x40
  4314. Imperial9x12 = 0x41
  4315. Imperial10x11 = 0x42
  4316. Imperial10x13 = 0x43
  4317. Imperial10x14 = 0x44
  4318. Imperial12x11 = 0x45
  4319. Imperial15x11 = 0x46
  4320. ExecutiveStandard = 0x47
  4321. Note = 0x48
  4322. Quarto = 0x49
  4323. Statement = 0x4a
  4324. SuperA = 0x4b
  4325. SuperB = 0x4c
  4326. Postcard = 0x4d
  4327. DoublePostcard = 0x4e
  4328. Prc16K = 0x4f
  4329. Prc32K = 0x50
  4330. Prc32KBig = 0x51
  4331. FanFoldUS = 0x52
  4332. FanFoldGerman = 0x53
  4333. FanFoldGermanLegal = 0x54
  4334. EnvelopeB4 = 0x55
  4335. EnvelopeB5 = 0x56
  4336. EnvelopeB6 = 0x57
  4337. EnvelopeC0 = 0x58
  4338. EnvelopeC1 = 0x59
  4339. EnvelopeC2 = 0x5a
  4340. EnvelopeC3 = 0x5b
  4341. EnvelopeC4 = 0x5c
  4342. EnvelopeC6 = 0x5d
  4343. EnvelopeC65 = 0x5e
  4344. EnvelopeC7 = 0x5f
  4345. Envelope9 = 0x60
  4346. Envelope11 = 0x61
  4347. Envelope12 = 0x62
  4348. Envelope14 = 0x63
  4349. EnvelopeMonarch = 0x64
  4350. EnvelopePersonal = 0x65
  4351. EnvelopeChou3 = 0x66
  4352. EnvelopeChou4 = 0x67
  4353. EnvelopeInvite = 0x68
  4354. EnvelopeItalian = 0x69
  4355. EnvelopeKaku2 = 0x6a
  4356. EnvelopeKaku3 = 0x6b
  4357. EnvelopePrc1 = 0x6c
  4358. EnvelopePrc2 = 0x6d
  4359. EnvelopePrc3 = 0x6e
  4360. EnvelopePrc4 = 0x6f
  4361. EnvelopePrc5 = 0x70
  4362. EnvelopePrc6 = 0x71
  4363. EnvelopePrc7 = 0x72
  4364. EnvelopePrc8 = 0x73
  4365. EnvelopePrc9 = 0x74
  4366. EnvelopePrc10 = 0x75
  4367. EnvelopeYou4 = 0x76
  4368. LastPageSize = 0x76
  4369. class SizeMatchPolicy(enum.Enum):
  4370. FuzzyMatch = 0x0
  4371. FuzzyOrientationMatch = 0x1
  4372. ExactMatch = 0x2
  4373. class Unit(enum.Enum):
  4374. Millimeter = 0x0
  4375. Point = 0x1
  4376. Inch = 0x2
  4377. Pica = 0x3
  4378. Didot = 0x4
  4379. Cicero = 0x5
  4380. @typing.overload
  4381. def __init__(self, /) -> None: ...
  4382. @typing.overload
  4383. def __init__(self, pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> None: ...
  4384. @typing.overload
  4385. def __init__(self, other: PySide6.QtGui.QPageSize, /) -> None: ...
  4386. @typing.overload
  4387. def __init__(self, pointSize: PySide6.QtCore.QSize, /, name: str = ..., matchPolicy: PySide6.QtGui.QPageSize.SizeMatchPolicy = ...) -> None: ...
  4388. @typing.overload
  4389. def __init__(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, units: PySide6.QtGui.QPageSize.Unit, /, name: str = ..., matchPolicy: PySide6.QtGui.QPageSize.SizeMatchPolicy = ...) -> None: ...
  4390. def __copy__(self, /) -> typing.Self: ...
  4391. def __eq__(self, rhs: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /) -> bool: ...
  4392. def __ne__(self, rhs: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /) -> bool: ...
  4393. def __repr__(self, /) -> str: ...
  4394. @typing.overload # type: ignore[misc, overload-cannot-match]
  4395. @staticmethod
  4396. def definitionSize(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> PySide6.QtCore.QSizeF: ... # type: ignore[misc, overload-cannot-match]
  4397. @typing.overload # type: ignore[misc, overload-cannot-match]
  4398. def definitionSize(self, /) -> PySide6.QtCore.QSizeF: ... # type: ignore[misc, overload-cannot-match]
  4399. @typing.overload # type: ignore[misc, overload-cannot-match]
  4400. @staticmethod
  4401. def definitionUnits(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> PySide6.QtGui.QPageSize.Unit: ... # type: ignore[misc, overload-cannot-match]
  4402. @typing.overload # type: ignore[misc, overload-cannot-match]
  4403. def definitionUnits(self, /) -> PySide6.QtGui.QPageSize.Unit: ... # type: ignore[misc, overload-cannot-match]
  4404. @typing.overload # type: ignore[misc, overload-cannot-match]
  4405. @staticmethod
  4406. def id(pointSize: PySide6.QtCore.QSize, /, matchPolicy: PySide6.QtGui.QPageSize.SizeMatchPolicy = ...) -> PySide6.QtGui.QPageSize.PageSizeId: ... # type: ignore[misc, overload-cannot-match]
  4407. @typing.overload # type: ignore[misc, overload-cannot-match]
  4408. def id(self, /) -> PySide6.QtGui.QPageSize.PageSizeId: ... # type: ignore[misc, overload-cannot-match]
  4409. @typing.overload # type: ignore[misc, overload-cannot-match]
  4410. @staticmethod
  4411. def id(size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, units: PySide6.QtGui.QPageSize.Unit, /, matchPolicy: PySide6.QtGui.QPageSize.SizeMatchPolicy = ...) -> PySide6.QtGui.QPageSize.PageSizeId: ... # type: ignore[misc, overload-cannot-match]
  4412. @typing.overload # type: ignore[misc, overload-cannot-match]
  4413. @staticmethod
  4414. def id(windowsId: int, /) -> PySide6.QtGui.QPageSize.PageSizeId: ... # type: ignore[misc, overload-cannot-match]
  4415. def isEquivalentTo(self, other: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /) -> bool: ...
  4416. def isValid(self, /) -> bool: ...
  4417. @typing.overload # type: ignore[misc, overload-cannot-match]
  4418. @staticmethod
  4419. def key(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> str: ... # type: ignore[misc, overload-cannot-match]
  4420. @typing.overload # type: ignore[misc, overload-cannot-match]
  4421. def key(self, /) -> str: ... # type: ignore[misc, overload-cannot-match]
  4422. @typing.overload # type: ignore[misc, overload-cannot-match]
  4423. @staticmethod
  4424. def name(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> str: ... # type: ignore[misc, overload-cannot-match]
  4425. @typing.overload # type: ignore[misc, overload-cannot-match]
  4426. def name(self, /) -> str: ... # type: ignore[misc, overload-cannot-match]
  4427. def rect(self, units: PySide6.QtGui.QPageSize.Unit, /) -> PySide6.QtCore.QRectF: ...
  4428. def rectPixels(self, resolution: int, /) -> PySide6.QtCore.QRect: ...
  4429. def rectPoints(self, /) -> PySide6.QtCore.QRect: ...
  4430. @typing.overload # type: ignore[misc, overload-cannot-match]
  4431. @staticmethod
  4432. def size(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, units: PySide6.QtGui.QPageSize.Unit, /) -> PySide6.QtCore.QSizeF: ... # type: ignore[misc, overload-cannot-match]
  4433. @typing.overload # type: ignore[misc, overload-cannot-match]
  4434. def size(self, units: PySide6.QtGui.QPageSize.Unit, /) -> PySide6.QtCore.QSizeF: ... # type: ignore[misc, overload-cannot-match]
  4435. @typing.overload # type: ignore[misc, overload-cannot-match]
  4436. @staticmethod
  4437. def sizePixels(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, resolution: int, /) -> PySide6.QtCore.QSize: ... # type: ignore[misc, overload-cannot-match]
  4438. @typing.overload # type: ignore[misc, overload-cannot-match]
  4439. def sizePixels(self, resolution: int, /) -> PySide6.QtCore.QSize: ... # type: ignore[misc, overload-cannot-match]
  4440. @typing.overload # type: ignore[misc, overload-cannot-match]
  4441. @staticmethod
  4442. def sizePoints(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> PySide6.QtCore.QSize: ... # type: ignore[misc, overload-cannot-match]
  4443. @typing.overload # type: ignore[misc, overload-cannot-match]
  4444. def sizePoints(self, /) -> PySide6.QtCore.QSize: ... # type: ignore[misc, overload-cannot-match]
  4445. def swap(self, other: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /) -> None: ...
  4446. @typing.overload # type: ignore[misc, overload-cannot-match]
  4447. @staticmethod
  4448. def windowsId(pageSizeId: PySide6.QtGui.QPageSize.PageSizeId, /) -> int: ... # type: ignore[misc, overload-cannot-match]
  4449. @typing.overload # type: ignore[misc, overload-cannot-match]
  4450. def windowsId(self, /) -> int: ... # type: ignore[misc, overload-cannot-match]
  4451. class QPagedPaintDevice(PySide6.QtGui.QPaintDevice):
  4452. class PdfVersion(enum.Enum):
  4453. PdfVersion_1_4 = 0x0
  4454. PdfVersion_A1b = 0x1
  4455. PdfVersion_1_6 = 0x2
  4456. PdfVersion_X4 = 0x3
  4457. def newPage(self, /) -> bool: ...
  4458. def pageLayout(self, /) -> PySide6.QtGui.QPageLayout: ...
  4459. def pageRanges(self, /) -> PySide6.QtGui.QPageRanges: ...
  4460. def setPageLayout(self, pageLayout: PySide6.QtGui.QPageLayout, /) -> bool: ...
  4461. def setPageMargins(self, margins: PySide6.QtCore.QMarginsF | PySide6.QtCore.QMargins, /, units: PySide6.QtGui.QPageLayout.Unit = ...) -> bool: ...
  4462. def setPageOrientation(self, orientation: PySide6.QtGui.QPageLayout.Orientation, /) -> bool: ...
  4463. def setPageRanges(self, ranges: PySide6.QtGui.QPageRanges, /) -> None: ...
  4464. def setPageSize(self, pageSize: PySide6.QtGui.QPageSize | PySide6.QtGui.QPageSize.PageSizeId | PySide6.QtCore.QSize, /) -> bool: ...
  4465. class QPaintDevice(Shiboken.Object):
  4466. class PaintDeviceMetric(enum.Enum):
  4467. PdmWidth = 0x1
  4468. PdmHeight = 0x2
  4469. PdmWidthMM = 0x3
  4470. PdmHeightMM = 0x4
  4471. PdmNumColors = 0x5
  4472. PdmDepth = 0x6
  4473. PdmDpiX = 0x7
  4474. PdmDpiY = 0x8
  4475. PdmPhysicalDpiX = 0x9
  4476. PdmPhysicalDpiY = 0xa
  4477. PdmDevicePixelRatio = 0xb
  4478. PdmDevicePixelRatioScaled = 0xc
  4479. PdmDevicePixelRatioF_EncodedA = 0xd
  4480. PdmDevicePixelRatioF_EncodedB = 0xe
  4481. def __init__(self, /) -> None: ...
  4482. def colorCount(self, /) -> int: ...
  4483. def depth(self, /) -> int: ...
  4484. def devType(self, /) -> int: ...
  4485. def devicePixelRatio(self, /) -> float: ...
  4486. def devicePixelRatioF(self, /) -> float: ...
  4487. @staticmethod
  4488. def devicePixelRatioFScale() -> float: ...
  4489. @staticmethod
  4490. def encodeMetricF(metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, value: float, /) -> int: ...
  4491. def height(self, /) -> int: ...
  4492. def heightMM(self, /) -> int: ...
  4493. def initPainter(self, painter: PySide6.QtGui.QPainter, /) -> None: ...
  4494. def logicalDpiX(self, /) -> int: ...
  4495. def logicalDpiY(self, /) -> int: ...
  4496. def metric(self, metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  4497. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  4498. def paintingActive(self, /) -> bool: ...
  4499. def physicalDpiX(self, /) -> int: ...
  4500. def physicalDpiY(self, /) -> int: ...
  4501. def redirected(self, offset: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QPaintDevice: ...
  4502. def sharedPainter(self, /) -> PySide6.QtGui.QPainter: ...
  4503. def width(self, /) -> int: ...
  4504. def widthMM(self, /) -> int: ...
  4505. class QPaintDeviceWindow(PySide6.QtGui.QWindow, PySide6.QtGui.QPaintDevice):
  4506. def event(self, event: PySide6.QtCore.QEvent, /) -> bool: ...
  4507. def exposeEvent(self, arg__1: PySide6.QtGui.QExposeEvent, /) -> None: ...
  4508. def metric(self, metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  4509. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  4510. def paintEvent(self, event: PySide6.QtGui.QPaintEvent, /) -> None: ...
  4511. @typing.overload
  4512. def update(self, /) -> None: ...
  4513. @typing.overload
  4514. def update(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  4515. @typing.overload
  4516. def update(self, region: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  4517. class QPaintEngine(Shiboken.Object):
  4518. class DirtyFlag(enum.Flag):
  4519. DirtyPen = 0x1
  4520. DirtyBrush = 0x2
  4521. DirtyBrushOrigin = 0x4
  4522. DirtyFont = 0x8
  4523. DirtyBackground = 0x10
  4524. DirtyBackgroundMode = 0x20
  4525. DirtyTransform = 0x40
  4526. DirtyClipRegion = 0x80
  4527. DirtyClipPath = 0x100
  4528. DirtyHints = 0x200
  4529. DirtyCompositionMode = 0x400
  4530. DirtyClipEnabled = 0x800
  4531. DirtyOpacity = 0x1000
  4532. AllDirty = 0xffff
  4533. class PaintEngineFeature(enum.Flag):
  4534. AllFeatures = -1
  4535. PrimitiveTransform = 0x1
  4536. PatternTransform = 0x2
  4537. PixmapTransform = 0x4
  4538. PatternBrush = 0x8
  4539. LinearGradientFill = 0x10
  4540. RadialGradientFill = 0x20
  4541. ConicalGradientFill = 0x40
  4542. AlphaBlend = 0x80
  4543. PorterDuff = 0x100
  4544. PainterPaths = 0x200
  4545. Antialiasing = 0x400
  4546. BrushStroke = 0x800
  4547. ConstantOpacity = 0x1000
  4548. MaskedBrush = 0x2000
  4549. PerspectiveTransform = 0x4000
  4550. BlendModes = 0x8000
  4551. ObjectBoundingModeGradients = 0x10000
  4552. RasterOpModes = 0x20000
  4553. PaintOutsidePaintEvent = 0x20000000
  4554. class PolygonDrawMode(enum.Enum):
  4555. OddEvenMode = 0x0
  4556. WindingMode = 0x1
  4557. ConvexMode = 0x2
  4558. PolylineMode = 0x3
  4559. class Type(enum.Enum):
  4560. X11 = 0x0
  4561. Windows = 0x1
  4562. QuickDraw = 0x2
  4563. CoreGraphics = 0x3
  4564. MacPrinter = 0x4
  4565. QWindowSystem = 0x5
  4566. OpenGL = 0x6
  4567. Picture = 0x7
  4568. SVG = 0x8
  4569. Raster = 0x9
  4570. Direct3D = 0xa
  4571. Pdf = 0xb
  4572. OpenVG = 0xc
  4573. OpenGL2 = 0xd
  4574. PaintBuffer = 0xe
  4575. Blitter = 0xf
  4576. Direct2D = 0x10
  4577. User = 0x32
  4578. MaxUser = 0x64
  4579. def __init__(self, /, features: PySide6.QtGui.QPaintEngine.PaintEngineFeature = ...) -> None: ...
  4580. def begin(self, pdev: PySide6.QtGui.QPaintDevice, /) -> bool: ...
  4581. def clearDirty(self, df: PySide6.QtGui.QPaintEngine.DirtyFlag, /) -> None: ...
  4582. def coordinateOffset(self, /) -> PySide6.QtCore.QPoint: ...
  4583. def createPixmap(self, size: PySide6.QtCore.QSize, /) -> PySide6.QtGui.QPixmap: ...
  4584. def createPixmapFromImage(self, image: PySide6.QtGui.QImage, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QPixmap: ...
  4585. @typing.overload
  4586. def drawEllipse(self, r: PySide6.QtCore.QRect, /) -> None: ...
  4587. @typing.overload
  4588. def drawEllipse(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4589. def drawImage(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, pm: PySide6.QtGui.QImage, sr: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  4590. def drawLines(self, lines: collections.abc.Iterable, /) -> None: ...
  4591. def drawPath(self, path: PySide6.QtGui.QPainterPath, /) -> None: ...
  4592. def drawPixmap(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sr: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4593. def drawPoints(self, points: collections.abc.Iterable, /) -> None: ...
  4594. def drawPolygon(self, points: collections.abc.Iterable, mode: PySide6.QtGui.QPaintEngine.PolygonDrawMode, /) -> None: ...
  4595. def drawRects(self, rects: collections.abc.Iterable, /) -> None: ...
  4596. def drawTextItem(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, textItem: PySide6.QtGui.QTextItem, /) -> None: ...
  4597. def drawTiledPixmap(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, s: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  4598. def end(self, /) -> bool: ...
  4599. def hasFeature(self, feature: PySide6.QtGui.QPaintEngine.PaintEngineFeature, /) -> bool: ...
  4600. def isActive(self, /) -> bool: ...
  4601. def isExtended(self, /) -> bool: ...
  4602. def paintDevice(self, /) -> PySide6.QtGui.QPaintDevice: ...
  4603. def painter(self, /) -> PySide6.QtGui.QPainter: ...
  4604. def setActive(self, newState: bool, /) -> None: ...
  4605. def setDirty(self, df: PySide6.QtGui.QPaintEngine.DirtyFlag, /) -> None: ...
  4606. def setSystemClip(self, baseClip: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  4607. def setSystemRect(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  4608. def syncState(self, /) -> None: ...
  4609. def systemClip(self, /) -> PySide6.QtGui.QRegion: ...
  4610. def systemRect(self, /) -> PySide6.QtCore.QRect: ...
  4611. def testDirty(self, df: PySide6.QtGui.QPaintEngine.DirtyFlag, /) -> bool: ...
  4612. def type(self, /) -> PySide6.QtGui.QPaintEngine.Type: ...
  4613. def updateState(self, state: PySide6.QtGui.QPaintEngineState, /) -> None: ...
  4614. class QPaintEngineState(Shiboken.Object):
  4615. def __init__(self, /) -> None: ...
  4616. def backgroundBrush(self, /) -> PySide6.QtGui.QBrush: ...
  4617. def backgroundMode(self, /) -> PySide6.QtCore.Qt.BGMode: ...
  4618. def brush(self, /) -> PySide6.QtGui.QBrush: ...
  4619. def brushNeedsResolving(self, /) -> bool: ...
  4620. def brushOrigin(self, /) -> PySide6.QtCore.QPointF: ...
  4621. def clipOperation(self, /) -> PySide6.QtCore.Qt.ClipOperation: ...
  4622. def clipPath(self, /) -> PySide6.QtGui.QPainterPath: ...
  4623. def clipRegion(self, /) -> PySide6.QtGui.QRegion: ...
  4624. def compositionMode(self, /) -> PySide6.QtGui.QPainter.CompositionMode: ...
  4625. def font(self, /) -> PySide6.QtGui.QFont: ...
  4626. def isClipEnabled(self, /) -> bool: ...
  4627. def opacity(self, /) -> float: ...
  4628. def painter(self, /) -> PySide6.QtGui.QPainter: ...
  4629. def pen(self, /) -> PySide6.QtGui.QPen: ...
  4630. def penNeedsResolving(self, /) -> bool: ...
  4631. def renderHints(self, /) -> PySide6.QtGui.QPainter.RenderHint: ...
  4632. def state(self, /) -> PySide6.QtGui.QPaintEngine.DirtyFlag: ...
  4633. def transform(self, /) -> PySide6.QtGui.QTransform: ...
  4634. class QPaintEvent(PySide6.QtCore.QEvent):
  4635. @typing.overload
  4636. def __init__(self, arg__1: PySide6.QtGui.QPaintEvent, /) -> None: ...
  4637. @typing.overload
  4638. def __init__(self, paintRect: PySide6.QtCore.QRect, /) -> None: ...
  4639. @typing.overload
  4640. def __init__(self, paintRegion: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  4641. def clone(self, /) -> PySide6.QtGui.QPaintEvent: ...
  4642. def rect(self, /) -> PySide6.QtCore.QRect: ...
  4643. def region(self, /) -> PySide6.QtGui.QRegion: ...
  4644. class QPainter(Shiboken.Object):
  4645. class CompositionMode(enum.Enum):
  4646. CompositionMode_SourceOver = 0x0
  4647. CompositionMode_DestinationOver = 0x1
  4648. CompositionMode_Clear = 0x2
  4649. CompositionMode_Source = 0x3
  4650. CompositionMode_Destination = 0x4
  4651. CompositionMode_SourceIn = 0x5
  4652. CompositionMode_DestinationIn = 0x6
  4653. CompositionMode_SourceOut = 0x7
  4654. CompositionMode_DestinationOut = 0x8
  4655. CompositionMode_SourceAtop = 0x9
  4656. CompositionMode_DestinationAtop = 0xa
  4657. CompositionMode_Xor = 0xb
  4658. CompositionMode_Plus = 0xc
  4659. CompositionMode_Multiply = 0xd
  4660. CompositionMode_Screen = 0xe
  4661. CompositionMode_Overlay = 0xf
  4662. CompositionMode_Darken = 0x10
  4663. CompositionMode_Lighten = 0x11
  4664. CompositionMode_ColorDodge = 0x12
  4665. CompositionMode_ColorBurn = 0x13
  4666. CompositionMode_HardLight = 0x14
  4667. CompositionMode_SoftLight = 0x15
  4668. CompositionMode_Difference = 0x16
  4669. CompositionMode_Exclusion = 0x17
  4670. RasterOp_SourceOrDestination = 0x18
  4671. RasterOp_SourceAndDestination = 0x19
  4672. RasterOp_SourceXorDestination = 0x1a
  4673. RasterOp_NotSourceAndNotDestination = 0x1b
  4674. RasterOp_NotSourceOrNotDestination = 0x1c
  4675. RasterOp_NotSourceXorDestination = 0x1d
  4676. RasterOp_NotSource = 0x1e
  4677. RasterOp_NotSourceAndDestination = 0x1f
  4678. RasterOp_SourceAndNotDestination = 0x20
  4679. RasterOp_NotSourceOrDestination = 0x21
  4680. RasterOp_SourceOrNotDestination = 0x22
  4681. RasterOp_ClearDestination = 0x23
  4682. RasterOp_SetDestination = 0x24
  4683. RasterOp_NotDestination = 0x25
  4684. NCompositionModes = 0x26
  4685. class PixmapFragment(Shiboken.Object):
  4686. @typing.overload
  4687. def __init__(self, /) -> None: ...
  4688. @typing.overload
  4689. def __init__(self, PixmapFragment: PySide6.QtGui.QPainter.PixmapFragment, /) -> None: ...
  4690. def __copy__(self, /) -> typing.Self: ...
  4691. @staticmethod
  4692. def create(pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, sourceRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, scaleX: float = ..., scaleY: float = ..., rotation: float | None = ..., opacity: float = ...) -> PySide6.QtGui.QPainter.PixmapFragment: ...
  4693. class PixmapFragmentHint(enum.Flag):
  4694. OpaqueHint = 0x1
  4695. class RenderHint(enum.Flag):
  4696. Antialiasing = 0x1
  4697. TextAntialiasing = 0x2
  4698. SmoothPixmapTransform = 0x4
  4699. VerticalSubpixelPositioning = 0x8
  4700. LosslessImageRendering = 0x40
  4701. NonCosmeticBrushPatterns = 0x80
  4702. @typing.overload
  4703. def __init__(self, /) -> None: ...
  4704. @typing.overload
  4705. def __init__(self, arg__1: PySide6.QtGui.QPaintDevice, /) -> None: ...
  4706. def __enter__(self, /) -> PySide6.QtGui.QPainter: ...
  4707. def __exit__(self, arg__1: object, arg__2: object, arg__3: object, /) -> None: ...
  4708. def background(self, /) -> PySide6.QtGui.QBrush: ...
  4709. def backgroundMode(self, /) -> PySide6.QtCore.Qt.BGMode: ...
  4710. def begin(self, arg__1: PySide6.QtGui.QPaintDevice, /) -> bool: ...
  4711. def beginNativePainting(self, /) -> None: ...
  4712. @typing.overload
  4713. def boundingRect(self, rect: PySide6.QtCore.QRect, flags: int, text: str, /) -> PySide6.QtCore.QRect: ...
  4714. @typing.overload
  4715. def boundingRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, text: str, /, o: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag = ...) -> PySide6.QtCore.QRectF: ...
  4716. @typing.overload
  4717. def boundingRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, flags: int, text: str, /) -> PySide6.QtCore.QRectF: ...
  4718. @typing.overload
  4719. def boundingRect(self, x: int, y: int, w: int, h: int, flags: int, text: str, /) -> PySide6.QtCore.QRect: ...
  4720. def brush(self, /) -> PySide6.QtGui.QBrush: ...
  4721. def brushOrigin(self, /) -> PySide6.QtCore.QPoint: ...
  4722. def clipBoundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  4723. def clipPath(self, /) -> PySide6.QtGui.QPainterPath: ...
  4724. def clipRegion(self, /) -> PySide6.QtGui.QRegion: ...
  4725. def combinedTransform(self, /) -> PySide6.QtGui.QTransform: ...
  4726. def compositionMode(self, /) -> PySide6.QtGui.QPainter.CompositionMode: ...
  4727. def device(self, /) -> PySide6.QtGui.QPaintDevice: ...
  4728. def deviceTransform(self, /) -> PySide6.QtGui.QTransform: ...
  4729. @typing.overload
  4730. def drawArc(self, arg__1: PySide6.QtCore.QRect, a: int, alen: int, /) -> None: ...
  4731. @typing.overload
  4732. def drawArc(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, a: int, alen: int, /) -> None: ...
  4733. @typing.overload
  4734. def drawArc(self, x: int, y: int, w: int, h: int, a: int, alen: int, /) -> None: ...
  4735. @typing.overload
  4736. def drawChord(self, arg__1: PySide6.QtCore.QRect, a: int, alen: int, /) -> None: ...
  4737. @typing.overload
  4738. def drawChord(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, a: int, alen: int, /) -> None: ...
  4739. @typing.overload
  4740. def drawChord(self, x: int, y: int, w: int, h: int, a: int, alen: int, /) -> None: ...
  4741. @typing.overload
  4742. def drawConvexPolygon(self, points: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> None: ...
  4743. @typing.overload
  4744. def drawConvexPolygon(self, points: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  4745. @typing.overload
  4746. def drawConvexPolygon(self, polygon: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> None: ...
  4747. @typing.overload
  4748. def drawConvexPolygon(self, polygon: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> None: ...
  4749. @typing.overload
  4750. def drawEllipse(self, center: PySide6.QtCore.QPoint, rx: int, ry: int, /) -> None: ...
  4751. @typing.overload
  4752. def drawEllipse(self, r: PySide6.QtCore.QRect, /) -> None: ...
  4753. @typing.overload
  4754. def drawEllipse(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4755. @typing.overload
  4756. def drawEllipse(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, rx: float, ry: float, /) -> None: ...
  4757. @typing.overload
  4758. def drawEllipse(self, x: int, y: int, w: int, h: int, /) -> None: ...
  4759. def drawGlyphRun(self, position: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, glyphRun: PySide6.QtGui.QGlyphRun, /) -> None: ...
  4760. @typing.overload
  4761. def drawImage(self, p: PySide6.QtCore.QPoint, image: PySide6.QtGui.QImage, /) -> None: ...
  4762. @typing.overload
  4763. def drawImage(self, p: PySide6.QtCore.QPoint, image: PySide6.QtGui.QImage, sr: PySide6.QtCore.QRect, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  4764. @typing.overload
  4765. def drawImage(self, r: PySide6.QtCore.QRect, image: PySide6.QtGui.QImage, /) -> None: ...
  4766. @typing.overload
  4767. def drawImage(self, targetRect: PySide6.QtCore.QRect, image: PySide6.QtGui.QImage, sourceRect: PySide6.QtCore.QRect, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  4768. @typing.overload
  4769. def drawImage(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, image: PySide6.QtGui.QImage, /) -> None: ...
  4770. @typing.overload
  4771. def drawImage(self, targetRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, image: PySide6.QtGui.QImage, sourceRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  4772. @typing.overload
  4773. def drawImage(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, image: PySide6.QtGui.QImage, /) -> None: ...
  4774. @typing.overload
  4775. def drawImage(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, image: PySide6.QtGui.QImage, sr: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  4776. @typing.overload
  4777. def drawImage(self, x: int, y: int, image: PySide6.QtGui.QImage, /, sx: int | None = ..., sy: int | None = ..., sw: int = ..., sh: int = ..., flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  4778. @typing.overload
  4779. def drawLine(self, line: PySide6.QtCore.QLine, /) -> None: ...
  4780. @typing.overload
  4781. def drawLine(self, p1: PySide6.QtCore.QPoint, p2: PySide6.QtCore.QPoint, /) -> None: ...
  4782. @typing.overload
  4783. def drawLine(self, line: PySide6.QtCore.QLineF | PySide6.QtCore.QLine, /) -> None: ...
  4784. @typing.overload
  4785. def drawLine(self, p1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, p2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  4786. @typing.overload
  4787. def drawLine(self, x1: int, y1: int, x2: int, y2: int, /) -> None: ...
  4788. @typing.overload
  4789. def drawLines(self, lines: PySide6.QtCore.QLine, lineCount: int, /) -> None: ...
  4790. @typing.overload
  4791. def drawLines(self, pointPairs: PySide6.QtCore.QPoint, lineCount: int, /) -> None: ...
  4792. @typing.overload
  4793. def drawLines(self, lines: collections.abc.Sequence[PySide6.QtCore.QLine], /) -> None: ...
  4794. @typing.overload
  4795. def drawLines(self, lines: collections.abc.Sequence[PySide6.QtCore.QLineF], /) -> None: ...
  4796. @typing.overload
  4797. def drawLines(self, pointPairs: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> None: ...
  4798. @typing.overload
  4799. def drawLines(self, pointPairs: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  4800. @typing.overload
  4801. def drawLines(self, lines: PySide6.QtCore.QLineF | PySide6.QtCore.QLine, lineCount: int, /) -> None: ...
  4802. @typing.overload
  4803. def drawLines(self, pointPairs: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, lineCount: int, /) -> None: ...
  4804. def drawPath(self, path: PySide6.QtGui.QPainterPath, /) -> None: ...
  4805. @typing.overload
  4806. def drawPicture(self, p: PySide6.QtCore.QPoint, picture: PySide6.QtGui.QPicture | int, /) -> None: ...
  4807. @typing.overload
  4808. def drawPicture(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, picture: PySide6.QtGui.QPicture | int, /) -> None: ...
  4809. @typing.overload
  4810. def drawPicture(self, x: int, y: int, picture: PySide6.QtGui.QPicture | int, /) -> None: ...
  4811. @typing.overload
  4812. def drawPie(self, arg__1: PySide6.QtCore.QRect, a: int, alen: int, /) -> None: ...
  4813. @typing.overload
  4814. def drawPie(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, a: int, alen: int, /) -> None: ...
  4815. @typing.overload
  4816. def drawPie(self, x: int, y: int, w: int, h: int, a: int, alen: int, /) -> None: ...
  4817. @typing.overload
  4818. def drawPixmap(self, p: PySide6.QtCore.QPoint, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  4819. @typing.overload
  4820. def drawPixmap(self, p: PySide6.QtCore.QPoint, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sr: PySide6.QtCore.QRect, /) -> None: ...
  4821. @typing.overload
  4822. def drawPixmap(self, r: PySide6.QtCore.QRect, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  4823. @typing.overload
  4824. def drawPixmap(self, targetRect: PySide6.QtCore.QRect, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sourceRect: PySide6.QtCore.QRect, /) -> None: ...
  4825. @typing.overload
  4826. def drawPixmap(self, targetRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sourceRect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4827. @typing.overload
  4828. def drawPixmap(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  4829. @typing.overload
  4830. def drawPixmap(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sr: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4831. @typing.overload
  4832. def drawPixmap(self, x: int, y: int, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  4833. @typing.overload
  4834. def drawPixmap(self, x: int, y: int, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sx: int, sy: int, sw: int, sh: int, /) -> None: ...
  4835. @typing.overload
  4836. def drawPixmap(self, x: int, y: int, w: int, h: int, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  4837. @typing.overload
  4838. def drawPixmap(self, x: int, y: int, w: int, h: int, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, sx: int, sy: int, sw: int, sh: int, /) -> None: ...
  4839. def drawPixmapFragments(self, fragments: PySide6.QtGui.QPainter.PixmapFragment, fragmentCount: int, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /, hints: PySide6.QtGui.QPainter.PixmapFragmentHint = ...) -> None: ...
  4840. @typing.overload
  4841. def drawPoint(self, p: PySide6.QtCore.QPoint, /) -> None: ...
  4842. @typing.overload
  4843. def drawPoint(self, pt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  4844. @typing.overload
  4845. def drawPoint(self, x: int, y: int, /) -> None: ...
  4846. @typing.overload
  4847. def drawPoints(self, points: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> None: ...
  4848. @typing.overload
  4849. def drawPoints(self, points: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  4850. @typing.overload
  4851. def drawPoints(self, points: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, pointCount: int, /) -> None: ...
  4852. @typing.overload
  4853. def drawPoints(self, points: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> None: ...
  4854. @typing.overload
  4855. def drawPoints(self, points: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> None: ...
  4856. def drawPointsNp(self, x: collections.abc.Sequence[typing.Any], y: collections.abc.Sequence[typing.Any], /) -> None: ...
  4857. @typing.overload
  4858. def drawPolygon(self, points: collections.abc.Sequence[PySide6.QtCore.QPoint], fill_rule: PySide6.QtCore.Qt.FillRule, /) -> None: ...
  4859. @typing.overload
  4860. def drawPolygon(self, points: collections.abc.Sequence[PySide6.QtCore.QPointF], fill_rule: PySide6.QtCore.Qt.FillRule, /) -> None: ...
  4861. @typing.overload
  4862. def drawPolygon(self, polygon: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /, fillRule: PySide6.QtCore.Qt.FillRule = ...) -> None: ...
  4863. @typing.overload
  4864. def drawPolygon(self, polygon: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /, fillRule: PySide6.QtCore.Qt.FillRule = ...) -> None: ...
  4865. @typing.overload
  4866. def drawPolyline(self, points: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> None: ...
  4867. @typing.overload
  4868. def drawPolyline(self, points: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  4869. @typing.overload
  4870. def drawPolyline(self, polygon: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> None: ...
  4871. @typing.overload
  4872. def drawPolyline(self, polyline: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> None: ...
  4873. @typing.overload
  4874. def drawRect(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  4875. @typing.overload
  4876. def drawRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4877. @typing.overload
  4878. def drawRect(self, x1: int, y1: int, w: int, h: int, /) -> None: ...
  4879. @typing.overload
  4880. def drawRects(self, rects: PySide6.QtCore.QRect, rectCount: int, /) -> None: ...
  4881. @typing.overload
  4882. def drawRects(self, rectangles: collections.abc.Sequence[PySide6.QtCore.QRect], /) -> None: ...
  4883. @typing.overload
  4884. def drawRects(self, rectangles: collections.abc.Sequence[PySide6.QtCore.QRectF], /) -> None: ...
  4885. @typing.overload
  4886. def drawRects(self, rects: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, rectCount: int, /) -> None: ...
  4887. @typing.overload
  4888. def drawRoundedRect(self, rect: PySide6.QtCore.QRect, xRadius: float, yRadius: float, /, mode: PySide6.QtCore.Qt.SizeMode = ...) -> None: ...
  4889. @typing.overload
  4890. def drawRoundedRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, xRadius: float, yRadius: float, /, mode: PySide6.QtCore.Qt.SizeMode = ...) -> None: ...
  4891. @typing.overload
  4892. def drawRoundedRect(self, x: int, y: int, w: int, h: int, xRadius: float, yRadius: float, /, mode: PySide6.QtCore.Qt.SizeMode = ...) -> None: ...
  4893. @typing.overload
  4894. def drawStaticText(self, topLeftPosition: PySide6.QtCore.QPoint, staticText: PySide6.QtGui.QStaticText, /) -> None: ...
  4895. @typing.overload
  4896. def drawStaticText(self, topLeftPosition: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, staticText: PySide6.QtGui.QStaticText, /) -> None: ...
  4897. @typing.overload
  4898. def drawStaticText(self, left: int, top: int, staticText: PySide6.QtGui.QStaticText, /) -> None: ...
  4899. @typing.overload
  4900. def drawText(self, p: PySide6.QtCore.QPoint, s: str, /) -> None: ...
  4901. @typing.overload
  4902. def drawText(self, r: PySide6.QtCore.QRect, flags: int, text: str, /) -> PySide6.QtCore.QRect: ...
  4903. @typing.overload
  4904. def drawText(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, text: str, /, o: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag = ...) -> None: ...
  4905. @typing.overload
  4906. def drawText(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, flags: int, text: str, /) -> PySide6.QtCore.QRectF: ...
  4907. @typing.overload
  4908. def drawText(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, s: str, /) -> None: ...
  4909. @typing.overload
  4910. def drawText(self, x: int, y: int, s: str, /) -> None: ...
  4911. @typing.overload
  4912. def drawText(self, x: int, y: int, w: int, h: int, flags: int, text: str, /) -> None: ...
  4913. @typing.overload
  4914. def drawTextItem(self, p: PySide6.QtCore.QPoint, ti: PySide6.QtGui.QTextItem, /) -> None: ...
  4915. @typing.overload
  4916. def drawTextItem(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, ti: PySide6.QtGui.QTextItem, /) -> None: ...
  4917. @typing.overload
  4918. def drawTextItem(self, x: int, y: int, ti: PySide6.QtGui.QTextItem, /) -> None: ...
  4919. @typing.overload
  4920. def drawTiledPixmap(self, arg__1: PySide6.QtCore.QRect, arg__2: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /, pos: PySide6.QtCore.QPoint = ...) -> None: ...
  4921. @typing.overload
  4922. def drawTiledPixmap(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, pm: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element = ...) -> None: ...
  4923. @typing.overload
  4924. def drawTiledPixmap(self, x: int, y: int, w: int, h: int, arg__5: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /, sx: int | None = ..., sy: int | None = ...) -> None: ...
  4925. def end(self, /) -> bool: ...
  4926. def endNativePainting(self, /) -> None: ...
  4927. @typing.overload
  4928. def eraseRect(self, arg__1: PySide6.QtCore.QRect, /) -> None: ...
  4929. @typing.overload
  4930. def eraseRect(self, arg__1: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  4931. @typing.overload
  4932. def eraseRect(self, x: int, y: int, w: int, h: int, /) -> None: ...
  4933. def fillPath(self, path: PySide6.QtGui.QPainterPath, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  4934. @typing.overload
  4935. def fillRect(self, r: PySide6.QtCore.QRect, style: PySide6.QtCore.Qt.BrushStyle, /) -> None: ...
  4936. @typing.overload
  4937. def fillRect(self, r: PySide6.QtCore.QRect, c: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  4938. @typing.overload
  4939. def fillRect(self, r: PySide6.QtCore.QRect, preset: PySide6.QtGui.QGradient.Preset, /) -> None: ...
  4940. @typing.overload
  4941. def fillRect(self, arg__1: PySide6.QtCore.QRect, arg__2: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  4942. @typing.overload
  4943. def fillRect(self, arg__1: PySide6.QtCore.QRect, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  4944. @typing.overload
  4945. def fillRect(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, style: PySide6.QtCore.Qt.BrushStyle, /) -> None: ...
  4946. @typing.overload
  4947. def fillRect(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, c: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  4948. @typing.overload
  4949. def fillRect(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, preset: PySide6.QtGui.QGradient.Preset, /) -> None: ...
  4950. @typing.overload
  4951. def fillRect(self, arg__1: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, arg__2: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  4952. @typing.overload
  4953. def fillRect(self, arg__1: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  4954. @typing.overload
  4955. def fillRect(self, x: int, y: int, w: int, h: int, style: PySide6.QtCore.Qt.BrushStyle, /) -> None: ...
  4956. @typing.overload
  4957. def fillRect(self, x: int, y: int, w: int, h: int, c: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  4958. @typing.overload
  4959. def fillRect(self, x: int, y: int, w: int, h: int, preset: PySide6.QtGui.QGradient.Preset, /) -> None: ...
  4960. @typing.overload
  4961. def fillRect(self, x: int, y: int, w: int, h: int, arg__5: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  4962. @typing.overload
  4963. def fillRect(self, x: int, y: int, w: int, h: int, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  4964. def font(self, /) -> PySide6.QtGui.QFont: ...
  4965. def fontInfo(self, /) -> PySide6.QtGui.QFontInfo: ...
  4966. def fontMetrics(self, /) -> PySide6.QtGui.QFontMetrics: ...
  4967. def hasClipping(self, /) -> bool: ...
  4968. def isActive(self, /) -> bool: ...
  4969. def layoutDirection(self, /) -> PySide6.QtCore.Qt.LayoutDirection: ...
  4970. def opacity(self, /) -> float: ...
  4971. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  4972. def pen(self, /) -> PySide6.QtGui.QPen: ...
  4973. def renderHints(self, /) -> PySide6.QtGui.QPainter.RenderHint: ...
  4974. def resetTransform(self, /) -> None: ...
  4975. def restore(self, /) -> None: ...
  4976. def rotate(self, a: float, /) -> None: ...
  4977. def save(self, /) -> None: ...
  4978. def scale(self, sx: float, sy: float, /) -> None: ...
  4979. def setBackground(self, bg: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  4980. def setBackgroundMode(self, mode: PySide6.QtCore.Qt.BGMode, /) -> None: ...
  4981. @typing.overload
  4982. def setBrush(self, style: PySide6.QtCore.Qt.BrushStyle, /) -> None: ...
  4983. @typing.overload
  4984. def setBrush(self, color: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  4985. @typing.overload
  4986. def setBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  4987. @typing.overload
  4988. def setBrush(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  4989. @typing.overload
  4990. def setBrushOrigin(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  4991. @typing.overload
  4992. def setBrushOrigin(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  4993. @typing.overload
  4994. def setBrushOrigin(self, x: int, y: int, /) -> None: ...
  4995. def setClipPath(self, path: PySide6.QtGui.QPainterPath, /, op: PySide6.QtCore.Qt.ClipOperation = ...) -> None: ...
  4996. @typing.overload
  4997. def setClipRect(self, arg__1: PySide6.QtCore.QRect, /, op: PySide6.QtCore.Qt.ClipOperation = ...) -> None: ...
  4998. @typing.overload
  4999. def setClipRect(self, arg__1: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /, op: PySide6.QtCore.Qt.ClipOperation = ...) -> None: ...
  5000. @typing.overload
  5001. def setClipRect(self, x: int, y: int, w: int, h: int, /, op: PySide6.QtCore.Qt.ClipOperation = ...) -> None: ...
  5002. def setClipRegion(self, arg__1: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /, op: PySide6.QtCore.Qt.ClipOperation = ...) -> None: ...
  5003. def setClipping(self, enable: bool, /) -> None: ...
  5004. def setCompositionMode(self, mode: PySide6.QtGui.QPainter.CompositionMode, /) -> None: ...
  5005. def setFont(self, f: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  5006. def setLayoutDirection(self, direction: PySide6.QtCore.Qt.LayoutDirection, /) -> None: ...
  5007. def setOpacity(self, opacity: float, /) -> None: ...
  5008. @typing.overload
  5009. def setPen(self, style: PySide6.QtCore.Qt.PenStyle, /) -> None: ...
  5010. @typing.overload
  5011. def setPen(self, pen: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> None: ...
  5012. @typing.overload
  5013. def setPen(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5014. def setRenderHint(self, hint: PySide6.QtGui.QPainter.RenderHint, /, on: bool = ...) -> None: ...
  5015. def setRenderHints(self, hints: PySide6.QtGui.QPainter.RenderHint, /, on: bool = ...) -> None: ...
  5016. def setTransform(self, transform: PySide6.QtGui.QTransform, /, combine: bool = ...) -> None: ...
  5017. def setViewTransformEnabled(self, enable: bool, /) -> None: ...
  5018. @typing.overload
  5019. def setViewport(self, viewport: PySide6.QtCore.QRect, /) -> None: ...
  5020. @typing.overload
  5021. def setViewport(self, x: int, y: int, w: int, h: int, /) -> None: ...
  5022. @typing.overload
  5023. def setWindow(self, window: PySide6.QtCore.QRect, /) -> None: ...
  5024. @typing.overload
  5025. def setWindow(self, x: int, y: int, w: int, h: int, /) -> None: ...
  5026. def setWorldMatrixEnabled(self, enabled: bool, /) -> None: ...
  5027. def setWorldTransform(self, matrix: PySide6.QtGui.QTransform, /, combine: bool = ...) -> None: ...
  5028. def shear(self, sh: float, sv: float, /) -> None: ...
  5029. def strokePath(self, path: PySide6.QtGui.QPainterPath, pen: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> None: ...
  5030. def testRenderHint(self, hint: PySide6.QtGui.QPainter.RenderHint, /) -> bool: ...
  5031. def transform(self, /) -> PySide6.QtGui.QTransform: ...
  5032. @typing.overload
  5033. def translate(self, offset: PySide6.QtCore.QPoint, /) -> None: ...
  5034. @typing.overload
  5035. def translate(self, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5036. @typing.overload
  5037. def translate(self, dx: float, dy: float, /) -> None: ...
  5038. def viewTransformEnabled(self, /) -> bool: ...
  5039. def viewport(self, /) -> PySide6.QtCore.QRect: ...
  5040. def window(self, /) -> PySide6.QtCore.QRect: ...
  5041. def worldMatrixEnabled(self, /) -> bool: ...
  5042. def worldTransform(self, /) -> PySide6.QtGui.QTransform: ...
  5043. class QPainterPath(Shiboken.Object):
  5044. class Element(Shiboken.Object):
  5045. @typing.overload
  5046. def __init__(self, /) -> None: ...
  5047. @typing.overload
  5048. def __init__(self, Element: PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5049. def __copy__(self, /) -> typing.Self: ...
  5050. def __eq__(self, e: PySide6.QtGui.QPainterPath.Element, /) -> bool: ...
  5051. def __ne__(self, e: PySide6.QtGui.QPainterPath.Element, /) -> bool: ...
  5052. def isCurveTo(self, /) -> bool: ...
  5053. def isLineTo(self, /) -> bool: ...
  5054. def isMoveTo(self, /) -> bool: ...
  5055. class ElementType(enum.Enum):
  5056. MoveToElement = 0x0
  5057. LineToElement = 0x1
  5058. CurveToElement = 0x2
  5059. CurveToDataElement = 0x3
  5060. @typing.overload
  5061. def __init__(self, /) -> None: ...
  5062. @typing.overload
  5063. def __init__(self, other: PySide6.QtGui.QPainterPath, /) -> None: ...
  5064. @typing.overload
  5065. def __init__(self, startPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5066. def __add__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5067. def __and__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5068. def __copy__(self, /) -> typing.Self: ...
  5069. def __eq__(self, other: PySide6.QtGui.QPainterPath, /) -> bool: ...
  5070. def __iadd__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5071. def __iand__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5072. def __ior__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5073. def __isub__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5074. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5075. def __mul__(self, m: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QPainterPath: ...
  5076. def __ne__(self, other: PySide6.QtGui.QPainterPath, /) -> bool: ...
  5077. def __or__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5078. def __repr__(self, /) -> str: ...
  5079. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5080. def __sub__(self, other: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5081. @typing.overload
  5082. def addEllipse(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  5083. @typing.overload
  5084. def addEllipse(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, rx: float, ry: float, /) -> None: ...
  5085. @typing.overload
  5086. def addEllipse(self, x: float, y: float, w: float, h: float, /) -> None: ...
  5087. def addPath(self, path: PySide6.QtGui.QPainterPath, /) -> None: ...
  5088. def addPolygon(self, polygon: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> None: ...
  5089. @typing.overload
  5090. def addRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  5091. @typing.overload
  5092. def addRect(self, x: float, y: float, w: float, h: float, /) -> None: ...
  5093. def addRegion(self, region: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  5094. @typing.overload
  5095. def addRoundedRect(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, xRadius: float, yRadius: float, /, mode: PySide6.QtCore.Qt.SizeMode = ...) -> None: ...
  5096. @typing.overload
  5097. def addRoundedRect(self, x: float, y: float, w: float, h: float, xRadius: float, yRadius: float, /, mode: PySide6.QtCore.Qt.SizeMode = ...) -> None: ...
  5098. @typing.overload
  5099. def addText(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, f: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], text: str, /) -> None: ...
  5100. @typing.overload
  5101. def addText(self, x: float, y: float, f: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], text: str, /) -> None: ...
  5102. def angleAtPercent(self, t: float, /) -> float: ...
  5103. @typing.overload
  5104. def arcMoveTo(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, angle: float, /) -> None: ...
  5105. @typing.overload
  5106. def arcMoveTo(self, x: float, y: float, w: float, h: float, angle: float, /) -> None: ...
  5107. @typing.overload
  5108. def arcTo(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, startAngle: float, arcLength: float, /) -> None: ...
  5109. @typing.overload
  5110. def arcTo(self, x: float, y: float, w: float, h: float, startAngle: float, arcLength: float, /) -> None: ...
  5111. def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  5112. def capacity(self, /) -> int: ...
  5113. def clear(self, /) -> None: ...
  5114. def closeSubpath(self, /) -> None: ...
  5115. def connectPath(self, path: PySide6.QtGui.QPainterPath, /) -> None: ...
  5116. @typing.overload
  5117. def contains(self, p: PySide6.QtGui.QPainterPath, /) -> bool: ...
  5118. @typing.overload
  5119. def contains(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> bool: ...
  5120. @typing.overload
  5121. def contains(self, pt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> bool: ...
  5122. def controlPointRect(self, /) -> PySide6.QtCore.QRectF: ...
  5123. @typing.overload
  5124. def cubicTo(self, ctrlPt1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, ctrlPt2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, endPt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5125. @typing.overload
  5126. def cubicTo(self, ctrlPt1x: float, ctrlPt1y: float, ctrlPt2x: float, ctrlPt2y: float, endPtx: float, endPty: float, /) -> None: ...
  5127. def currentPosition(self, /) -> PySide6.QtCore.QPointF: ...
  5128. def elementAt(self, i: int, /) -> PySide6.QtGui.QPainterPath.Element: ...
  5129. def elementCount(self, /) -> int: ...
  5130. def fillRule(self, /) -> PySide6.QtCore.Qt.FillRule: ...
  5131. def intersected(self, r: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5132. @typing.overload
  5133. def intersects(self, p: PySide6.QtGui.QPainterPath, /) -> bool: ...
  5134. @typing.overload
  5135. def intersects(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> bool: ...
  5136. def isCachingEnabled(self, /) -> bool: ...
  5137. def isEmpty(self, /) -> bool: ...
  5138. def length(self, /) -> float: ...
  5139. @typing.overload
  5140. def lineTo(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5141. @typing.overload
  5142. def lineTo(self, x: float, y: float, /) -> None: ...
  5143. @typing.overload
  5144. def moveTo(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5145. @typing.overload
  5146. def moveTo(self, x: float, y: float, /) -> None: ...
  5147. def percentAtLength(self, len: float, /) -> float: ...
  5148. def pointAtPercent(self, t: float, /) -> PySide6.QtCore.QPointF: ...
  5149. @typing.overload
  5150. def quadTo(self, ctrlPt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, endPt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5151. @typing.overload
  5152. def quadTo(self, ctrlPtx: float, ctrlPty: float, endPtx: float, endPty: float, /) -> None: ...
  5153. def reserve(self, size: int, /) -> None: ...
  5154. def setCachingEnabled(self, enabled: bool, /) -> None: ...
  5155. def setElementPositionAt(self, i: int, x: float, y: float, /) -> None: ...
  5156. def setFillRule(self, fillRule: PySide6.QtCore.Qt.FillRule, /) -> None: ...
  5157. def simplified(self, /) -> PySide6.QtGui.QPainterPath: ...
  5158. def slopeAtPercent(self, t: float, /) -> float: ...
  5159. def subtracted(self, r: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5160. def swap(self, other: PySide6.QtGui.QPainterPath, /) -> None: ...
  5161. def toFillPolygon(self, /, matrix: PySide6.QtGui.QTransform = ...) -> PySide6.QtGui.QPolygonF: ...
  5162. def toFillPolygons(self, /, matrix: PySide6.QtGui.QTransform = ...) -> typing.List[PySide6.QtGui.QPolygonF]: ...
  5163. def toReversed(self, /) -> PySide6.QtGui.QPainterPath: ...
  5164. def toSubpathPolygons(self, /, matrix: PySide6.QtGui.QTransform = ...) -> typing.List[PySide6.QtGui.QPolygonF]: ...
  5165. @typing.overload
  5166. def translate(self, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5167. @typing.overload
  5168. def translate(self, dx: float, dy: float, /) -> None: ...
  5169. @typing.overload
  5170. def translated(self, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtGui.QPainterPath: ...
  5171. @typing.overload
  5172. def translated(self, dx: float, dy: float, /) -> PySide6.QtGui.QPainterPath: ...
  5173. def trimmed(self, fromFraction: float, toFraction: float, /, offset: float | None = ...) -> PySide6.QtGui.QPainterPath: ...
  5174. def united(self, r: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5175. class QPainterPathStroker(Shiboken.Object):
  5176. @typing.overload
  5177. def __init__(self, /) -> None: ...
  5178. @typing.overload
  5179. def __init__(self, pen: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> None: ...
  5180. def capStyle(self, /) -> PySide6.QtCore.Qt.PenCapStyle: ...
  5181. def createStroke(self, path: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  5182. def curveThreshold(self, /) -> float: ...
  5183. def dashOffset(self, /) -> float: ...
  5184. def dashPattern(self, /) -> typing.List[float]: ...
  5185. def joinStyle(self, /) -> PySide6.QtCore.Qt.PenJoinStyle: ...
  5186. def miterLimit(self, /) -> float: ...
  5187. def setCapStyle(self, style: PySide6.QtCore.Qt.PenCapStyle, /) -> None: ...
  5188. def setCurveThreshold(self, threshold: float, /) -> None: ...
  5189. def setDashOffset(self, offset: float, /) -> None: ...
  5190. @typing.overload
  5191. def setDashPattern(self, arg__1: PySide6.QtCore.Qt.PenStyle, /) -> None: ...
  5192. @typing.overload
  5193. def setDashPattern(self, dashPattern: collections.abc.Sequence[float], /) -> None: ...
  5194. def setJoinStyle(self, style: PySide6.QtCore.Qt.PenJoinStyle, /) -> None: ...
  5195. def setMiterLimit(self, length: float, /) -> None: ...
  5196. def setWidth(self, width: float, /) -> None: ...
  5197. def width(self, /) -> float: ...
  5198. class QPainterStateGuard(Shiboken.Object):
  5199. class InitialState(enum.Enum):
  5200. Save = 0x0
  5201. NoSave = 0x1
  5202. def __init__(self, painter: PySide6.QtGui.QPainter, /, state: PySide6.QtGui.QPainterStateGuard.InitialState = ...) -> None: ...
  5203. def __enter__(self, /) -> PySide6.QtGui.QPainterStateGuard: ...
  5204. def __exit__(self, arg__1: object, arg__2: object, arg__3: object, /) -> None: ...
  5205. def restore(self, /) -> None: ...
  5206. def save(self, /) -> None: ...
  5207. def swap(self, other: PySide6.QtGui.QPainterStateGuard, /) -> None: ...
  5208. class QPalette(Shiboken.Object):
  5209. class ColorGroup(enum.Enum):
  5210. Active = 0x0
  5211. Normal = 0x0
  5212. Disabled = 0x1
  5213. Inactive = 0x2
  5214. NColorGroups = 0x3
  5215. Current = 0x4
  5216. All = 0x5
  5217. class ColorRole(enum.Enum):
  5218. WindowText = 0x0
  5219. Button = 0x1
  5220. Light = 0x2
  5221. Midlight = 0x3
  5222. Dark = 0x4
  5223. Mid = 0x5
  5224. Text = 0x6
  5225. BrightText = 0x7
  5226. ButtonText = 0x8
  5227. Base = 0x9
  5228. Window = 0xa
  5229. Shadow = 0xb
  5230. Highlight = 0xc
  5231. HighlightedText = 0xd
  5232. Link = 0xe
  5233. LinkVisited = 0xf
  5234. AlternateBase = 0x10
  5235. NoRole = 0x11
  5236. ToolTipBase = 0x12
  5237. ToolTipText = 0x13
  5238. PlaceholderText = 0x14
  5239. Accent = 0x15
  5240. NColorRoles = 0x16
  5241. @typing.overload
  5242. def __init__(self, /) -> None: ...
  5243. @typing.overload
  5244. def __init__(self, button: PySide6.QtCore.Qt.GlobalColor, /) -> None: ...
  5245. @typing.overload
  5246. def __init__(self, palette: PySide6.QtGui.QPalette, /) -> None: ...
  5247. @typing.overload
  5248. def __init__(self, windowText: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, button: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, light: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, dark: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, mid: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, text: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, bright_text: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, base: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, window: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  5249. @typing.overload
  5250. def __init__(self, button: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5251. @typing.overload
  5252. def __init__(self, button: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], window: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5253. @typing.overload
  5254. def __init__(self, windowText: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], window: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], light: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], dark: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], mid: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], text: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], base: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5255. def __copy__(self, /) -> typing.Self: ...
  5256. def __eq__(self, p: PySide6.QtGui.QPalette | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor, /) -> bool: ...
  5257. def __lshift__(self, ds: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5258. def __ne__(self, p: PySide6.QtGui.QPalette | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor, /) -> bool: ...
  5259. def __repr__(self, /) -> str: ...
  5260. def __rshift__(self, ds: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5261. def accent(self, /) -> PySide6.QtGui.QBrush: ...
  5262. def alternateBase(self, /) -> PySide6.QtGui.QBrush: ...
  5263. def base(self, /) -> PySide6.QtGui.QBrush: ...
  5264. def brightText(self, /) -> PySide6.QtGui.QBrush: ...
  5265. @typing.overload
  5266. def brush(self, cg: PySide6.QtGui.QPalette.ColorGroup, cr: PySide6.QtGui.QPalette.ColorRole, /) -> PySide6.QtGui.QBrush: ...
  5267. @typing.overload
  5268. def brush(self, cr: PySide6.QtGui.QPalette.ColorRole, /) -> PySide6.QtGui.QBrush: ...
  5269. def button(self, /) -> PySide6.QtGui.QBrush: ...
  5270. def buttonText(self, /) -> PySide6.QtGui.QBrush: ...
  5271. def cacheKey(self, /) -> int: ...
  5272. @typing.overload
  5273. def color(self, cg: PySide6.QtGui.QPalette.ColorGroup, cr: PySide6.QtGui.QPalette.ColorRole, /) -> PySide6.QtGui.QColor: ...
  5274. @typing.overload
  5275. def color(self, cr: PySide6.QtGui.QPalette.ColorRole, /) -> PySide6.QtGui.QColor: ...
  5276. def currentColorGroup(self, /) -> PySide6.QtGui.QPalette.ColorGroup: ...
  5277. def dark(self, /) -> PySide6.QtGui.QBrush: ...
  5278. def highlight(self, /) -> PySide6.QtGui.QBrush: ...
  5279. def highlightedText(self, /) -> PySide6.QtGui.QBrush: ...
  5280. def isBrushSet(self, cg: PySide6.QtGui.QPalette.ColorGroup, cr: PySide6.QtGui.QPalette.ColorRole, /) -> bool: ...
  5281. def isCopyOf(self, p: PySide6.QtGui.QPalette | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor, /) -> bool: ...
  5282. def isEqual(self, cr1: PySide6.QtGui.QPalette.ColorGroup, cr2: PySide6.QtGui.QPalette.ColorGroup, /) -> bool: ...
  5283. def light(self, /) -> PySide6.QtGui.QBrush: ...
  5284. def link(self, /) -> PySide6.QtGui.QBrush: ...
  5285. def linkVisited(self, /) -> PySide6.QtGui.QBrush: ...
  5286. def mid(self, /) -> PySide6.QtGui.QBrush: ...
  5287. def midlight(self, /) -> PySide6.QtGui.QBrush: ...
  5288. def placeholderText(self, /) -> PySide6.QtGui.QBrush: ...
  5289. def resolve(self, other: PySide6.QtGui.QPalette | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor, /) -> PySide6.QtGui.QPalette: ...
  5290. def resolveMask(self, /) -> int: ...
  5291. @typing.overload
  5292. def setBrush(self, cg: PySide6.QtGui.QPalette.ColorGroup, cr: PySide6.QtGui.QPalette.ColorRole, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  5293. @typing.overload
  5294. def setBrush(self, cr: PySide6.QtGui.QPalette.ColorRole, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  5295. @typing.overload
  5296. def setColor(self, cg: PySide6.QtGui.QPalette.ColorGroup, cr: PySide6.QtGui.QPalette.ColorRole, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5297. @typing.overload
  5298. def setColor(self, cr: PySide6.QtGui.QPalette.ColorRole, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5299. def setColorGroup(self, cr: PySide6.QtGui.QPalette.ColorGroup, windowText: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, button: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, light: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, dark: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, mid: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, text: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, bright_text: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, base: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, window: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  5300. def setCurrentColorGroup(self, cg: PySide6.QtGui.QPalette.ColorGroup, /) -> None: ...
  5301. def setResolveMask(self, mask: int, /) -> None: ...
  5302. def shadow(self, /) -> PySide6.QtGui.QBrush: ...
  5303. def swap(self, other: PySide6.QtGui.QPalette | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor, /) -> None: ...
  5304. def text(self, /) -> PySide6.QtGui.QBrush: ...
  5305. def toolTipBase(self, /) -> PySide6.QtGui.QBrush: ...
  5306. def toolTipText(self, /) -> PySide6.QtGui.QBrush: ...
  5307. def window(self, /) -> PySide6.QtGui.QBrush: ...
  5308. def windowText(self, /) -> PySide6.QtGui.QBrush: ...
  5309. class QPdfOutputIntent(Shiboken.Object):
  5310. @typing.overload
  5311. def __init__(self, /) -> None: ...
  5312. @typing.overload
  5313. def __init__(self, other: PySide6.QtGui.QPdfOutputIntent, /) -> None: ...
  5314. def __copy__(self, /) -> typing.Self: ...
  5315. def outputCondition(self, /) -> str: ...
  5316. def outputConditionIdentifier(self, /) -> str: ...
  5317. def outputProfile(self, /) -> PySide6.QtGui.QColorSpace: ...
  5318. def registryName(self, /) -> PySide6.QtCore.QUrl: ...
  5319. def setOutputCondition(self, condition: str, /) -> None: ...
  5320. def setOutputConditionIdentifier(self, identifier: str, /) -> None: ...
  5321. def setOutputProfile(self, profile: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> None: ...
  5322. def setRegistryName(self, name: PySide6.QtCore.QUrl | str, /) -> None: ...
  5323. def swap(self, other: PySide6.QtGui.QPdfOutputIntent, /) -> None: ...
  5324. class QPdfWriter(PySide6.QtCore.QObject, PySide6.QtGui.QPagedPaintDevice):
  5325. class ColorModel(enum.Enum):
  5326. RGB = 0x0
  5327. Grayscale = 0x1
  5328. CMYK = 0x2
  5329. Auto = 0x3
  5330. @typing.overload
  5331. def __init__(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
  5332. @typing.overload
  5333. def __init__(self, filename: str, /) -> None: ...
  5334. def addFileAttachment(self, fileName: str, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, mimeType: str = ...) -> None: ...
  5335. def author(self, /) -> str: ...
  5336. def colorModel(self, /) -> PySide6.QtGui.QPdfWriter.ColorModel: ...
  5337. def creator(self, /) -> str: ...
  5338. def documentId(self, /) -> PySide6.QtCore.QUuid: ...
  5339. def documentXmpMetadata(self, /) -> PySide6.QtCore.QByteArray: ...
  5340. def metric(self, id: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  5341. def newPage(self, /) -> bool: ...
  5342. def outputIntent(self, /) -> PySide6.QtGui.QPdfOutputIntent: ...
  5343. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  5344. def pdfVersion(self, /) -> PySide6.QtGui.QPagedPaintDevice.PdfVersion: ...
  5345. def resolution(self, /) -> int: ...
  5346. def setAuthor(self, author: str, /) -> None: ...
  5347. def setColorModel(self, model: PySide6.QtGui.QPdfWriter.ColorModel, /) -> None: ...
  5348. def setCreator(self, creator: str, /) -> None: ...
  5349. def setDocumentId(self, documentId: PySide6.QtCore.QUuid, /) -> None: ...
  5350. def setDocumentXmpMetadata(self, xmpMetadata: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  5351. def setOutputIntent(self, intent: PySide6.QtGui.QPdfOutputIntent, /) -> None: ...
  5352. def setPdfVersion(self, version: PySide6.QtGui.QPagedPaintDevice.PdfVersion, /) -> None: ...
  5353. def setResolution(self, resolution: int, /) -> None: ...
  5354. def setTitle(self, title: str, /) -> None: ...
  5355. def title(self, /) -> str: ...
  5356. class QPen(Shiboken.Object):
  5357. @typing.overload
  5358. def __init__(self, /) -> None: ...
  5359. @typing.overload
  5360. def __init__(self, arg__1: PySide6.QtCore.Qt.PenStyle, /) -> None: ...
  5361. @typing.overload
  5362. def __init__(self, pen: PySide6.QtGui.QPen, /) -> None: ...
  5363. @typing.overload
  5364. def __init__(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, width: float, /, s: PySide6.QtCore.Qt.PenStyle = ..., c: PySide6.QtCore.Qt.PenCapStyle = ..., j: PySide6.QtCore.Qt.PenJoinStyle = ...) -> None: ...
  5365. @typing.overload
  5366. def __init__(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5367. def __copy__(self, /) -> typing.Self: ...
  5368. @typing.overload
  5369. def __eq__(self, lhs: PySide6.QtCore.Qt.PenStyle, /) -> bool: ...
  5370. @typing.overload
  5371. def __eq__(self, p: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> bool: ...
  5372. @typing.overload
  5373. def __eq__(self, rhs: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> bool: ...
  5374. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5375. @typing.overload
  5376. def __ne__(self, lhs: PySide6.QtCore.Qt.PenStyle, /) -> bool: ...
  5377. @typing.overload
  5378. def __ne__(self, p: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> bool: ...
  5379. @typing.overload
  5380. def __ne__(self, rhs: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> bool: ...
  5381. def __repr__(self, /) -> str: ...
  5382. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5383. def brush(self, /) -> PySide6.QtGui.QBrush: ...
  5384. def capStyle(self, /) -> PySide6.QtCore.Qt.PenCapStyle: ...
  5385. def color(self, /) -> PySide6.QtGui.QColor: ...
  5386. def dashOffset(self, /) -> float: ...
  5387. def dashPattern(self, /) -> typing.List[float]: ...
  5388. def isCosmetic(self, /) -> bool: ...
  5389. def isSolid(self, /) -> bool: ...
  5390. def joinStyle(self, /) -> PySide6.QtCore.Qt.PenJoinStyle: ...
  5391. def miterLimit(self, /) -> float: ...
  5392. def setBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  5393. def setCapStyle(self, pcs: PySide6.QtCore.Qt.PenCapStyle, /) -> None: ...
  5394. def setColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  5395. def setCosmetic(self, cosmetic: bool, /) -> None: ...
  5396. def setDashOffset(self, doffset: float, /) -> None: ...
  5397. def setDashPattern(self, pattern: collections.abc.Sequence[float], /) -> None: ...
  5398. def setJoinStyle(self, pcs: PySide6.QtCore.Qt.PenJoinStyle, /) -> None: ...
  5399. def setMiterLimit(self, limit: float, /) -> None: ...
  5400. def setStyle(self, arg__1: PySide6.QtCore.Qt.PenStyle, /) -> None: ...
  5401. def setWidth(self, width: int, /) -> None: ...
  5402. def setWidthF(self, width: float, /) -> None: ...
  5403. def style(self, /) -> PySide6.QtCore.Qt.PenStyle: ...
  5404. def swap(self, other: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> None: ...
  5405. def width(self, /) -> int: ...
  5406. def widthF(self, /) -> float: ...
  5407. class QPicture(PySide6.QtGui.QPaintDevice):
  5408. @typing.overload
  5409. def __init__(self, arg__1: PySide6.QtGui.QPicture, /) -> None: ...
  5410. @typing.overload
  5411. def __init__(self, /, formatVersion: int = ...) -> None: ...
  5412. def __copy__(self, /) -> typing.Self: ...
  5413. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5414. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5415. def boundingRect(self, /) -> PySide6.QtCore.QRect: ...
  5416. def data(self, /) -> object: ...
  5417. def devType(self, /) -> int: ...
  5418. def isNull(self, /) -> bool: ...
  5419. @typing.overload
  5420. def load(self, dev: PySide6.QtCore.QIODevice, /) -> bool: ...
  5421. @typing.overload
  5422. def load(self, fileName: str, /) -> bool: ...
  5423. def metric(self, m: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  5424. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  5425. def play(self, p: PySide6.QtGui.QPainter, /) -> bool: ...
  5426. @typing.overload
  5427. def save(self, dev: PySide6.QtCore.QIODevice, /) -> bool: ...
  5428. @typing.overload
  5429. def save(self, fileName: str, /) -> bool: ...
  5430. def setBoundingRect(self, r: PySide6.QtCore.QRect, /) -> None: ...
  5431. def setData(self, data: bytes | bytearray | memoryview, /) -> None: ...
  5432. def size(self, /) -> int: ...
  5433. def swap(self, other: PySide6.QtGui.QPicture | int, /) -> None: ...
  5434. class QPixelFormat(Shiboken.Object):
  5435. class AlphaPosition(enum.Enum):
  5436. AtBeginning = 0x0
  5437. AtEnd = 0x1
  5438. class AlphaPremultiplied(enum.Enum):
  5439. NotPremultiplied = 0x0
  5440. Premultiplied = 0x1
  5441. class AlphaUsage(enum.Enum):
  5442. UsesAlpha = 0x0
  5443. IgnoresAlpha = 0x1
  5444. class ByteOrder(enum.Enum):
  5445. LittleEndian = 0x0
  5446. BigEndian = 0x1
  5447. CurrentSystemEndian = 0x2
  5448. class ColorModel(enum.Enum):
  5449. RGB = 0x0
  5450. BGR = 0x1
  5451. Indexed = 0x2
  5452. Grayscale = 0x3
  5453. CMYK = 0x4
  5454. HSL = 0x5
  5455. HSV = 0x6
  5456. YUV = 0x7
  5457. Alpha = 0x8
  5458. class TypeInterpretation(enum.Enum):
  5459. UnsignedInteger = 0x0
  5460. UnsignedShort = 0x1
  5461. UnsignedByte = 0x2
  5462. FloatingPoint = 0x3
  5463. class YUVLayout(enum.Enum):
  5464. YUV444 = 0x0
  5465. YUV422 = 0x1
  5466. YUV411 = 0x2
  5467. YUV420P = 0x3
  5468. YUV420SP = 0x4
  5469. YV12 = 0x5
  5470. UYVY = 0x6
  5471. YUYV = 0x7
  5472. NV12 = 0x8
  5473. NV21 = 0x9
  5474. IMC1 = 0xa
  5475. IMC2 = 0xb
  5476. IMC3 = 0xc
  5477. IMC4 = 0xd
  5478. Y8 = 0xe
  5479. Y16 = 0xf
  5480. @typing.overload
  5481. def __init__(self, /) -> None: ...
  5482. @typing.overload
  5483. def __init__(self, colorModel: PySide6.QtGui.QPixelFormat.ColorModel, firstSize: int, secondSize: int, thirdSize: int, fourthSize: int, fifthSize: int, alphaSize: int, alphaUsage: PySide6.QtGui.QPixelFormat.AlphaUsage, alphaPosition: PySide6.QtGui.QPixelFormat.AlphaPosition, premultiplied: PySide6.QtGui.QPixelFormat.AlphaPremultiplied, typeInterpretation: PySide6.QtGui.QPixelFormat.TypeInterpretation, /, byteOrder: PySide6.QtGui.QPixelFormat.ByteOrder = ..., subEnum: int | None = ...) -> None: ...
  5484. @typing.overload
  5485. def __init__(self, QPixelFormat: PySide6.QtGui.QPixelFormat, /) -> None: ...
  5486. def __copy__(self, /) -> typing.Self: ...
  5487. def __eq__(self, fmt2: PySide6.QtGui.QPixelFormat, /) -> bool: ...
  5488. def __ne__(self, fmt2: PySide6.QtGui.QPixelFormat, /) -> bool: ...
  5489. def alphaPosition(self, /) -> PySide6.QtGui.QPixelFormat.AlphaPosition: ...
  5490. def alphaSize(self, /) -> int: ...
  5491. def alphaUsage(self, /) -> PySide6.QtGui.QPixelFormat.AlphaUsage: ...
  5492. def bitsPerPixel(self, /) -> int: ...
  5493. def blackSize(self, /) -> int: ...
  5494. def blueSize(self, /) -> int: ...
  5495. def brightnessSize(self, /) -> int: ...
  5496. def byteOrder(self, /) -> PySide6.QtGui.QPixelFormat.ByteOrder: ...
  5497. def channelCount(self, /) -> int: ...
  5498. def colorModel(self, /) -> PySide6.QtGui.QPixelFormat.ColorModel: ...
  5499. def cyanSize(self, /) -> int: ...
  5500. def greenSize(self, /) -> int: ...
  5501. def hueSize(self, /) -> int: ...
  5502. def lightnessSize(self, /) -> int: ...
  5503. def magentaSize(self, /) -> int: ...
  5504. def premultiplied(self, /) -> PySide6.QtGui.QPixelFormat.AlphaPremultiplied: ...
  5505. def redSize(self, /) -> int: ...
  5506. def saturationSize(self, /) -> int: ...
  5507. def subEnum(self, /) -> int: ...
  5508. def typeInterpretation(self, /) -> PySide6.QtGui.QPixelFormat.TypeInterpretation: ...
  5509. def yellowSize(self, /) -> int: ...
  5510. def yuvLayout(self, /) -> PySide6.QtGui.QPixelFormat.YUVLayout: ...
  5511. class QPixmap(PySide6.QtGui.QPaintDevice):
  5512. @typing.overload
  5513. def __init__(self, /) -> None: ...
  5514. @typing.overload
  5515. def __init__(self, image: PySide6.QtGui.QImage, /) -> None: ...
  5516. @typing.overload
  5517. def __init__(self, arg__1: PySide6.QtGui.QPixmap, /) -> None: ...
  5518. @typing.overload
  5519. def __init__(self, arg__1: PySide6.QtCore.QSize, /) -> None: ...
  5520. @typing.overload
  5521. def __init__(self, fileName: str | bytes | os.PathLike[str], /, format: bytes | bytearray | memoryview | None = ..., flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> None: ...
  5522. @typing.overload
  5523. def __init__(self, w: int, h: int, /) -> None: ...
  5524. @typing.overload
  5525. def __init__(self, xpm: collections.abc.Iterable, /) -> None: ...
  5526. def __copy__(self, /) -> typing.Self: ...
  5527. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5528. def __repr__(self, /) -> str: ...
  5529. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5530. def cacheKey(self, /) -> int: ...
  5531. def convertFromImage(self, img: PySide6.QtGui.QImage, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> bool: ...
  5532. @typing.overload
  5533. def copy(self, /, rect: PySide6.QtCore.QRect = ...) -> PySide6.QtGui.QPixmap: ...
  5534. @typing.overload
  5535. def copy(self, x: int, y: int, width: int, height: int, /) -> PySide6.QtGui.QPixmap: ...
  5536. def createHeuristicMask(self, /, clipTight: bool = ...) -> PySide6.QtGui.QBitmap: ...
  5537. def createMaskFromColor(self, maskColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /, mode: PySide6.QtCore.Qt.MaskMode = ...) -> PySide6.QtGui.QBitmap: ...
  5538. @staticmethod
  5539. def defaultDepth() -> int: ...
  5540. def depth(self, /) -> int: ...
  5541. def devType(self, /) -> int: ...
  5542. def deviceIndependentSize(self, /) -> PySide6.QtCore.QSizeF: ...
  5543. def devicePixelRatio(self, /) -> float: ...
  5544. def fill(self, /, fillColor: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int] = ...) -> None: ...
  5545. @staticmethod
  5546. def fromImage(image: PySide6.QtGui.QImage, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QPixmap: ...
  5547. @staticmethod
  5548. def fromImageInPlace(image: PySide6.QtGui.QImage, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QPixmap: ...
  5549. @staticmethod
  5550. def fromImageReader(imageReader: PySide6.QtGui.QImageReader, /, flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> PySide6.QtGui.QPixmap: ...
  5551. def hasAlpha(self, /) -> bool: ...
  5552. def hasAlphaChannel(self, /) -> bool: ...
  5553. def height(self, /) -> int: ...
  5554. def isNull(self, /) -> bool: ...
  5555. def isQBitmap(self, /) -> bool: ...
  5556. def load(self, fileName: str, /, format: bytes | bytearray | memoryview | None = ..., flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> bool: ...
  5557. @typing.overload
  5558. def loadFromData(self, buf: bytes | bytearray | memoryview, /, format: bytes | bytearray | memoryview | None = ..., flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> bool: ...
  5559. @typing.overload
  5560. def loadFromData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, format: bytes | bytearray | memoryview | None = ..., flags: PySide6.QtCore.Qt.ImageConversionFlag = ...) -> bool: ...
  5561. def mask(self, /) -> PySide6.QtGui.QBitmap: ...
  5562. def metric(self, arg__1: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  5563. def paintEngine(self, /) -> PySide6.QtGui.QPaintEngine: ...
  5564. def rect(self, /) -> PySide6.QtCore.QRect: ...
  5565. @typing.overload
  5566. def save(self, device: PySide6.QtCore.QIODevice, /, format: str | None = ..., quality: int = ...) -> bool: ...
  5567. @typing.overload
  5568. def save(self, fileName: str, /, format: str | None = ..., quality: int = ...) -> bool: ...
  5569. @typing.overload
  5570. def scaled(self, s: PySide6.QtCore.QSize, /, aspectMode: PySide6.QtCore.Qt.AspectRatioMode = ..., mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QPixmap: ...
  5571. @typing.overload
  5572. def scaled(self, w: int, h: int, /, aspectMode: PySide6.QtCore.Qt.AspectRatioMode = ..., mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QPixmap: ...
  5573. def scaledToHeight(self, h: int, /, mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QPixmap: ...
  5574. def scaledToWidth(self, w: int, /, mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QPixmap: ...
  5575. @typing.overload
  5576. def scroll(self, dx: int, dy: int, rect: PySide6.QtCore.QRect, /, exposed: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect | None = ...) -> None: ...
  5577. @typing.overload
  5578. def scroll(self, dx: int, dy: int, x: int, y: int, width: int, height: int, /, exposed: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect | None = ...) -> None: ...
  5579. def setDevicePixelRatio(self, scaleFactor: float, /) -> None: ...
  5580. def setMask(self, arg__1: PySide6.QtGui.QBitmap | str, /) -> None: ...
  5581. def size(self, /) -> PySide6.QtCore.QSize: ...
  5582. def swap(self, other: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> None: ...
  5583. def toImage(self, /) -> PySide6.QtGui.QImage: ...
  5584. def transformed(self, arg__1: PySide6.QtGui.QTransform, /, mode: PySide6.QtCore.Qt.TransformationMode = ...) -> PySide6.QtGui.QPixmap: ...
  5585. @staticmethod
  5586. def trueMatrix(m: PySide6.QtGui.QTransform, w: int, h: int, /) -> PySide6.QtGui.QTransform: ...
  5587. def width(self, /) -> int: ...
  5588. class QPixmapCache(Shiboken.Object):
  5589. class Key(Shiboken.Object):
  5590. @typing.overload
  5591. def __init__(self, /) -> None: ...
  5592. @typing.overload
  5593. def __init__(self, other: PySide6.QtGui.QPixmapCache.Key, /) -> None: ...
  5594. def __copy__(self, /) -> typing.Self: ...
  5595. def __eq__(self, key: PySide6.QtGui.QPixmapCache.Key, /) -> bool: ...
  5596. def __hash__(self, /) -> int: ...
  5597. def __ne__(self, key: PySide6.QtGui.QPixmapCache.Key, /) -> bool: ...
  5598. def isValid(self, /) -> bool: ...
  5599. def swap(self, other: PySide6.QtGui.QPixmapCache.Key, /) -> None: ...
  5600. def __init__(self, /) -> None: ...
  5601. @staticmethod
  5602. def cacheLimit() -> int: ...
  5603. @staticmethod
  5604. def clear() -> None: ...
  5605. @typing.overload # type: ignore[misc, overload-cannot-match]
  5606. @staticmethod
  5607. def find(key: PySide6.QtGui.QPixmapCache.Key, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> bool: ... # type: ignore[misc, overload-cannot-match]
  5608. @typing.overload # type: ignore[misc, overload-cannot-match]
  5609. def find(self, key: PySide6.QtGui.QPixmapCache.Key, /) -> None: ... # type: ignore[misc, overload-cannot-match]
  5610. @typing.overload # type: ignore[misc, overload-cannot-match]
  5611. def find(self, key: str, /) -> None: ... # type: ignore[misc, overload-cannot-match]
  5612. @typing.overload # type: ignore[misc, overload-cannot-match]
  5613. @staticmethod
  5614. def find(key: str, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> bool: ... # type: ignore[misc, overload-cannot-match]
  5615. @typing.overload
  5616. @staticmethod
  5617. def insert(key: str, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> bool: ...
  5618. @typing.overload
  5619. @staticmethod
  5620. def insert(pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> PySide6.QtGui.QPixmapCache.Key: ...
  5621. @typing.overload
  5622. @staticmethod
  5623. def remove(key: PySide6.QtGui.QPixmapCache.Key, /) -> None: ...
  5624. @typing.overload
  5625. @staticmethod
  5626. def remove(key: str, /) -> None: ...
  5627. @staticmethod
  5628. def replace(key: PySide6.QtGui.QPixmapCache.Key, pixmap: PySide6.QtGui.QPixmap | PySide6.QtGui.QImage, /) -> bool: ...
  5629. @staticmethod
  5630. def setCacheLimit(arg__1: int, /) -> None: ...
  5631. class QPlatformSurfaceEvent(PySide6.QtCore.QEvent):
  5632. class SurfaceEventType(enum.Enum):
  5633. SurfaceCreated = 0x0
  5634. SurfaceAboutToBeDestroyed = 0x1
  5635. def __init__(self, arg__1: PySide6.QtGui.QPlatformSurfaceEvent, /) -> None: ...
  5636. def clone(self, /) -> PySide6.QtGui.QPlatformSurfaceEvent: ...
  5637. def surfaceEventType(self, /) -> PySide6.QtGui.QPlatformSurfaceEvent.SurfaceEventType: ...
  5638. class QPointFList: ...
  5639. class QPointList: ...
  5640. class QPointerEvent(PySide6.QtGui.QInputEvent):
  5641. @typing.overload
  5642. def __init__(self, arg__1: PySide6.QtGui.QPointerEvent, /) -> None: ...
  5643. @typing.overload
  5644. def __init__(self, type: PySide6.QtCore.QEvent.Type, dev: PySide6.QtGui.QPointingDevice, /, modifiers: PySide6.QtCore.Qt.KeyboardModifier = ..., points: collections.abc.Sequence[PySide6.QtGui.QEventPoint] = ...) -> None: ...
  5645. def __repr__(self, /) -> str: ...
  5646. def addPassiveGrabber(self, point: PySide6.QtGui.QEventPoint, grabber: PySide6.QtCore.QObject, /) -> bool: ...
  5647. def allPointsAccepted(self, /) -> bool: ...
  5648. def allPointsGrabbed(self, /) -> bool: ...
  5649. def clearPassiveGrabbers(self, point: PySide6.QtGui.QEventPoint, /) -> None: ...
  5650. def clone(self, /) -> PySide6.QtGui.QPointerEvent: ...
  5651. def exclusiveGrabber(self, point: PySide6.QtGui.QEventPoint, /) -> PySide6.QtCore.QObject: ...
  5652. def isBeginEvent(self, /) -> bool: ...
  5653. def isEndEvent(self, /) -> bool: ...
  5654. def isUpdateEvent(self, /) -> bool: ...
  5655. def point(self, i: int, /) -> PySide6.QtGui.QEventPoint: ...
  5656. def pointById(self, id: int, /) -> PySide6.QtGui.QEventPoint: ...
  5657. def pointCount(self, /) -> int: ...
  5658. def pointerType(self, /) -> PySide6.QtGui.QPointingDevice.PointerType: ...
  5659. def pointingDevice(self, /) -> PySide6.QtGui.QPointingDevice: ...
  5660. def points(self, /) -> typing.List[PySide6.QtGui.QEventPoint]: ...
  5661. def removePassiveGrabber(self, point: PySide6.QtGui.QEventPoint, grabber: PySide6.QtCore.QObject, /) -> bool: ...
  5662. def setAccepted(self, accepted: bool, /) -> None: ...
  5663. def setExclusiveGrabber(self, point: PySide6.QtGui.QEventPoint, exclusiveGrabber: PySide6.QtCore.QObject, /) -> None: ...
  5664. def setTimestamp(self, timestamp: int, /) -> None: ...
  5665. class QPointingDevice(PySide6.QtGui.QInputDevice):
  5666. grabChanged : typing.ClassVar[Signal] = ... # grabChanged(QObject*,GrabTransition,const QPointerEvent*,QEventPoint)
  5667. class GrabTransition(enum.Enum):
  5668. GrabPassive = 0x1
  5669. UngrabPassive = 0x2
  5670. CancelGrabPassive = 0x3
  5671. OverrideGrabPassive = 0x4
  5672. GrabExclusive = 0x10
  5673. UngrabExclusive = 0x20
  5674. CancelGrabExclusive = 0x30
  5675. class PointerType(enum.Flag):
  5676. Unknown = 0x0
  5677. Generic = 0x1
  5678. Finger = 0x2
  5679. Pen = 0x4
  5680. Eraser = 0x8
  5681. Cursor = 0x10
  5682. AllPointerTypes = 0x7fff
  5683. @typing.overload
  5684. def __init__(self, name: str, systemId: int, devType: PySide6.QtGui.QInputDevice.DeviceType, pType: PySide6.QtGui.QPointingDevice.PointerType, caps: PySide6.QtGui.QInputDevice.Capability, maxPoints: int, buttonCount: int, /, seatName: str = ..., uniqueId: PySide6.QtGui.QPointingDeviceUniqueId = ..., parent: PySide6.QtCore.QObject | None = ..., *, pointerType: PySide6.QtGui.QPointingDevice.PointerType | None = ..., maximumPoints: int | None = ...) -> None: ...
  5685. @typing.overload
  5686. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, pointerType: PySide6.QtGui.QPointingDevice.PointerType | None = ..., maximumPoints: int | None = ..., buttonCount: int | None = ..., uniqueId: PySide6.QtGui.QPointingDeviceUniqueId | None = ...) -> None: ...
  5687. def __eq__(self, other: PySide6.QtGui.QPointingDevice, /) -> bool: ...
  5688. def __repr__(self, /) -> str: ...
  5689. def buttonCount(self, /) -> int: ...
  5690. def maximumPoints(self, /) -> int: ...
  5691. def pointerType(self, /) -> PySide6.QtGui.QPointingDevice.PointerType: ...
  5692. @staticmethod
  5693. def primaryPointingDevice(seatName: str = ...) -> PySide6.QtGui.QPointingDevice: ...
  5694. def setCapabilities(self, caps: PySide6.QtGui.QInputDevice.Capability, /) -> None: ...
  5695. def setMaximumTouchPoints(self, c: int, /) -> None: ...
  5696. def setType(self, devType: PySide6.QtGui.QInputDevice.DeviceType, /) -> None: ...
  5697. def uniqueId(self, /) -> PySide6.QtGui.QPointingDeviceUniqueId: ...
  5698. class QPointingDeviceUniqueId(Shiboken.Object):
  5699. @typing.overload
  5700. def __init__(self, QPointingDeviceUniqueId: PySide6.QtGui.QPointingDeviceUniqueId, /, *, numericId: int | None = ...) -> None: ...
  5701. @typing.overload
  5702. def __init__(self, /, *, numericId: int | None = ...) -> None: ...
  5703. def __copy__(self, /) -> typing.Self: ...
  5704. def __eq__(self, rhs: PySide6.QtGui.QPointingDeviceUniqueId, /) -> bool: ...
  5705. def __hash__(self, /) -> int: ...
  5706. def __ne__(self, rhs: PySide6.QtGui.QPointingDeviceUniqueId, /) -> bool: ...
  5707. @staticmethod
  5708. def fromNumericId(id: int, /) -> PySide6.QtGui.QPointingDeviceUniqueId: ...
  5709. def isValid(self, /) -> bool: ...
  5710. def numericId(self, /) -> int: ...
  5711. class QPolygon(Shiboken.Object):
  5712. @typing.overload
  5713. def __init__(self, /) -> None: ...
  5714. @typing.overload
  5715. def __init__(self, QPolygon: PySide6.QtGui.QPolygon, /) -> None: ...
  5716. @typing.overload
  5717. def __init__(self, r: PySide6.QtCore.QRect, /, closed: bool = ...) -> None: ...
  5718. @typing.overload
  5719. def __init__(self, v: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> None: ...
  5720. def __add__(self, l: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5721. def __copy__(self, /) -> typing.Self: ...
  5722. def __eq__(self, arg__1: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> bool: ...
  5723. @typing.overload
  5724. def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5725. @typing.overload
  5726. def __lshift__(self, arg__1: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QPolygon: ...
  5727. @typing.overload
  5728. def __lshift__(self, arg__1: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> PySide6.QtGui.QPolygon: ...
  5729. def __mul__(self, m: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QPolygon: ...
  5730. def __ne__(self, arg__1: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> bool: ...
  5731. def __reduce__(self, /) -> str: ...
  5732. def __repr__(self, /) -> str: ...
  5733. def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5734. @typing.overload
  5735. def append(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  5736. @typing.overload
  5737. def append(self, l: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> None: ...
  5738. def at(self, i: int, /) -> PySide6.QtCore.QPoint: ...
  5739. def back(self, /) -> PySide6.QtCore.QPoint: ...
  5740. def boundingRect(self, /) -> PySide6.QtCore.QRect: ...
  5741. def capacity(self, /) -> int: ...
  5742. def clear(self, /) -> None: ...
  5743. def constData(self, /) -> PySide6.QtCore.QPoint: ...
  5744. def constFirst(self, /) -> PySide6.QtCore.QPoint: ...
  5745. def constLast(self, /) -> PySide6.QtCore.QPoint: ...
  5746. def containsPoint(self, pt: PySide6.QtCore.QPoint, fillRule: PySide6.QtCore.Qt.FillRule, /) -> bool: ...
  5747. def count(self, /) -> int: ...
  5748. def data(self, /) -> PySide6.QtCore.QPoint: ...
  5749. def empty(self, /) -> bool: ...
  5750. @typing.overload
  5751. def first(self, /) -> PySide6.QtCore.QPoint: ...
  5752. @typing.overload
  5753. def first(self, n: int, /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5754. @staticmethod
  5755. def fromList(list: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5756. @staticmethod
  5757. def fromVector(vector: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5758. def front(self, /) -> PySide6.QtCore.QPoint: ...
  5759. def insert(self, arg__1: int, arg__2: PySide6.QtCore.QPoint, /) -> None: ...
  5760. def intersected(self, r: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QPolygon: ...
  5761. def intersects(self, r: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> bool: ...
  5762. def isEmpty(self, /) -> bool: ...
  5763. def isSharedWith(self, other: collections.abc.Sequence[PySide6.QtCore.QPoint], /) -> bool: ...
  5764. @typing.overload
  5765. def last(self, /) -> PySide6.QtCore.QPoint: ...
  5766. @typing.overload
  5767. def last(self, n: int, /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5768. def length(self, /) -> int: ...
  5769. @staticmethod
  5770. def maxSize() -> int: ...
  5771. def max_size(self, /) -> int: ...
  5772. def mid(self, pos: int, /, len: int = ...) -> typing.List[PySide6.QtCore.QPoint]: ...
  5773. def move(self, from_: int, to: int, /) -> None: ...
  5774. def pop_back(self, /) -> None: ...
  5775. def pop_front(self, /) -> None: ...
  5776. def prepend(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  5777. def push_back(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  5778. def push_front(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  5779. def remove(self, i: int, /, n: int = ...) -> None: ...
  5780. def removeAll(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  5781. def removeAt(self, i: int, /) -> None: ...
  5782. def removeFirst(self, /) -> None: ...
  5783. def removeLast(self, /) -> None: ...
  5784. def removeOne(self, arg__1: PySide6.QtCore.QPoint, /) -> None: ...
  5785. def reserve(self, size: int, /) -> None: ...
  5786. def resize(self, size: int, /) -> None: ...
  5787. def resizeForOverwrite(self, size: int, /) -> None: ...
  5788. def shrink_to_fit(self, /) -> None: ...
  5789. def size(self, /) -> int: ...
  5790. @typing.overload
  5791. def sliced(self, pos: int, /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5792. @typing.overload
  5793. def sliced(self, pos: int, n: int, /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5794. def squeeze(self, /) -> None: ...
  5795. def subtracted(self, r: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QPolygon: ...
  5796. def swap(self, other: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> None: ...
  5797. def swapItemsAt(self, i: int, j: int, /) -> None: ...
  5798. def takeAt(self, i: int, /) -> PySide6.QtCore.QPoint: ...
  5799. def toList(self, /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5800. def toPolygonF(self, /) -> PySide6.QtGui.QPolygonF: ...
  5801. def toVector(self, /) -> typing.List[PySide6.QtCore.QPoint]: ...
  5802. @typing.overload
  5803. def translate(self, offset: PySide6.QtCore.QPoint, /) -> None: ...
  5804. @typing.overload
  5805. def translate(self, dx: int, dy: int, /) -> None: ...
  5806. @typing.overload
  5807. def translated(self, offset: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QPolygon: ...
  5808. @typing.overload
  5809. def translated(self, dx: int, dy: int, /) -> PySide6.QtGui.QPolygon: ...
  5810. def united(self, r: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QPolygon: ...
  5811. def value(self, i: int, /) -> PySide6.QtCore.QPoint: ...
  5812. class QPolygonF(Shiboken.Object):
  5813. @typing.overload
  5814. def __init__(self, /) -> None: ...
  5815. @typing.overload
  5816. def __init__(self, QPolygonF: PySide6.QtGui.QPolygonF, /) -> None: ...
  5817. @typing.overload
  5818. def __init__(self, v: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  5819. @typing.overload
  5820. def __init__(self, r: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  5821. @typing.overload
  5822. def __init__(self, a: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> None: ...
  5823. def __add__(self, l: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5824. def __copy__(self, /) -> typing.Self: ...
  5825. def __eq__(self, arg__1: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> bool: ...
  5826. @typing.overload
  5827. def __lshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5828. @typing.overload
  5829. def __lshift__(self, arg__1: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> PySide6.QtGui.QPolygonF: ...
  5830. @typing.overload
  5831. def __lshift__(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtGui.QPolygonF: ...
  5832. def __mul__(self, m: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QPolygonF: ...
  5833. def __ne__(self, arg__1: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> bool: ...
  5834. def __repr__(self, /) -> str: ...
  5835. def __rshift__(self, stream: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5836. @typing.overload
  5837. def append(self, l: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> None: ...
  5838. @typing.overload
  5839. def append(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5840. def at(self, i: int, /) -> PySide6.QtCore.QPointF: ...
  5841. def back(self, /) -> PySide6.QtCore.QPointF: ...
  5842. def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  5843. def capacity(self, /) -> int: ...
  5844. def clear(self, /) -> None: ...
  5845. def constData(self, /) -> PySide6.QtCore.QPointF: ...
  5846. def constFirst(self, /) -> PySide6.QtCore.QPointF: ...
  5847. def constLast(self, /) -> PySide6.QtCore.QPointF: ...
  5848. def containsPoint(self, pt: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, fillRule: PySide6.QtCore.Qt.FillRule, /) -> bool: ...
  5849. def count(self, /) -> int: ...
  5850. def data(self, /) -> PySide6.QtCore.QPointF: ...
  5851. def empty(self, /) -> bool: ...
  5852. @typing.overload
  5853. def first(self, /) -> PySide6.QtCore.QPointF: ...
  5854. @typing.overload
  5855. def first(self, n: int, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5856. @staticmethod
  5857. def fromList(list: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5858. @staticmethod
  5859. def fromVector(vector: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5860. def front(self, /) -> PySide6.QtCore.QPointF: ...
  5861. def insert(self, arg__1: int, arg__2: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5862. def intersected(self, r: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> PySide6.QtGui.QPolygonF: ...
  5863. def intersects(self, r: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> bool: ...
  5864. def isClosed(self, /) -> bool: ...
  5865. def isEmpty(self, /) -> bool: ...
  5866. def isSharedWith(self, other: collections.abc.Sequence[PySide6.QtCore.QPointF], /) -> bool: ...
  5867. @typing.overload
  5868. def last(self, /) -> PySide6.QtCore.QPointF: ...
  5869. @typing.overload
  5870. def last(self, n: int, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5871. def length(self, /) -> int: ...
  5872. @staticmethod
  5873. def maxSize() -> int: ...
  5874. def max_size(self, /) -> int: ...
  5875. def mid(self, pos: int, /, len: int = ...) -> typing.List[PySide6.QtCore.QPointF]: ...
  5876. def move(self, from_: int, to: int, /) -> None: ...
  5877. def pop_back(self, /) -> None: ...
  5878. def pop_front(self, /) -> None: ...
  5879. def prepend(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5880. def push_back(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5881. def push_front(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5882. def remove(self, i: int, /, n: int = ...) -> None: ...
  5883. def removeAll(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5884. def removeAt(self, i: int, /) -> None: ...
  5885. def removeFirst(self, /) -> None: ...
  5886. def removeLast(self, /) -> None: ...
  5887. def removeOne(self, arg__1: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5888. def reserve(self, size: int, /) -> None: ...
  5889. def resize(self, size: int, /) -> None: ...
  5890. def resizeForOverwrite(self, size: int, /) -> None: ...
  5891. def shrink_to_fit(self, /) -> None: ...
  5892. def size(self, /) -> int: ...
  5893. @typing.overload
  5894. def sliced(self, pos: int, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5895. @typing.overload
  5896. def sliced(self, pos: int, n: int, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5897. def squeeze(self, /) -> None: ...
  5898. def subtracted(self, r: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> PySide6.QtGui.QPolygonF: ...
  5899. def swap(self, other: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> None: ...
  5900. def swapItemsAt(self, i: int, j: int, /) -> None: ...
  5901. def takeAt(self, i: int, /) -> PySide6.QtCore.QPointF: ...
  5902. def toList(self, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5903. def toPolygon(self, /) -> PySide6.QtGui.QPolygon: ...
  5904. def toVector(self, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  5905. @typing.overload
  5906. def translate(self, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  5907. @typing.overload
  5908. def translate(self, dx: float, dy: float, /) -> None: ...
  5909. @typing.overload
  5910. def translated(self, offset: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtGui.QPolygonF: ...
  5911. @typing.overload
  5912. def translated(self, dx: float, dy: float, /) -> PySide6.QtGui.QPolygonF: ...
  5913. def united(self, r: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> PySide6.QtGui.QPolygonF: ...
  5914. def value(self, i: int, /) -> PySide6.QtCore.QPointF: ...
  5915. class QPyTextObject(PySide6.QtCore.QObject, PySide6.QtGui.QTextObjectInterface):
  5916. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  5917. class QQuaternion(Shiboken.Object):
  5918. @typing.overload
  5919. def __init__(self, /) -> None: ...
  5920. @typing.overload
  5921. def __init__(self, QQuaternion: PySide6.QtGui.QQuaternion, /) -> None: ...
  5922. @typing.overload
  5923. def __init__(self, vector: PySide6.QtGui.QVector4D, /) -> None: ...
  5924. @typing.overload
  5925. def __init__(self, scalar: float, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  5926. @typing.overload
  5927. def __init__(self, scalar: float, xpos: float, ypos: float, zpos: float, /) -> None: ...
  5928. def __add__(self, q2: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QQuaternion: ...
  5929. def __copy__(self, /) -> typing.Self: ...
  5930. def __eq__(self, q2: PySide6.QtGui.QQuaternion, /) -> bool: ...
  5931. def __iadd__(self, quaternion: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QQuaternion: ... # type: ignore[misc]
  5932. @typing.overload # type: ignore[misc]
  5933. def __imul__(self, quaternion: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QQuaternion: ...
  5934. @typing.overload
  5935. def __imul__(self, factor: float, /) -> PySide6.QtGui.QQuaternion: ...
  5936. def __isub__(self, quaternion: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QQuaternion: ... # type: ignore[misc]
  5937. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5938. @typing.overload
  5939. def __mul__(self, q2: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QQuaternion: ...
  5940. @typing.overload
  5941. def __mul__(self, factor: float, /) -> PySide6.QtGui.QQuaternion: ...
  5942. def __ne__(self, q2: PySide6.QtGui.QQuaternion, /) -> bool: ...
  5943. def __neg__(self, /) -> PySide6.QtGui.QQuaternion: ...
  5944. def __reduce__(self, /) -> str: ...
  5945. def __repr__(self, /) -> str: ...
  5946. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  5947. def __sub__(self, q2: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QQuaternion: ...
  5948. def conjugated(self, /) -> PySide6.QtGui.QQuaternion: ...
  5949. @staticmethod
  5950. def dotProduct(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, /) -> float: ...
  5951. @staticmethod
  5952. def fromAxes(xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QQuaternion: ...
  5953. @typing.overload
  5954. @staticmethod
  5955. def fromAxisAndAngle(axis: PySide6.QtGui.QVector3D, angle: float, /) -> PySide6.QtGui.QQuaternion: ...
  5956. @typing.overload
  5957. @staticmethod
  5958. def fromAxisAndAngle(x: float, y: float, z: float, angle: float, /) -> PySide6.QtGui.QQuaternion: ...
  5959. @staticmethod
  5960. def fromDirection(direction: PySide6.QtGui.QVector3D, up: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QQuaternion: ...
  5961. @typing.overload
  5962. @staticmethod
  5963. def fromEulerAngles(angles: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QQuaternion: ...
  5964. @typing.overload
  5965. @staticmethod
  5966. def fromEulerAngles(pitch: float, yaw: float, roll: float, /) -> PySide6.QtGui.QQuaternion: ...
  5967. @staticmethod
  5968. def fromRotationMatrix(rot3x3: PySide6.QtGui.QMatrix3x3, /) -> PySide6.QtGui.QQuaternion: ...
  5969. def getAxes(self, xAxis: PySide6.QtGui.QVector3D, yAxis: PySide6.QtGui.QVector3D, zAxis: PySide6.QtGui.QVector3D, /) -> None: ...
  5970. def getAxisAndAngle(self, /) -> typing.Tuple[PySide6.QtGui.QVector3D, float]: ...
  5971. def getEulerAngles(self, /) -> typing.Tuple[float, float, float]: ...
  5972. def inverted(self, /) -> PySide6.QtGui.QQuaternion: ...
  5973. def isIdentity(self, /) -> bool: ...
  5974. def isNull(self, /) -> bool: ...
  5975. def length(self, /) -> float: ...
  5976. def lengthSquared(self, /) -> float: ...
  5977. @staticmethod
  5978. def nlerp(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, t: float, /) -> PySide6.QtGui.QQuaternion: ...
  5979. def normalize(self, /) -> None: ...
  5980. def normalized(self, /) -> PySide6.QtGui.QQuaternion: ...
  5981. def rotatedVector(self, vector: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  5982. @staticmethod
  5983. def rotationTo(from_: PySide6.QtGui.QVector3D, to: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QQuaternion: ...
  5984. def scalar(self, /) -> float: ...
  5985. def setScalar(self, scalar: float, /) -> None: ...
  5986. @typing.overload
  5987. def setVector(self, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  5988. @typing.overload
  5989. def setVector(self, x: float, y: float, z: float, /) -> None: ...
  5990. def setX(self, x: float, /) -> None: ...
  5991. def setY(self, y: float, /) -> None: ...
  5992. def setZ(self, z: float, /) -> None: ...
  5993. @staticmethod
  5994. def slerp(q1: PySide6.QtGui.QQuaternion, q2: PySide6.QtGui.QQuaternion, t: float, /) -> PySide6.QtGui.QQuaternion: ...
  5995. def toEulerAngles(self, /) -> PySide6.QtGui.QVector3D: ...
  5996. def toRotationMatrix(self, /) -> PySide6.QtGui.QMatrix3x3: ...
  5997. def toVector4D(self, /) -> PySide6.QtGui.QVector4D: ...
  5998. def vector(self, /) -> PySide6.QtGui.QVector3D: ...
  5999. def x(self, /) -> float: ...
  6000. def y(self, /) -> float: ...
  6001. def z(self, /) -> float: ...
  6002. class QRadialGradient(PySide6.QtGui.QGradient):
  6003. @typing.overload
  6004. def __init__(self, /) -> None: ...
  6005. @typing.overload
  6006. def __init__(self, QRadialGradient: PySide6.QtGui.QRadialGradient, /) -> None: ...
  6007. @typing.overload
  6008. def __init__(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, /) -> None: ...
  6009. @typing.overload
  6010. def __init__(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, radius: float, focalPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  6011. @typing.overload
  6012. def __init__(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, centerRadius: float, focalPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, focalRadius: float, /) -> None: ...
  6013. @typing.overload
  6014. def __init__(self, cx: float, cy: float, radius: float, /) -> None: ...
  6015. @typing.overload
  6016. def __init__(self, cx: float, cy: float, radius: float, fx: float, fy: float, /) -> None: ...
  6017. @typing.overload
  6018. def __init__(self, cx: float, cy: float, centerRadius: float, fx: float, fy: float, focalRadius: float, /) -> None: ...
  6019. def __copy__(self, /) -> typing.Self: ...
  6020. def center(self, /) -> PySide6.QtCore.QPointF: ...
  6021. def centerRadius(self, /) -> float: ...
  6022. def focalPoint(self, /) -> PySide6.QtCore.QPointF: ...
  6023. def focalRadius(self, /) -> float: ...
  6024. def radius(self, /) -> float: ...
  6025. @typing.overload
  6026. def setCenter(self, center: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  6027. @typing.overload
  6028. def setCenter(self, x: float, y: float, /) -> None: ...
  6029. def setCenterRadius(self, radius: float, /) -> None: ...
  6030. @typing.overload
  6031. def setFocalPoint(self, focalPoint: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  6032. @typing.overload
  6033. def setFocalPoint(self, x: float, y: float, /) -> None: ...
  6034. def setFocalRadius(self, radius: float, /) -> None: ...
  6035. def setRadius(self, radius: float, /) -> None: ...
  6036. class QRasterWindow(PySide6.QtGui.QPaintDeviceWindow):
  6037. def __init__(self, /, parent: PySide6.QtGui.QWindow | None = ...) -> None: ...
  6038. def metric(self, metric: PySide6.QtGui.QPaintDevice.PaintDeviceMetric, /) -> int: ...
  6039. def redirected(self, arg__1: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QPaintDevice: ...
  6040. def resizeEvent(self, event: PySide6.QtGui.QResizeEvent, /) -> None: ...
  6041. class QRawFont(Shiboken.Object):
  6042. class AntialiasingType(enum.Enum):
  6043. PixelAntialiasing = 0x0
  6044. SubPixelAntialiasing = 0x1
  6045. class LayoutFlag(enum.Flag):
  6046. SeparateAdvances = 0x0
  6047. KernedAdvances = 0x1
  6048. UseDesignMetrics = 0x2
  6049. @typing.overload
  6050. def __init__(self, /) -> None: ...
  6051. @typing.overload
  6052. def __init__(self, other: PySide6.QtGui.QRawFont, /) -> None: ...
  6053. @typing.overload
  6054. def __init__(self, fileName: str, pixelSize: float, /, hintingPreference: PySide6.QtGui.QFont.HintingPreference = ...) -> None: ...
  6055. @typing.overload
  6056. def __init__(self, fontData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, pixelSize: float, /, hintingPreference: PySide6.QtGui.QFont.HintingPreference = ...) -> None: ...
  6057. def __copy__(self, /) -> typing.Self: ...
  6058. def __eq__(self, other: PySide6.QtGui.QRawFont, /) -> bool: ...
  6059. def __hash__(self, /) -> int: ...
  6060. def __ne__(self, other: PySide6.QtGui.QRawFont, /) -> bool: ...
  6061. @typing.overload
  6062. def advancesForGlyphIndexes(self, glyphIndexes: collections.abc.Sequence[int], /) -> typing.List[PySide6.QtCore.QPointF]: ...
  6063. @typing.overload
  6064. def advancesForGlyphIndexes(self, glyphIndexes: collections.abc.Sequence[int], layoutFlags: PySide6.QtGui.QRawFont.LayoutFlag, /) -> typing.List[PySide6.QtCore.QPointF]: ...
  6065. def alphaMapForGlyph(self, glyphIndex: int, /, antialiasingType: PySide6.QtGui.QRawFont.AntialiasingType = ..., transform: PySide6.QtGui.QTransform = ...) -> PySide6.QtGui.QImage: ...
  6066. def ascent(self, /) -> float: ...
  6067. def averageCharWidth(self, /) -> float: ...
  6068. def boundingRect(self, glyphIndex: int, /) -> PySide6.QtCore.QRectF: ...
  6069. def capHeight(self, /) -> float: ...
  6070. def descent(self, /) -> float: ...
  6071. def familyName(self, /) -> str: ...
  6072. @typing.overload
  6073. def fontTable(self, tag: PySide6.QtGui.QFont.Tag | str, /) -> PySide6.QtCore.QByteArray: ...
  6074. @typing.overload
  6075. def fontTable(self, tagName: bytes | bytearray | memoryview, /) -> PySide6.QtCore.QByteArray: ...
  6076. @staticmethod
  6077. def fromFont(font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /, writingSystem: PySide6.QtGui.QFontDatabase.WritingSystem = ...) -> PySide6.QtGui.QRawFont: ...
  6078. def glyphIndexesForString(self, text: str, /) -> typing.List[int]: ...
  6079. def hintingPreference(self, /) -> PySide6.QtGui.QFont.HintingPreference: ...
  6080. def isValid(self, /) -> bool: ...
  6081. def leading(self, /) -> float: ...
  6082. def lineThickness(self, /) -> float: ...
  6083. def loadFromData(self, fontData: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, pixelSize: float, hintingPreference: PySide6.QtGui.QFont.HintingPreference, /) -> None: ...
  6084. def loadFromFile(self, fileName: str, pixelSize: float, hintingPreference: PySide6.QtGui.QFont.HintingPreference, /) -> None: ...
  6085. def maxCharWidth(self, /) -> float: ...
  6086. def pathForGlyph(self, glyphIndex: int, /) -> PySide6.QtGui.QPainterPath: ...
  6087. def pixelSize(self, /) -> float: ...
  6088. def setPixelSize(self, pixelSize: float, /) -> None: ...
  6089. def style(self, /) -> PySide6.QtGui.QFont.Style: ...
  6090. def styleName(self, /) -> str: ...
  6091. def supportedWritingSystems(self, /) -> typing.List[PySide6.QtGui.QFontDatabase.WritingSystem]: ...
  6092. @typing.overload
  6093. def supportsCharacter(self, character: str, /) -> bool: ...
  6094. @typing.overload
  6095. def supportsCharacter(self, ucs4: int, /) -> bool: ...
  6096. def swap(self, other: PySide6.QtGui.QRawFont, /) -> None: ...
  6097. def underlinePosition(self, /) -> float: ...
  6098. def unitsPerEm(self, /) -> float: ...
  6099. def weight(self, /) -> int: ...
  6100. def xHeight(self, /) -> float: ...
  6101. class QRegion(Shiboken.Object):
  6102. class RegionType(enum.Enum):
  6103. Rectangle = 0x0
  6104. Ellipse = 0x1
  6105. @typing.overload
  6106. def __init__(self, /) -> None: ...
  6107. @typing.overload
  6108. def __init__(self, r: PySide6.QtCore.QRect, /, t: PySide6.QtGui.QRegion.RegionType = ...) -> None: ...
  6109. @typing.overload
  6110. def __init__(self, region: PySide6.QtGui.QRegion, /) -> None: ...
  6111. @typing.overload
  6112. def __init__(self, pa: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /, fillRule: PySide6.QtCore.Qt.FillRule = ...) -> None: ...
  6113. @typing.overload
  6114. def __init__(self, bitmap: PySide6.QtGui.QBitmap | str, /) -> None: ...
  6115. @typing.overload
  6116. def __init__(self, x: int, y: int, w: int, h: int, /, t: PySide6.QtGui.QRegion.RegionType = ...) -> None: ...
  6117. @typing.overload
  6118. def __add__(self, r: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6119. @typing.overload
  6120. def __add__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6121. @typing.overload
  6122. def __and__(self, r: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6123. @typing.overload
  6124. def __and__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6125. def __copy__(self, /) -> typing.Self: ...
  6126. def __eq__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> bool: ...
  6127. @typing.overload
  6128. def __iadd__(self, r: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6129. @typing.overload
  6130. def __iadd__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6131. def __ior__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6132. def __isub__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6133. def __ixor__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6134. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  6135. def __mul__(self, m: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QRegion: ...
  6136. def __ne__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> bool: ...
  6137. def __or__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6138. def __repr__(self, /) -> str: ...
  6139. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  6140. def __sub__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6141. def __xor__(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6142. def begin(self, /) -> PySide6.QtCore.QRect: ...
  6143. def boundingRect(self, /) -> PySide6.QtCore.QRect: ...
  6144. def cbegin(self, /) -> PySide6.QtCore.QRect: ...
  6145. def cend(self, /) -> PySide6.QtCore.QRect: ...
  6146. @typing.overload
  6147. def contains(self, p: PySide6.QtCore.QPoint, /) -> bool: ...
  6148. @typing.overload
  6149. def contains(self, r: PySide6.QtCore.QRect, /) -> bool: ...
  6150. def end(self, /) -> PySide6.QtCore.QRect: ...
  6151. @staticmethod
  6152. def fromHRGN(hrgn: int, /) -> PySide6.QtGui.QRegion: ...
  6153. @typing.overload
  6154. def intersected(self, r: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6155. @typing.overload
  6156. def intersected(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6157. @typing.overload
  6158. def intersects(self, r: PySide6.QtCore.QRect, /) -> bool: ...
  6159. @typing.overload
  6160. def intersects(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> bool: ...
  6161. def isEmpty(self, /) -> bool: ...
  6162. def isNull(self, /) -> bool: ...
  6163. def rectCount(self, /) -> int: ...
  6164. def setRects(self, rect: PySide6.QtCore.QRect, num: int, /) -> None: ...
  6165. def subtracted(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6166. def swap(self, other: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  6167. def toHRGN(self, /) -> int: ...
  6168. @typing.overload
  6169. def translate(self, p: PySide6.QtCore.QPoint, /) -> None: ...
  6170. @typing.overload
  6171. def translate(self, dx: int, dy: int, /) -> None: ...
  6172. @typing.overload
  6173. def translated(self, p: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QRegion: ...
  6174. @typing.overload
  6175. def translated(self, dx: int, dy: int, /) -> PySide6.QtGui.QRegion: ...
  6176. @typing.overload
  6177. def united(self, r: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6178. @typing.overload
  6179. def united(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6180. def xored(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  6181. class QRegularExpressionValidator(PySide6.QtGui.QValidator):
  6182. regularExpressionChanged : typing.ClassVar[Signal] = ... # regularExpressionChanged(QRegularExpression)
  6183. @typing.overload
  6184. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, regularExpression: PySide6.QtCore.QRegularExpression | None = ...) -> None: ...
  6185. @typing.overload
  6186. def __init__(self, re: PySide6.QtCore.QRegularExpression | str, /, parent: PySide6.QtCore.QObject | None = ..., *, regularExpression: PySide6.QtCore.QRegularExpression | None = ...) -> None: ...
  6187. def regularExpression(self, /) -> PySide6.QtCore.QRegularExpression: ...
  6188. def setRegularExpression(self, re: PySide6.QtCore.QRegularExpression | str, /) -> None: ...
  6189. def validate(self, input: str, pos: int, /) -> object: ...
  6190. class QResizeEvent(PySide6.QtCore.QEvent):
  6191. @typing.overload
  6192. def __init__(self, arg__1: PySide6.QtGui.QResizeEvent, /) -> None: ...
  6193. @typing.overload
  6194. def __init__(self, size: PySide6.QtCore.QSize, oldSize: PySide6.QtCore.QSize, /) -> None: ...
  6195. def __repr__(self, /) -> str: ...
  6196. def clone(self, /) -> PySide6.QtGui.QResizeEvent: ...
  6197. def oldSize(self, /) -> PySide6.QtCore.QSize: ...
  6198. def size(self, /) -> PySide6.QtCore.QSize: ...
  6199. class QRgba64(Shiboken.Object):
  6200. @typing.overload
  6201. def __init__(self, /) -> None: ...
  6202. @typing.overload
  6203. def __init__(self, QRgba64: PySide6.QtGui.QRgba64, /) -> None: ...
  6204. def __copy__(self, /) -> typing.Self: ...
  6205. def alpha(self, /) -> int: ...
  6206. def alpha8(self, /) -> int: ...
  6207. def blue(self, /) -> int: ...
  6208. def blue8(self, /) -> int: ...
  6209. @staticmethod
  6210. def fromArgb32(rgb: int, /) -> PySide6.QtGui.QRgba64: ...
  6211. @staticmethod
  6212. def fromRgba(red: int, green: int, blue: int, alpha: int, /) -> PySide6.QtGui.QRgba64: ...
  6213. @typing.overload
  6214. @staticmethod
  6215. def fromRgba64(c: int, /) -> PySide6.QtGui.QRgba64: ...
  6216. @typing.overload
  6217. @staticmethod
  6218. def fromRgba64(red: int, green: int, blue: int, alpha: int, /) -> PySide6.QtGui.QRgba64: ...
  6219. def green(self, /) -> int: ...
  6220. def green8(self, /) -> int: ...
  6221. def isOpaque(self, /) -> bool: ...
  6222. def isTransparent(self, /) -> bool: ...
  6223. def premultiplied(self, /) -> PySide6.QtGui.QRgba64: ...
  6224. def red(self, /) -> int: ...
  6225. def red8(self, /) -> int: ...
  6226. def setAlpha(self, _alpha: int, /) -> None: ...
  6227. def setBlue(self, _blue: int, /) -> None: ...
  6228. def setGreen(self, _green: int, /) -> None: ...
  6229. def setRed(self, _red: int, /) -> None: ...
  6230. def toArgb32(self, /) -> int: ...
  6231. def toRgb16(self, /) -> int: ...
  6232. def unpremultiplied(self, /) -> PySide6.QtGui.QRgba64: ...
  6233. class QRhi(Shiboken.Object):
  6234. class BeginFrameFlag(enum.Flag): ... # type: ignore[misc]
  6235. class EndFrameFlag(enum.Flag):
  6236. SkipPresent = 0x1
  6237. class Feature(enum.Enum):
  6238. MultisampleTexture = 0x1
  6239. MultisampleRenderBuffer = 0x2
  6240. DebugMarkers = 0x3
  6241. Timestamps = 0x4
  6242. Instancing = 0x5
  6243. CustomInstanceStepRate = 0x6
  6244. PrimitiveRestart = 0x7
  6245. NonDynamicUniformBuffers = 0x8
  6246. NonFourAlignedEffectiveIndexBufferOffset = 0x9
  6247. NPOTTextureRepeat = 0xa
  6248. RedOrAlpha8IsRed = 0xb
  6249. ElementIndexUint = 0xc
  6250. Compute = 0xd
  6251. WideLines = 0xe
  6252. VertexShaderPointSize = 0xf
  6253. BaseVertex = 0x10
  6254. BaseInstance = 0x11
  6255. TriangleFanTopology = 0x12
  6256. ReadBackNonUniformBuffer = 0x13
  6257. ReadBackNonBaseMipLevel = 0x14
  6258. TexelFetch = 0x15
  6259. RenderToNonBaseMipLevel = 0x16
  6260. IntAttributes = 0x17
  6261. ScreenSpaceDerivatives = 0x18
  6262. ReadBackAnyTextureFormat = 0x19
  6263. PipelineCacheDataLoadSave = 0x1a
  6264. ImageDataStride = 0x1b
  6265. RenderBufferImport = 0x1c
  6266. ThreeDimensionalTextures = 0x1d
  6267. RenderTo3DTextureSlice = 0x1e
  6268. TextureArrays = 0x1f
  6269. Tessellation = 0x20
  6270. GeometryShader = 0x21
  6271. TextureArrayRange = 0x22
  6272. NonFillPolygonMode = 0x23
  6273. OneDimensionalTextures = 0x24
  6274. OneDimensionalTextureMipmaps = 0x25
  6275. HalfAttributes = 0x26
  6276. RenderToOneDimensionalTexture = 0x27
  6277. ThreeDimensionalTextureMipmaps = 0x28
  6278. MultiView = 0x29
  6279. TextureViewFormat = 0x2a
  6280. ResolveDepthStencil = 0x2b
  6281. VariableRateShading = 0x2c
  6282. VariableRateShadingMap = 0x2d
  6283. VariableRateShadingMapWithTexture = 0x2e
  6284. PerRenderTargetBlending = 0x2f
  6285. SampleVariables = 0x30
  6286. class Flag(enum.Flag):
  6287. EnableDebugMarkers = 0x1
  6288. PreferSoftwareRenderer = 0x2
  6289. EnablePipelineCacheDataSave = 0x4
  6290. EnableTimestamps = 0x8
  6291. SuppressSmokeTestWarnings = 0x10
  6292. class FrameOpResult(enum.Enum):
  6293. FrameOpSuccess = 0x0
  6294. FrameOpError = 0x1
  6295. FrameOpSwapChainOutOfDate = 0x2
  6296. FrameOpDeviceLost = 0x3
  6297. class Implementation(enum.Enum):
  6298. Null = 0x0
  6299. Vulkan = 0x1
  6300. OpenGLES2 = 0x2
  6301. D3D11 = 0x3
  6302. Metal = 0x4
  6303. D3D12 = 0x5
  6304. class ResourceLimit(enum.Enum):
  6305. TextureSizeMin = 0x1
  6306. TextureSizeMax = 0x2
  6307. MaxColorAttachments = 0x3
  6308. FramesInFlight = 0x4
  6309. MaxAsyncReadbackFrames = 0x5
  6310. MaxThreadGroupsPerDimension = 0x6
  6311. MaxThreadsPerThreadGroup = 0x7
  6312. MaxThreadGroupX = 0x8
  6313. MaxThreadGroupY = 0x9
  6314. MaxThreadGroupZ = 0xa
  6315. TextureArraySizeMax = 0xb
  6316. MaxUniformBufferRange = 0xc
  6317. MaxVertexInputs = 0xd
  6318. MaxVertexOutputs = 0xe
  6319. ShadingRateImageTileSize = 0xf
  6320. def __init__(self, /) -> None: ...
  6321. def backend(self, /) -> PySide6.QtGui.QRhi.Implementation: ...
  6322. @typing.overload # type: ignore[misc, overload-cannot-match]
  6323. @staticmethod
  6324. def backendName(impl: PySide6.QtGui.QRhi.Implementation, /) -> bytes | bytearray | memoryview: ... # type: ignore[misc, overload-cannot-match]
  6325. @typing.overload # type: ignore[misc, overload-cannot-match]
  6326. def backendName(self, /) -> bytes | bytearray | memoryview: ... # type: ignore[misc, overload-cannot-match]
  6327. def beginFrame(self, swapChain: PySide6.QtGui.QRhiSwapChain, /, flags: PySide6.QtGui.QRhi.BeginFrameFlag = ...) -> PySide6.QtGui.QRhi.FrameOpResult: ...
  6328. def beginOffscreenFrame(self, cb: PySide6.QtGui.QRhiCommandBuffer, /, flags: PySide6.QtGui.QRhi.BeginFrameFlag = ...) -> PySide6.QtGui.QRhi.FrameOpResult: ...
  6329. def clipSpaceCorrMatrix(self, /) -> PySide6.QtGui.QMatrix4x4: ...
  6330. @typing.overload
  6331. @staticmethod
  6332. def create(impl: PySide6.QtGui.QRhi.Implementation, params: PySide6.QtGui.QRhiInitParams, flags: PySide6.QtGui.QRhi.Flag, importDevice: PySide6.QtGui.QRhiNativeHandles, adapter: PySide6.QtGui.QRhiAdapter, /) -> PySide6.QtGui.QRhi: ...
  6333. @typing.overload
  6334. @staticmethod
  6335. def create(impl: PySide6.QtGui.QRhi.Implementation, params: PySide6.QtGui.QRhiInitParams, /, flags: PySide6.QtGui.QRhi.Flag = ..., importDevice: PySide6.QtGui.QRhiNativeHandles | None = ...) -> PySide6.QtGui.QRhi: ...
  6336. def currentFrameSlot(self, /) -> int: ...
  6337. def driverInfo(self, /) -> PySide6.QtGui.QRhiDriverInfo: ...
  6338. def endFrame(self, swapChain: PySide6.QtGui.QRhiSwapChain, /, flags: PySide6.QtGui.QRhi.EndFrameFlag = ...) -> PySide6.QtGui.QRhi.FrameOpResult: ...
  6339. def endOffscreenFrame(self, /, flags: PySide6.QtGui.QRhi.EndFrameFlag = ...) -> PySide6.QtGui.QRhi.FrameOpResult: ...
  6340. @staticmethod
  6341. def enumerateAdapters(impl: PySide6.QtGui.QRhi.Implementation, params: PySide6.QtGui.QRhiInitParams, /, nativeHandles: PySide6.QtGui.QRhiNativeHandles | None = ...) -> typing.List[PySide6.QtGui.QRhiAdapter]: ...
  6342. def finish(self, /) -> PySide6.QtGui.QRhi.FrameOpResult: ...
  6343. def isClipDepthZeroToOne(self, /) -> bool: ...
  6344. def isDeviceLost(self, /) -> bool: ...
  6345. def isFeatureSupported(self, feature: PySide6.QtGui.QRhi.Feature, /) -> bool: ...
  6346. def isRecordingFrame(self, /) -> bool: ...
  6347. def isTextureFormatSupported(self, format: PySide6.QtGui.QRhiTexture.Format, /, flags: PySide6.QtGui.QRhiTexture.Flag = ...) -> bool: ...
  6348. def isYUpInFramebuffer(self, /) -> bool: ...
  6349. def isYUpInNDC(self, /) -> bool: ...
  6350. def makeThreadLocalNativeContextCurrent(self, /) -> bool: ...
  6351. @staticmethod
  6352. def mipLevelsForSize(size: PySide6.QtCore.QSize, /) -> int: ...
  6353. def nativeHandles(self, /) -> PySide6.QtGui.QRhiNativeHandles: ...
  6354. def newBuffer(self, type: PySide6.QtGui.QRhiBuffer.Type, usage: PySide6.QtGui.QRhiBuffer.UsageFlag, size: int, /) -> PySide6.QtGui.QRhiBuffer: ...
  6355. def newComputePipeline(self, /) -> PySide6.QtGui.QRhiComputePipeline: ...
  6356. def newGraphicsPipeline(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline: ...
  6357. def newRenderBuffer(self, type: PySide6.QtGui.QRhiRenderBuffer.Type, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ..., flags: PySide6.QtGui.QRhiRenderBuffer.Flag = ..., backingFormatHint: PySide6.QtGui.QRhiTexture.Format = ...) -> PySide6.QtGui.QRhiRenderBuffer: ...
  6358. def newSampler(self, magFilter: PySide6.QtGui.QRhiSampler.Filter, minFilter: PySide6.QtGui.QRhiSampler.Filter, mipmapMode: PySide6.QtGui.QRhiSampler.Filter, addressU: PySide6.QtGui.QRhiSampler.AddressMode, addressV: PySide6.QtGui.QRhiSampler.AddressMode, /, addressW: PySide6.QtGui.QRhiSampler.AddressMode = ...) -> PySide6.QtGui.QRhiSampler: ...
  6359. def newShaderResourceBindings(self, /) -> PySide6.QtGui.QRhiShaderResourceBindings: ...
  6360. def newSwapChain(self, /) -> PySide6.QtGui.QRhiSwapChain: ...
  6361. @typing.overload
  6362. def newTexture(self, format: PySide6.QtGui.QRhiTexture.Format, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ..., flags: PySide6.QtGui.QRhiTexture.Flag = ...) -> PySide6.QtGui.QRhiTexture: ...
  6363. @typing.overload
  6364. def newTexture(self, format: PySide6.QtGui.QRhiTexture.Format, width: int, height: int, depth: int, /, sampleCount: int = ..., flags: PySide6.QtGui.QRhiTexture.Flag = ...) -> PySide6.QtGui.QRhiTexture: ...
  6365. def newTextureArray(self, format: PySide6.QtGui.QRhiTexture.Format, arraySize: int, pixelSize: PySide6.QtCore.QSize, /, sampleCount: int = ..., flags: PySide6.QtGui.QRhiTexture.Flag = ...) -> PySide6.QtGui.QRhiTexture: ...
  6366. def newTextureRenderTarget(self, desc: PySide6.QtGui.QRhiTextureRenderTargetDescription | PySide6.QtGui.QRhiColorAttachment, /, flags: PySide6.QtGui.QRhiTextureRenderTarget.Flag = ...) -> PySide6.QtGui.QRhiTextureRenderTarget: ...
  6367. def nextResourceUpdateBatch(self, /) -> PySide6.QtGui.QRhiResourceUpdateBatch: ...
  6368. def pipelineCacheData(self, /) -> PySide6.QtCore.QByteArray: ...
  6369. @staticmethod
  6370. def probe(impl: PySide6.QtGui.QRhi.Implementation, params: PySide6.QtGui.QRhiInitParams, /) -> bool: ...
  6371. def releaseCachedResources(self, /) -> None: ...
  6372. def removeCleanupCallback(self, key: int, /) -> None: ...
  6373. def resourceLimit(self, limit: PySide6.QtGui.QRhi.ResourceLimit, /) -> int: ...
  6374. def setPipelineCacheData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6375. def setQueueSubmitParams(self, params: PySide6.QtGui.QRhiNativeHandles, /) -> None: ...
  6376. @staticmethod
  6377. def sizeForMipLevel(mipLevel: int, baseLevelSize: PySide6.QtCore.QSize, /) -> PySide6.QtCore.QSize: ...
  6378. def statistics(self, /) -> PySide6.QtGui.QRhiStats: ...
  6379. def supportedSampleCounts(self, /) -> typing.List[int]: ...
  6380. def supportedShadingRates(self, sampleCount: int, /) -> typing.List[PySide6.QtCore.QSize]: ...
  6381. def thread(self, /) -> PySide6.QtCore.QThread: ...
  6382. def ubufAligned(self, v: int, /) -> int: ...
  6383. def ubufAlignment(self, /) -> int: ...
  6384. class QRhiAdapter(Shiboken.Object):
  6385. def __init__(self, /) -> None: ...
  6386. def info(self, /) -> PySide6.QtGui.QRhiDriverInfo: ...
  6387. class QRhiBuffer(PySide6.QtGui.QRhiResource):
  6388. class Type(enum.Enum):
  6389. Immutable = 0x0
  6390. Static = 0x1
  6391. Dynamic = 0x2
  6392. class UsageFlag(enum.Flag):
  6393. VertexBuffer = 0x1
  6394. IndexBuffer = 0x2
  6395. UniformBuffer = 0x4
  6396. StorageBuffer = 0x8
  6397. def create(self, /) -> bool: ...
  6398. def endFullDynamicBufferUpdateForCurrentFrame(self, /) -> None: ...
  6399. def fullDynamicBufferUpdateForCurrentFrame(self, data: int, /, size: int | None = ...) -> None: ...
  6400. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6401. def setSize(self, sz: int, /) -> None: ...
  6402. def setType(self, t: PySide6.QtGui.QRhiBuffer.Type, /) -> None: ...
  6403. def setUsage(self, u: PySide6.QtGui.QRhiBuffer.UsageFlag, /) -> None: ...
  6404. def size(self, /) -> int: ...
  6405. def type(self, /) -> PySide6.QtGui.QRhiBuffer.Type: ...
  6406. def usage(self, /) -> PySide6.QtGui.QRhiBuffer.UsageFlag: ...
  6407. class QRhiColorAttachment(Shiboken.Object):
  6408. @typing.overload
  6409. def __init__(self, /) -> None: ...
  6410. @typing.overload
  6411. def __init__(self, renderBuffer: PySide6.QtGui.QRhiRenderBuffer, /) -> None: ...
  6412. @typing.overload
  6413. def __init__(self, texture: PySide6.QtGui.QRhiTexture, /) -> None: ...
  6414. @typing.overload
  6415. def __init__(self, QRhiColorAttachment: PySide6.QtGui.QRhiColorAttachment, /) -> None: ...
  6416. def __copy__(self, /) -> typing.Self: ...
  6417. def layer(self, /) -> int: ...
  6418. def level(self, /) -> int: ...
  6419. def multiViewCount(self, /) -> int: ...
  6420. def renderBuffer(self, /) -> PySide6.QtGui.QRhiRenderBuffer: ...
  6421. def resolveLayer(self, /) -> int: ...
  6422. def resolveLevel(self, /) -> int: ...
  6423. def resolveTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  6424. def setLayer(self, layer: int, /) -> None: ...
  6425. def setLevel(self, level: int, /) -> None: ...
  6426. def setMultiViewCount(self, count: int, /) -> None: ...
  6427. def setRenderBuffer(self, rb: PySide6.QtGui.QRhiRenderBuffer, /) -> None: ...
  6428. def setResolveLayer(self, layer: int, /) -> None: ...
  6429. def setResolveLevel(self, level: int, /) -> None: ...
  6430. def setResolveTexture(self, tex: PySide6.QtGui.QRhiTexture, /) -> None: ...
  6431. def setTexture(self, tex: PySide6.QtGui.QRhiTexture, /) -> None: ...
  6432. def texture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  6433. class QRhiCommandBuffer(PySide6.QtGui.QRhiResource):
  6434. class BeginPassFlag(enum.Flag):
  6435. ExternalContent = 0x1
  6436. DoNotTrackResourcesForCompute = 0x2
  6437. class IndexFormat(enum.Enum):
  6438. IndexUInt16 = 0x0
  6439. IndexUInt32 = 0x1
  6440. def beginComputePass(self, /, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch | None = ..., flags: PySide6.QtGui.QRhiCommandBuffer.BeginPassFlag = ...) -> None: ...
  6441. def beginExternal(self, /) -> None: ...
  6442. def beginPass(self, rt: PySide6.QtGui.QRhiRenderTarget, colorClearValue: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], depthStencilClearValue: PySide6.QtGui.QRhiDepthStencilClearValue, /, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch | None = ..., flags: PySide6.QtGui.QRhiCommandBuffer.BeginPassFlag = ...) -> None: ...
  6443. def debugMarkBegin(self, name: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6444. def debugMarkEnd(self, /) -> None: ...
  6445. def debugMarkMsg(self, msg: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6446. def dispatch(self, x: int, y: int, z: int, /) -> None: ...
  6447. def draw(self, vertexCount: int, /, instanceCount: int = ..., firstVertex: int | None = ..., firstInstance: int | None = ...) -> None: ...
  6448. def drawIndexed(self, indexCount: int, /, instanceCount: int = ..., firstIndex: int | None = ..., vertexOffset: int | None = ..., firstInstance: int | None = ...) -> None: ...
  6449. def endComputePass(self, /, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch | None = ...) -> None: ...
  6450. def endExternal(self, /) -> None: ...
  6451. def endPass(self, /, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch | None = ...) -> None: ...
  6452. def lastCompletedGpuTime(self, /) -> float: ...
  6453. def nativeHandles(self, /) -> PySide6.QtGui.QRhiNativeHandles: ...
  6454. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6455. def resourceUpdate(self, resourceUpdates: PySide6.QtGui.QRhiResourceUpdateBatch, /) -> None: ...
  6456. def setBlendConstants(self, c: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  6457. def setComputePipeline(self, ps: PySide6.QtGui.QRhiComputePipeline, /) -> None: ...
  6458. def setGraphicsPipeline(self, ps: PySide6.QtGui.QRhiGraphicsPipeline, /) -> None: ...
  6459. def setScissor(self, scissor: PySide6.QtGui.QRhiScissor, /) -> None: ...
  6460. def setShaderResources(self, /, srb: PySide6.QtGui.QRhiShaderResourceBindings | None = ..., dynamicOffsetCount: int | None = ..., dynamicOffsets: typing.Optional[typing.Tuple[int, int]] = ...) -> None: ...
  6461. def setShadingRate(self, coarsePixelSize: PySide6.QtCore.QSize, /) -> None: ...
  6462. def setStencilRef(self, refValue: int, /) -> None: ...
  6463. def setVertexInput(self, startBinding: int, bindings: collections.abc.Sequence[typing.Tuple[PySide6.QtGui.QRhiBuffer, int]], /, indexBuf: PySide6.QtGui.QRhiBuffer | None = ..., indexOffset: int | None = ..., indexFormat: PySide6.QtGui.QRhiCommandBuffer.IndexFormat = ...) -> None: ...
  6464. def setViewport(self, viewport: PySide6.QtGui.QRhiViewport, /) -> None: ...
  6465. class QRhiComputePipeline(PySide6.QtGui.QRhiResource):
  6466. class Flag(enum.Flag):
  6467. CompileShadersWithDebugInfo = 0x1
  6468. def create(self, /) -> bool: ...
  6469. def flags(self, /) -> PySide6.QtGui.QRhiComputePipeline.Flag: ...
  6470. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6471. def setFlags(self, f: PySide6.QtGui.QRhiComputePipeline.Flag, /) -> None: ...
  6472. def setShaderResourceBindings(self, srb: PySide6.QtGui.QRhiShaderResourceBindings, /) -> None: ...
  6473. def setShaderStage(self, stage: PySide6.QtGui.QRhiShaderStage, /) -> None: ...
  6474. def shaderResourceBindings(self, /) -> PySide6.QtGui.QRhiShaderResourceBindings: ...
  6475. def shaderStage(self, /) -> PySide6.QtGui.QRhiShaderStage: ...
  6476. class QRhiD3D11InitParams(PySide6.QtGui.QRhiInitParams):
  6477. @typing.overload
  6478. def __init__(self, /) -> None: ...
  6479. @typing.overload
  6480. def __init__(self, QRhiD3D11InitParams: PySide6.QtGui.QRhiD3D11InitParams, /) -> None: ...
  6481. def __copy__(self, /) -> typing.Self: ...
  6482. class QRhiD3D11NativeHandles(PySide6.QtGui.QRhiNativeHandles):
  6483. @typing.overload
  6484. def __init__(self, /) -> None: ...
  6485. @typing.overload
  6486. def __init__(self, QRhiD3D11NativeHandles: PySide6.QtGui.QRhiD3D11NativeHandles, /) -> None: ...
  6487. def __copy__(self, /) -> typing.Self: ...
  6488. class QRhiD3D12InitParams(PySide6.QtGui.QRhiInitParams):
  6489. @typing.overload
  6490. def __init__(self, /) -> None: ...
  6491. @typing.overload
  6492. def __init__(self, QRhiD3D12InitParams: PySide6.QtGui.QRhiD3D12InitParams, /) -> None: ...
  6493. def __copy__(self, /) -> typing.Self: ...
  6494. class QRhiD3D12NativeHandles(PySide6.QtGui.QRhiNativeHandles):
  6495. @typing.overload
  6496. def __init__(self, /) -> None: ...
  6497. @typing.overload
  6498. def __init__(self, QRhiD3D12NativeHandles: PySide6.QtGui.QRhiD3D12NativeHandles, /) -> None: ...
  6499. def __copy__(self, /) -> typing.Self: ...
  6500. class QRhiDepthStencilClearValue(Shiboken.Object):
  6501. @typing.overload
  6502. def __init__(self, /) -> None: ...
  6503. @typing.overload
  6504. def __init__(self, QRhiDepthStencilClearValue: PySide6.QtGui.QRhiDepthStencilClearValue, /) -> None: ...
  6505. @typing.overload
  6506. def __init__(self, d: float, s: int, /) -> None: ...
  6507. def __copy__(self, /) -> typing.Self: ...
  6508. def __eq__(self, b: PySide6.QtGui.QRhiDepthStencilClearValue, /) -> bool: ...
  6509. def __hash__(self, /) -> int: ...
  6510. def __ne__(self, b: PySide6.QtGui.QRhiDepthStencilClearValue, /) -> bool: ...
  6511. def __repr__(self, /) -> str: ...
  6512. def depthClearValue(self, /) -> float: ...
  6513. def setDepthClearValue(self, d: float, /) -> None: ...
  6514. def setStencilClearValue(self, s: int, /) -> None: ...
  6515. def stencilClearValue(self, /) -> int: ...
  6516. class QRhiDriverInfo(Shiboken.Object):
  6517. class DeviceType(enum.Enum):
  6518. UnknownDevice = 0x0
  6519. IntegratedDevice = 0x1
  6520. DiscreteDevice = 0x2
  6521. ExternalDevice = 0x3
  6522. VirtualDevice = 0x4
  6523. CpuDevice = 0x5
  6524. @typing.overload
  6525. def __init__(self, /) -> None: ...
  6526. @typing.overload
  6527. def __init__(self, QRhiDriverInfo: PySide6.QtGui.QRhiDriverInfo, /) -> None: ...
  6528. def __copy__(self, /) -> typing.Self: ...
  6529. def __repr__(self, /) -> str: ...
  6530. class QRhiGles2InitParams(PySide6.QtGui.QRhiInitParams):
  6531. @typing.overload
  6532. def __init__(self, /) -> None: ...
  6533. @typing.overload
  6534. def __init__(self, QRhiGles2InitParams: PySide6.QtGui.QRhiGles2InitParams, /) -> None: ...
  6535. def __copy__(self, /) -> typing.Self: ...
  6536. @staticmethod
  6537. def newFallbackSurface(format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption = ...) -> PySide6.QtGui.QOffscreenSurface: ...
  6538. class QRhiGles2NativeHandles(PySide6.QtGui.QRhiNativeHandles):
  6539. @typing.overload
  6540. def __init__(self, /) -> None: ...
  6541. @typing.overload
  6542. def __init__(self, QRhiGles2NativeHandles: PySide6.QtGui.QRhiGles2NativeHandles, /) -> None: ...
  6543. def __copy__(self, /) -> typing.Self: ...
  6544. class QRhiGraphicsPipeline(PySide6.QtGui.QRhiResource):
  6545. class BlendFactor(enum.Enum):
  6546. Zero = 0x0
  6547. One = 0x1
  6548. SrcColor = 0x2
  6549. OneMinusSrcColor = 0x3
  6550. DstColor = 0x4
  6551. OneMinusDstColor = 0x5
  6552. SrcAlpha = 0x6
  6553. OneMinusSrcAlpha = 0x7
  6554. DstAlpha = 0x8
  6555. OneMinusDstAlpha = 0x9
  6556. ConstantColor = 0xa
  6557. OneMinusConstantColor = 0xb
  6558. ConstantAlpha = 0xc
  6559. OneMinusConstantAlpha = 0xd
  6560. SrcAlphaSaturate = 0xe
  6561. Src1Color = 0xf
  6562. OneMinusSrc1Color = 0x10
  6563. Src1Alpha = 0x11
  6564. OneMinusSrc1Alpha = 0x12
  6565. class BlendOp(enum.Enum):
  6566. Add = 0x0
  6567. Subtract = 0x1
  6568. ReverseSubtract = 0x2
  6569. Min = 0x3
  6570. Max = 0x4
  6571. class ColorMaskComponent(enum.Flag):
  6572. R = 0x1
  6573. G = 0x2
  6574. B = 0x4
  6575. A = 0x8
  6576. class CompareOp(enum.Enum):
  6577. Never = 0x0
  6578. Less = 0x1
  6579. Equal = 0x2
  6580. LessOrEqual = 0x3
  6581. Greater = 0x4
  6582. NotEqual = 0x5
  6583. GreaterOrEqual = 0x6
  6584. Always = 0x7
  6585. class CullMode(enum.Enum):
  6586. None_ = 0x0
  6587. Front = 0x1
  6588. Back = 0x2
  6589. class Flag(enum.Flag):
  6590. UsesBlendConstants = 0x1
  6591. UsesStencilRef = 0x2
  6592. UsesScissor = 0x4
  6593. CompileShadersWithDebugInfo = 0x8
  6594. UsesShadingRate = 0x10
  6595. class FrontFace(enum.Enum):
  6596. CCW = 0x0
  6597. CW = 0x1
  6598. class PolygonMode(enum.Enum):
  6599. Fill = 0x0
  6600. Line = 0x1
  6601. class StencilOp(enum.Enum):
  6602. StencilZero = 0x0
  6603. Keep = 0x1
  6604. Replace = 0x2
  6605. IncrementAndClamp = 0x3
  6606. DecrementAndClamp = 0x4
  6607. Invert = 0x5
  6608. IncrementAndWrap = 0x6
  6609. DecrementAndWrap = 0x7
  6610. class StencilOpState(Shiboken.Object):
  6611. @typing.overload
  6612. def __init__(self, /) -> None: ...
  6613. @typing.overload
  6614. def __init__(self, StencilOpState: PySide6.QtGui.QRhiGraphicsPipeline.StencilOpState, /) -> None: ...
  6615. def __copy__(self, /) -> typing.Self: ...
  6616. class TargetBlend(Shiboken.Object):
  6617. @typing.overload
  6618. def __init__(self, /) -> None: ...
  6619. @typing.overload
  6620. def __init__(self, TargetBlend: PySide6.QtGui.QRhiGraphicsPipeline.TargetBlend, /) -> None: ...
  6621. def __copy__(self, /) -> typing.Self: ...
  6622. class Topology(enum.Enum):
  6623. Triangles = 0x0
  6624. TriangleStrip = 0x1
  6625. TriangleFan = 0x2
  6626. Lines = 0x3
  6627. LineStrip = 0x4
  6628. Points = 0x5
  6629. Patches = 0x6
  6630. def cbeginShaderStages(self, /) -> PySide6.QtGui.QRhiShaderStage: ...
  6631. def cbeginTargetBlends(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.TargetBlend: ...
  6632. def cendShaderStages(self, /) -> PySide6.QtGui.QRhiShaderStage: ...
  6633. def cendTargetBlends(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.TargetBlend: ...
  6634. def create(self, /) -> bool: ...
  6635. def cullMode(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.CullMode: ...
  6636. def depthBias(self, /) -> int: ...
  6637. def depthOp(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.CompareOp: ...
  6638. def flags(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.Flag: ...
  6639. def frontFace(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.FrontFace: ...
  6640. def hasDepthTest(self, /) -> bool: ...
  6641. def hasDepthWrite(self, /) -> bool: ...
  6642. def hasStencilTest(self, /) -> bool: ...
  6643. def lineWidth(self, /) -> float: ...
  6644. def multiViewCount(self, /) -> int: ...
  6645. def patchControlPointCount(self, /) -> int: ...
  6646. def polygonMode(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.PolygonMode: ...
  6647. def renderPassDescriptor(self, /) -> PySide6.QtGui.QRhiRenderPassDescriptor: ...
  6648. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6649. def sampleCount(self, /) -> int: ...
  6650. def setCullMode(self, mode: PySide6.QtGui.QRhiGraphicsPipeline.CullMode, /) -> None: ...
  6651. def setDepthBias(self, bias: int, /) -> None: ...
  6652. def setDepthOp(self, op: PySide6.QtGui.QRhiGraphicsPipeline.CompareOp, /) -> None: ...
  6653. def setDepthTest(self, enable: bool, /) -> None: ...
  6654. def setDepthWrite(self, enable: bool, /) -> None: ...
  6655. def setFlags(self, f: PySide6.QtGui.QRhiGraphicsPipeline.Flag, /) -> None: ...
  6656. def setFrontFace(self, f: PySide6.QtGui.QRhiGraphicsPipeline.FrontFace, /) -> None: ...
  6657. def setLineWidth(self, width: float, /) -> None: ...
  6658. def setMultiViewCount(self, count: int, /) -> None: ...
  6659. def setPatchControlPointCount(self, count: int, /) -> None: ...
  6660. def setPolygonMode(self, mode: PySide6.QtGui.QRhiGraphicsPipeline.PolygonMode, /) -> None: ...
  6661. def setRenderPassDescriptor(self, desc: PySide6.QtGui.QRhiRenderPassDescriptor, /) -> None: ...
  6662. def setSampleCount(self, s: int, /) -> None: ...
  6663. def setShaderResourceBindings(self, srb: PySide6.QtGui.QRhiShaderResourceBindings, /) -> None: ...
  6664. def setShaderStages(self, stages: collections.abc.Sequence[PySide6.QtGui.QRhiShaderStage], /) -> None: ...
  6665. def setSlopeScaledDepthBias(self, bias: float, /) -> None: ...
  6666. def setStencilBack(self, state: PySide6.QtGui.QRhiGraphicsPipeline.StencilOpState, /) -> None: ...
  6667. def setStencilFront(self, state: PySide6.QtGui.QRhiGraphicsPipeline.StencilOpState, /) -> None: ...
  6668. def setStencilReadMask(self, mask: int, /) -> None: ...
  6669. def setStencilTest(self, enable: bool, /) -> None: ...
  6670. def setStencilWriteMask(self, mask: int, /) -> None: ...
  6671. def setTargetBlends(self, blends: collections.abc.Sequence[PySide6.QtGui.QRhiGraphicsPipeline.TargetBlend], /) -> None: ...
  6672. def setTopology(self, t: PySide6.QtGui.QRhiGraphicsPipeline.Topology, /) -> None: ...
  6673. def setVertexInputLayout(self, layout: PySide6.QtGui.QRhiVertexInputLayout, /) -> None: ...
  6674. def shaderResourceBindings(self, /) -> PySide6.QtGui.QRhiShaderResourceBindings: ...
  6675. def shaderStageAt(self, index: int, /) -> PySide6.QtGui.QRhiShaderStage: ...
  6676. def shaderStageCount(self, /) -> int: ...
  6677. def slopeScaledDepthBias(self, /) -> float: ...
  6678. def stencilBack(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.StencilOpState: ...
  6679. def stencilFront(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.StencilOpState: ...
  6680. def stencilReadMask(self, /) -> int: ...
  6681. def stencilWriteMask(self, /) -> int: ...
  6682. def targetBlendAt(self, index: int, /) -> PySide6.QtGui.QRhiGraphicsPipeline.TargetBlend: ...
  6683. def targetBlendCount(self, /) -> int: ...
  6684. def topology(self, /) -> PySide6.QtGui.QRhiGraphicsPipeline.Topology: ...
  6685. def vertexInputLayout(self, /) -> PySide6.QtGui.QRhiVertexInputLayout: ...
  6686. class QRhiInitParams(Shiboken.Object):
  6687. @typing.overload
  6688. def __init__(self, /) -> None: ...
  6689. @typing.overload
  6690. def __init__(self, QRhiInitParams: PySide6.QtGui.QRhiInitParams, /) -> None: ...
  6691. def __copy__(self, /) -> typing.Self: ...
  6692. class QRhiNativeHandles(Shiboken.Object):
  6693. @typing.overload
  6694. def __init__(self, /) -> None: ...
  6695. @typing.overload
  6696. def __init__(self, QRhiNativeHandles: PySide6.QtGui.QRhiNativeHandles, /) -> None: ...
  6697. def __copy__(self, /) -> typing.Self: ...
  6698. class QRhiNullInitParams(PySide6.QtGui.QRhiInitParams):
  6699. @typing.overload
  6700. def __init__(self, /) -> None: ...
  6701. @typing.overload
  6702. def __init__(self, QRhiNullInitParams: PySide6.QtGui.QRhiNullInitParams, /) -> None: ...
  6703. def __copy__(self, /) -> typing.Self: ...
  6704. class QRhiReadbackDescription(Shiboken.Object):
  6705. @typing.overload
  6706. def __init__(self, /) -> None: ...
  6707. @typing.overload
  6708. def __init__(self, texture: PySide6.QtGui.QRhiTexture, /) -> None: ...
  6709. @typing.overload
  6710. def __init__(self, QRhiReadbackDescription: PySide6.QtGui.QRhiReadbackDescription, /) -> None: ...
  6711. def __copy__(self, /) -> typing.Self: ...
  6712. def layer(self, /) -> int: ...
  6713. def level(self, /) -> int: ...
  6714. def rect(self, /) -> PySide6.QtCore.QRect: ...
  6715. def setLayer(self, layer: int, /) -> None: ...
  6716. def setLevel(self, level: int, /) -> None: ...
  6717. def setRect(self, rectangle: PySide6.QtCore.QRect, /) -> None: ...
  6718. def setTexture(self, tex: PySide6.QtGui.QRhiTexture, /) -> None: ...
  6719. def texture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  6720. class QRhiReadbackResult(Shiboken.Object):
  6721. @typing.overload
  6722. def __init__(self, /) -> None: ...
  6723. @typing.overload
  6724. def __init__(self, QRhiReadbackResult: PySide6.QtGui.QRhiReadbackResult, /) -> None: ...
  6725. def __copy__(self, /) -> typing.Self: ...
  6726. class QRhiRenderBuffer(PySide6.QtGui.QRhiResource):
  6727. class Flag(enum.Flag):
  6728. UsedWithSwapChainOnly = 0x1
  6729. class Type(enum.Enum):
  6730. DepthStencil = 0x0
  6731. Color = 0x1
  6732. def backingFormat(self, /) -> PySide6.QtGui.QRhiTexture.Format: ...
  6733. def create(self, /) -> bool: ...
  6734. def flags(self, /) -> PySide6.QtGui.QRhiRenderBuffer.Flag: ...
  6735. def pixelSize(self, /) -> PySide6.QtCore.QSize: ...
  6736. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6737. def sampleCount(self, /) -> int: ...
  6738. def setFlags(self, f: PySide6.QtGui.QRhiRenderBuffer.Flag, /) -> None: ...
  6739. def setPixelSize(self, sz: PySide6.QtCore.QSize, /) -> None: ...
  6740. def setSampleCount(self, s: int, /) -> None: ...
  6741. def setType(self, t: PySide6.QtGui.QRhiRenderBuffer.Type, /) -> None: ...
  6742. def type(self, /) -> PySide6.QtGui.QRhiRenderBuffer.Type: ...
  6743. class QRhiRenderPassDescriptor(PySide6.QtGui.QRhiResource):
  6744. def isCompatible(self, other: PySide6.QtGui.QRhiRenderPassDescriptor, /) -> bool: ...
  6745. def nativeHandles(self, /) -> PySide6.QtGui.QRhiNativeHandles: ...
  6746. def newCompatibleRenderPassDescriptor(self, /) -> PySide6.QtGui.QRhiRenderPassDescriptor: ...
  6747. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6748. def serializedFormat(self, /) -> typing.List[int]: ...
  6749. class QRhiRenderTarget(PySide6.QtGui.QRhiResource):
  6750. def devicePixelRatio(self, /) -> float: ...
  6751. def pixelSize(self, /) -> PySide6.QtCore.QSize: ...
  6752. def renderPassDescriptor(self, /) -> PySide6.QtGui.QRhiRenderPassDescriptor: ...
  6753. def sampleCount(self, /) -> int: ...
  6754. def setRenderPassDescriptor(self, desc: PySide6.QtGui.QRhiRenderPassDescriptor, /) -> None: ...
  6755. class QRhiResource(Shiboken.Object):
  6756. class Type(enum.Enum):
  6757. Buffer = 0x0
  6758. Texture = 0x1
  6759. Sampler = 0x2
  6760. RenderBuffer = 0x3
  6761. RenderPassDescriptor = 0x4
  6762. SwapChainRenderTarget = 0x5
  6763. TextureRenderTarget = 0x6
  6764. ShaderResourceBindings = 0x7
  6765. GraphicsPipeline = 0x8
  6766. SwapChain = 0x9
  6767. ComputePipeline = 0xa
  6768. CommandBuffer = 0xb
  6769. ShadingRateMap = 0xc
  6770. def deleteLater(self, /) -> None: ...
  6771. def destroy(self, /) -> None: ...
  6772. def globalResourceId(self, /) -> int: ...
  6773. def name(self, /) -> PySide6.QtCore.QByteArray: ...
  6774. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6775. def rhi(self, /) -> PySide6.QtGui.QRhi: ...
  6776. def setName(self, name: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6777. class QRhiResourceUpdateBatch(Shiboken.Object):
  6778. def copyTexture(self, dst: PySide6.QtGui.QRhiTexture, src: PySide6.QtGui.QRhiTexture, /, desc: PySide6.QtGui.QRhiTextureCopyDescription = ...) -> None: ...
  6779. def generateMips(self, tex: PySide6.QtGui.QRhiTexture, /) -> None: ...
  6780. def hasOptimalCapacity(self, /) -> bool: ...
  6781. def merge(self, other: PySide6.QtGui.QRhiResourceUpdateBatch, /) -> None: ...
  6782. def readBackBuffer(self, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, result: PySide6.QtGui.QRhiReadbackResult, /) -> None: ...
  6783. def readBackTexture(self, rb: PySide6.QtGui.QRhiReadbackDescription | PySide6.QtGui.QRhiTexture, result: PySide6.QtGui.QRhiReadbackResult, /) -> None: ...
  6784. def release(self, /) -> None: ...
  6785. @typing.overload
  6786. def updateDynamicBuffer(self, buf: PySide6.QtGui.QRhiBuffer, offset: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6787. @typing.overload
  6788. def updateDynamicBuffer(self, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, data: int, /) -> None: ...
  6789. @typing.overload
  6790. def uploadStaticBuffer(self, buf: PySide6.QtGui.QRhiBuffer, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6791. @typing.overload
  6792. def uploadStaticBuffer(self, buf: PySide6.QtGui.QRhiBuffer, data: int, /) -> None: ...
  6793. @typing.overload
  6794. def uploadStaticBuffer(self, buf: PySide6.QtGui.QRhiBuffer, offset: int, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  6795. @typing.overload
  6796. def uploadStaticBuffer(self, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, data: int, /) -> None: ...
  6797. @typing.overload
  6798. def uploadTexture(self, tex: PySide6.QtGui.QRhiTexture, image: PySide6.QtGui.QImage, /) -> None: ...
  6799. @typing.overload
  6800. def uploadTexture(self, tex: PySide6.QtGui.QRhiTexture, desc: PySide6.QtGui.QRhiTextureUploadDescription | PySide6.QtGui.QRhiTextureUploadEntry, /) -> None: ...
  6801. class QRhiSampler(PySide6.QtGui.QRhiResource):
  6802. class AddressMode(enum.Enum):
  6803. Repeat = 0x0
  6804. ClampToEdge = 0x1
  6805. Mirror = 0x2
  6806. class CompareOp(enum.Enum):
  6807. Never = 0x0
  6808. Less = 0x1
  6809. Equal = 0x2
  6810. LessOrEqual = 0x3
  6811. Greater = 0x4
  6812. NotEqual = 0x5
  6813. GreaterOrEqual = 0x6
  6814. Always = 0x7
  6815. class Filter(enum.Enum):
  6816. None_ = 0x0
  6817. Nearest = 0x1
  6818. Linear = 0x2
  6819. def addressU(self, /) -> PySide6.QtGui.QRhiSampler.AddressMode: ...
  6820. def addressV(self, /) -> PySide6.QtGui.QRhiSampler.AddressMode: ...
  6821. def addressW(self, /) -> PySide6.QtGui.QRhiSampler.AddressMode: ...
  6822. def create(self, /) -> bool: ...
  6823. def magFilter(self, /) -> PySide6.QtGui.QRhiSampler.Filter: ...
  6824. def minFilter(self, /) -> PySide6.QtGui.QRhiSampler.Filter: ...
  6825. def mipmapMode(self, /) -> PySide6.QtGui.QRhiSampler.Filter: ...
  6826. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6827. def setAddressU(self, mode: PySide6.QtGui.QRhiSampler.AddressMode, /) -> None: ...
  6828. def setAddressV(self, mode: PySide6.QtGui.QRhiSampler.AddressMode, /) -> None: ...
  6829. def setAddressW(self, mode: PySide6.QtGui.QRhiSampler.AddressMode, /) -> None: ...
  6830. def setMagFilter(self, f: PySide6.QtGui.QRhiSampler.Filter, /) -> None: ...
  6831. def setMinFilter(self, f: PySide6.QtGui.QRhiSampler.Filter, /) -> None: ...
  6832. def setMipmapMode(self, f: PySide6.QtGui.QRhiSampler.Filter, /) -> None: ...
  6833. def setTextureCompareOp(self, op: PySide6.QtGui.QRhiSampler.CompareOp, /) -> None: ...
  6834. def textureCompareOp(self, /) -> PySide6.QtGui.QRhiSampler.CompareOp: ...
  6835. class QRhiScissor(Shiboken.Object):
  6836. @typing.overload
  6837. def __init__(self, /) -> None: ...
  6838. @typing.overload
  6839. def __init__(self, QRhiScissor: PySide6.QtGui.QRhiScissor, /) -> None: ...
  6840. @typing.overload
  6841. def __init__(self, x: int, y: int, w: int, h: int, /) -> None: ...
  6842. def __copy__(self, /) -> typing.Self: ...
  6843. def __eq__(self, b: PySide6.QtGui.QRhiScissor, /) -> bool: ...
  6844. def __hash__(self, /) -> int: ...
  6845. def __ne__(self, b: PySide6.QtGui.QRhiScissor, /) -> bool: ...
  6846. def __repr__(self, /) -> str: ...
  6847. def scissor(self, /) -> typing.List[int]: ...
  6848. def setScissor(self, x: int, y: int, w: int, h: int, /) -> None: ...
  6849. class QRhiShaderResourceBinding(Shiboken.Object):
  6850. class Data(Shiboken.Object):
  6851. class StorageBufferData(Shiboken.Object):
  6852. @typing.overload
  6853. def __init__(self, /) -> None: ...
  6854. @typing.overload
  6855. def __init__(self, StorageBufferData: PySide6.QtGui.QRhiShaderResourceBinding.Data.StorageBufferData, /) -> None: ...
  6856. def __copy__(self, /) -> typing.Self: ...
  6857. class StorageImageData(Shiboken.Object):
  6858. @typing.overload
  6859. def __init__(self, /) -> None: ...
  6860. @typing.overload
  6861. def __init__(self, StorageImageData: PySide6.QtGui.QRhiShaderResourceBinding.Data.StorageImageData, /) -> None: ...
  6862. def __copy__(self, /) -> typing.Self: ...
  6863. @typing.overload
  6864. def __init__(self, /) -> None: ...
  6865. @typing.overload
  6866. def __init__(self, Data: PySide6.QtGui.QRhiShaderResourceBinding.Data, /) -> None: ...
  6867. def __copy__(self, /) -> typing.Self: ...
  6868. def arraySize(self, /) -> int: ...
  6869. class StageFlag(enum.Flag):
  6870. VertexStage = 0x1
  6871. TessellationControlStage = 0x2
  6872. TessellationEvaluationStage = 0x4
  6873. GeometryStage = 0x8
  6874. FragmentStage = 0x10
  6875. ComputeStage = 0x20
  6876. class TextureAndSampler(Shiboken.Object):
  6877. @typing.overload
  6878. def __init__(self, /) -> None: ...
  6879. @typing.overload
  6880. def __init__(self, TextureAndSampler: PySide6.QtGui.QRhiShaderResourceBinding.TextureAndSampler, /) -> None: ...
  6881. def __copy__(self, /) -> typing.Self: ...
  6882. class Type(enum.Enum):
  6883. UniformBuffer = 0x0
  6884. SampledTexture = 0x1
  6885. Texture = 0x2
  6886. Sampler = 0x3
  6887. ImageLoad = 0x4
  6888. ImageStore = 0x5
  6889. ImageLoadStore = 0x6
  6890. BufferLoad = 0x7
  6891. BufferStore = 0x8
  6892. BufferLoadStore = 0x9
  6893. @typing.overload
  6894. def __init__(self, /) -> None: ...
  6895. @typing.overload
  6896. def __init__(self, QRhiShaderResourceBinding: PySide6.QtGui.QRhiShaderResourceBinding, /) -> None: ...
  6897. def __copy__(self, /) -> typing.Self: ...
  6898. def __eq__(self, b: PySide6.QtGui.QRhiShaderResourceBinding, /) -> bool: ...
  6899. def __hash__(self, /) -> int: ...
  6900. def __ne__(self, b: PySide6.QtGui.QRhiShaderResourceBinding, /) -> bool: ...
  6901. def __repr__(self, /) -> str: ...
  6902. @typing.overload
  6903. @staticmethod
  6904. def bufferLoad(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6905. @typing.overload
  6906. @staticmethod
  6907. def bufferLoad(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6908. @typing.overload
  6909. @staticmethod
  6910. def bufferLoadStore(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6911. @typing.overload
  6912. @staticmethod
  6913. def bufferLoadStore(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6914. @typing.overload
  6915. @staticmethod
  6916. def bufferStore(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6917. @typing.overload
  6918. @staticmethod
  6919. def bufferStore(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6920. @staticmethod
  6921. def imageLoad(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, tex: PySide6.QtGui.QRhiTexture, level: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6922. @staticmethod
  6923. def imageLoadStore(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, tex: PySide6.QtGui.QRhiTexture, level: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6924. @staticmethod
  6925. def imageStore(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, tex: PySide6.QtGui.QRhiTexture, level: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6926. def isLayoutCompatible(self, other: PySide6.QtGui.QRhiShaderResourceBinding, /) -> bool: ...
  6927. @staticmethod
  6928. def sampledTexture(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, tex: PySide6.QtGui.QRhiTexture, sampler: PySide6.QtGui.QRhiSampler, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6929. @staticmethod
  6930. def sampledTextures(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, count: int, texSamplers: PySide6.QtGui.QRhiShaderResourceBinding.TextureAndSampler, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6931. @staticmethod
  6932. def sampler(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, sampler: PySide6.QtGui.QRhiSampler, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6933. @staticmethod
  6934. def texture(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, tex: PySide6.QtGui.QRhiTexture, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6935. @staticmethod
  6936. def textures(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, count: int, tex: PySide6.QtGui.QRhiTexture, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6937. @typing.overload
  6938. @staticmethod
  6939. def uniformBuffer(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6940. @typing.overload
  6941. @staticmethod
  6942. def uniformBuffer(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, offset: int, size: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6943. @staticmethod
  6944. def uniformBufferWithDynamicOffset(binding: int, stage: PySide6.QtGui.QRhiShaderResourceBinding.StageFlag, buf: PySide6.QtGui.QRhiBuffer, size: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6945. class QRhiShaderResourceBindings(PySide6.QtGui.QRhiResource):
  6946. class UpdateFlag(enum.Flag):
  6947. BindingsAreSorted = 0x1
  6948. def __repr__(self, /) -> str: ...
  6949. def bindingAt(self, index: int, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6950. def bindingCount(self, /) -> int: ...
  6951. def cbeginBindings(self, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6952. def cendBindings(self, /) -> PySide6.QtGui.QRhiShaderResourceBinding: ...
  6953. def create(self, /) -> bool: ...
  6954. def isLayoutCompatible(self, other: PySide6.QtGui.QRhiShaderResourceBindings, /) -> bool: ...
  6955. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  6956. def serializedLayoutDescription(self, /) -> typing.List[int]: ...
  6957. def setBindings(self, bindings: collections.abc.Sequence[PySide6.QtGui.QRhiShaderResourceBinding], /) -> None: ...
  6958. def updateResources(self, /, flags: PySide6.QtGui.QRhiShaderResourceBindings.UpdateFlag = ...) -> None: ...
  6959. class QRhiShaderStage(Shiboken.Object):
  6960. class Type(enum.Enum):
  6961. Vertex = 0x0
  6962. TessellationControl = 0x1
  6963. TessellationEvaluation = 0x2
  6964. Geometry = 0x3
  6965. Fragment = 0x4
  6966. Compute = 0x5
  6967. @typing.overload
  6968. def __init__(self, /) -> None: ...
  6969. @typing.overload
  6970. def __init__(self, QRhiShaderStage: PySide6.QtGui.QRhiShaderStage, /) -> None: ...
  6971. @typing.overload
  6972. def __init__(self, type: PySide6.QtGui.QRhiShaderStage.Type, shader: PySide6.QtGui.QShader, /, v: PySide6.QtGui.QShader.Variant = ...) -> None: ...
  6973. def __copy__(self, /) -> typing.Self: ...
  6974. def __eq__(self, b: PySide6.QtGui.QRhiShaderStage, /) -> bool: ...
  6975. def __hash__(self, /) -> int: ...
  6976. def __ne__(self, b: PySide6.QtGui.QRhiShaderStage, /) -> bool: ...
  6977. def __repr__(self, /) -> str: ...
  6978. def setShader(self, s: PySide6.QtGui.QShader, /) -> None: ...
  6979. def setShaderVariant(self, v: PySide6.QtGui.QShader.Variant, /) -> None: ...
  6980. def setType(self, t: PySide6.QtGui.QRhiShaderStage.Type, /) -> None: ...
  6981. def shader(self, /) -> PySide6.QtGui.QShader: ...
  6982. def shaderVariant(self, /) -> PySide6.QtGui.QShader.Variant: ...
  6983. def type(self, /) -> PySide6.QtGui.QRhiShaderStage.Type: ...
  6984. class QRhiStats(Shiboken.Object):
  6985. @typing.overload
  6986. def __init__(self, /) -> None: ...
  6987. @typing.overload
  6988. def __init__(self, QRhiStats: PySide6.QtGui.QRhiStats, /) -> None: ...
  6989. def __copy__(self, /) -> typing.Self: ...
  6990. def __repr__(self, /) -> str: ...
  6991. class QRhiSwapChain(PySide6.QtGui.QRhiResource):
  6992. class Flag(enum.Flag):
  6993. SurfaceHasPreMulAlpha = 0x1
  6994. SurfaceHasNonPreMulAlpha = 0x2
  6995. sRGB = 0x4
  6996. UsedAsTransferSource = 0x8
  6997. NoVSync = 0x10
  6998. MinimalBufferCount = 0x20
  6999. class Format(enum.Enum):
  7000. SDR = 0x0
  7001. HDRExtendedSrgbLinear = 0x1
  7002. HDR10 = 0x2
  7003. HDRExtendedDisplayP3Linear = 0x3
  7004. class StereoTargetBuffer(enum.Enum):
  7005. LeftBuffer = 0x0
  7006. RightBuffer = 0x1
  7007. def createOrResize(self, /) -> bool: ...
  7008. def currentFrameCommandBuffer(self, /) -> PySide6.QtGui.QRhiCommandBuffer: ...
  7009. @typing.overload
  7010. def currentFrameRenderTarget(self, /) -> PySide6.QtGui.QRhiRenderTarget: ...
  7011. @typing.overload
  7012. def currentFrameRenderTarget(self, targetBuffer: PySide6.QtGui.QRhiSwapChain.StereoTargetBuffer, /) -> PySide6.QtGui.QRhiRenderTarget: ...
  7013. def currentPixelSize(self, /) -> PySide6.QtCore.QSize: ...
  7014. def depthStencil(self, /) -> PySide6.QtGui.QRhiRenderBuffer: ...
  7015. def flags(self, /) -> PySide6.QtGui.QRhiSwapChain.Flag: ...
  7016. def format(self, /) -> PySide6.QtGui.QRhiSwapChain.Format: ...
  7017. def isFormatSupported(self, f: PySide6.QtGui.QRhiSwapChain.Format, /) -> bool: ...
  7018. def newCompatibleRenderPassDescriptor(self, /) -> PySide6.QtGui.QRhiRenderPassDescriptor: ...
  7019. def renderPassDescriptor(self, /) -> PySide6.QtGui.QRhiRenderPassDescriptor: ...
  7020. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  7021. def sampleCount(self, /) -> int: ...
  7022. def setDepthStencil(self, ds: PySide6.QtGui.QRhiRenderBuffer, /) -> None: ...
  7023. def setFlags(self, f: PySide6.QtGui.QRhiSwapChain.Flag, /) -> None: ...
  7024. def setFormat(self, f: PySide6.QtGui.QRhiSwapChain.Format, /) -> None: ...
  7025. def setRenderPassDescriptor(self, desc: PySide6.QtGui.QRhiRenderPassDescriptor, /) -> None: ...
  7026. def setSampleCount(self, samples: int, /) -> None: ...
  7027. def setWindow(self, window: PySide6.QtGui.QWindow, /) -> None: ...
  7028. def surfacePixelSize(self, /) -> PySide6.QtCore.QSize: ...
  7029. def window(self, /) -> PySide6.QtGui.QWindow: ...
  7030. class QRhiSwapChainRenderTarget(PySide6.QtGui.QRhiRenderTarget):
  7031. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  7032. def swapChain(self, /) -> PySide6.QtGui.QRhiSwapChain: ...
  7033. class QRhiTexture(PySide6.QtGui.QRhiResource):
  7034. class Flag(enum.Flag):
  7035. RenderTarget = 0x1
  7036. CubeMap = 0x4
  7037. MipMapped = 0x8
  7038. sRGB = 0x10
  7039. UsedAsTransferSource = 0x20
  7040. UsedWithGenerateMips = 0x40
  7041. UsedWithLoadStore = 0x80
  7042. UsedAsCompressedAtlas = 0x100
  7043. ExternalOES = 0x200
  7044. ThreeDimensional = 0x400
  7045. TextureRectangleGL = 0x800
  7046. TextureArray = 0x1000
  7047. OneDimensional = 0x2000
  7048. UsedAsShadingRateMap = 0x4000
  7049. class Format(enum.Enum):
  7050. UnknownFormat = 0x0
  7051. RGBA8 = 0x1
  7052. BGRA8 = 0x2
  7053. R8 = 0x3
  7054. RG8 = 0x4
  7055. R16 = 0x5
  7056. RG16 = 0x6
  7057. RED_OR_ALPHA8 = 0x7
  7058. RGBA16F = 0x8
  7059. RGBA32F = 0x9
  7060. R16F = 0xa
  7061. R32F = 0xb
  7062. RGB10A2 = 0xc
  7063. R8SI = 0xd
  7064. R32SI = 0xe
  7065. RG32SI = 0xf
  7066. RGBA32SI = 0x10
  7067. R8UI = 0x11
  7068. R32UI = 0x12
  7069. RG32UI = 0x13
  7070. RGBA32UI = 0x14
  7071. D16 = 0x15
  7072. D24 = 0x16
  7073. D24S8 = 0x17
  7074. D32F = 0x18
  7075. D32FS8 = 0x19
  7076. BC1 = 0x1a
  7077. BC2 = 0x1b
  7078. BC3 = 0x1c
  7079. BC4 = 0x1d
  7080. BC5 = 0x1e
  7081. BC6H = 0x1f
  7082. BC7 = 0x20
  7083. ETC2_RGB8 = 0x21
  7084. ETC2_RGB8A1 = 0x22
  7085. ETC2_RGBA8 = 0x23
  7086. ASTC_4x4 = 0x24
  7087. ASTC_5x4 = 0x25
  7088. ASTC_5x5 = 0x26
  7089. ASTC_6x5 = 0x27
  7090. ASTC_6x6 = 0x28
  7091. ASTC_8x5 = 0x29
  7092. ASTC_8x6 = 0x2a
  7093. ASTC_8x8 = 0x2b
  7094. ASTC_10x5 = 0x2c
  7095. ASTC_10x6 = 0x2d
  7096. ASTC_10x8 = 0x2e
  7097. ASTC_10x10 = 0x2f
  7098. ASTC_12x10 = 0x30
  7099. ASTC_12x12 = 0x31
  7100. class ViewFormat(Shiboken.Object):
  7101. @typing.overload
  7102. def __init__(self, /) -> None: ...
  7103. @typing.overload
  7104. def __init__(self, ViewFormat: PySide6.QtGui.QRhiTexture.ViewFormat, /) -> None: ...
  7105. def __copy__(self, /) -> typing.Self: ...
  7106. def arrayRangeLength(self, /) -> int: ...
  7107. def arrayRangeStart(self, /) -> int: ...
  7108. def arraySize(self, /) -> int: ...
  7109. def create(self, /) -> bool: ...
  7110. def depth(self, /) -> int: ...
  7111. def flags(self, /) -> PySide6.QtGui.QRhiTexture.Flag: ...
  7112. def format(self, /) -> PySide6.QtGui.QRhiTexture.Format: ...
  7113. def pixelSize(self, /) -> PySide6.QtCore.QSize: ...
  7114. def readViewFormat(self, /) -> PySide6.QtGui.QRhiTexture.ViewFormat: ...
  7115. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  7116. def sampleCount(self, /) -> int: ...
  7117. def setArrayRange(self, startIndex: int, count: int, /) -> None: ...
  7118. def setArraySize(self, arraySize: int, /) -> None: ...
  7119. def setDepth(self, depth: int, /) -> None: ...
  7120. def setFlags(self, f: PySide6.QtGui.QRhiTexture.Flag, /) -> None: ...
  7121. def setFormat(self, fmt: PySide6.QtGui.QRhiTexture.Format, /) -> None: ...
  7122. def setNativeLayout(self, layout: int, /) -> None: ...
  7123. def setPixelSize(self, sz: PySide6.QtCore.QSize, /) -> None: ...
  7124. def setReadViewFormat(self, fmt: PySide6.QtGui.QRhiTexture.ViewFormat, /) -> None: ...
  7125. def setSampleCount(self, s: int, /) -> None: ...
  7126. def setWriteViewFormat(self, fmt: PySide6.QtGui.QRhiTexture.ViewFormat, /) -> None: ...
  7127. def writeViewFormat(self, /) -> PySide6.QtGui.QRhiTexture.ViewFormat: ...
  7128. class QRhiTextureCopyDescription(Shiboken.Object):
  7129. @typing.overload
  7130. def __init__(self, /) -> None: ...
  7131. @typing.overload
  7132. def __init__(self, QRhiTextureCopyDescription: PySide6.QtGui.QRhiTextureCopyDescription, /) -> None: ...
  7133. def __copy__(self, /) -> typing.Self: ...
  7134. def destinationLayer(self, /) -> int: ...
  7135. def destinationLevel(self, /) -> int: ...
  7136. def destinationTopLeft(self, /) -> PySide6.QtCore.QPoint: ...
  7137. def pixelSize(self, /) -> PySide6.QtCore.QSize: ...
  7138. def setDestinationLayer(self, layer: int, /) -> None: ...
  7139. def setDestinationLevel(self, level: int, /) -> None: ...
  7140. def setDestinationTopLeft(self, p: PySide6.QtCore.QPoint, /) -> None: ...
  7141. def setPixelSize(self, sz: PySide6.QtCore.QSize, /) -> None: ...
  7142. def setSourceLayer(self, layer: int, /) -> None: ...
  7143. def setSourceLevel(self, level: int, /) -> None: ...
  7144. def setSourceTopLeft(self, p: PySide6.QtCore.QPoint, /) -> None: ...
  7145. def sourceLayer(self, /) -> int: ...
  7146. def sourceLevel(self, /) -> int: ...
  7147. def sourceTopLeft(self, /) -> PySide6.QtCore.QPoint: ...
  7148. class QRhiTextureRenderTarget(PySide6.QtGui.QRhiRenderTarget):
  7149. class Flag(enum.Flag):
  7150. PreserveColorContents = 0x1
  7151. PreserveDepthStencilContents = 0x2
  7152. DoNotStoreDepthStencilContents = 0x4
  7153. def create(self, /) -> bool: ...
  7154. def description(self, /) -> PySide6.QtGui.QRhiTextureRenderTargetDescription: ...
  7155. def flags(self, /) -> PySide6.QtGui.QRhiTextureRenderTarget.Flag: ...
  7156. def newCompatibleRenderPassDescriptor(self, /) -> PySide6.QtGui.QRhiRenderPassDescriptor: ...
  7157. def resourceType(self, /) -> PySide6.QtGui.QRhiResource.Type: ...
  7158. def setDescription(self, desc: PySide6.QtGui.QRhiTextureRenderTargetDescription | PySide6.QtGui.QRhiColorAttachment, /) -> None: ...
  7159. def setFlags(self, f: PySide6.QtGui.QRhiTextureRenderTarget.Flag, /) -> None: ...
  7160. class QRhiTextureRenderTargetDescription(Shiboken.Object):
  7161. @typing.overload
  7162. def __init__(self, /) -> None: ...
  7163. @typing.overload
  7164. def __init__(self, QRhiTextureRenderTargetDescription: PySide6.QtGui.QRhiTextureRenderTargetDescription, /) -> None: ...
  7165. @typing.overload
  7166. def __init__(self, colorAttachment: PySide6.QtGui.QRhiColorAttachment | PySide6.QtGui.QRhiRenderBuffer | PySide6.QtGui.QRhiTexture, /) -> None: ...
  7167. @typing.overload
  7168. def __init__(self, colorAttachment: PySide6.QtGui.QRhiColorAttachment | PySide6.QtGui.QRhiRenderBuffer | PySide6.QtGui.QRhiTexture, depthStencilBuffer: PySide6.QtGui.QRhiRenderBuffer, /) -> None: ...
  7169. @typing.overload
  7170. def __init__(self, colorAttachment: PySide6.QtGui.QRhiColorAttachment | PySide6.QtGui.QRhiRenderBuffer | PySide6.QtGui.QRhiTexture, depthTexture: PySide6.QtGui.QRhiTexture, /) -> None: ...
  7171. def __copy__(self, /) -> typing.Self: ...
  7172. def cbeginColorAttachments(self, /) -> PySide6.QtGui.QRhiColorAttachment: ...
  7173. def cendColorAttachments(self, /) -> PySide6.QtGui.QRhiColorAttachment: ...
  7174. def colorAttachmentAt(self, index: int, /) -> PySide6.QtGui.QRhiColorAttachment: ...
  7175. def colorAttachmentCount(self, /) -> int: ...
  7176. def depthResolveTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  7177. def depthStencilBuffer(self, /) -> PySide6.QtGui.QRhiRenderBuffer: ...
  7178. def depthTexture(self, /) -> PySide6.QtGui.QRhiTexture: ...
  7179. def setColorAttachments(self, bcolor_attachments: collections.abc.Sequence[PySide6.QtGui.QRhiColorAttachment], /) -> None: ...
  7180. def setDepthResolveTexture(self, tex: PySide6.QtGui.QRhiTexture, /) -> None: ...
  7181. def setDepthStencilBuffer(self, renderBuffer: PySide6.QtGui.QRhiRenderBuffer, /) -> None: ...
  7182. def setDepthTexture(self, texture: PySide6.QtGui.QRhiTexture, /) -> None: ...
  7183. class QRhiTextureSubresourceUploadDescription(Shiboken.Object):
  7184. @typing.overload
  7185. def __init__(self, /) -> None: ...
  7186. @typing.overload
  7187. def __init__(self, image: PySide6.QtGui.QImage, /) -> None: ...
  7188. @typing.overload
  7189. def __init__(self, QRhiTextureSubresourceUploadDescription: PySide6.QtGui.QRhiTextureSubresourceUploadDescription, /) -> None: ...
  7190. @typing.overload
  7191. def __init__(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  7192. @typing.overload
  7193. def __init__(self, data: int, size: int, /) -> None: ...
  7194. def __copy__(self, /) -> typing.Self: ...
  7195. def data(self, /) -> PySide6.QtCore.QByteArray: ...
  7196. def dataStride(self, /) -> int: ...
  7197. def destinationTopLeft(self, /) -> PySide6.QtCore.QPoint: ...
  7198. def image(self, /) -> PySide6.QtGui.QImage: ...
  7199. def setData(self, data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  7200. def setDataStride(self, stride: int, /) -> None: ...
  7201. def setDestinationTopLeft(self, p: PySide6.QtCore.QPoint, /) -> None: ...
  7202. def setImage(self, image: PySide6.QtGui.QImage, /) -> None: ...
  7203. def setSourceSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  7204. def setSourceTopLeft(self, p: PySide6.QtCore.QPoint, /) -> None: ...
  7205. def sourceSize(self, /) -> PySide6.QtCore.QSize: ...
  7206. def sourceTopLeft(self, /) -> PySide6.QtCore.QPoint: ...
  7207. class QRhiTextureUploadDescription(Shiboken.Object):
  7208. @typing.overload
  7209. def __init__(self, /) -> None: ...
  7210. @typing.overload
  7211. def __init__(self, QRhiTextureUploadDescription: PySide6.QtGui.QRhiTextureUploadDescription, /) -> None: ...
  7212. @typing.overload
  7213. def __init__(self, entry: PySide6.QtGui.QRhiTextureUploadEntry, /) -> None: ...
  7214. def __copy__(self, /) -> typing.Self: ...
  7215. def cbeginEntries(self, /) -> PySide6.QtGui.QRhiTextureUploadEntry: ...
  7216. def cendEntries(self, /) -> PySide6.QtGui.QRhiTextureUploadEntry: ...
  7217. def entryAt(self, index: int, /) -> PySide6.QtGui.QRhiTextureUploadEntry: ...
  7218. def entryCount(self, /) -> int: ...
  7219. def setEntries(self, entries: collections.abc.Sequence[PySide6.QtGui.QRhiTextureUploadEntry], /) -> None: ...
  7220. class QRhiTextureUploadEntry(Shiboken.Object):
  7221. @typing.overload
  7222. def __init__(self, /) -> None: ...
  7223. @typing.overload
  7224. def __init__(self, QRhiTextureUploadEntry: PySide6.QtGui.QRhiTextureUploadEntry, /) -> None: ...
  7225. @typing.overload
  7226. def __init__(self, layer: int, level: int, desc: PySide6.QtGui.QRhiTextureSubresourceUploadDescription, /) -> None: ...
  7227. def __copy__(self, /) -> typing.Self: ...
  7228. def description(self, /) -> PySide6.QtGui.QRhiTextureSubresourceUploadDescription: ...
  7229. def layer(self, /) -> int: ...
  7230. def level(self, /) -> int: ...
  7231. def setDescription(self, desc: PySide6.QtGui.QRhiTextureSubresourceUploadDescription, /) -> None: ...
  7232. def setLayer(self, layer: int, /) -> None: ...
  7233. def setLevel(self, level: int, /) -> None: ...
  7234. class QRhiVertexInputAttribute(Shiboken.Object):
  7235. class Format(enum.Enum):
  7236. Float4 = 0x0
  7237. Float3 = 0x1
  7238. Float2 = 0x2
  7239. Float = 0x3
  7240. UNormByte4 = 0x4
  7241. UNormByte2 = 0x5
  7242. UNormByte = 0x6
  7243. UInt4 = 0x7
  7244. UInt3 = 0x8
  7245. UInt2 = 0x9
  7246. UInt = 0xa
  7247. SInt4 = 0xb
  7248. SInt3 = 0xc
  7249. SInt2 = 0xd
  7250. SInt = 0xe
  7251. Half4 = 0xf
  7252. Half3 = 0x10
  7253. Half2 = 0x11
  7254. Half = 0x12
  7255. UShort4 = 0x13
  7256. UShort3 = 0x14
  7257. UShort2 = 0x15
  7258. UShort = 0x16
  7259. SShort4 = 0x17
  7260. SShort3 = 0x18
  7261. SShort2 = 0x19
  7262. SShort = 0x1a
  7263. @typing.overload
  7264. def __init__(self, /) -> None: ...
  7265. @typing.overload
  7266. def __init__(self, QRhiVertexInputAttribute: PySide6.QtGui.QRhiVertexInputAttribute, /) -> None: ...
  7267. @typing.overload
  7268. def __init__(self, binding: int, location: int, format: PySide6.QtGui.QRhiVertexInputAttribute.Format, offset: int, /, matrixSlice: int = ...) -> None: ...
  7269. def __copy__(self, /) -> typing.Self: ...
  7270. def __eq__(self, b: PySide6.QtGui.QRhiVertexInputAttribute, /) -> bool: ...
  7271. def __hash__(self, /) -> int: ...
  7272. def __ne__(self, b: PySide6.QtGui.QRhiVertexInputAttribute, /) -> bool: ...
  7273. def __repr__(self, /) -> str: ...
  7274. def binding(self, /) -> int: ...
  7275. def format(self, /) -> PySide6.QtGui.QRhiVertexInputAttribute.Format: ...
  7276. def location(self, /) -> int: ...
  7277. def matrixSlice(self, /) -> int: ...
  7278. def offset(self, /) -> int: ...
  7279. def setBinding(self, b: int, /) -> None: ...
  7280. def setFormat(self, f: PySide6.QtGui.QRhiVertexInputAttribute.Format, /) -> None: ...
  7281. def setLocation(self, loc: int, /) -> None: ...
  7282. def setMatrixSlice(self, slice: int, /) -> None: ...
  7283. def setOffset(self, ofs: int, /) -> None: ...
  7284. class QRhiVertexInputBinding(Shiboken.Object):
  7285. class Classification(enum.Enum):
  7286. PerVertex = 0x0
  7287. PerInstance = 0x1
  7288. @typing.overload
  7289. def __init__(self, /) -> None: ...
  7290. @typing.overload
  7291. def __init__(self, QRhiVertexInputBinding: PySide6.QtGui.QRhiVertexInputBinding, /) -> None: ...
  7292. @typing.overload
  7293. def __init__(self, stride: int, /, cls: PySide6.QtGui.QRhiVertexInputBinding.Classification = ..., stepRate: int = ...) -> None: ...
  7294. def __copy__(self, /) -> typing.Self: ...
  7295. def __eq__(self, b: PySide6.QtGui.QRhiVertexInputBinding | int, /) -> bool: ...
  7296. def __hash__(self, /) -> int: ...
  7297. def __ne__(self, b: PySide6.QtGui.QRhiVertexInputBinding | int, /) -> bool: ...
  7298. def __repr__(self, /) -> str: ...
  7299. def classification(self, /) -> PySide6.QtGui.QRhiVertexInputBinding.Classification: ...
  7300. def instanceStepRate(self, /) -> int: ...
  7301. def setClassification(self, c: PySide6.QtGui.QRhiVertexInputBinding.Classification, /) -> None: ...
  7302. def setInstanceStepRate(self, rate: int, /) -> None: ...
  7303. def setStride(self, s: int, /) -> None: ...
  7304. def stride(self, /) -> int: ...
  7305. class QRhiVertexInputLayout(Shiboken.Object):
  7306. @typing.overload
  7307. def __init__(self, /) -> None: ...
  7308. @typing.overload
  7309. def __init__(self, QRhiVertexInputLayout: PySide6.QtGui.QRhiVertexInputLayout, /) -> None: ...
  7310. def __copy__(self, /) -> typing.Self: ...
  7311. def __eq__(self, b: PySide6.QtGui.QRhiVertexInputLayout, /) -> bool: ...
  7312. def __hash__(self, /) -> int: ...
  7313. def __ne__(self, b: PySide6.QtGui.QRhiVertexInputLayout, /) -> bool: ...
  7314. def __repr__(self, /) -> str: ...
  7315. def attributeAt(self, index: int, /) -> PySide6.QtGui.QRhiVertexInputAttribute: ...
  7316. def attributeCount(self, /) -> int: ...
  7317. def bindingAt(self, index: int, /) -> PySide6.QtGui.QRhiVertexInputBinding: ...
  7318. def bindingCount(self, /) -> int: ...
  7319. def cbeginAttributes(self, /) -> PySide6.QtGui.QRhiVertexInputAttribute: ...
  7320. def cbeginBindings(self, /) -> PySide6.QtGui.QRhiVertexInputBinding: ...
  7321. def cendAttributes(self, /) -> PySide6.QtGui.QRhiVertexInputAttribute: ...
  7322. def cendBindings(self, /) -> PySide6.QtGui.QRhiVertexInputBinding: ...
  7323. def setAttributes(self, attributes: collections.abc.Sequence[PySide6.QtGui.QRhiVertexInputAttribute], /) -> None: ...
  7324. def setBindings(self, bindings: collections.abc.Sequence[PySide6.QtGui.QRhiVertexInputBinding], /) -> None: ...
  7325. class QRhiViewport(Shiboken.Object):
  7326. @typing.overload
  7327. def __init__(self, /) -> None: ...
  7328. @typing.overload
  7329. def __init__(self, QRhiViewport: PySide6.QtGui.QRhiViewport, /) -> None: ...
  7330. @typing.overload
  7331. def __init__(self, x: float, y: float, w: float, h: float, /, minDepth: float = ..., maxDepth: float = ...) -> None: ...
  7332. def __copy__(self, /) -> typing.Self: ...
  7333. def __eq__(self, b: PySide6.QtGui.QRhiViewport, /) -> bool: ...
  7334. def __hash__(self, /) -> int: ...
  7335. def __ne__(self, b: PySide6.QtGui.QRhiViewport, /) -> bool: ...
  7336. def __repr__(self, /) -> str: ...
  7337. def maxDepth(self, /) -> float: ...
  7338. def minDepth(self, /) -> float: ...
  7339. def setMaxDepth(self, maxDepth: float, /) -> None: ...
  7340. def setMinDepth(self, minDepth: float, /) -> None: ...
  7341. def setViewport(self, x: float, y: float, w: float, h: float, /) -> None: ...
  7342. def viewport(self, /) -> typing.List[float]: ...
  7343. class QScreen(PySide6.QtCore.QObject):
  7344. availableGeometryChanged : typing.ClassVar[Signal] = ... # availableGeometryChanged(QRect)
  7345. geometryChanged : typing.ClassVar[Signal] = ... # geometryChanged(QRect)
  7346. logicalDotsPerInchChanged: typing.ClassVar[Signal] = ... # logicalDotsPerInchChanged(double)
  7347. orientationChanged : typing.ClassVar[Signal] = ... # orientationChanged(Qt::ScreenOrientation)
  7348. physicalDotsPerInchChanged: typing.ClassVar[Signal] = ... # physicalDotsPerInchChanged(double)
  7349. physicalSizeChanged : typing.ClassVar[Signal] = ... # physicalSizeChanged(QSizeF)
  7350. primaryOrientationChanged: typing.ClassVar[Signal] = ... # primaryOrientationChanged(Qt::ScreenOrientation)
  7351. refreshRateChanged : typing.ClassVar[Signal] = ... # refreshRateChanged(double)
  7352. virtualGeometryChanged : typing.ClassVar[Signal] = ... # virtualGeometryChanged(QRect)
  7353. def __repr__(self, /) -> str: ...
  7354. def angleBetween(self, a: PySide6.QtCore.Qt.ScreenOrientation, b: PySide6.QtCore.Qt.ScreenOrientation, /) -> int: ...
  7355. def availableGeometry(self, /) -> PySide6.QtCore.QRect: ...
  7356. def availableSize(self, /) -> PySide6.QtCore.QSize: ...
  7357. def availableVirtualGeometry(self, /) -> PySide6.QtCore.QRect: ...
  7358. def availableVirtualSize(self, /) -> PySide6.QtCore.QSize: ...
  7359. def depth(self, /) -> int: ...
  7360. def devicePixelRatio(self, /) -> float: ...
  7361. def geometry(self, /) -> PySide6.QtCore.QRect: ...
  7362. def grabWindow(self, /, window: int | None = ..., x: int | None = ..., y: int | None = ..., w: int = ..., h: int = ...) -> PySide6.QtGui.QPixmap: ...
  7363. def isLandscape(self, orientation: PySide6.QtCore.Qt.ScreenOrientation, /) -> bool: ...
  7364. def isPortrait(self, orientation: PySide6.QtCore.Qt.ScreenOrientation, /) -> bool: ...
  7365. def logicalDotsPerInch(self, /) -> float: ...
  7366. def logicalDotsPerInchX(self, /) -> float: ...
  7367. def logicalDotsPerInchY(self, /) -> float: ...
  7368. def manufacturer(self, /) -> str: ...
  7369. def mapBetween(self, a: PySide6.QtCore.Qt.ScreenOrientation, b: PySide6.QtCore.Qt.ScreenOrientation, rect: PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRect: ...
  7370. def model(self, /) -> str: ...
  7371. def name(self, /) -> str: ...
  7372. def nativeInterface(self, /) -> object: ...
  7373. def nativeOrientation(self, /) -> PySide6.QtCore.Qt.ScreenOrientation: ...
  7374. def orientation(self, /) -> PySide6.QtCore.Qt.ScreenOrientation: ...
  7375. def physicalDotsPerInch(self, /) -> float: ...
  7376. def physicalDotsPerInchX(self, /) -> float: ...
  7377. def physicalDotsPerInchY(self, /) -> float: ...
  7378. def physicalSize(self, /) -> PySide6.QtCore.QSizeF: ...
  7379. def primaryOrientation(self, /) -> PySide6.QtCore.Qt.ScreenOrientation: ...
  7380. def refreshRate(self, /) -> float: ...
  7381. def resolveInterface(self, name: bytes | bytearray | memoryview, revision: int, /) -> int: ...
  7382. def serialNumber(self, /) -> str: ...
  7383. def size(self, /) -> PySide6.QtCore.QSize: ...
  7384. def transformBetween(self, a: PySide6.QtCore.Qt.ScreenOrientation, b: PySide6.QtCore.Qt.ScreenOrientation, target: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QTransform: ...
  7385. def virtualGeometry(self, /) -> PySide6.QtCore.QRect: ...
  7386. def virtualSiblingAt(self, point: PySide6.QtCore.QPoint, /) -> PySide6.QtGui.QScreen: ...
  7387. def virtualSiblings(self, /) -> typing.List[PySide6.QtGui.QScreen]: ...
  7388. def virtualSize(self, /) -> PySide6.QtCore.QSize: ...
  7389. class QScrollEvent(PySide6.QtCore.QEvent):
  7390. class ScrollState(enum.Enum):
  7391. ScrollStarted = 0x0
  7392. ScrollUpdated = 0x1
  7393. ScrollFinished = 0x2
  7394. @typing.overload
  7395. def __init__(self, arg__1: PySide6.QtGui.QScrollEvent, /) -> None: ...
  7396. @typing.overload
  7397. def __init__(self, contentPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, overshoot: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scrollState: PySide6.QtGui.QScrollEvent.ScrollState, /) -> None: ...
  7398. def clone(self, /) -> PySide6.QtGui.QScrollEvent: ...
  7399. def contentPos(self, /) -> PySide6.QtCore.QPointF: ...
  7400. def overshootDistance(self, /) -> PySide6.QtCore.QPointF: ...
  7401. def scrollState(self, /) -> PySide6.QtGui.QScrollEvent.ScrollState: ...
  7402. class QScrollPrepareEvent(PySide6.QtCore.QEvent):
  7403. @typing.overload
  7404. def __init__(self, arg__1: PySide6.QtGui.QScrollPrepareEvent, /) -> None: ...
  7405. @typing.overload
  7406. def __init__(self, startPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  7407. def clone(self, /) -> PySide6.QtGui.QScrollPrepareEvent: ...
  7408. def contentPos(self, /) -> PySide6.QtCore.QPointF: ...
  7409. def contentPosRange(self, /) -> PySide6.QtCore.QRectF: ...
  7410. def setContentPos(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  7411. def setContentPosRange(self, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> None: ...
  7412. def setViewportSize(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
  7413. def startPos(self, /) -> PySide6.QtCore.QPointF: ...
  7414. def viewportSize(self, /) -> PySide6.QtCore.QSizeF: ...
  7415. class QSessionManager(PySide6.QtCore.QObject):
  7416. class RestartHint(enum.Enum):
  7417. RestartIfRunning = 0x0
  7418. RestartAnyway = 0x1
  7419. RestartImmediately = 0x2
  7420. RestartNever = 0x3
  7421. def allowsErrorInteraction(self, /) -> bool: ...
  7422. def allowsInteraction(self, /) -> bool: ...
  7423. def cancel(self, /) -> None: ...
  7424. def discardCommand(self, /) -> typing.List[str]: ...
  7425. def isPhase2(self, /) -> bool: ...
  7426. def release(self, /) -> None: ...
  7427. def requestPhase2(self, /) -> None: ...
  7428. def restartCommand(self, /) -> typing.List[str]: ...
  7429. def restartHint(self, /) -> PySide6.QtGui.QSessionManager.RestartHint: ...
  7430. def sessionId(self, /) -> str: ...
  7431. def sessionKey(self, /) -> str: ...
  7432. def setDiscardCommand(self, arg__1: collections.abc.Sequence[str], /) -> None: ...
  7433. @typing.overload
  7434. def setManagerProperty(self, name: str, value: str, /) -> None: ...
  7435. @typing.overload
  7436. def setManagerProperty(self, name: str, value: collections.abc.Sequence[str], /) -> None: ...
  7437. def setRestartCommand(self, arg__1: collections.abc.Sequence[str], /) -> None: ...
  7438. def setRestartHint(self, arg__1: PySide6.QtGui.QSessionManager.RestartHint, /) -> None: ...
  7439. class QShader(Shiboken.Object):
  7440. class SerializedFormatVersion(enum.Enum):
  7441. Latest = 0x0
  7442. Qt_6_5 = 0x1
  7443. Qt_6_4 = 0x2
  7444. class Source(enum.Enum):
  7445. SpirvShader = 0x0
  7446. GlslShader = 0x1
  7447. HlslShader = 0x2
  7448. DxbcShader = 0x3
  7449. MslShader = 0x4
  7450. DxilShader = 0x5
  7451. MetalLibShader = 0x6
  7452. WgslShader = 0x7
  7453. class Stage(enum.Enum):
  7454. VertexStage = 0x0
  7455. TessellationControlStage = 0x1
  7456. TessellationEvaluationStage = 0x2
  7457. GeometryStage = 0x3
  7458. FragmentStage = 0x4
  7459. ComputeStage = 0x5
  7460. class Variant(enum.Enum):
  7461. StandardShader = 0x0
  7462. BatchableVertexShader = 0x1
  7463. UInt16IndexedVertexAsComputeShader = 0x2
  7464. UInt32IndexedVertexAsComputeShader = 0x3
  7465. NonIndexedVertexAsComputeShader = 0x4
  7466. HdrCapableFragmentShader = 0x5
  7467. @typing.overload
  7468. def __init__(self, /) -> None: ...
  7469. @typing.overload
  7470. def __init__(self, other: PySide6.QtGui.QShader, /) -> None: ...
  7471. def __copy__(self, /) -> typing.Self: ...
  7472. def __eq__(self, rhs: PySide6.QtGui.QShader, /) -> bool: ...
  7473. def __hash__(self, /) -> int: ...
  7474. def __ne__(self, rhs: PySide6.QtGui.QShader, /) -> bool: ...
  7475. def __repr__(self, /) -> str: ...
  7476. def availableShaders(self, /) -> typing.List[PySide6.QtGui.QShaderKey]: ...
  7477. @staticmethod
  7478. def fromSerialized(data: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> PySide6.QtGui.QShader: ...
  7479. def isValid(self, /) -> bool: ...
  7480. def nativeResourceBindingMap(self, key: PySide6.QtGui.QShaderKey, /) -> typing.Dict[int, typing.Tuple[int, int]]: ...
  7481. def removeNativeShaderInfo(self, key: PySide6.QtGui.QShaderKey, /) -> None: ...
  7482. def removeResourceBindingMap(self, key: PySide6.QtGui.QShaderKey, /) -> None: ...
  7483. def removeSeparateToCombinedImageSamplerMappingList(self, key: PySide6.QtGui.QShaderKey, /) -> None: ...
  7484. def removeShader(self, key: PySide6.QtGui.QShaderKey, /) -> None: ...
  7485. def serialized(self, /, version: PySide6.QtGui.QShader.SerializedFormatVersion = ...) -> PySide6.QtCore.QByteArray: ...
  7486. def setResourceBindingMap(self, key: PySide6.QtGui.QShaderKey, map: typing.Dict[int, typing.Tuple[int, int]], /) -> None: ...
  7487. def setShader(self, key: PySide6.QtGui.QShaderKey, shader: PySide6.QtGui.QShaderCode | PySide6.QtCore.QByteArray, /) -> None: ...
  7488. def setStage(self, stage: PySide6.QtGui.QShader.Stage, /) -> None: ...
  7489. def shader(self, key: PySide6.QtGui.QShaderKey, /) -> PySide6.QtGui.QShaderCode: ...
  7490. def stage(self, /) -> PySide6.QtGui.QShader.Stage: ...
  7491. def swap(self, other: PySide6.QtGui.QShader, /) -> None: ...
  7492. class QShaderCode(Shiboken.Object):
  7493. @typing.overload
  7494. def __init__(self, /) -> None: ...
  7495. @typing.overload
  7496. def __init__(self, QShaderCode: PySide6.QtGui.QShaderCode, /) -> None: ...
  7497. @typing.overload
  7498. def __init__(self, code: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /, entry: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
  7499. def __copy__(self, /) -> typing.Self: ...
  7500. def __eq__(self, rhs: PySide6.QtGui.QShaderCode | PySide6.QtCore.QByteArray, /) -> bool: ...
  7501. def __hash__(self, /) -> int: ...
  7502. def __ne__(self, rhs: PySide6.QtGui.QShaderCode | PySide6.QtCore.QByteArray, /) -> bool: ...
  7503. def entryPoint(self, /) -> PySide6.QtCore.QByteArray: ...
  7504. def setEntryPoint(self, entry: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  7505. def setShader(self, code: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  7506. def shader(self, /) -> PySide6.QtCore.QByteArray: ...
  7507. class QShaderKey(Shiboken.Object):
  7508. @typing.overload
  7509. def __init__(self, /) -> None: ...
  7510. @typing.overload
  7511. def __init__(self, QShaderKey: PySide6.QtGui.QShaderKey, /) -> None: ...
  7512. @typing.overload
  7513. def __init__(self, s: PySide6.QtGui.QShader.Source, sver: PySide6.QtGui.QShaderVersion | int, /, svar: PySide6.QtGui.QShader.Variant = ...) -> None: ...
  7514. def __copy__(self, /) -> typing.Self: ...
  7515. def __eq__(self, rhs: PySide6.QtGui.QShaderKey, /) -> bool: ...
  7516. def __hash__(self, /) -> int: ...
  7517. def __lt__(self, rhs: PySide6.QtGui.QShaderKey, /) -> bool: ...
  7518. def __ne__(self, rhs: PySide6.QtGui.QShaderKey, /) -> bool: ...
  7519. def __repr__(self, /) -> str: ...
  7520. def setSource(self, s: PySide6.QtGui.QShader.Source, /) -> None: ...
  7521. def setSourceVariant(self, svar: PySide6.QtGui.QShader.Variant, /) -> None: ...
  7522. def setSourceVersion(self, sver: PySide6.QtGui.QShaderVersion | int, /) -> None: ...
  7523. def source(self, /) -> PySide6.QtGui.QShader.Source: ...
  7524. def sourceVariant(self, /) -> PySide6.QtGui.QShader.Variant: ...
  7525. def sourceVersion(self, /) -> PySide6.QtGui.QShaderVersion: ...
  7526. class QShaderVersion(Shiboken.Object):
  7527. class Flag(enum.Flag):
  7528. GlslEs = 0x1
  7529. @typing.overload
  7530. def __init__(self, /) -> None: ...
  7531. @typing.overload
  7532. def __init__(self, QShaderVersion: PySide6.QtGui.QShaderVersion, /) -> None: ...
  7533. @typing.overload
  7534. def __init__(self, v: int, /, f: PySide6.QtGui.QShaderVersion.Flag = ...) -> None: ...
  7535. def __copy__(self, /) -> typing.Self: ...
  7536. def __eq__(self, rhs: PySide6.QtGui.QShaderVersion | int, /) -> bool: ...
  7537. def __lt__(self, rhs: PySide6.QtGui.QShaderVersion | int, /) -> bool: ...
  7538. def __ne__(self, rhs: PySide6.QtGui.QShaderVersion | int, /) -> bool: ...
  7539. def __repr__(self, /) -> str: ...
  7540. def flags(self, /) -> PySide6.QtGui.QShaderVersion.Flag: ...
  7541. def setFlags(self, f: PySide6.QtGui.QShaderVersion.Flag, /) -> None: ...
  7542. def setVersion(self, v: int, /) -> None: ...
  7543. def version(self, /) -> int: ...
  7544. class QShortcut(PySide6.QtCore.QObject):
  7545. activated : typing.ClassVar[Signal] = ... # activated()
  7546. activatedAmbiguously : typing.ClassVar[Signal] = ... # activatedAmbiguously()
  7547. @typing.overload
  7548. def __init__(self, parent: PySide6.QtCore.QObject, /, *, key: PySide6.QtGui.QKeySequence | None = ..., enabled: bool | None = ..., autoRepeat: bool | None = ..., context: PySide6.QtCore.Qt.ShortcutContext | None = ...) -> None: ...
  7549. @typing.overload
  7550. def __init__(self, standard_key: PySide6.QtGui.QKeySequence.StandardKey, parent: PySide6.QtCore.QObject, callable: collections.abc.Callable[..., typing.Any], /, context: PySide6.QtCore.Qt.ShortcutContext = ..., *, key: PySide6.QtGui.QKeySequence | None = ..., enabled: bool | None = ..., autoRepeat: bool | None = ...) -> None: ...
  7551. @typing.overload
  7552. def __init__(self, key: PySide6.QtGui.QKeySequence.StandardKey, parent: PySide6.QtCore.QObject, /, member: bytes | bytearray | memoryview | None = ..., ambiguousMember: bytes | bytearray | memoryview | None = ..., context: PySide6.QtCore.Qt.ShortcutContext = ..., *, enabled: bool | None = ..., autoRepeat: bool | None = ...) -> None: ...
  7553. @typing.overload
  7554. def __init__(self, key: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, parent: PySide6.QtCore.QObject, callable: collections.abc.Callable[..., typing.Any], /, context: PySide6.QtCore.Qt.ShortcutContext = ..., *, enabled: bool | None = ..., autoRepeat: bool | None = ...) -> None: ...
  7555. @typing.overload
  7556. def __init__(self, key: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, parent: PySide6.QtCore.QObject, /, member: bytes | bytearray | memoryview | None = ..., ambiguousMember: bytes | bytearray | memoryview | None = ..., context: PySide6.QtCore.Qt.ShortcutContext = ..., *, enabled: bool | None = ..., autoRepeat: bool | None = ...) -> None: ...
  7557. def autoRepeat(self, /) -> bool: ...
  7558. def context(self, /) -> PySide6.QtCore.Qt.ShortcutContext: ...
  7559. def event(self, e: PySide6.QtCore.QEvent, /) -> bool: ...
  7560. def id(self, /) -> int: ...
  7561. def isEnabled(self, /) -> bool: ...
  7562. def key(self, /) -> PySide6.QtGui.QKeySequence: ...
  7563. def keys(self, /) -> typing.List[PySide6.QtGui.QKeySequence]: ...
  7564. def setAutoRepeat(self, on: bool, /) -> None: ...
  7565. def setContext(self, context: PySide6.QtCore.Qt.ShortcutContext, /) -> None: ...
  7566. def setEnabled(self, enable: bool, /) -> None: ...
  7567. def setKey(self, key: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /) -> None: ...
  7568. @typing.overload
  7569. def setKeys(self, key: PySide6.QtGui.QKeySequence.StandardKey, /) -> None: ...
  7570. @typing.overload
  7571. def setKeys(self, keys: collections.abc.Sequence[PySide6.QtGui.QKeySequence], /) -> None: ...
  7572. def setWhatsThis(self, text: str, /) -> None: ...
  7573. def whatsThis(self, /) -> str: ...
  7574. class QShortcutEvent(PySide6.QtCore.QEvent):
  7575. @typing.overload
  7576. def __init__(self, arg__1: PySide6.QtGui.QShortcutEvent, /) -> None: ...
  7577. @typing.overload
  7578. def __init__(self, key: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, /, shortcut: PySide6.QtGui.QShortcut | None = ..., ambiguous: bool = ...) -> None: ...
  7579. @typing.overload
  7580. def __init__(self, key: PySide6.QtGui.QKeySequence | PySide6.QtCore.QKeyCombination | PySide6.QtGui.QKeySequence.StandardKey | str | int, id: int, /, ambiguous: bool = ...) -> None: ...
  7581. def clone(self, /) -> PySide6.QtGui.QShortcutEvent: ...
  7582. def isAmbiguous(self, /) -> bool: ...
  7583. def key(self, /) -> PySide6.QtGui.QKeySequence: ...
  7584. def shortcutId(self, /) -> int: ...
  7585. class QShowEvent(PySide6.QtCore.QEvent):
  7586. @typing.overload
  7587. def __init__(self, /) -> None: ...
  7588. @typing.overload
  7589. def __init__(self, arg__1: PySide6.QtGui.QShowEvent, /) -> None: ...
  7590. def clone(self, /) -> PySide6.QtGui.QShowEvent: ...
  7591. class QSinglePointEvent(PySide6.QtGui.QPointerEvent):
  7592. @typing.overload
  7593. def __init__(self, arg__1: PySide6.QtGui.QSinglePointEvent, /, *, exclusivePointGrabber: PySide6.QtCore.QObject | None = ...) -> None: ...
  7594. @typing.overload
  7595. def __init__(self, type: PySide6.QtCore.QEvent.Type, dev: PySide6.QtGui.QPointingDevice, point: PySide6.QtGui.QEventPoint, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, source: PySide6.QtCore.Qt.MouseEventSource, /, *, exclusivePointGrabber: PySide6.QtCore.QObject | None = ...) -> None: ...
  7596. @typing.overload
  7597. def __init__(self, type: PySide6.QtCore.QEvent.Type, dev: PySide6.QtGui.QPointingDevice, localPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, scenePos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, /, source: PySide6.QtCore.Qt.MouseEventSource = ..., *, exclusivePointGrabber: PySide6.QtCore.QObject | None = ...) -> None: ...
  7598. def button(self, /) -> PySide6.QtCore.Qt.MouseButton: ...
  7599. def buttons(self, /) -> PySide6.QtCore.Qt.MouseButton: ...
  7600. def clone(self, /) -> PySide6.QtGui.QSinglePointEvent: ...
  7601. def exclusivePointGrabber(self, /) -> PySide6.QtCore.QObject: ...
  7602. def globalPosition(self, /) -> PySide6.QtCore.QPointF: ...
  7603. def isBeginEvent(self, /) -> bool: ...
  7604. def isEndEvent(self, /) -> bool: ...
  7605. def isUpdateEvent(self, /) -> bool: ...
  7606. def position(self, /) -> PySide6.QtCore.QPointF: ...
  7607. def scenePosition(self, /) -> PySide6.QtCore.QPointF: ...
  7608. def setExclusivePointGrabber(self, exclusiveGrabber: PySide6.QtCore.QObject, /) -> None: ...
  7609. class QStandardItem(Shiboken.Object):
  7610. class ItemType(enum.Enum):
  7611. Type = 0x0
  7612. UserType = 0x3e8
  7613. @typing.overload
  7614. def __init__(self, /) -> None: ...
  7615. @typing.overload
  7616. def __init__(self, other: PySide6.QtGui.QStandardItem, /) -> None: ...
  7617. @typing.overload
  7618. def __init__(self, text: str, /) -> None: ...
  7619. @typing.overload
  7620. def __init__(self, icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, text: str, /) -> None: ...
  7621. @typing.overload
  7622. def __init__(self, rows: int, /, columns: int = ...) -> None: ...
  7623. def __lshift__(self, out: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  7624. def __lt__(self, other: PySide6.QtGui.QStandardItem, /) -> bool: ...
  7625. def __rshift__(self, in_: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  7626. def accessibleDescription(self, /) -> str: ...
  7627. def accessibleText(self, /) -> str: ...
  7628. def appendColumn(self, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7629. @typing.overload
  7630. def appendRow(self, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7631. @typing.overload
  7632. def appendRow(self, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7633. def appendRows(self, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7634. def background(self, /) -> PySide6.QtGui.QBrush: ...
  7635. def checkState(self, /) -> PySide6.QtCore.Qt.CheckState: ...
  7636. def child(self, row: int, /, column: int | None = ...) -> PySide6.QtGui.QStandardItem: ...
  7637. def clearData(self, /) -> None: ...
  7638. def clone(self, /) -> PySide6.QtGui.QStandardItem: ...
  7639. def column(self, /) -> int: ...
  7640. def columnCount(self, /) -> int: ...
  7641. def data(self, /, role: int = ...) -> typing.Any: ...
  7642. def emitDataChanged(self, /) -> None: ...
  7643. def flags(self, /) -> PySide6.QtCore.Qt.ItemFlag: ...
  7644. def font(self, /) -> PySide6.QtGui.QFont: ...
  7645. def foreground(self, /) -> PySide6.QtGui.QBrush: ...
  7646. def hasChildren(self, /) -> bool: ...
  7647. def icon(self, /) -> PySide6.QtGui.QIcon: ...
  7648. def index(self, /) -> PySide6.QtCore.QModelIndex: ...
  7649. def insertColumn(self, column: int, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7650. def insertColumns(self, column: int, count: int, /) -> None: ...
  7651. @typing.overload
  7652. def insertRow(self, row: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7653. @typing.overload
  7654. def insertRow(self, row: int, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7655. @typing.overload
  7656. def insertRows(self, row: int, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7657. @typing.overload
  7658. def insertRows(self, row: int, count: int, /) -> None: ...
  7659. def isAutoTristate(self, /) -> bool: ...
  7660. def isCheckable(self, /) -> bool: ...
  7661. def isDragEnabled(self, /) -> bool: ...
  7662. def isDropEnabled(self, /) -> bool: ...
  7663. def isEditable(self, /) -> bool: ...
  7664. def isEnabled(self, /) -> bool: ...
  7665. def isSelectable(self, /) -> bool: ...
  7666. def isUserTristate(self, /) -> bool: ...
  7667. def model(self, /) -> PySide6.QtGui.QStandardItemModel: ...
  7668. def multiData(self, roleDataSpan: PySide6.QtCore.QModelRoleDataSpan | PySide6.QtCore.QModelRoleData, /) -> None: ...
  7669. def parent(self, /) -> PySide6.QtGui.QStandardItem: ...
  7670. def read(self, in_: PySide6.QtCore.QDataStream, /) -> None: ...
  7671. def removeColumn(self, column: int, /) -> None: ...
  7672. def removeColumns(self, column: int, count: int, /) -> None: ...
  7673. def removeRow(self, row: int, /) -> None: ...
  7674. def removeRows(self, row: int, count: int, /) -> None: ...
  7675. def row(self, /) -> int: ...
  7676. def rowCount(self, /) -> int: ...
  7677. def setAccessibleDescription(self, accessibleDescription: str, /) -> None: ...
  7678. def setAccessibleText(self, accessibleText: str, /) -> None: ...
  7679. def setAutoTristate(self, tristate: bool, /) -> None: ...
  7680. def setBackground(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  7681. def setCheckState(self, checkState: PySide6.QtCore.Qt.CheckState, /) -> None: ...
  7682. def setCheckable(self, checkable: bool, /) -> None: ...
  7683. @typing.overload
  7684. def setChild(self, row: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7685. @typing.overload
  7686. def setChild(self, row: int, column: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7687. def setColumnCount(self, columns: int, /) -> None: ...
  7688. def setData(self, value: typing.Any, /, role: int = ...) -> None: ...
  7689. def setDragEnabled(self, dragEnabled: bool, /) -> None: ...
  7690. def setDropEnabled(self, dropEnabled: bool, /) -> None: ...
  7691. def setEditable(self, editable: bool, /) -> None: ...
  7692. def setEnabled(self, enabled: bool, /) -> None: ...
  7693. def setFlags(self, flags: PySide6.QtCore.Qt.ItemFlag, /) -> None: ...
  7694. def setFont(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  7695. def setForeground(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  7696. def setIcon(self, icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> None: ...
  7697. def setRowCount(self, rows: int, /) -> None: ...
  7698. def setSelectable(self, selectable: bool, /) -> None: ...
  7699. def setSizeHint(self, sizeHint: PySide6.QtCore.QSize, /) -> None: ...
  7700. def setStatusTip(self, statusTip: str, /) -> None: ...
  7701. def setText(self, text: str, /) -> None: ...
  7702. def setTextAlignment(self, textAlignment: PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  7703. def setToolTip(self, toolTip: str, /) -> None: ...
  7704. def setUserTristate(self, tristate: bool, /) -> None: ...
  7705. def setWhatsThis(self, whatsThis: str, /) -> None: ...
  7706. def sizeHint(self, /) -> PySide6.QtCore.QSize: ...
  7707. def sortChildren(self, column: int, /, order: PySide6.QtCore.Qt.SortOrder = ...) -> None: ...
  7708. def statusTip(self, /) -> str: ...
  7709. def takeChild(self, row: int, /, column: int | None = ...) -> PySide6.QtGui.QStandardItem: ...
  7710. def takeColumn(self, column: int, /) -> typing.List[PySide6.QtGui.QStandardItem]: ...
  7711. def takeRow(self, row: int, /) -> typing.List[PySide6.QtGui.QStandardItem]: ...
  7712. def text(self, /) -> str: ...
  7713. def textAlignment(self, /) -> PySide6.QtCore.Qt.AlignmentFlag: ...
  7714. def toolTip(self, /) -> str: ...
  7715. def type(self, /) -> int: ...
  7716. def whatsThis(self, /) -> str: ...
  7717. def write(self, out: PySide6.QtCore.QDataStream, /) -> None: ...
  7718. class QStandardItemModel(PySide6.QtCore.QAbstractItemModel):
  7719. itemChanged : typing.ClassVar[Signal] = ... # itemChanged(QStandardItem*)
  7720. @typing.overload
  7721. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, sortRole: int | None = ...) -> None: ...
  7722. @typing.overload
  7723. def __init__(self, rows: int, columns: int, /, parent: PySide6.QtCore.QObject | None = ..., *, sortRole: int | None = ...) -> None: ...
  7724. def appendColumn(self, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7725. @typing.overload
  7726. def appendRow(self, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7727. @typing.overload
  7728. def appendRow(self, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7729. def clear(self, /) -> None: ...
  7730. def clearItemData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> bool: ...
  7731. def columnCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
  7732. def data(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /, role: int = ...) -> typing.Any: ...
  7733. def dropMimeData(self, data: PySide6.QtCore.QMimeData, action: PySide6.QtCore.Qt.DropAction, row: int, column: int, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> bool: ...
  7734. def findItems(self, text: str, /, flags: PySide6.QtCore.Qt.MatchFlag = ..., column: int | None = ...) -> typing.List[PySide6.QtGui.QStandardItem]: ...
  7735. def flags(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.Qt.ItemFlag: ...
  7736. def hasChildren(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7737. def headerData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, /, role: int = ...) -> typing.Any: ...
  7738. def horizontalHeaderItem(self, column: int, /) -> PySide6.QtGui.QStandardItem: ...
  7739. def index(self, row: int, column: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> PySide6.QtCore.QModelIndex: ...
  7740. def indexFromItem(self, item: PySide6.QtGui.QStandardItem, /) -> PySide6.QtCore.QModelIndex: ...
  7741. @typing.overload
  7742. def insertColumn(self, column: int, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7743. @typing.overload
  7744. def insertColumn(self, column: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7745. def insertColumns(self, column: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7746. @typing.overload
  7747. def insertRow(self, row: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7748. @typing.overload
  7749. def insertRow(self, row: int, items: collections.abc.Sequence[PySide6.QtGui.QStandardItem], /) -> None: ...
  7750. @typing.overload
  7751. def insertRow(self, row: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7752. def insertRows(self, row: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7753. def invisibleRootItem(self, /) -> PySide6.QtGui.QStandardItem: ...
  7754. def item(self, row: int, /, column: int | None = ...) -> PySide6.QtGui.QStandardItem: ...
  7755. def itemData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> typing.Dict[int, typing.Any]: ...
  7756. def itemFromIndex(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtGui.QStandardItem: ...
  7757. def itemPrototype(self, /) -> PySide6.QtGui.QStandardItem: ...
  7758. def mimeData(self, indexes: collections.abc.Sequence[PySide6.QtCore.QModelIndex], /) -> PySide6.QtCore.QMimeData: ...
  7759. def mimeTypes(self, /) -> typing.List[str]: ...
  7760. def multiData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, roleDataSpan: PySide6.QtCore.QModelRoleDataSpan | PySide6.QtCore.QModelRoleData, /) -> None: ...
  7761. @typing.overload
  7762. def parent(self, /) -> PySide6.QtCore.QObject: ...
  7763. @typing.overload
  7764. def parent(self, child: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, /) -> PySide6.QtCore.QModelIndex: ...
  7765. def removeColumns(self, column: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7766. def removeRows(self, row: int, count: int, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> bool: ...
  7767. def roleNames(self, /) -> typing.Dict[int, PySide6.QtCore.QByteArray]: ...
  7768. def rowCount(self, /, parent: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex = ...) -> int: ...
  7769. def setColumnCount(self, columns: int, /) -> None: ...
  7770. def setData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, value: typing.Any, /, role: int = ...) -> bool: ...
  7771. def setHeaderData(self, section: int, orientation: PySide6.QtCore.Qt.Orientation, value: typing.Any, /, role: int = ...) -> bool: ...
  7772. def setHorizontalHeaderItem(self, column: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7773. def setHorizontalHeaderLabels(self, labels: collections.abc.Sequence[str], /) -> None: ...
  7774. @typing.overload
  7775. def setItem(self, row: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7776. @typing.overload
  7777. def setItem(self, row: int, column: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7778. def setItemData(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, roles: typing.Dict[int, typing.Any], /) -> bool: ...
  7779. def setItemPrototype(self, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7780. def setItemRoleNames(self, roleNames: typing.Dict[int, PySide6.QtCore.QByteArray], /) -> None: ...
  7781. def setRowCount(self, rows: int, /) -> None: ...
  7782. def setSortRole(self, role: int, /) -> None: ...
  7783. def setVerticalHeaderItem(self, row: int, item: PySide6.QtGui.QStandardItem, /) -> None: ...
  7784. def setVerticalHeaderLabels(self, labels: collections.abc.Sequence[str], /) -> None: ...
  7785. def sort(self, column: int, /, order: PySide6.QtCore.Qt.SortOrder = ...) -> None: ...
  7786. def sortRole(self, /) -> int: ...
  7787. def supportedDropActions(self, /) -> PySide6.QtCore.Qt.DropAction: ...
  7788. def takeColumn(self, column: int, /) -> typing.List[PySide6.QtGui.QStandardItem]: ...
  7789. def takeHorizontalHeaderItem(self, column: int, /) -> PySide6.QtGui.QStandardItem: ...
  7790. def takeItem(self, row: int, /, column: int | None = ...) -> PySide6.QtGui.QStandardItem: ...
  7791. def takeRow(self, row: int, /) -> typing.List[PySide6.QtGui.QStandardItem]: ...
  7792. def takeVerticalHeaderItem(self, row: int, /) -> PySide6.QtGui.QStandardItem: ...
  7793. def verticalHeaderItem(self, row: int, /) -> PySide6.QtGui.QStandardItem: ...
  7794. class QStaticText(Shiboken.Object):
  7795. class PerformanceHint(enum.Enum):
  7796. ModerateCaching = 0x0
  7797. AggressiveCaching = 0x1
  7798. @typing.overload
  7799. def __init__(self, /) -> None: ...
  7800. @typing.overload
  7801. def __init__(self, other: PySide6.QtGui.QStaticText, /) -> None: ...
  7802. @typing.overload
  7803. def __init__(self, text: str, /) -> None: ...
  7804. def __copy__(self, /) -> typing.Self: ...
  7805. def __eq__(self, arg__1: PySide6.QtGui.QStaticText, /) -> bool: ...
  7806. def __ne__(self, arg__1: PySide6.QtGui.QStaticText, /) -> bool: ...
  7807. def performanceHint(self, /) -> PySide6.QtGui.QStaticText.PerformanceHint: ...
  7808. def prepare(self, /, matrix: PySide6.QtGui.QTransform = ..., font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str] = ...) -> None: ...
  7809. def setPerformanceHint(self, performanceHint: PySide6.QtGui.QStaticText.PerformanceHint, /) -> None: ...
  7810. def setText(self, text: str, /) -> None: ...
  7811. def setTextFormat(self, textFormat: PySide6.QtCore.Qt.TextFormat, /) -> None: ...
  7812. def setTextOption(self, textOption: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  7813. def setTextWidth(self, textWidth: float, /) -> None: ...
  7814. def size(self, /) -> PySide6.QtCore.QSizeF: ...
  7815. def swap(self, other: PySide6.QtGui.QStaticText, /) -> None: ...
  7816. def text(self, /) -> str: ...
  7817. def textFormat(self, /) -> PySide6.QtCore.Qt.TextFormat: ...
  7818. def textOption(self, /) -> PySide6.QtGui.QTextOption: ...
  7819. def textWidth(self, /) -> float: ...
  7820. class QStatusTipEvent(PySide6.QtCore.QEvent):
  7821. @typing.overload
  7822. def __init__(self, arg__1: PySide6.QtGui.QStatusTipEvent, /) -> None: ...
  7823. @typing.overload
  7824. def __init__(self, tip: str, /) -> None: ...
  7825. def clone(self, /) -> PySide6.QtGui.QStatusTipEvent: ...
  7826. def tip(self, /) -> str: ...
  7827. class QStyleHints(PySide6.QtCore.QObject):
  7828. colorSchemeChanged : typing.ClassVar[Signal] = ... # colorSchemeChanged(Qt::ColorScheme)
  7829. contextMenuTriggerChanged: typing.ClassVar[Signal] = ... # contextMenuTriggerChanged(Qt::ContextMenuTrigger)
  7830. cursorFlashTimeChanged : typing.ClassVar[Signal] = ... # cursorFlashTimeChanged(int)
  7831. keyboardInputIntervalChanged: typing.ClassVar[Signal] = ... # keyboardInputIntervalChanged(int)
  7832. mouseDoubleClickIntervalChanged: typing.ClassVar[Signal] = ... # mouseDoubleClickIntervalChanged(int)
  7833. mousePressAndHoldIntervalChanged: typing.ClassVar[Signal] = ... # mousePressAndHoldIntervalChanged(int)
  7834. mouseQuickSelectionThresholdChanged: typing.ClassVar[Signal] = ... # mouseQuickSelectionThresholdChanged(int)
  7835. showShortcutsInContextMenusChanged: typing.ClassVar[Signal] = ... # showShortcutsInContextMenusChanged(bool)
  7836. startDragDistanceChanged : typing.ClassVar[Signal] = ... # startDragDistanceChanged(int)
  7837. startDragTimeChanged : typing.ClassVar[Signal] = ... # startDragTimeChanged(int)
  7838. tabFocusBehaviorChanged : typing.ClassVar[Signal] = ... # tabFocusBehaviorChanged(Qt::TabFocusBehavior)
  7839. useHoverEffectsChanged : typing.ClassVar[Signal] = ... # useHoverEffectsChanged(bool)
  7840. wheelScrollLinesChanged : typing.ClassVar[Signal] = ... # wheelScrollLinesChanged(int)
  7841. def accessibility(self, /) -> PySide6.QtGui.QAccessibilityHints: ...
  7842. def colorScheme(self, /) -> PySide6.QtCore.Qt.ColorScheme: ...
  7843. def contextMenuTrigger(self, /) -> PySide6.QtCore.Qt.ContextMenuTrigger: ...
  7844. def cursorFlashTime(self, /) -> int: ...
  7845. def fontSmoothingGamma(self, /) -> float: ...
  7846. def keyboardAutoRepeatRate(self, /) -> int: ...
  7847. def keyboardAutoRepeatRateF(self, /) -> float: ...
  7848. def keyboardInputInterval(self, /) -> int: ...
  7849. def menuSelectionWraps(self, /) -> bool: ...
  7850. def mouseDoubleClickDistance(self, /) -> int: ...
  7851. def mouseDoubleClickInterval(self, /) -> int: ...
  7852. def mousePressAndHoldInterval(self, /) -> int: ...
  7853. def mouseQuickSelectionThreshold(self, /) -> int: ...
  7854. def passwordMaskCharacter(self, /) -> str: ...
  7855. def passwordMaskDelay(self, /) -> int: ...
  7856. def setColorScheme(self, scheme: PySide6.QtCore.Qt.ColorScheme, /) -> None: ...
  7857. def setContextMenuTrigger(self, contextMenuTrigger: PySide6.QtCore.Qt.ContextMenuTrigger, /) -> None: ...
  7858. def setCursorFlashTime(self, cursorFlashTime: int, /) -> None: ...
  7859. def setFocusOnTouchRelease(self, /) -> bool: ...
  7860. def setKeyboardInputInterval(self, keyboardInputInterval: int, /) -> None: ...
  7861. def setMouseDoubleClickInterval(self, mouseDoubleClickInterval: int, /) -> None: ...
  7862. def setMousePressAndHoldInterval(self, mousePressAndHoldInterval: int, /) -> None: ...
  7863. def setMouseQuickSelectionThreshold(self, threshold: int, /) -> None: ...
  7864. def setShowShortcutsInContextMenus(self, showShortcutsInContextMenus: bool, /) -> None: ...
  7865. def setStartDragDistance(self, startDragDistance: int, /) -> None: ...
  7866. def setStartDragTime(self, startDragTime: int, /) -> None: ...
  7867. def setTabFocusBehavior(self, tabFocusBehavior: PySide6.QtCore.Qt.TabFocusBehavior, /) -> None: ...
  7868. def setUseHoverEffects(self, useHoverEffects: bool, /) -> None: ...
  7869. def setWheelScrollLines(self, scrollLines: int, /) -> None: ...
  7870. def showIsFullScreen(self, /) -> bool: ...
  7871. def showIsMaximized(self, /) -> bool: ...
  7872. def showShortcutsInContextMenus(self, /) -> bool: ...
  7873. def singleClickActivation(self, /) -> bool: ...
  7874. def startDragDistance(self, /) -> int: ...
  7875. def startDragTime(self, /) -> int: ...
  7876. def startDragVelocity(self, /) -> int: ...
  7877. def tabFocusBehavior(self, /) -> PySide6.QtCore.Qt.TabFocusBehavior: ...
  7878. def touchDoubleTapDistance(self, /) -> int: ...
  7879. def unsetColorScheme(self, /) -> None: ...
  7880. def useHoverEffects(self, /) -> bool: ...
  7881. def useRtlExtensions(self, /) -> bool: ...
  7882. def wheelScrollLines(self, /) -> int: ...
  7883. class QSurface(Shiboken.Object):
  7884. class SurfaceClass(enum.Enum):
  7885. Window = 0x0
  7886. Offscreen = 0x1
  7887. class SurfaceType(enum.Enum):
  7888. RasterSurface = 0x0
  7889. OpenGLSurface = 0x1
  7890. RasterGLSurface = 0x2
  7891. OpenVGSurface = 0x3
  7892. VulkanSurface = 0x4
  7893. MetalSurface = 0x5
  7894. Direct3DSurface = 0x6
  7895. def __init__(self, type: PySide6.QtGui.QSurface.SurfaceClass, /) -> None: ...
  7896. def format(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
  7897. def size(self, /) -> PySide6.QtCore.QSize: ...
  7898. def supportsOpenGL(self, /) -> bool: ...
  7899. def surfaceClass(self, /) -> PySide6.QtGui.QSurface.SurfaceClass: ...
  7900. def surfaceHandle(self, /) -> int: ...
  7901. def surfaceType(self, /) -> PySide6.QtGui.QSurface.SurfaceType: ...
  7902. class QSurfaceFormat(Shiboken.Object):
  7903. class ColorSpace(enum.Enum):
  7904. DefaultColorSpace = 0x0
  7905. sRGBColorSpace = 0x1
  7906. class FormatOption(enum.Flag):
  7907. StereoBuffers = 0x1
  7908. DebugContext = 0x2
  7909. DeprecatedFunctions = 0x4
  7910. ResetNotification = 0x8
  7911. ProtectedContent = 0x10
  7912. class OpenGLContextProfile(enum.Enum):
  7913. NoProfile = 0x0
  7914. CoreProfile = 0x1
  7915. CompatibilityProfile = 0x2
  7916. class RenderableType(enum.Enum):
  7917. DefaultRenderableType = 0x0
  7918. OpenGL = 0x1
  7919. OpenGLES = 0x2
  7920. OpenVG = 0x4
  7921. class SwapBehavior(enum.Enum):
  7922. DefaultSwapBehavior = 0x0
  7923. SingleBuffer = 0x1
  7924. DoubleBuffer = 0x2
  7925. TripleBuffer = 0x3
  7926. @typing.overload
  7927. def __init__(self, /) -> None: ...
  7928. @typing.overload
  7929. def __init__(self, options: PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
  7930. @typing.overload
  7931. def __init__(self, other: PySide6.QtGui.QSurfaceFormat, /) -> None: ...
  7932. def __copy__(self, /) -> typing.Self: ...
  7933. def __eq__(self, rhs: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> bool: ...
  7934. def __ne__(self, rhs: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> bool: ...
  7935. def __repr__(self, /) -> str: ...
  7936. def alphaBufferSize(self, /) -> int: ...
  7937. def blueBufferSize(self, /) -> int: ...
  7938. def colorSpace(self, /) -> PySide6.QtGui.QColorSpace: ...
  7939. @staticmethod
  7940. def defaultFormat() -> PySide6.QtGui.QSurfaceFormat: ...
  7941. def depthBufferSize(self, /) -> int: ...
  7942. def greenBufferSize(self, /) -> int: ...
  7943. def hasAlpha(self, /) -> bool: ...
  7944. def majorVersion(self, /) -> int: ...
  7945. def minorVersion(self, /) -> int: ...
  7946. def options(self, /) -> PySide6.QtGui.QSurfaceFormat.FormatOption: ...
  7947. def profile(self, /) -> PySide6.QtGui.QSurfaceFormat.OpenGLContextProfile: ...
  7948. def redBufferSize(self, /) -> int: ...
  7949. def renderableType(self, /) -> PySide6.QtGui.QSurfaceFormat.RenderableType: ...
  7950. def samples(self, /) -> int: ...
  7951. def setAlphaBufferSize(self, size: int, /) -> None: ...
  7952. def setBlueBufferSize(self, size: int, /) -> None: ...
  7953. @typing.overload
  7954. def setColorSpace(self, colorSpace: PySide6.QtGui.QSurfaceFormat.ColorSpace, /) -> None: ...
  7955. @typing.overload
  7956. def setColorSpace(self, colorSpace: PySide6.QtGui.QColorSpace | PySide6.QtGui.QColorSpace.NamedColorSpace, /) -> None: ...
  7957. @staticmethod
  7958. def setDefaultFormat(format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
  7959. def setDepthBufferSize(self, size: int, /) -> None: ...
  7960. def setGreenBufferSize(self, size: int, /) -> None: ...
  7961. def setMajorVersion(self, majorVersion: int, /) -> None: ...
  7962. def setMinorVersion(self, minorVersion: int, /) -> None: ...
  7963. def setOption(self, option: PySide6.QtGui.QSurfaceFormat.FormatOption, /, on: bool = ...) -> None: ...
  7964. def setOptions(self, options: PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
  7965. def setProfile(self, profile: PySide6.QtGui.QSurfaceFormat.OpenGLContextProfile, /) -> None: ...
  7966. def setRedBufferSize(self, size: int, /) -> None: ...
  7967. def setRenderableType(self, type: PySide6.QtGui.QSurfaceFormat.RenderableType, /) -> None: ...
  7968. def setSamples(self, numSamples: int, /) -> None: ...
  7969. def setStencilBufferSize(self, size: int, /) -> None: ...
  7970. def setStereo(self, enable: bool, /) -> None: ...
  7971. def setSwapBehavior(self, behavior: PySide6.QtGui.QSurfaceFormat.SwapBehavior, /) -> None: ...
  7972. def setSwapInterval(self, interval: int, /) -> None: ...
  7973. def setVersion(self, major: int, minor: int, /) -> None: ...
  7974. def stencilBufferSize(self, /) -> int: ...
  7975. def stereo(self, /) -> bool: ...
  7976. def swapBehavior(self, /) -> PySide6.QtGui.QSurfaceFormat.SwapBehavior: ...
  7977. def swapInterval(self, /) -> int: ...
  7978. def testOption(self, option: PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> bool: ...
  7979. def version(self, /) -> typing.Tuple[int, int]: ...
  7980. class QSyntaxHighlighter(PySide6.QtCore.QObject):
  7981. @typing.overload
  7982. def __init__(self, parent: PySide6.QtGui.QTextDocument, /) -> None: ...
  7983. @typing.overload
  7984. def __init__(self, parent: PySide6.QtCore.QObject, /) -> None: ...
  7985. def currentBlock(self, /) -> PySide6.QtGui.QTextBlock: ...
  7986. def currentBlockState(self, /) -> int: ...
  7987. def currentBlockUserData(self, /) -> PySide6.QtGui.QTextBlockUserData: ...
  7988. def document(self, /) -> PySide6.QtGui.QTextDocument: ...
  7989. def format(self, pos: int, /) -> PySide6.QtGui.QTextCharFormat: ...
  7990. def highlightBlock(self, text: str, /) -> None: ...
  7991. def previousBlockState(self, /) -> int: ...
  7992. def rehighlight(self, /) -> None: ...
  7993. def rehighlightBlock(self, block: PySide6.QtGui.QTextBlock, /) -> None: ...
  7994. def setCurrentBlockState(self, newState: int, /) -> None: ...
  7995. def setCurrentBlockUserData(self, data: PySide6.QtGui.QTextBlockUserData, /) -> None: ...
  7996. def setDocument(self, doc: PySide6.QtGui.QTextDocument | None, /) -> None: ...
  7997. @typing.overload
  7998. def setFormat(self, start: int, count: int, format: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  7999. @typing.overload
  8000. def setFormat(self, start: int, count: int, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  8001. @typing.overload
  8002. def setFormat(self, start: int, count: int, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  8003. class QTabletEvent(PySide6.QtGui.QSinglePointEvent):
  8004. @typing.overload
  8005. def __init__(self, arg__1: PySide6.QtGui.QTabletEvent, /) -> None: ...
  8006. @typing.overload
  8007. def __init__(self, t: PySide6.QtCore.QEvent.Type, device: PySide6.QtGui.QPointingDevice, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, pressure: float, xTilt: float, yTilt: float, tangentialPressure: float, rotation: float, z: float, keyState: PySide6.QtCore.Qt.KeyboardModifier, button: PySide6.QtCore.Qt.MouseButton, buttons: PySide6.QtCore.Qt.MouseButton, /) -> None: ...
  8008. def __repr__(self, /) -> str: ...
  8009. def clone(self, /) -> PySide6.QtGui.QTabletEvent: ...
  8010. def globalPos(self, /) -> PySide6.QtCore.QPoint: ...
  8011. def globalPosF(self, /) -> PySide6.QtCore.QPointF: ...
  8012. def globalX(self, /) -> int: ...
  8013. def globalY(self, /) -> int: ...
  8014. def hiResGlobalX(self, /) -> float: ...
  8015. def hiResGlobalY(self, /) -> float: ...
  8016. def pos(self, /) -> PySide6.QtCore.QPoint: ...
  8017. def posF(self, /) -> PySide6.QtCore.QPointF: ...
  8018. def pressure(self, /) -> float: ...
  8019. def rotation(self, /) -> float: ...
  8020. def tangentialPressure(self, /) -> float: ...
  8021. def uniqueId(self, /) -> int: ...
  8022. def x(self, /) -> int: ...
  8023. def xTilt(self, /) -> float: ...
  8024. def y(self, /) -> int: ...
  8025. def yTilt(self, /) -> float: ...
  8026. def z(self, /) -> float: ...
  8027. class QTextBlock(Shiboken.Object):
  8028. class iterator(Shiboken.Object):
  8029. @typing.overload
  8030. def __init__(self, /) -> None: ...
  8031. @typing.overload
  8032. def __init__(self, iterator: PySide6.QtGui.QTextBlock.iterator, /) -> None: ...
  8033. def __copy__(self, /) -> typing.Self: ...
  8034. def __eq__(self, o: PySide6.QtGui.QTextBlock.iterator, /) -> bool: ...
  8035. def __iadd__(self, arg__1: int, /) -> PySide6.QtGui.QTextBlock.iterator: ...
  8036. def __isub__(self, arg__1: int, /) -> PySide6.QtGui.QTextBlock.iterator: ...
  8037. def __iter__(self, /) -> object: ...
  8038. def __ne__(self, o: PySide6.QtGui.QTextBlock.iterator, /) -> bool: ...
  8039. def __next__(self, /) -> object: ...
  8040. def atEnd(self, /) -> bool: ...
  8041. def fragment(self, /) -> PySide6.QtGui.QTextFragment: ...
  8042. @typing.overload
  8043. def __init__(self, /) -> None: ...
  8044. @typing.overload
  8045. def __init__(self, o: PySide6.QtGui.QTextBlock, /) -> None: ...
  8046. def __copy__(self, /) -> typing.Self: ...
  8047. def __eq__(self, o: PySide6.QtGui.QTextBlock, /) -> bool: ...
  8048. def __iter__(self, /) -> object: ...
  8049. def __lt__(self, o: PySide6.QtGui.QTextBlock, /) -> bool: ...
  8050. def __ne__(self, o: PySide6.QtGui.QTextBlock, /) -> bool: ...
  8051. def begin(self, /) -> PySide6.QtGui.QTextBlock.iterator: ...
  8052. def blockFormat(self, /) -> PySide6.QtGui.QTextBlockFormat: ...
  8053. def blockFormatIndex(self, /) -> int: ...
  8054. def blockNumber(self, /) -> int: ...
  8055. def charFormat(self, /) -> PySide6.QtGui.QTextCharFormat: ...
  8056. def charFormatIndex(self, /) -> int: ...
  8057. def clearLayout(self, /) -> None: ...
  8058. def contains(self, position: int, /) -> bool: ...
  8059. def document(self, /) -> PySide6.QtGui.QTextDocument: ...
  8060. def end(self, /) -> PySide6.QtGui.QTextBlock.iterator: ...
  8061. def firstLineNumber(self, /) -> int: ...
  8062. def fragmentIndex(self, /) -> int: ...
  8063. def isValid(self, /) -> bool: ...
  8064. def isVisible(self, /) -> bool: ...
  8065. def layout(self, /) -> PySide6.QtGui.QTextLayout: ...
  8066. def length(self, /) -> int: ...
  8067. def lineCount(self, /) -> int: ...
  8068. def next(self, /) -> PySide6.QtGui.QTextBlock: ...
  8069. def position(self, /) -> int: ...
  8070. def previous(self, /) -> PySide6.QtGui.QTextBlock: ...
  8071. def revision(self, /) -> int: ...
  8072. def setLineCount(self, count: int, /) -> None: ...
  8073. def setRevision(self, rev: int, /) -> None: ...
  8074. def setUserData(self, data: PySide6.QtGui.QTextBlockUserData, /) -> None: ...
  8075. def setUserState(self, state: int, /) -> None: ...
  8076. def setVisible(self, visible: bool, /) -> None: ...
  8077. def text(self, /) -> str: ...
  8078. def textDirection(self, /) -> PySide6.QtCore.Qt.LayoutDirection: ...
  8079. def textFormats(self, /) -> typing.List[PySide6.QtGui.QTextLayout.FormatRange]: ...
  8080. def textList(self, /) -> PySide6.QtGui.QTextList: ...
  8081. def userData(self, /) -> PySide6.QtGui.QTextBlockUserData: ...
  8082. def userState(self, /) -> int: ...
  8083. class QTextBlockFormat(PySide6.QtGui.QTextFormat):
  8084. class LineHeightTypes(enum.Enum):
  8085. SingleHeight = 0x0
  8086. ProportionalHeight = 0x1
  8087. FixedHeight = 0x2
  8088. MinimumHeight = 0x3
  8089. LineDistanceHeight = 0x4
  8090. class MarkerType(enum.Enum):
  8091. NoMarker = 0x0
  8092. Unchecked = 0x1
  8093. Checked = 0x2
  8094. @typing.overload
  8095. def __init__(self, /) -> None: ...
  8096. @typing.overload
  8097. def __init__(self, QTextBlockFormat: PySide6.QtGui.QTextBlockFormat, /) -> None: ...
  8098. @typing.overload
  8099. def __init__(self, fmt: PySide6.QtGui.QTextFormat, /) -> None: ...
  8100. def __copy__(self, /) -> typing.Self: ...
  8101. def alignment(self, /) -> PySide6.QtCore.Qt.AlignmentFlag: ...
  8102. def bottomMargin(self, /) -> float: ...
  8103. def headingLevel(self, /) -> int: ...
  8104. def indent(self, /) -> int: ...
  8105. def isValid(self, /) -> bool: ...
  8106. def leftMargin(self, /) -> float: ...
  8107. @typing.overload
  8108. def lineHeight(self, /) -> float: ...
  8109. @typing.overload
  8110. def lineHeight(self, scriptLineHeight: float, scaling: float, /) -> float: ...
  8111. def lineHeightType(self, /) -> int: ...
  8112. def marker(self, /) -> PySide6.QtGui.QTextBlockFormat.MarkerType: ...
  8113. def nonBreakableLines(self, /) -> bool: ...
  8114. def pageBreakPolicy(self, /) -> PySide6.QtGui.QTextFormat.PageBreakFlag: ...
  8115. def rightMargin(self, /) -> float: ...
  8116. def setAlignment(self, alignment: PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  8117. def setBottomMargin(self, margin: float, /) -> None: ...
  8118. def setHeadingLevel(self, alevel: int, /) -> None: ...
  8119. def setIndent(self, indent: int, /) -> None: ...
  8120. def setLeftMargin(self, margin: float, /) -> None: ...
  8121. def setLineHeight(self, height: float, heightType: int, /) -> None: ...
  8122. def setMarker(self, marker: PySide6.QtGui.QTextBlockFormat.MarkerType, /) -> None: ...
  8123. def setNonBreakableLines(self, b: bool, /) -> None: ...
  8124. def setPageBreakPolicy(self, flags: PySide6.QtGui.QTextFormat.PageBreakFlag, /) -> None: ...
  8125. def setRightMargin(self, margin: float, /) -> None: ...
  8126. def setTabPositions(self, tabs: collections.abc.Sequence[PySide6.QtGui.QTextOption.Tab], /) -> None: ...
  8127. def setTextIndent(self, aindent: float, /) -> None: ...
  8128. def setTopMargin(self, margin: float, /) -> None: ...
  8129. def tabPositions(self, /) -> typing.List[PySide6.QtGui.QTextOption.Tab]: ...
  8130. def textIndent(self, /) -> float: ...
  8131. def topMargin(self, /) -> float: ...
  8132. class QTextBlockGroup(PySide6.QtGui.QTextObject):
  8133. def __init__(self, doc: PySide6.QtGui.QTextDocument, /) -> None: ...
  8134. def blockFormatChanged(self, block: PySide6.QtGui.QTextBlock, /) -> None: ...
  8135. def blockInserted(self, block: PySide6.QtGui.QTextBlock, /) -> None: ...
  8136. def blockList(self, /) -> typing.List[PySide6.QtGui.QTextBlock]: ...
  8137. def blockRemoved(self, block: PySide6.QtGui.QTextBlock, /) -> None: ...
  8138. class QTextBlockUserData(Shiboken.Object):
  8139. def __init__(self, /) -> None: ...
  8140. class QTextCharFormat(PySide6.QtGui.QTextFormat):
  8141. class FontPropertiesInheritanceBehavior(enum.Enum):
  8142. FontPropertiesSpecifiedOnly = 0x0
  8143. FontPropertiesAll = 0x1
  8144. class UnderlineStyle(enum.Enum):
  8145. NoUnderline = 0x0
  8146. SingleUnderline = 0x1
  8147. DashUnderline = 0x2
  8148. DotLine = 0x3
  8149. DashDotLine = 0x4
  8150. DashDotDotLine = 0x5
  8151. WaveUnderline = 0x6
  8152. SpellCheckUnderline = 0x7
  8153. class VerticalAlignment(enum.Enum):
  8154. AlignNormal = 0x0
  8155. AlignSuperScript = 0x1
  8156. AlignSubScript = 0x2
  8157. AlignMiddle = 0x3
  8158. AlignTop = 0x4
  8159. AlignBottom = 0x5
  8160. AlignBaseline = 0x6
  8161. @typing.overload
  8162. def __init__(self, /) -> None: ...
  8163. @typing.overload
  8164. def __init__(self, QTextCharFormat: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8165. @typing.overload
  8166. def __init__(self, fmt: PySide6.QtGui.QTextFormat, /) -> None: ...
  8167. def __copy__(self, /) -> typing.Self: ...
  8168. def anchorHref(self, /) -> str: ...
  8169. def anchorNames(self, /) -> typing.List[str]: ...
  8170. def baselineOffset(self, /) -> float: ...
  8171. def font(self, /) -> PySide6.QtGui.QFont: ...
  8172. def fontCapitalization(self, /) -> PySide6.QtGui.QFont.Capitalization: ...
  8173. def fontFamilies(self, /) -> typing.Any: ...
  8174. def fontFamily(self, /) -> str: ...
  8175. def fontFixedPitch(self, /) -> bool: ...
  8176. def fontHintingPreference(self, /) -> PySide6.QtGui.QFont.HintingPreference: ...
  8177. def fontItalic(self, /) -> bool: ...
  8178. def fontKerning(self, /) -> bool: ...
  8179. def fontLetterSpacing(self, /) -> float: ...
  8180. def fontLetterSpacingType(self, /) -> PySide6.QtGui.QFont.SpacingType: ...
  8181. def fontOverline(self, /) -> bool: ...
  8182. def fontPointSize(self, /) -> float: ...
  8183. def fontStretch(self, /) -> int: ...
  8184. def fontStrikeOut(self, /) -> bool: ...
  8185. def fontStyleHint(self, /) -> PySide6.QtGui.QFont.StyleHint: ...
  8186. def fontStyleName(self, /) -> typing.Any: ...
  8187. def fontStyleStrategy(self, /) -> PySide6.QtGui.QFont.StyleStrategy: ...
  8188. def fontUnderline(self, /) -> bool: ...
  8189. def fontWeight(self, /) -> int: ...
  8190. def fontWordSpacing(self, /) -> float: ...
  8191. def isAnchor(self, /) -> bool: ...
  8192. def isValid(self, /) -> bool: ...
  8193. def setAnchor(self, anchor: bool, /) -> None: ...
  8194. def setAnchorHref(self, value: str, /) -> None: ...
  8195. def setAnchorNames(self, names: collections.abc.Sequence[str], /) -> None: ...
  8196. def setBaselineOffset(self, baseline: float, /) -> None: ...
  8197. def setFont(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /, behavior: PySide6.QtGui.QTextCharFormat.FontPropertiesInheritanceBehavior = ...) -> None: ...
  8198. def setFontCapitalization(self, capitalization: PySide6.QtGui.QFont.Capitalization, /) -> None: ...
  8199. def setFontFamilies(self, families: collections.abc.Sequence[str], /) -> None: ...
  8200. def setFontFamily(self, family: str, /) -> None: ...
  8201. def setFontFixedPitch(self, fixedPitch: bool, /) -> None: ...
  8202. def setFontHintingPreference(self, hintingPreference: PySide6.QtGui.QFont.HintingPreference, /) -> None: ...
  8203. def setFontItalic(self, italic: bool, /) -> None: ...
  8204. def setFontKerning(self, enable: bool, /) -> None: ...
  8205. def setFontLetterSpacing(self, spacing: float, /) -> None: ...
  8206. def setFontLetterSpacingType(self, letterSpacingType: PySide6.QtGui.QFont.SpacingType, /) -> None: ...
  8207. def setFontOverline(self, overline: bool, /) -> None: ...
  8208. def setFontPointSize(self, size: float, /) -> None: ...
  8209. def setFontStretch(self, factor: int, /) -> None: ...
  8210. def setFontStrikeOut(self, strikeOut: bool, /) -> None: ...
  8211. def setFontStyleHint(self, hint: PySide6.QtGui.QFont.StyleHint, /, strategy: PySide6.QtGui.QFont.StyleStrategy = ...) -> None: ...
  8212. def setFontStyleName(self, styleName: str, /) -> None: ...
  8213. def setFontStyleStrategy(self, strategy: PySide6.QtGui.QFont.StyleStrategy, /) -> None: ...
  8214. def setFontUnderline(self, underline: bool, /) -> None: ...
  8215. def setFontWeight(self, weight: int, /) -> None: ...
  8216. def setFontWordSpacing(self, spacing: float, /) -> None: ...
  8217. def setSubScriptBaseline(self, baseline: float, /) -> None: ...
  8218. def setSuperScriptBaseline(self, baseline: float, /) -> None: ...
  8219. def setTableCellColumnSpan(self, tableCellColumnSpan: int, /) -> None: ...
  8220. def setTableCellRowSpan(self, tableCellRowSpan: int, /) -> None: ...
  8221. def setTextOutline(self, pen: PySide6.QtGui.QPen | PySide6.QtCore.Qt.PenStyle | PySide6.QtGui.QColor, /) -> None: ...
  8222. def setToolTip(self, tip: str, /) -> None: ...
  8223. def setUnderlineColor(self, color: typing.Union[PySide6.QtGui.QColor, str, PySide6.QtGui.QRgba64, typing.Any, PySide6.QtCore.Qt.GlobalColor, int], /) -> None: ...
  8224. def setUnderlineStyle(self, style: PySide6.QtGui.QTextCharFormat.UnderlineStyle, /) -> None: ...
  8225. def setVerticalAlignment(self, alignment: PySide6.QtGui.QTextCharFormat.VerticalAlignment, /) -> None: ...
  8226. def subScriptBaseline(self, /) -> float: ...
  8227. def superScriptBaseline(self, /) -> float: ...
  8228. def tableCellColumnSpan(self, /) -> int: ...
  8229. def tableCellRowSpan(self, /) -> int: ...
  8230. def textOutline(self, /) -> PySide6.QtGui.QPen: ...
  8231. def toolTip(self, /) -> str: ...
  8232. def underlineColor(self, /) -> PySide6.QtGui.QColor: ...
  8233. def underlineStyle(self, /) -> PySide6.QtGui.QTextCharFormat.UnderlineStyle: ...
  8234. def verticalAlignment(self, /) -> PySide6.QtGui.QTextCharFormat.VerticalAlignment: ...
  8235. class QTextCursor(Shiboken.Object):
  8236. class MoveMode(enum.Enum):
  8237. MoveAnchor = 0x0
  8238. KeepAnchor = 0x1
  8239. class MoveOperation(enum.Enum):
  8240. NoMove = 0x0
  8241. Start = 0x1
  8242. Up = 0x2
  8243. StartOfLine = 0x3
  8244. StartOfBlock = 0x4
  8245. StartOfWord = 0x5
  8246. PreviousBlock = 0x6
  8247. PreviousCharacter = 0x7
  8248. PreviousWord = 0x8
  8249. Left = 0x9
  8250. WordLeft = 0xa
  8251. End = 0xb
  8252. Down = 0xc
  8253. EndOfLine = 0xd
  8254. EndOfWord = 0xe
  8255. EndOfBlock = 0xf
  8256. NextBlock = 0x10
  8257. NextCharacter = 0x11
  8258. NextWord = 0x12
  8259. Right = 0x13
  8260. WordRight = 0x14
  8261. NextCell = 0x15
  8262. PreviousCell = 0x16
  8263. NextRow = 0x17
  8264. PreviousRow = 0x18
  8265. class SelectionType(enum.Enum):
  8266. WordUnderCursor = 0x0
  8267. LineUnderCursor = 0x1
  8268. BlockUnderCursor = 0x2
  8269. Document = 0x3
  8270. @typing.overload
  8271. def __init__(self, /) -> None: ...
  8272. @typing.overload
  8273. def __init__(self, frame: PySide6.QtGui.QTextFrame, /) -> None: ...
  8274. @typing.overload
  8275. def __init__(self, document: PySide6.QtGui.QTextDocument, /) -> None: ...
  8276. @typing.overload
  8277. def __init__(self, block: PySide6.QtGui.QTextBlock, /) -> None: ...
  8278. @typing.overload
  8279. def __init__(self, cursor: PySide6.QtGui.QTextCursor, /) -> None: ...
  8280. def __copy__(self, /) -> typing.Self: ...
  8281. def __eq__(self, rhs: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8282. def __ge__(self, rhs: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8283. def __gt__(self, rhs: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8284. def __le__(self, rhs: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8285. def __lt__(self, rhs: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8286. def __ne__(self, rhs: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8287. def anchor(self, /) -> int: ...
  8288. def atBlockEnd(self, /) -> bool: ...
  8289. def atBlockStart(self, /) -> bool: ...
  8290. def atEnd(self, /) -> bool: ...
  8291. def atStart(self, /) -> bool: ...
  8292. def beginEditBlock(self, /) -> None: ...
  8293. def block(self, /) -> PySide6.QtGui.QTextBlock: ...
  8294. def blockCharFormat(self, /) -> PySide6.QtGui.QTextCharFormat: ...
  8295. def blockFormat(self, /) -> PySide6.QtGui.QTextBlockFormat: ...
  8296. def blockNumber(self, /) -> int: ...
  8297. def charFormat(self, /) -> PySide6.QtGui.QTextCharFormat: ...
  8298. def clearSelection(self, /) -> None: ...
  8299. def columnNumber(self, /) -> int: ...
  8300. @typing.overload
  8301. def createList(self, format: PySide6.QtGui.QTextListFormat, /) -> PySide6.QtGui.QTextList: ...
  8302. @typing.overload
  8303. def createList(self, style: PySide6.QtGui.QTextListFormat.Style, /) -> PySide6.QtGui.QTextList: ...
  8304. def currentFrame(self, /) -> PySide6.QtGui.QTextFrame: ...
  8305. def currentList(self, /) -> PySide6.QtGui.QTextList: ...
  8306. def currentTable(self, /) -> PySide6.QtGui.QTextTable: ...
  8307. def deleteChar(self, /) -> None: ...
  8308. def deletePreviousChar(self, /) -> None: ...
  8309. def document(self, /) -> PySide6.QtGui.QTextDocument: ...
  8310. def endEditBlock(self, /) -> None: ...
  8311. def hasComplexSelection(self, /) -> bool: ...
  8312. def hasSelection(self, /) -> bool: ...
  8313. @typing.overload
  8314. def insertBlock(self, /) -> None: ...
  8315. @typing.overload
  8316. def insertBlock(self, format: PySide6.QtGui.QTextBlockFormat, /) -> None: ...
  8317. @typing.overload
  8318. def insertBlock(self, format: PySide6.QtGui.QTextBlockFormat, charFormat: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8319. def insertFragment(self, fragment: PySide6.QtGui.QTextDocumentFragment, /) -> None: ...
  8320. def insertFrame(self, format: PySide6.QtGui.QTextFrameFormat, /) -> PySide6.QtGui.QTextFrame: ...
  8321. def insertHtml(self, html: str, /) -> None: ...
  8322. @typing.overload
  8323. def insertImage(self, format: PySide6.QtGui.QTextImageFormat, /) -> None: ...
  8324. @typing.overload
  8325. def insertImage(self, format: PySide6.QtGui.QTextImageFormat, alignment: PySide6.QtGui.QTextFrameFormat.Position, /) -> None: ...
  8326. @typing.overload
  8327. def insertImage(self, image: PySide6.QtGui.QImage, /, name: str = ...) -> None: ...
  8328. @typing.overload
  8329. def insertImage(self, name: str, /) -> None: ...
  8330. @typing.overload
  8331. def insertList(self, format: PySide6.QtGui.QTextListFormat, /) -> PySide6.QtGui.QTextList: ...
  8332. @typing.overload
  8333. def insertList(self, style: PySide6.QtGui.QTextListFormat.Style, /) -> PySide6.QtGui.QTextList: ...
  8334. def insertMarkdown(self, markdown: str, /, features: PySide6.QtGui.QTextDocument.MarkdownFeature = ...) -> None: ...
  8335. @typing.overload
  8336. def insertTable(self, rows: int, cols: int, /) -> PySide6.QtGui.QTextTable: ...
  8337. @typing.overload
  8338. def insertTable(self, rows: int, cols: int, format: PySide6.QtGui.QTextTableFormat, /) -> PySide6.QtGui.QTextTable: ...
  8339. @typing.overload
  8340. def insertText(self, text: str, /) -> None: ...
  8341. @typing.overload
  8342. def insertText(self, text: str, format: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8343. def isCopyOf(self, other: PySide6.QtGui.QTextCursor, /) -> bool: ...
  8344. def isNull(self, /) -> bool: ...
  8345. def joinPreviousEditBlock(self, /) -> None: ...
  8346. def keepPositionOnInsert(self, /) -> bool: ...
  8347. def mergeBlockCharFormat(self, modifier: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8348. def mergeBlockFormat(self, modifier: PySide6.QtGui.QTextBlockFormat, /) -> None: ...
  8349. def mergeCharFormat(self, modifier: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8350. def movePosition(self, op: PySide6.QtGui.QTextCursor.MoveOperation, /, arg__2: PySide6.QtGui.QTextCursor.MoveMode = ..., n: int = ...) -> bool: ...
  8351. def position(self, /) -> int: ...
  8352. def positionInBlock(self, /) -> int: ...
  8353. def removeSelectedText(self, /) -> None: ...
  8354. def select(self, selection: PySide6.QtGui.QTextCursor.SelectionType, /) -> None: ...
  8355. def selectedTableCells(self, /) -> object: ...
  8356. def selectedText(self, /) -> str: ...
  8357. def selection(self, /) -> PySide6.QtGui.QTextDocumentFragment: ...
  8358. def selectionEnd(self, /) -> int: ...
  8359. def selectionStart(self, /) -> int: ...
  8360. def setBlockCharFormat(self, format: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8361. def setBlockFormat(self, format: PySide6.QtGui.QTextBlockFormat, /) -> None: ...
  8362. def setCharFormat(self, format: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  8363. def setKeepPositionOnInsert(self, b: bool, /) -> None: ...
  8364. def setPosition(self, pos: int, /, mode: PySide6.QtGui.QTextCursor.MoveMode = ...) -> None: ...
  8365. def setVerticalMovementX(self, x: int, /) -> None: ...
  8366. def setVisualNavigation(self, b: bool, /) -> None: ...
  8367. def swap(self, other: PySide6.QtGui.QTextCursor, /) -> None: ...
  8368. def verticalMovementX(self, /) -> int: ...
  8369. def visualNavigation(self, /) -> bool: ...
  8370. class QTextDocument(PySide6.QtCore.QObject):
  8371. baseUrlChanged : typing.ClassVar[Signal] = ... # baseUrlChanged(QUrl)
  8372. blockCountChanged : typing.ClassVar[Signal] = ... # blockCountChanged(int)
  8373. contentsChange : typing.ClassVar[Signal] = ... # contentsChange(int,int,int)
  8374. contentsChanged : typing.ClassVar[Signal] = ... # contentsChanged()
  8375. cursorPositionChanged : typing.ClassVar[Signal] = ... # cursorPositionChanged(QTextCursor)
  8376. documentLayoutChanged : typing.ClassVar[Signal] = ... # documentLayoutChanged()
  8377. modificationChanged : typing.ClassVar[Signal] = ... # modificationChanged(bool)
  8378. redoAvailable : typing.ClassVar[Signal] = ... # redoAvailable(bool)
  8379. undoAvailable : typing.ClassVar[Signal] = ... # undoAvailable(bool)
  8380. undoCommandAdded : typing.ClassVar[Signal] = ... # undoCommandAdded()
  8381. class FindFlag(enum.Flag):
  8382. FindBackward = 0x1
  8383. FindCaseSensitively = 0x2
  8384. FindWholeWords = 0x4
  8385. class MarkdownFeature(enum.Flag):
  8386. MarkdownDialectCommonMark = 0x0
  8387. MarkdownNoHTML = 0x60
  8388. MarkdownDialectGitHub = 0x104f0c
  8389. class MetaInformation(enum.Enum):
  8390. DocumentTitle = 0x0
  8391. DocumentUrl = 0x1
  8392. CssMedia = 0x2
  8393. FrontMatter = 0x3
  8394. class ResourceType(enum.IntEnum):
  8395. UnknownResource = 0x0
  8396. HtmlResource = 0x1
  8397. ImageResource = 0x2
  8398. StyleSheetResource = 0x3
  8399. MarkdownResource = 0x4
  8400. UserResource = 0x64
  8401. class Stacks(enum.Enum):
  8402. UndoStack = 0x1
  8403. RedoStack = 0x2
  8404. UndoAndRedoStacks = 0x3
  8405. @typing.overload
  8406. def __init__(self, text: str, /, parent: PySide6.QtCore.QObject | None = ..., *, undoRedoEnabled: bool | None = ..., modified: bool | None = ..., pageSize: PySide6.QtCore.QSizeF | None = ..., defaultFont: PySide6.QtGui.QFont | None = ..., useDesignMetrics: bool | None = ..., layoutEnabled: bool | None = ..., size: PySide6.QtCore.QSizeF | None = ..., textWidth: float | None = ..., blockCount: int | None = ..., indentWidth: float | None = ..., defaultStyleSheet: str | None = ..., maximumBlockCount: int | None = ..., documentMargin: float | None = ..., baseUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
  8407. @typing.overload
  8408. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, undoRedoEnabled: bool | None = ..., modified: bool | None = ..., pageSize: PySide6.QtCore.QSizeF | None = ..., defaultFont: PySide6.QtGui.QFont | None = ..., useDesignMetrics: bool | None = ..., layoutEnabled: bool | None = ..., size: PySide6.QtCore.QSizeF | None = ..., textWidth: float | None = ..., blockCount: int | None = ..., indentWidth: float | None = ..., defaultStyleSheet: str | None = ..., maximumBlockCount: int | None = ..., documentMargin: float | None = ..., baseUrl: PySide6.QtCore.QUrl | None = ...) -> None: ...
  8409. def addResource(self, type: int, name: PySide6.QtCore.QUrl | str, resource: typing.Any, /) -> None: ...
  8410. def adjustSize(self, /) -> None: ...
  8411. def allFormats(self, /) -> typing.List[PySide6.QtGui.QTextFormat]: ...
  8412. def availableRedoSteps(self, /) -> int: ...
  8413. def availableUndoSteps(self, /) -> int: ...
  8414. def baseUrl(self, /) -> PySide6.QtCore.QUrl: ...
  8415. def baselineOffset(self, /) -> float: ...
  8416. def begin(self, /) -> PySide6.QtGui.QTextBlock: ...
  8417. def blockCount(self, /) -> int: ...
  8418. def characterAt(self, pos: int, /) -> str: ...
  8419. def characterCount(self, /) -> int: ...
  8420. def clear(self, /) -> None: ...
  8421. def clearUndoRedoStacks(self, /, historyToClear: PySide6.QtGui.QTextDocument.Stacks = ...) -> None: ...
  8422. def clone(self, /, parent: PySide6.QtCore.QObject | None = ...) -> PySide6.QtGui.QTextDocument: ...
  8423. def createObject(self, f: PySide6.QtGui.QTextFormat, /) -> PySide6.QtGui.QTextObject: ...
  8424. def defaultCursorMoveStyle(self, /) -> PySide6.QtCore.Qt.CursorMoveStyle: ...
  8425. def defaultFont(self, /) -> PySide6.QtGui.QFont: ...
  8426. def defaultStyleSheet(self, /) -> str: ...
  8427. def defaultTextOption(self, /) -> PySide6.QtGui.QTextOption: ...
  8428. def documentLayout(self, /) -> PySide6.QtGui.QAbstractTextDocumentLayout: ...
  8429. def documentMargin(self, /) -> float: ...
  8430. def drawContents(self, painter: PySide6.QtGui.QPainter, /, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect = ...) -> None: ...
  8431. def end(self, /) -> PySide6.QtGui.QTextBlock: ...
  8432. @typing.overload
  8433. def find(self, subString: str, cursor: PySide6.QtGui.QTextCursor, /, options: PySide6.QtGui.QTextDocument.FindFlag = ...) -> PySide6.QtGui.QTextCursor: ...
  8434. @typing.overload
  8435. def find(self, subString: str, /, from_: int | None = ..., options: PySide6.QtGui.QTextDocument.FindFlag = ...) -> PySide6.QtGui.QTextCursor: ...
  8436. @typing.overload
  8437. def find(self, expr: PySide6.QtCore.QRegularExpression | str, cursor: PySide6.QtGui.QTextCursor, /, options: PySide6.QtGui.QTextDocument.FindFlag = ...) -> PySide6.QtGui.QTextCursor: ...
  8438. @typing.overload
  8439. def find(self, expr: PySide6.QtCore.QRegularExpression | str, /, from_: int | None = ..., options: PySide6.QtGui.QTextDocument.FindFlag = ...) -> PySide6.QtGui.QTextCursor: ...
  8440. def findBlock(self, pos: int, /) -> PySide6.QtGui.QTextBlock: ...
  8441. def findBlockByLineNumber(self, blockNumber: int, /) -> PySide6.QtGui.QTextBlock: ...
  8442. def findBlockByNumber(self, blockNumber: int, /) -> PySide6.QtGui.QTextBlock: ...
  8443. def firstBlock(self, /) -> PySide6.QtGui.QTextBlock: ...
  8444. def frameAt(self, pos: int, /) -> PySide6.QtGui.QTextFrame: ...
  8445. def idealWidth(self, /) -> float: ...
  8446. def indentWidth(self, /) -> float: ...
  8447. def isEmpty(self, /) -> bool: ...
  8448. def isLayoutEnabled(self, /) -> bool: ...
  8449. def isModified(self, /) -> bool: ...
  8450. def isRedoAvailable(self, /) -> bool: ...
  8451. def isUndoAvailable(self, /) -> bool: ...
  8452. def isUndoRedoEnabled(self, /) -> bool: ...
  8453. def lastBlock(self, /) -> PySide6.QtGui.QTextBlock: ...
  8454. def lineCount(self, /) -> int: ...
  8455. def loadResource(self, type: int, name: PySide6.QtCore.QUrl | str, /) -> typing.Any: ...
  8456. def markContentsDirty(self, from_: int, length: int, /) -> None: ...
  8457. def maximumBlockCount(self, /) -> int: ...
  8458. def metaInformation(self, info: PySide6.QtGui.QTextDocument.MetaInformation, /) -> str: ...
  8459. def object(self, objectIndex: int, /) -> PySide6.QtGui.QTextObject: ...
  8460. def objectForFormat(self, arg__1: PySide6.QtGui.QTextFormat, /) -> PySide6.QtGui.QTextObject: ...
  8461. def pageCount(self, /) -> int: ...
  8462. def pageSize(self, /) -> PySide6.QtCore.QSizeF: ...
  8463. def print_(self, printer: PySide6.QtGui.QPagedPaintDevice, /) -> None: ...
  8464. @typing.overload
  8465. def redo(self, /) -> None: ...
  8466. @typing.overload
  8467. def redo(self, cursor: PySide6.QtGui.QTextCursor, /) -> None: ...
  8468. def resource(self, type: int, name: PySide6.QtCore.QUrl | str, /) -> typing.Any: ...
  8469. def revision(self, /) -> int: ...
  8470. def rootFrame(self, /) -> PySide6.QtGui.QTextFrame: ...
  8471. def setBaseUrl(self, url: PySide6.QtCore.QUrl | str, /) -> None: ...
  8472. def setBaselineOffset(self, baseline: float, /) -> None: ...
  8473. def setDefaultCursorMoveStyle(self, style: PySide6.QtCore.Qt.CursorMoveStyle, /) -> None: ...
  8474. def setDefaultFont(self, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  8475. def setDefaultStyleSheet(self, sheet: str, /) -> None: ...
  8476. def setDefaultTextOption(self, option: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  8477. def setDocumentLayout(self, layout: PySide6.QtGui.QAbstractTextDocumentLayout, /) -> None: ...
  8478. def setDocumentMargin(self, margin: float, /) -> None: ...
  8479. def setHtml(self, html: str, /) -> None: ...
  8480. def setIndentWidth(self, width: float, /) -> None: ...
  8481. def setLayoutEnabled(self, b: bool, /) -> None: ...
  8482. def setMarkdown(self, markdown: str, /, features: PySide6.QtGui.QTextDocument.MarkdownFeature = ...) -> None: ...
  8483. def setMaximumBlockCount(self, maximum: int, /) -> None: ...
  8484. def setMetaInformation(self, info: PySide6.QtGui.QTextDocument.MetaInformation, arg__2: str, /) -> None: ...
  8485. def setModified(self, /, m: bool = ...) -> None: ...
  8486. def setPageSize(self, size: PySide6.QtCore.QSizeF | PySide6.QtCore.QSize, /) -> None: ...
  8487. def setPlainText(self, text: str, /) -> None: ...
  8488. def setSubScriptBaseline(self, baseline: float, /) -> None: ...
  8489. def setSuperScriptBaseline(self, baseline: float, /) -> None: ...
  8490. def setTextWidth(self, width: float, /) -> None: ...
  8491. def setUndoRedoEnabled(self, enable: bool, /) -> None: ...
  8492. def setUseDesignMetrics(self, b: bool, /) -> None: ...
  8493. def size(self, /) -> PySide6.QtCore.QSizeF: ...
  8494. def subScriptBaseline(self, /) -> float: ...
  8495. def superScriptBaseline(self, /) -> float: ...
  8496. def textWidth(self, /) -> float: ...
  8497. def toHtml(self, /) -> str: ...
  8498. def toMarkdown(self, /, features: PySide6.QtGui.QTextDocument.MarkdownFeature = ...) -> str: ...
  8499. def toPlainText(self, /) -> str: ...
  8500. def toRawText(self, /) -> str: ...
  8501. @typing.overload
  8502. def undo(self, /) -> None: ...
  8503. @typing.overload
  8504. def undo(self, cursor: PySide6.QtGui.QTextCursor, /) -> None: ...
  8505. def useDesignMetrics(self, /) -> bool: ...
  8506. class QTextDocumentFragment(Shiboken.Object):
  8507. @typing.overload
  8508. def __init__(self, /) -> None: ...
  8509. @typing.overload
  8510. def __init__(self, document: PySide6.QtGui.QTextDocument, /) -> None: ...
  8511. @typing.overload
  8512. def __init__(self, range: PySide6.QtGui.QTextCursor, /) -> None: ...
  8513. @typing.overload
  8514. def __init__(self, rhs: PySide6.QtGui.QTextDocumentFragment, /) -> None: ...
  8515. def __copy__(self, /) -> typing.Self: ...
  8516. @staticmethod
  8517. def fromHtml(html: str, /, resourceProvider: PySide6.QtGui.QTextDocument | None = ...) -> PySide6.QtGui.QTextDocumentFragment: ...
  8518. @staticmethod
  8519. def fromMarkdown(markdown: str, /, features: PySide6.QtGui.QTextDocument.MarkdownFeature = ...) -> PySide6.QtGui.QTextDocumentFragment: ...
  8520. @staticmethod
  8521. def fromPlainText(plainText: str, /) -> PySide6.QtGui.QTextDocumentFragment: ...
  8522. def isEmpty(self, /) -> bool: ...
  8523. def toHtml(self, /) -> str: ...
  8524. def toMarkdown(self, /, features: PySide6.QtGui.QTextDocument.MarkdownFeature = ...) -> str: ...
  8525. def toPlainText(self, /) -> str: ...
  8526. def toRawText(self, /) -> str: ...
  8527. class QTextDocumentWriter(Shiboken.Object):
  8528. @typing.overload
  8529. def __init__(self, /) -> None: ...
  8530. @typing.overload
  8531. def __init__(self, device: PySide6.QtCore.QIODevice, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  8532. @typing.overload
  8533. def __init__(self, fileName: str, /, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview = ...) -> None: ...
  8534. def device(self, /) -> PySide6.QtCore.QIODevice: ...
  8535. def fileName(self, /) -> str: ...
  8536. def format(self, /) -> PySide6.QtCore.QByteArray: ...
  8537. def setDevice(self, device: PySide6.QtCore.QIODevice, /) -> None: ...
  8538. def setFileName(self, fileName: str, /) -> None: ...
  8539. def setFormat(self, format: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, /) -> None: ...
  8540. @staticmethod
  8541. def supportedDocumentFormats() -> typing.List[PySide6.QtCore.QByteArray]: ...
  8542. @typing.overload
  8543. def write(self, document: PySide6.QtGui.QTextDocument, /) -> bool: ...
  8544. @typing.overload
  8545. def write(self, fragment: PySide6.QtGui.QTextDocumentFragment, /) -> bool: ...
  8546. class QTextFormat(Shiboken.Object):
  8547. class FormatType(enum.IntEnum):
  8548. InvalidFormat = -1
  8549. BlockFormat = 0x1
  8550. CharFormat = 0x2
  8551. ListFormat = 0x3
  8552. FrameFormat = 0x5
  8553. UserFormat = 0x64
  8554. class ObjectTypes(enum.IntEnum):
  8555. NoObject = 0x0
  8556. ImageObject = 0x1
  8557. TableObject = 0x2
  8558. TableCellObject = 0x3
  8559. UserObject = 0x1000
  8560. class PageBreakFlag(enum.Flag):
  8561. PageBreak_Auto = 0x0
  8562. PageBreak_AlwaysBefore = 0x1
  8563. PageBreak_AlwaysAfter = 0x10
  8564. class Property(enum.IntEnum):
  8565. ObjectIndex = 0x0
  8566. CssFloat = 0x800
  8567. LayoutDirection = 0x801
  8568. OutlinePen = 0x810
  8569. BackgroundBrush = 0x820
  8570. ForegroundBrush = 0x821
  8571. BackgroundImageUrl = 0x823
  8572. BlockAlignment = 0x1010
  8573. BlockTopMargin = 0x1030
  8574. BlockBottomMargin = 0x1031
  8575. BlockLeftMargin = 0x1032
  8576. BlockRightMargin = 0x1033
  8577. TextIndent = 0x1034
  8578. TabPositions = 0x1035
  8579. BlockIndent = 0x1040
  8580. LineHeight = 0x1048
  8581. LineHeightType = 0x1049
  8582. BlockNonBreakableLines = 0x1050
  8583. BlockTrailingHorizontalRulerWidth = 0x1060
  8584. HeadingLevel = 0x1070
  8585. BlockQuoteLevel = 0x1080
  8586. BlockCodeLanguage = 0x1090
  8587. BlockCodeFence = 0x1091
  8588. BlockMarker = 0x10a0
  8589. FirstFontProperty = 0x1fe0
  8590. FontCapitalization = 0x1fe0
  8591. FontLetterSpacing = 0x1fe1
  8592. FontWordSpacing = 0x1fe2
  8593. FontStyleHint = 0x1fe3
  8594. FontStyleStrategy = 0x1fe4
  8595. FontKerning = 0x1fe5
  8596. FontHintingPreference = 0x1fe6
  8597. FontFamilies = 0x1fe7
  8598. FontStyleName = 0x1fe8
  8599. FontLetterSpacingType = 0x1fe9
  8600. FontStretch = 0x1fea
  8601. FontFamily = 0x2000
  8602. OldFontFamily = 0x2000
  8603. FontPointSize = 0x2001
  8604. FontSizeAdjustment = 0x2002
  8605. FontSizeIncrement = 0x2002
  8606. FontWeight = 0x2003
  8607. FontItalic = 0x2004
  8608. FontUnderline = 0x2005
  8609. FontOverline = 0x2006
  8610. FontStrikeOut = 0x2007
  8611. FontFixedPitch = 0x2008
  8612. FontPixelSize = 0x2009
  8613. LastFontProperty = 0x2009
  8614. OldTextUnderlineColor = 0x2010
  8615. TextUnderlineColor = 0x2020
  8616. TextVerticalAlignment = 0x2021
  8617. TextOutline = 0x2022
  8618. TextUnderlineStyle = 0x2023
  8619. TextToolTip = 0x2024
  8620. TextSuperScriptBaseline = 0x2025
  8621. TextSubScriptBaseline = 0x2026
  8622. TextBaselineOffset = 0x2027
  8623. IsAnchor = 0x2030
  8624. AnchorHref = 0x2031
  8625. AnchorName = 0x2032
  8626. OldFontLetterSpacingType = 0x2033
  8627. OldFontStretch = 0x2034
  8628. ObjectType = 0x2f00
  8629. ListStyle = 0x3000
  8630. ListIndent = 0x3001
  8631. ListNumberPrefix = 0x3002
  8632. ListNumberSuffix = 0x3003
  8633. ListStart = 0x3004
  8634. FrameBorder = 0x4000
  8635. FrameMargin = 0x4001
  8636. FramePadding = 0x4002
  8637. FrameWidth = 0x4003
  8638. FrameHeight = 0x4004
  8639. FrameTopMargin = 0x4005
  8640. FrameBottomMargin = 0x4006
  8641. FrameLeftMargin = 0x4007
  8642. FrameRightMargin = 0x4008
  8643. FrameBorderBrush = 0x4009
  8644. FrameBorderStyle = 0x4010
  8645. TableColumns = 0x4100
  8646. TableColumnWidthConstraints = 0x4101
  8647. TableCellSpacing = 0x4102
  8648. TableCellPadding = 0x4103
  8649. TableHeaderRowCount = 0x4104
  8650. TableBorderCollapse = 0x4105
  8651. TableCellRowSpan = 0x4810
  8652. TableCellColumnSpan = 0x4811
  8653. TableCellTopPadding = 0x4812
  8654. TableCellBottomPadding = 0x4813
  8655. TableCellLeftPadding = 0x4814
  8656. TableCellRightPadding = 0x4815
  8657. TableCellTopBorder = 0x4816
  8658. TableCellBottomBorder = 0x4817
  8659. TableCellLeftBorder = 0x4818
  8660. TableCellRightBorder = 0x4819
  8661. TableCellTopBorderStyle = 0x481a
  8662. TableCellBottomBorderStyle = 0x481b
  8663. TableCellLeftBorderStyle = 0x481c
  8664. TableCellRightBorderStyle = 0x481d
  8665. TableCellTopBorderBrush = 0x481e
  8666. TableCellBottomBorderBrush = 0x481f
  8667. TableCellLeftBorderBrush = 0x4820
  8668. TableCellRightBorderBrush = 0x4821
  8669. ImageName = 0x5000
  8670. ImageTitle = 0x5001
  8671. ImageAltText = 0x5002
  8672. ImageWidth = 0x5010
  8673. ImageHeight = 0x5011
  8674. ImageQuality = 0x5014
  8675. ImageMaxWidth = 0x5015
  8676. FullWidthSelection = 0x6000
  8677. PageBreakPolicy = 0x7000
  8678. UserProperty = 0x100000
  8679. @typing.overload
  8680. def __init__(self, /) -> None: ...
  8681. @typing.overload
  8682. def __init__(self, rhs: PySide6.QtGui.QTextFormat, /) -> None: ...
  8683. @typing.overload
  8684. def __init__(self, type: int, /) -> None: ...
  8685. def __copy__(self, /) -> typing.Self: ...
  8686. def __eq__(self, rhs: PySide6.QtGui.QTextFormat, /) -> bool: ...
  8687. def __ne__(self, rhs: PySide6.QtGui.QTextFormat, /) -> bool: ...
  8688. def __repr__(self, /) -> str: ...
  8689. def background(self, /) -> PySide6.QtGui.QBrush: ...
  8690. def boolProperty(self, propertyId: int, /) -> bool: ...
  8691. def brushProperty(self, propertyId: int, /) -> PySide6.QtGui.QBrush: ...
  8692. def clearBackground(self, /) -> None: ...
  8693. def clearForeground(self, /) -> None: ...
  8694. def clearProperty(self, propertyId: int, /) -> None: ...
  8695. def colorProperty(self, propertyId: int, /) -> PySide6.QtGui.QColor: ...
  8696. def doubleProperty(self, propertyId: int, /) -> float: ...
  8697. def foreground(self, /) -> PySide6.QtGui.QBrush: ...
  8698. def hasProperty(self, propertyId: int, /) -> bool: ...
  8699. def intProperty(self, propertyId: int, /) -> int: ...
  8700. def isBlockFormat(self, /) -> bool: ...
  8701. def isCharFormat(self, /) -> bool: ...
  8702. def isEmpty(self, /) -> bool: ...
  8703. def isFrameFormat(self, /) -> bool: ...
  8704. def isImageFormat(self, /) -> bool: ...
  8705. def isListFormat(self, /) -> bool: ...
  8706. def isTableCellFormat(self, /) -> bool: ...
  8707. def isTableFormat(self, /) -> bool: ...
  8708. def isValid(self, /) -> bool: ...
  8709. def layoutDirection(self, /) -> PySide6.QtCore.Qt.LayoutDirection: ...
  8710. def lengthProperty(self, propertyId: int, /) -> PySide6.QtGui.QTextLength: ...
  8711. def lengthVectorProperty(self, propertyId: int, /) -> typing.List[PySide6.QtGui.QTextLength]: ...
  8712. def merge(self, other: PySide6.QtGui.QTextFormat, /) -> None: ...
  8713. def objectIndex(self, /) -> int: ...
  8714. def objectType(self, /) -> int: ...
  8715. def penProperty(self, propertyId: int, /) -> PySide6.QtGui.QPen: ...
  8716. def properties(self, /) -> typing.Dict[int, typing.Any]: ...
  8717. def property(self, propertyId: int, /) -> typing.Any: ...
  8718. def propertyCount(self, /) -> int: ...
  8719. def setBackground(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  8720. def setForeground(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  8721. def setLayoutDirection(self, direction: PySide6.QtCore.Qt.LayoutDirection, /) -> None: ...
  8722. def setObjectIndex(self, object: int, /) -> None: ...
  8723. def setObjectType(self, type: int, /) -> None: ...
  8724. @typing.overload
  8725. def setProperty(self, propertyId: int, lengths: collections.abc.Sequence[PySide6.QtGui.QTextLength], /) -> None: ...
  8726. @typing.overload
  8727. def setProperty(self, propertyId: int, value: typing.Any, /) -> None: ...
  8728. def stringProperty(self, propertyId: int, /) -> str: ...
  8729. def swap(self, other: PySide6.QtGui.QTextFormat, /) -> None: ...
  8730. def toBlockFormat(self, /) -> PySide6.QtGui.QTextBlockFormat: ...
  8731. def toCharFormat(self, /) -> PySide6.QtGui.QTextCharFormat: ...
  8732. def toFrameFormat(self, /) -> PySide6.QtGui.QTextFrameFormat: ...
  8733. def toImageFormat(self, /) -> PySide6.QtGui.QTextImageFormat: ...
  8734. def toListFormat(self, /) -> PySide6.QtGui.QTextListFormat: ...
  8735. def toTableCellFormat(self, /) -> PySide6.QtGui.QTextTableCellFormat: ...
  8736. def toTableFormat(self, /) -> PySide6.QtGui.QTextTableFormat: ...
  8737. def type(self, /) -> int: ...
  8738. class QTextFragment(Shiboken.Object):
  8739. @typing.overload
  8740. def __init__(self, /) -> None: ...
  8741. @typing.overload
  8742. def __init__(self, o: PySide6.QtGui.QTextFragment, /) -> None: ...
  8743. def __copy__(self, /) -> typing.Self: ...
  8744. def __eq__(self, o: PySide6.QtGui.QTextFragment, /) -> bool: ...
  8745. def __lt__(self, o: PySide6.QtGui.QTextFragment, /) -> bool: ...
  8746. def __ne__(self, o: PySide6.QtGui.QTextFragment, /) -> bool: ...
  8747. def charFormat(self, /) -> PySide6.QtGui.QTextCharFormat: ...
  8748. def charFormatIndex(self, /) -> int: ...
  8749. def contains(self, position: int, /) -> bool: ...
  8750. def glyphRuns(self, /, from_: int = ..., length: int = ...) -> typing.List[PySide6.QtGui.QGlyphRun]: ...
  8751. def isValid(self, /) -> bool: ...
  8752. def length(self, /) -> int: ...
  8753. def position(self, /) -> int: ...
  8754. def text(self, /) -> str: ...
  8755. class QTextFrame(PySide6.QtGui.QTextObject):
  8756. class iterator(Shiboken.Object):
  8757. @typing.overload
  8758. def __init__(self, /) -> None: ...
  8759. @typing.overload
  8760. def __init__(self, iterator: PySide6.QtGui.QTextFrame.iterator, /) -> None: ...
  8761. def __copy__(self, /) -> typing.Self: ...
  8762. def __eq__(self, o: PySide6.QtGui.QTextFrame.iterator, /) -> bool: ...
  8763. def __iadd__(self, arg__1: int, /) -> PySide6.QtGui.QTextFrame.iterator: ...
  8764. def __isub__(self, arg__1: int, /) -> PySide6.QtGui.QTextFrame.iterator: ...
  8765. def __iter__(self, /) -> object: ...
  8766. def __ne__(self, o: PySide6.QtGui.QTextFrame.iterator, /) -> bool: ...
  8767. def __next__(self, /) -> object: ...
  8768. def atEnd(self, /) -> bool: ...
  8769. def currentBlock(self, /) -> PySide6.QtGui.QTextBlock: ...
  8770. def currentFrame(self, /) -> PySide6.QtGui.QTextFrame: ...
  8771. def parentFrame(self, /) -> PySide6.QtGui.QTextFrame: ...
  8772. def __init__(self, doc: PySide6.QtGui.QTextDocument, /) -> None: ...
  8773. def __iter__(self, /) -> object: ...
  8774. def begin(self, /) -> PySide6.QtGui.QTextFrame.iterator: ...
  8775. def childFrames(self, /) -> typing.List[PySide6.QtGui.QTextFrame]: ...
  8776. def end(self, /) -> PySide6.QtGui.QTextFrame.iterator: ...
  8777. def firstCursorPosition(self, /) -> PySide6.QtGui.QTextCursor: ...
  8778. def firstPosition(self, /) -> int: ...
  8779. def frameFormat(self, /) -> PySide6.QtGui.QTextFrameFormat: ...
  8780. def lastCursorPosition(self, /) -> PySide6.QtGui.QTextCursor: ...
  8781. def lastPosition(self, /) -> int: ...
  8782. def parentFrame(self, /) -> PySide6.QtGui.QTextFrame: ...
  8783. def setFrameFormat(self, format: PySide6.QtGui.QTextFrameFormat, /) -> None: ...
  8784. class QTextFrameFormat(PySide6.QtGui.QTextFormat):
  8785. class BorderStyle(enum.Enum):
  8786. BorderStyle_None = 0x0
  8787. BorderStyle_Dotted = 0x1
  8788. BorderStyle_Dashed = 0x2
  8789. BorderStyle_Solid = 0x3
  8790. BorderStyle_Double = 0x4
  8791. BorderStyle_DotDash = 0x5
  8792. BorderStyle_DotDotDash = 0x6
  8793. BorderStyle_Groove = 0x7
  8794. BorderStyle_Ridge = 0x8
  8795. BorderStyle_Inset = 0x9
  8796. BorderStyle_Outset = 0xa
  8797. class Position(enum.Enum):
  8798. InFlow = 0x0
  8799. FloatLeft = 0x1
  8800. FloatRight = 0x2
  8801. @typing.overload
  8802. def __init__(self, /) -> None: ...
  8803. @typing.overload
  8804. def __init__(self, QTextFrameFormat: PySide6.QtGui.QTextFrameFormat, /) -> None: ...
  8805. @typing.overload
  8806. def __init__(self, fmt: PySide6.QtGui.QTextFormat, /) -> None: ...
  8807. def __copy__(self, /) -> typing.Self: ...
  8808. def border(self, /) -> float: ...
  8809. def borderBrush(self, /) -> PySide6.QtGui.QBrush: ...
  8810. def borderStyle(self, /) -> PySide6.QtGui.QTextFrameFormat.BorderStyle: ...
  8811. def bottomMargin(self, /) -> float: ...
  8812. def height(self, /) -> PySide6.QtGui.QTextLength: ...
  8813. def isValid(self, /) -> bool: ...
  8814. def leftMargin(self, /) -> float: ...
  8815. def margin(self, /) -> float: ...
  8816. def padding(self, /) -> float: ...
  8817. def pageBreakPolicy(self, /) -> PySide6.QtGui.QTextFormat.PageBreakFlag: ...
  8818. def position(self, /) -> PySide6.QtGui.QTextFrameFormat.Position: ...
  8819. def rightMargin(self, /) -> float: ...
  8820. def setBorder(self, border: float, /) -> None: ...
  8821. def setBorderBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  8822. def setBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle, /) -> None: ...
  8823. def setBottomMargin(self, margin: float, /) -> None: ...
  8824. @typing.overload
  8825. def setHeight(self, height: PySide6.QtGui.QTextLength, /) -> None: ...
  8826. @typing.overload
  8827. def setHeight(self, height: float, /) -> None: ...
  8828. def setLeftMargin(self, margin: float, /) -> None: ...
  8829. def setMargin(self, margin: float, /) -> None: ...
  8830. def setPadding(self, padding: float, /) -> None: ...
  8831. def setPageBreakPolicy(self, flags: PySide6.QtGui.QTextFormat.PageBreakFlag, /) -> None: ...
  8832. def setPosition(self, f: PySide6.QtGui.QTextFrameFormat.Position, /) -> None: ...
  8833. def setRightMargin(self, margin: float, /) -> None: ...
  8834. def setTopMargin(self, margin: float, /) -> None: ...
  8835. @typing.overload
  8836. def setWidth(self, length: PySide6.QtGui.QTextLength, /) -> None: ...
  8837. @typing.overload
  8838. def setWidth(self, width: float, /) -> None: ...
  8839. def topMargin(self, /) -> float: ...
  8840. def width(self, /) -> PySide6.QtGui.QTextLength: ...
  8841. class QTextImageFormat(PySide6.QtGui.QTextCharFormat):
  8842. @typing.overload
  8843. def __init__(self, /) -> None: ...
  8844. @typing.overload
  8845. def __init__(self, QTextImageFormat: PySide6.QtGui.QTextImageFormat, /) -> None: ...
  8846. @typing.overload
  8847. def __init__(self, format: PySide6.QtGui.QTextFormat, /) -> None: ...
  8848. def __copy__(self, /) -> typing.Self: ...
  8849. def height(self, /) -> float: ...
  8850. def isValid(self, /) -> bool: ...
  8851. def maximumWidth(self, /) -> PySide6.QtGui.QTextLength: ...
  8852. def name(self, /) -> str: ...
  8853. def quality(self, /) -> int: ...
  8854. def setHeight(self, height: float, /) -> None: ...
  8855. def setMaximumWidth(self, maxWidth: PySide6.QtGui.QTextLength, /) -> None: ...
  8856. def setName(self, name: str, /) -> None: ...
  8857. @typing.overload
  8858. def setQuality(self, /) -> None: ...
  8859. @typing.overload
  8860. def setQuality(self, quality: int, /) -> None: ...
  8861. def setWidth(self, width: float, /) -> None: ...
  8862. def width(self, /) -> float: ...
  8863. class QTextInlineObject(Shiboken.Object):
  8864. @typing.overload
  8865. def __init__(self, /) -> None: ...
  8866. @typing.overload
  8867. def __init__(self, QTextInlineObject: PySide6.QtGui.QTextInlineObject, /) -> None: ...
  8868. def __copy__(self, /) -> typing.Self: ...
  8869. def ascent(self, /) -> float: ...
  8870. def descent(self, /) -> float: ...
  8871. def format(self, /) -> PySide6.QtGui.QTextFormat: ...
  8872. def formatIndex(self, /) -> int: ...
  8873. def height(self, /) -> float: ...
  8874. def isValid(self, /) -> bool: ...
  8875. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  8876. def setAscent(self, a: float, /) -> None: ...
  8877. def setDescent(self, d: float, /) -> None: ...
  8878. def setWidth(self, w: float, /) -> None: ...
  8879. def textDirection(self, /) -> PySide6.QtCore.Qt.LayoutDirection: ...
  8880. def textPosition(self, /) -> int: ...
  8881. def width(self, /) -> float: ...
  8882. class QTextItem(Shiboken.Object):
  8883. class RenderFlag(enum.Flag):
  8884. Dummy = -1
  8885. RightToLeft = 0x1
  8886. Overline = 0x10
  8887. Underline = 0x20
  8888. StrikeOut = 0x40
  8889. def __init__(self, /) -> None: ...
  8890. def ascent(self, /) -> float: ...
  8891. def descent(self, /) -> float: ...
  8892. def font(self, /) -> PySide6.QtGui.QFont: ...
  8893. def renderFlags(self, /) -> PySide6.QtGui.QTextItem.RenderFlag: ...
  8894. def text(self, /) -> str: ...
  8895. def width(self, /) -> float: ...
  8896. class QTextLayout(Shiboken.Object):
  8897. class CursorMode(enum.Enum):
  8898. SkipCharacters = 0x0
  8899. SkipWords = 0x1
  8900. class FormatRange(Shiboken.Object):
  8901. @typing.overload
  8902. def __init__(self, /) -> None: ...
  8903. @typing.overload
  8904. def __init__(self, FormatRange: PySide6.QtGui.QTextLayout.FormatRange, /) -> None: ...
  8905. def __copy__(self, /) -> typing.Self: ...
  8906. def __eq__(self, rhs: PySide6.QtGui.QTextLayout.FormatRange, /) -> bool: ...
  8907. def __ne__(self, rhs: PySide6.QtGui.QTextLayout.FormatRange, /) -> bool: ...
  8908. class GlyphRunRetrievalFlag(enum.Flag):
  8909. RetrieveGlyphIndexes = 0x1
  8910. RetrieveGlyphPositions = 0x2
  8911. DefaultRetrievalFlags = 0x3
  8912. RetrieveStringIndexes = 0x4
  8913. RetrieveString = 0x8
  8914. RetrieveAll = 0xffff
  8915. @typing.overload
  8916. def __init__(self, /) -> None: ...
  8917. @typing.overload
  8918. def __init__(self, b: PySide6.QtGui.QTextBlock, /) -> None: ...
  8919. @typing.overload
  8920. def __init__(self, text: str, /) -> None: ...
  8921. @typing.overload
  8922. def __init__(self, text: str, font: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /, paintdevice: PySide6.QtGui.QPaintDevice | None = ...) -> None: ...
  8923. def beginLayout(self, /) -> None: ...
  8924. def boundingRect(self, /) -> PySide6.QtCore.QRectF: ...
  8925. def cacheEnabled(self, /) -> bool: ...
  8926. def clearFormats(self, /) -> None: ...
  8927. def clearLayout(self, /) -> None: ...
  8928. def createLine(self, /) -> PySide6.QtGui.QTextLine: ...
  8929. def cursorMoveStyle(self, /) -> PySide6.QtCore.Qt.CursorMoveStyle: ...
  8930. def draw(self, p: PySide6.QtGui.QPainter, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /, selections: collections.abc.Sequence[PySide6.QtGui.QTextLayout.FormatRange] = ..., clip: PySide6.QtCore.QRectF | PySide6.QtCore.QRect = ...) -> None: ...
  8931. @typing.overload
  8932. def drawCursor(self, p: PySide6.QtGui.QPainter, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, cursorPosition: int, /) -> None: ...
  8933. @typing.overload
  8934. def drawCursor(self, p: PySide6.QtGui.QPainter, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, cursorPosition: int, width: int, /) -> None: ...
  8935. def endLayout(self, /) -> None: ...
  8936. def font(self, /) -> PySide6.QtGui.QFont: ...
  8937. def formats(self, /) -> typing.List[PySide6.QtGui.QTextLayout.FormatRange]: ...
  8938. @typing.overload
  8939. def glyphRuns(self, /, from_: int = ..., length: int = ...) -> typing.List[PySide6.QtGui.QGlyphRun]: ...
  8940. @typing.overload
  8941. def glyphRuns(self, from_: int, length: int, flags: PySide6.QtGui.QTextLayout.GlyphRunRetrievalFlag, /) -> typing.List[PySide6.QtGui.QGlyphRun]: ...
  8942. def isValidCursorPosition(self, pos: int, /) -> bool: ...
  8943. def leftCursorPosition(self, oldPos: int, /) -> int: ...
  8944. def lineAt(self, i: int, /) -> PySide6.QtGui.QTextLine: ...
  8945. def lineCount(self, /) -> int: ...
  8946. def lineForTextPosition(self, pos: int, /) -> PySide6.QtGui.QTextLine: ...
  8947. def maximumWidth(self, /) -> float: ...
  8948. def minimumWidth(self, /) -> float: ...
  8949. def nextCursorPosition(self, oldPos: int, /, mode: PySide6.QtGui.QTextLayout.CursorMode = ...) -> int: ...
  8950. def position(self, /) -> PySide6.QtCore.QPointF: ...
  8951. def preeditAreaPosition(self, /) -> int: ...
  8952. def preeditAreaText(self, /) -> str: ...
  8953. def previousCursorPosition(self, oldPos: int, /, mode: PySide6.QtGui.QTextLayout.CursorMode = ...) -> int: ...
  8954. def rightCursorPosition(self, oldPos: int, /) -> int: ...
  8955. def setCacheEnabled(self, enable: bool, /) -> None: ...
  8956. def setCursorMoveStyle(self, style: PySide6.QtCore.Qt.CursorMoveStyle, /) -> None: ...
  8957. def setFlags(self, flags: int, /) -> None: ...
  8958. def setFont(self, f: PySide6.QtGui.QFont | str | collections.abc.Sequence[str], /) -> None: ...
  8959. def setFormats(self, overrides: collections.abc.Sequence[PySide6.QtGui.QTextLayout.FormatRange], /) -> None: ...
  8960. def setPosition(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  8961. def setPreeditArea(self, position: int, text: str, /) -> None: ...
  8962. def setRawFont(self, rawFont: PySide6.QtGui.QRawFont, /) -> None: ...
  8963. def setText(self, string: str, /) -> None: ...
  8964. def setTextOption(self, option: PySide6.QtGui.QTextOption | PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  8965. def text(self, /) -> str: ...
  8966. def textOption(self, /) -> PySide6.QtGui.QTextOption: ...
  8967. class QTextLength(Shiboken.Object):
  8968. class Type(enum.Enum):
  8969. VariableLength = 0x0
  8970. FixedLength = 0x1
  8971. PercentageLength = 0x2
  8972. @typing.overload
  8973. def __init__(self, /) -> None: ...
  8974. @typing.overload
  8975. def __init__(self, QTextLength: PySide6.QtGui.QTextLength, /) -> None: ...
  8976. @typing.overload
  8977. def __init__(self, type: PySide6.QtGui.QTextLength.Type, value: float, /) -> None: ...
  8978. def __copy__(self, /) -> typing.Self: ...
  8979. def __eq__(self, other: PySide6.QtGui.QTextLength, /) -> bool: ...
  8980. def __ne__(self, other: PySide6.QtGui.QTextLength, /) -> bool: ...
  8981. def __repr__(self, /) -> str: ...
  8982. def rawValue(self, /) -> float: ...
  8983. def type(self, /) -> PySide6.QtGui.QTextLength.Type: ...
  8984. def value(self, maximumLength: float, /) -> float: ...
  8985. class QTextLine(Shiboken.Object):
  8986. class CursorPosition(enum.Enum):
  8987. CursorBetweenCharacters = 0x0
  8988. CursorOnCharacter = 0x1
  8989. class Edge(enum.Enum):
  8990. Leading = 0x0
  8991. Trailing = 0x1
  8992. @typing.overload
  8993. def __init__(self, /) -> None: ...
  8994. @typing.overload
  8995. def __init__(self, QTextLine: PySide6.QtGui.QTextLine, /) -> None: ...
  8996. def __copy__(self, /) -> typing.Self: ...
  8997. def ascent(self, /) -> float: ...
  8998. def cursorToX(self, cursorPos: int, /, edge: PySide6.QtGui.QTextLine.Edge = ...) -> object: ...
  8999. def descent(self, /) -> float: ...
  9000. def draw(self, painter: PySide6.QtGui.QPainter, position: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  9001. @typing.overload
  9002. def glyphRuns(self, /, from_: int = ..., length: int = ...) -> typing.List[PySide6.QtGui.QGlyphRun]: ...
  9003. @typing.overload
  9004. def glyphRuns(self, from_: int, length: int, flags: PySide6.QtGui.QTextLayout.GlyphRunRetrievalFlag, /) -> typing.List[PySide6.QtGui.QGlyphRun]: ...
  9005. def height(self, /) -> float: ...
  9006. def horizontalAdvance(self, /) -> float: ...
  9007. def isValid(self, /) -> bool: ...
  9008. def leading(self, /) -> float: ...
  9009. def leadingIncluded(self, /) -> bool: ...
  9010. def lineNumber(self, /) -> int: ...
  9011. def naturalTextRect(self, /) -> PySide6.QtCore.QRectF: ...
  9012. def naturalTextWidth(self, /) -> float: ...
  9013. def position(self, /) -> PySide6.QtCore.QPointF: ...
  9014. def rect(self, /) -> PySide6.QtCore.QRectF: ...
  9015. def setLeadingIncluded(self, included: bool, /) -> None: ...
  9016. def setLineWidth(self, width: float, /) -> None: ...
  9017. @typing.overload
  9018. def setNumColumns(self, columns: int, /) -> None: ...
  9019. @typing.overload
  9020. def setNumColumns(self, columns: int, alignmentWidth: float, /) -> None: ...
  9021. def setPosition(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  9022. def textLength(self, /) -> int: ...
  9023. def textStart(self, /) -> int: ...
  9024. def width(self, /) -> float: ...
  9025. def x(self, /) -> float: ...
  9026. def xToCursor(self, x: float, /, edge: PySide6.QtGui.QTextLine.CursorPosition = ...) -> int: ...
  9027. def y(self, /) -> float: ...
  9028. class QTextList(PySide6.QtGui.QTextBlockGroup):
  9029. def __init__(self, doc: PySide6.QtGui.QTextDocument, /) -> None: ...
  9030. def add(self, block: PySide6.QtGui.QTextBlock, /) -> None: ...
  9031. def count(self, /) -> int: ...
  9032. def format(self, /) -> PySide6.QtGui.QTextListFormat: ...
  9033. def item(self, i: int, /) -> PySide6.QtGui.QTextBlock: ...
  9034. def itemNumber(self, arg__1: PySide6.QtGui.QTextBlock, /) -> int: ...
  9035. def itemText(self, arg__1: PySide6.QtGui.QTextBlock, /) -> str: ...
  9036. def remove(self, arg__1: PySide6.QtGui.QTextBlock, /) -> None: ...
  9037. def removeItem(self, i: int, /) -> None: ...
  9038. def setFormat(self, format: PySide6.QtGui.QTextListFormat, /) -> None: ...
  9039. class QTextListFormat(PySide6.QtGui.QTextFormat):
  9040. class Style(enum.Enum):
  9041. ListUpperRoman = -8
  9042. ListLowerRoman = -7
  9043. ListUpperAlpha = -6
  9044. ListLowerAlpha = -5
  9045. ListDecimal = -4
  9046. ListSquare = -3
  9047. ListCircle = -2
  9048. ListDisc = -1
  9049. ListStyleUndefined = 0x0
  9050. @typing.overload
  9051. def __init__(self, /) -> None: ...
  9052. @typing.overload
  9053. def __init__(self, QTextListFormat: PySide6.QtGui.QTextListFormat, /) -> None: ...
  9054. @typing.overload
  9055. def __init__(self, fmt: PySide6.QtGui.QTextFormat, /) -> None: ...
  9056. def __copy__(self, /) -> typing.Self: ...
  9057. def indent(self, /) -> int: ...
  9058. def isValid(self, /) -> bool: ...
  9059. def numberPrefix(self, /) -> str: ...
  9060. def numberSuffix(self, /) -> str: ...
  9061. def setIndent(self, indent: int, /) -> None: ...
  9062. def setNumberPrefix(self, numberPrefix: str, /) -> None: ...
  9063. def setNumberSuffix(self, numberSuffix: str, /) -> None: ...
  9064. def setStart(self, indent: int, /) -> None: ...
  9065. def setStyle(self, style: PySide6.QtGui.QTextListFormat.Style, /) -> None: ...
  9066. def start(self, /) -> int: ...
  9067. def style(self, /) -> PySide6.QtGui.QTextListFormat.Style: ...
  9068. class QTextObject(PySide6.QtCore.QObject):
  9069. def __init__(self, doc: PySide6.QtGui.QTextDocument, /) -> None: ...
  9070. def document(self, /) -> PySide6.QtGui.QTextDocument: ...
  9071. def format(self, /) -> PySide6.QtGui.QTextFormat: ...
  9072. def formatIndex(self, /) -> int: ...
  9073. def objectIndex(self, /) -> int: ...
  9074. def setFormat(self, format: PySide6.QtGui.QTextFormat, /) -> None: ...
  9075. class QTextObjectInterface(Shiboken.Object):
  9076. def __init__(self, /) -> None: ...
  9077. def drawObject(self, painter: PySide6.QtGui.QPainter, rect: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, doc: PySide6.QtGui.QTextDocument, posInDocument: int, format: PySide6.QtGui.QTextFormat, /) -> None: ...
  9078. def intrinsicSize(self, doc: PySide6.QtGui.QTextDocument, posInDocument: int, format: PySide6.QtGui.QTextFormat, /) -> PySide6.QtCore.QSizeF: ...
  9079. class QTextOption(Shiboken.Object):
  9080. class Flag(enum.Flag):
  9081. ShowTabsAndSpaces = 0x1
  9082. ShowLineAndParagraphSeparators = 0x2
  9083. AddSpaceForLineAndParagraphSeparators = 0x4
  9084. SuppressColors = 0x8
  9085. ShowDocumentTerminator = 0x10
  9086. ShowDefaultIgnorables = 0x20
  9087. DisableEmojiParsing = 0x40
  9088. IncludeTrailingSpaces = 0x80000000
  9089. class Tab(Shiboken.Object):
  9090. @typing.overload
  9091. def __init__(self, /) -> None: ...
  9092. @typing.overload
  9093. def __init__(self, Tab: PySide6.QtGui.QTextOption.Tab, /) -> None: ...
  9094. @typing.overload
  9095. def __init__(self, pos: float, tabType: PySide6.QtGui.QTextOption.TabType, /, delim: str = ...) -> None: ...
  9096. def __copy__(self, /) -> typing.Self: ...
  9097. def __eq__(self, other: PySide6.QtGui.QTextOption.Tab, /) -> bool: ...
  9098. def __ne__(self, other: PySide6.QtGui.QTextOption.Tab, /) -> bool: ...
  9099. class TabType(enum.Enum):
  9100. LeftTab = 0x0
  9101. RightTab = 0x1
  9102. CenterTab = 0x2
  9103. DelimiterTab = 0x3
  9104. class WrapMode(enum.Enum):
  9105. NoWrap = 0x0
  9106. WordWrap = 0x1
  9107. ManualWrap = 0x2
  9108. WrapAnywhere = 0x3
  9109. WrapAtWordBoundaryOrAnywhere = 0x4
  9110. @typing.overload
  9111. def __init__(self, /) -> None: ...
  9112. @typing.overload
  9113. def __init__(self, alignment: PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  9114. @typing.overload
  9115. def __init__(self, o: PySide6.QtGui.QTextOption, /) -> None: ...
  9116. def __copy__(self, /) -> typing.Self: ...
  9117. def alignment(self, /) -> PySide6.QtCore.Qt.AlignmentFlag: ...
  9118. def flags(self, /) -> PySide6.QtGui.QTextOption.Flag: ...
  9119. def setAlignment(self, alignment: PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  9120. def setFlags(self, flags: PySide6.QtGui.QTextOption.Flag, /) -> None: ...
  9121. def setTabArray(self, tabStops: collections.abc.Sequence[float], /) -> None: ...
  9122. def setTabStopDistance(self, tabStopDistance: float, /) -> None: ...
  9123. def setTabs(self, tabStops: collections.abc.Sequence[PySide6.QtGui.QTextOption.Tab], /) -> None: ...
  9124. def setTextDirection(self, aDirection: PySide6.QtCore.Qt.LayoutDirection, /) -> None: ...
  9125. def setUseDesignMetrics(self, b: bool, /) -> None: ...
  9126. def setWrapMode(self, wrap: PySide6.QtGui.QTextOption.WrapMode, /) -> None: ...
  9127. def tabArray(self, /) -> typing.List[float]: ...
  9128. def tabStopDistance(self, /) -> float: ...
  9129. def tabs(self, /) -> typing.List[PySide6.QtGui.QTextOption.Tab]: ...
  9130. def textDirection(self, /) -> PySide6.QtCore.Qt.LayoutDirection: ...
  9131. def useDesignMetrics(self, /) -> bool: ...
  9132. def wrapMode(self, /) -> PySide6.QtGui.QTextOption.WrapMode: ...
  9133. class QTextTable(PySide6.QtGui.QTextFrame):
  9134. def __init__(self, doc: PySide6.QtGui.QTextDocument, /) -> None: ...
  9135. def appendColumns(self, count: int, /) -> None: ...
  9136. def appendRows(self, count: int, /) -> None: ...
  9137. @typing.overload
  9138. def cellAt(self, c: PySide6.QtGui.QTextCursor, /) -> PySide6.QtGui.QTextTableCell: ...
  9139. @typing.overload
  9140. def cellAt(self, position: int, /) -> PySide6.QtGui.QTextTableCell: ...
  9141. @typing.overload
  9142. def cellAt(self, row: int, col: int, /) -> PySide6.QtGui.QTextTableCell: ...
  9143. def columns(self, /) -> int: ...
  9144. def format(self, /) -> PySide6.QtGui.QTextTableFormat: ...
  9145. def insertColumns(self, pos: int, num: int, /) -> None: ...
  9146. def insertRows(self, pos: int, num: int, /) -> None: ...
  9147. @typing.overload
  9148. def mergeCells(self, cursor: PySide6.QtGui.QTextCursor, /) -> None: ...
  9149. @typing.overload
  9150. def mergeCells(self, row: int, col: int, numRows: int, numCols: int, /) -> None: ...
  9151. def removeColumns(self, pos: int, num: int, /) -> None: ...
  9152. def removeRows(self, pos: int, num: int, /) -> None: ...
  9153. def resize(self, rows: int, cols: int, /) -> None: ...
  9154. def rowEnd(self, c: PySide6.QtGui.QTextCursor, /) -> PySide6.QtGui.QTextCursor: ...
  9155. def rowStart(self, c: PySide6.QtGui.QTextCursor, /) -> PySide6.QtGui.QTextCursor: ...
  9156. def rows(self, /) -> int: ...
  9157. def setFormat(self, format: PySide6.QtGui.QTextTableFormat, /) -> None: ...
  9158. def splitCell(self, row: int, col: int, numRows: int, numCols: int, /) -> None: ...
  9159. class QTextTableCell(Shiboken.Object):
  9160. @typing.overload
  9161. def __init__(self, /) -> None: ...
  9162. @typing.overload
  9163. def __init__(self, o: PySide6.QtGui.QTextTableCell, /) -> None: ...
  9164. def __copy__(self, /) -> typing.Self: ...
  9165. def __eq__(self, other: PySide6.QtGui.QTextTableCell, /) -> bool: ...
  9166. def __ne__(self, other: PySide6.QtGui.QTextTableCell, /) -> bool: ...
  9167. def begin(self, /) -> PySide6.QtGui.QTextFrame.iterator: ...
  9168. def column(self, /) -> int: ...
  9169. def columnSpan(self, /) -> int: ...
  9170. def end(self, /) -> PySide6.QtGui.QTextFrame.iterator: ...
  9171. def firstCursorPosition(self, /) -> PySide6.QtGui.QTextCursor: ...
  9172. def firstPosition(self, /) -> int: ...
  9173. def format(self, /) -> PySide6.QtGui.QTextCharFormat: ...
  9174. def isValid(self, /) -> bool: ...
  9175. def lastCursorPosition(self, /) -> PySide6.QtGui.QTextCursor: ...
  9176. def lastPosition(self, /) -> int: ...
  9177. def row(self, /) -> int: ...
  9178. def rowSpan(self, /) -> int: ...
  9179. def setFormat(self, format: PySide6.QtGui.QTextCharFormat, /) -> None: ...
  9180. def tableCellFormatIndex(self, /) -> int: ...
  9181. class QTextTableCellFormat(PySide6.QtGui.QTextCharFormat):
  9182. @typing.overload
  9183. def __init__(self, /) -> None: ...
  9184. @typing.overload
  9185. def __init__(self, QTextTableCellFormat: PySide6.QtGui.QTextTableCellFormat, /) -> None: ...
  9186. @typing.overload
  9187. def __init__(self, fmt: PySide6.QtGui.QTextFormat, /) -> None: ...
  9188. def __copy__(self, /) -> typing.Self: ...
  9189. def bottomBorder(self, /) -> float: ...
  9190. def bottomBorderBrush(self, /) -> PySide6.QtGui.QBrush: ...
  9191. def bottomBorderStyle(self, /) -> PySide6.QtGui.QTextFrameFormat.BorderStyle: ...
  9192. def bottomPadding(self, /) -> float: ...
  9193. def isValid(self, /) -> bool: ...
  9194. def leftBorder(self, /) -> float: ...
  9195. def leftBorderBrush(self, /) -> PySide6.QtGui.QBrush: ...
  9196. def leftBorderStyle(self, /) -> PySide6.QtGui.QTextFrameFormat.BorderStyle: ...
  9197. def leftPadding(self, /) -> float: ...
  9198. def rightBorder(self, /) -> float: ...
  9199. def rightBorderBrush(self, /) -> PySide6.QtGui.QBrush: ...
  9200. def rightBorderStyle(self, /) -> PySide6.QtGui.QTextFrameFormat.BorderStyle: ...
  9201. def rightPadding(self, /) -> float: ...
  9202. def setBorder(self, width: float, /) -> None: ...
  9203. def setBorderBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  9204. def setBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle, /) -> None: ...
  9205. def setBottomBorder(self, width: float, /) -> None: ...
  9206. def setBottomBorderBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  9207. def setBottomBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle, /) -> None: ...
  9208. def setBottomPadding(self, padding: float, /) -> None: ...
  9209. def setLeftBorder(self, width: float, /) -> None: ...
  9210. def setLeftBorderBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  9211. def setLeftBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle, /) -> None: ...
  9212. def setLeftPadding(self, padding: float, /) -> None: ...
  9213. def setPadding(self, padding: float, /) -> None: ...
  9214. def setRightBorder(self, width: float, /) -> None: ...
  9215. def setRightBorderBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  9216. def setRightBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle, /) -> None: ...
  9217. def setRightPadding(self, padding: float, /) -> None: ...
  9218. def setTopBorder(self, width: float, /) -> None: ...
  9219. def setTopBorderBrush(self, brush: PySide6.QtGui.QBrush | PySide6.QtCore.Qt.BrushStyle | PySide6.QtCore.Qt.GlobalColor | PySide6.QtGui.QColor | PySide6.QtGui.QGradient | PySide6.QtGui.QImage | PySide6.QtGui.QPixmap, /) -> None: ...
  9220. def setTopBorderStyle(self, style: PySide6.QtGui.QTextFrameFormat.BorderStyle, /) -> None: ...
  9221. def setTopPadding(self, padding: float, /) -> None: ...
  9222. def topBorder(self, /) -> float: ...
  9223. def topBorderBrush(self, /) -> PySide6.QtGui.QBrush: ...
  9224. def topBorderStyle(self, /) -> PySide6.QtGui.QTextFrameFormat.BorderStyle: ...
  9225. def topPadding(self, /) -> float: ...
  9226. class QTextTableFormat(PySide6.QtGui.QTextFrameFormat):
  9227. @typing.overload
  9228. def __init__(self, /) -> None: ...
  9229. @typing.overload
  9230. def __init__(self, QTextTableFormat: PySide6.QtGui.QTextTableFormat, /) -> None: ...
  9231. @typing.overload
  9232. def __init__(self, fmt: PySide6.QtGui.QTextFormat, /) -> None: ...
  9233. def __copy__(self, /) -> typing.Self: ...
  9234. def alignment(self, /) -> PySide6.QtCore.Qt.AlignmentFlag: ...
  9235. def borderCollapse(self, /) -> bool: ...
  9236. def cellPadding(self, /) -> float: ...
  9237. def cellSpacing(self, /) -> float: ...
  9238. def clearColumnWidthConstraints(self, /) -> None: ...
  9239. def columnWidthConstraints(self, /) -> typing.List[PySide6.QtGui.QTextLength]: ...
  9240. def columns(self, /) -> int: ...
  9241. def headerRowCount(self, /) -> int: ...
  9242. def isValid(self, /) -> bool: ...
  9243. def setAlignment(self, alignment: PySide6.QtCore.Qt.AlignmentFlag, /) -> None: ...
  9244. def setBorderCollapse(self, borderCollapse: bool, /) -> None: ...
  9245. def setCellPadding(self, padding: float, /) -> None: ...
  9246. def setCellSpacing(self, spacing: float, /) -> None: ...
  9247. def setColumnWidthConstraints(self, constraints: collections.abc.Sequence[PySide6.QtGui.QTextLength], /) -> None: ...
  9248. def setColumns(self, columns: int, /) -> None: ...
  9249. def setHeaderRowCount(self, count: int, /) -> None: ...
  9250. class QToolBarChangeEvent(PySide6.QtCore.QEvent):
  9251. @typing.overload
  9252. def __init__(self, arg__1: PySide6.QtGui.QToolBarChangeEvent, /) -> None: ...
  9253. @typing.overload
  9254. def __init__(self, t: bool, /) -> None: ...
  9255. def clone(self, /) -> PySide6.QtGui.QToolBarChangeEvent: ...
  9256. def toggle(self, /) -> bool: ...
  9257. class QTouchEvent(PySide6.QtGui.QPointerEvent):
  9258. @typing.overload
  9259. def __init__(self, arg__1: PySide6.QtGui.QTouchEvent, /) -> None: ...
  9260. @typing.overload
  9261. def __init__(self, eventType: PySide6.QtCore.QEvent.Type, /, device: PySide6.QtGui.QPointingDevice | None = ..., modifiers: PySide6.QtCore.Qt.KeyboardModifier = ..., touchPoints: collections.abc.Sequence[PySide6.QtGui.QEventPoint] = ...) -> None: ...
  9262. def __repr__(self, /) -> str: ...
  9263. def clone(self, /) -> PySide6.QtGui.QTouchEvent: ...
  9264. def isBeginEvent(self, /) -> bool: ...
  9265. def isEndEvent(self, /) -> bool: ...
  9266. def isUpdateEvent(self, /) -> bool: ...
  9267. def target(self, /) -> PySide6.QtCore.QObject: ...
  9268. def touchPoints(self, /) -> typing.List[PySide6.QtGui.QEventPoint]: ...
  9269. class QTransform(Shiboken.Object):
  9270. class TransformationType(enum.Enum):
  9271. TxNone = 0x0
  9272. TxTranslate = 0x1
  9273. TxScale = 0x2
  9274. TxRotate = 0x4
  9275. TxShear = 0x8
  9276. TxProject = 0x10
  9277. @typing.overload
  9278. def __init__(self, /) -> None: ...
  9279. @typing.overload
  9280. def __init__(self, other: PySide6.QtGui.QTransform, /) -> None: ...
  9281. @typing.overload
  9282. def __init__(self, h11: float, h12: float, h21: float, h22: float, dx: float, dy: float, /) -> None: ...
  9283. @typing.overload
  9284. def __init__(self, h11: float, h12: float, h13: float, h21: float, h22: float, h23: float, h31: float, h32: float, h33: float, /) -> None: ...
  9285. def __add__(self, n: float, /) -> PySide6.QtGui.QTransform: ...
  9286. def __copy__(self, /) -> typing.Self: ...
  9287. def __eq__(self, arg__1: PySide6.QtGui.QTransform, /) -> bool: ...
  9288. def __hash__(self, /) -> int: ...
  9289. def __iadd__(self, div: float, /) -> PySide6.QtGui.QTransform: ... # type: ignore[misc]
  9290. @typing.overload # type: ignore[misc]
  9291. def __imul__(self, arg__1: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QTransform: ...
  9292. @typing.overload
  9293. def __imul__(self, div: float, /) -> PySide6.QtGui.QTransform: ...
  9294. def __isub__(self, div: float, /) -> PySide6.QtGui.QTransform: ... # type: ignore[misc]
  9295. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9296. @typing.overload
  9297. def __mul__(self, l: PySide6.QtCore.QLine, /) -> PySide6.QtCore.QLine: ...
  9298. @typing.overload
  9299. def __mul__(self, p: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QPoint: ...
  9300. @typing.overload
  9301. def __mul__(self, o: PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QTransform: ...
  9302. @typing.overload
  9303. def __mul__(self, l: PySide6.QtCore.QLineF | PySide6.QtCore.QLine, /) -> PySide6.QtCore.QLineF: ...
  9304. @typing.overload
  9305. def __mul__(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  9306. @typing.overload
  9307. def __mul__(self, n: float, /) -> PySide6.QtGui.QTransform: ...
  9308. def __ne__(self, arg__1: PySide6.QtGui.QTransform, /) -> bool: ...
  9309. def __reduce__(self, /) -> str: ...
  9310. def __repr__(self, /) -> str: ...
  9311. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9312. def __sub__(self, n: float, /) -> PySide6.QtGui.QTransform: ...
  9313. def adjoint(self, /) -> PySide6.QtGui.QTransform: ...
  9314. def determinant(self, /) -> float: ...
  9315. def dx(self, /) -> float: ...
  9316. def dy(self, /) -> float: ...
  9317. @staticmethod
  9318. def fromScale(dx: float, dy: float, /) -> PySide6.QtGui.QTransform: ...
  9319. @staticmethod
  9320. def fromTranslate(dx: float, dy: float, /) -> PySide6.QtGui.QTransform: ...
  9321. def inverted(self, /) -> typing.Tuple[PySide6.QtGui.QTransform, bool]: ...
  9322. def isAffine(self, /) -> bool: ...
  9323. def isIdentity(self, /) -> bool: ...
  9324. def isInvertible(self, /) -> bool: ...
  9325. def isRotating(self, /) -> bool: ...
  9326. def isScaling(self, /) -> bool: ...
  9327. def isTranslating(self, /) -> bool: ...
  9328. def m11(self, /) -> float: ...
  9329. def m12(self, /) -> float: ...
  9330. def m13(self, /) -> float: ...
  9331. def m21(self, /) -> float: ...
  9332. def m22(self, /) -> float: ...
  9333. def m23(self, /) -> float: ...
  9334. def m31(self, /) -> float: ...
  9335. def m32(self, /) -> float: ...
  9336. def m33(self, /) -> float: ...
  9337. @typing.overload
  9338. def map(self, l: PySide6.QtCore.QLine, /) -> PySide6.QtCore.QLine: ...
  9339. @typing.overload
  9340. def map(self, p: PySide6.QtGui.QPainterPath, /) -> PySide6.QtGui.QPainterPath: ...
  9341. @typing.overload
  9342. def map(self, p: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QPoint: ...
  9343. @typing.overload
  9344. def map(self, l: PySide6.QtCore.QLineF | PySide6.QtCore.QLine, /) -> PySide6.QtCore.QLineF: ...
  9345. @typing.overload
  9346. def map(self, p: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  9347. @typing.overload
  9348. def map(self, a: PySide6.QtGui.QPolygon | collections.abc.Sequence[PySide6.QtCore.QPoint] | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QPolygon: ...
  9349. @typing.overload
  9350. def map(self, a: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> PySide6.QtGui.QPolygonF: ...
  9351. @typing.overload
  9352. def map(self, r: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> PySide6.QtGui.QRegion: ...
  9353. @typing.overload
  9354. def map(self, x: float, y: float, /) -> object: ...
  9355. @typing.overload
  9356. def mapRect(self, arg__1: PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRect: ...
  9357. @typing.overload
  9358. def mapRect(self, arg__1: PySide6.QtCore.QRectF | PySide6.QtCore.QRect, /) -> PySide6.QtCore.QRectF: ...
  9359. def mapToPolygon(self, r: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QPolygon: ...
  9360. @typing.overload
  9361. @staticmethod
  9362. def quadToQuad(one: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, two: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> object: ...
  9363. @typing.overload
  9364. @staticmethod
  9365. def quadToQuad(one: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, two: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, result: PySide6.QtGui.QTransform, /) -> bool: ...
  9366. @typing.overload
  9367. @staticmethod
  9368. def quadToSquare(arg__1: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> object: ...
  9369. @typing.overload
  9370. @staticmethod
  9371. def quadToSquare(quad: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, result: PySide6.QtGui.QTransform, /) -> bool: ...
  9372. def reset(self, /) -> None: ...
  9373. @typing.overload
  9374. def rotate(self, a: float, /, axis: PySide6.QtCore.Qt.Axis = ...) -> PySide6.QtGui.QTransform: ...
  9375. @typing.overload
  9376. def rotate(self, a: float, axis: PySide6.QtCore.Qt.Axis, distanceToPlane: float, /) -> PySide6.QtGui.QTransform: ...
  9377. @typing.overload
  9378. def rotateRadians(self, a: float, /, axis: PySide6.QtCore.Qt.Axis = ...) -> PySide6.QtGui.QTransform: ...
  9379. @typing.overload
  9380. def rotateRadians(self, a: float, axis: PySide6.QtCore.Qt.Axis, distanceToPlane: float, /) -> PySide6.QtGui.QTransform: ...
  9381. def scale(self, sx: float, sy: float, /) -> PySide6.QtGui.QTransform: ...
  9382. def setMatrix(self, m11: float, m12: float, m13: float, m21: float, m22: float, m23: float, m31: float, m32: float, m33: float, /) -> None: ...
  9383. def shear(self, sh: float, sv: float, /) -> PySide6.QtGui.QTransform: ...
  9384. @typing.overload
  9385. @staticmethod
  9386. def squareToQuad(arg__1: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, /) -> object: ...
  9387. @typing.overload
  9388. @staticmethod
  9389. def squareToQuad(square: PySide6.QtGui.QPolygonF | collections.abc.Sequence[PySide6.QtCore.QPointF] | PySide6.QtGui.QPolygon | PySide6.QtCore.QRectF, result: PySide6.QtGui.QTransform, /) -> bool: ...
  9390. def translate(self, dx: float, dy: float, /) -> PySide6.QtGui.QTransform: ...
  9391. def transposed(self, /) -> PySide6.QtGui.QTransform: ...
  9392. def type(self, /) -> PySide6.QtGui.QTransform.TransformationType: ...
  9393. class QUndoCommand(Shiboken.Object):
  9394. @typing.overload
  9395. def __init__(self, text: str, /, parent: PySide6.QtGui.QUndoCommand | None = ...) -> None: ...
  9396. @typing.overload
  9397. def __init__(self, /, parent: PySide6.QtGui.QUndoCommand | None = ...) -> None: ...
  9398. def actionText(self, /) -> str: ...
  9399. def child(self, index: int, /) -> PySide6.QtGui.QUndoCommand: ...
  9400. def childCount(self, /) -> int: ...
  9401. def id(self, /) -> int: ...
  9402. def isObsolete(self, /) -> bool: ...
  9403. def mergeWith(self, other: PySide6.QtGui.QUndoCommand, /) -> bool: ...
  9404. def redo(self, /) -> None: ...
  9405. def setObsolete(self, obsolete: bool, /) -> None: ...
  9406. def setText(self, text: str, /) -> None: ...
  9407. def text(self, /) -> str: ...
  9408. def undo(self, /) -> None: ...
  9409. class QUndoGroup(PySide6.QtCore.QObject):
  9410. activeStackChanged : typing.ClassVar[Signal] = ... # activeStackChanged(QUndoStack*)
  9411. canRedoChanged : typing.ClassVar[Signal] = ... # canRedoChanged(bool)
  9412. canUndoChanged : typing.ClassVar[Signal] = ... # canUndoChanged(bool)
  9413. cleanChanged : typing.ClassVar[Signal] = ... # cleanChanged(bool)
  9414. indexChanged : typing.ClassVar[Signal] = ... # indexChanged(int)
  9415. redoTextChanged : typing.ClassVar[Signal] = ... # redoTextChanged(QString)
  9416. undoTextChanged : typing.ClassVar[Signal] = ... # undoTextChanged(QString)
  9417. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  9418. def activeStack(self, /) -> PySide6.QtGui.QUndoStack: ...
  9419. def addStack(self, stack: PySide6.QtGui.QUndoStack, /) -> None: ...
  9420. def canRedo(self, /) -> bool: ...
  9421. def canUndo(self, /) -> bool: ...
  9422. def createRedoAction(self, parent: PySide6.QtCore.QObject, /, prefix: str = ...) -> PySide6.QtGui.QAction: ...
  9423. def createUndoAction(self, parent: PySide6.QtCore.QObject, /, prefix: str = ...) -> PySide6.QtGui.QAction: ...
  9424. def isClean(self, /) -> bool: ...
  9425. def redo(self, /) -> None: ...
  9426. def redoText(self, /) -> str: ...
  9427. def removeStack(self, stack: PySide6.QtGui.QUndoStack, /) -> None: ...
  9428. def setActiveStack(self, stack: PySide6.QtGui.QUndoStack, /) -> None: ...
  9429. def stacks(self, /) -> typing.List[PySide6.QtGui.QUndoStack]: ...
  9430. def undo(self, /) -> None: ...
  9431. def undoText(self, /) -> str: ...
  9432. class QUndoStack(PySide6.QtCore.QObject):
  9433. canRedoChanged : typing.ClassVar[Signal] = ... # canRedoChanged(bool)
  9434. canUndoChanged : typing.ClassVar[Signal] = ... # canUndoChanged(bool)
  9435. cleanChanged : typing.ClassVar[Signal] = ... # cleanChanged(bool)
  9436. indexChanged : typing.ClassVar[Signal] = ... # indexChanged(int)
  9437. redoTextChanged : typing.ClassVar[Signal] = ... # redoTextChanged(QString)
  9438. undoTextChanged : typing.ClassVar[Signal] = ... # undoTextChanged(QString)
  9439. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ..., *, active: bool | None = ..., undoLimit: int | None = ..., canUndo: bool | None = ..., canRedo: bool | None = ..., undoText: str | None = ..., redoText: str | None = ..., clean: bool | None = ...) -> None: ...
  9440. def beginMacro(self, text: str, /) -> None: ...
  9441. def canRedo(self, /) -> bool: ...
  9442. def canUndo(self, /) -> bool: ...
  9443. def cleanIndex(self, /) -> int: ...
  9444. def clear(self, /) -> None: ...
  9445. def command(self, index: int, /) -> PySide6.QtGui.QUndoCommand: ...
  9446. def count(self, /) -> int: ...
  9447. def createRedoAction(self, parent: PySide6.QtCore.QObject, /, prefix: str = ...) -> PySide6.QtGui.QAction: ...
  9448. def createUndoAction(self, parent: PySide6.QtCore.QObject, /, prefix: str = ...) -> PySide6.QtGui.QAction: ...
  9449. def endMacro(self, /) -> None: ...
  9450. def index(self, /) -> int: ...
  9451. def isActive(self, /) -> bool: ...
  9452. def isClean(self, /) -> bool: ...
  9453. def push(self, cmd: PySide6.QtGui.QUndoCommand, /) -> None: ...
  9454. def redo(self, /) -> None: ...
  9455. def redoText(self, /) -> str: ...
  9456. def resetClean(self, /) -> None: ...
  9457. def setActive(self, /, active: bool = ...) -> None: ...
  9458. def setClean(self, /) -> None: ...
  9459. def setIndex(self, idx: int, /) -> None: ...
  9460. def setUndoLimit(self, limit: int, /) -> None: ...
  9461. def text(self, idx: int, /) -> str: ...
  9462. def undo(self, /) -> None: ...
  9463. def undoLimit(self, /) -> int: ...
  9464. def undoText(self, /) -> str: ...
  9465. class QValidator(PySide6.QtCore.QObject):
  9466. changed : typing.ClassVar[Signal] = ... # changed()
  9467. class State(enum.Enum):
  9468. Invalid = 0x0
  9469. Intermediate = 0x1
  9470. Acceptable = 0x2
  9471. def __init__(self, /, parent: PySide6.QtCore.QObject | None = ...) -> None: ...
  9472. def fixup(self, arg__1: str, /) -> str: ...
  9473. def locale(self, /) -> PySide6.QtCore.QLocale: ...
  9474. def setLocale(self, locale: PySide6.QtCore.QLocale | PySide6.QtCore.QLocale.Language, /) -> None: ...
  9475. def validate(self, arg__1: str, arg__2: int, /) -> object: ...
  9476. class QVector2D(Shiboken.Object):
  9477. @typing.overload
  9478. def __init__(self, /) -> None: ...
  9479. @typing.overload
  9480. def __init__(self, point: PySide6.QtCore.QPoint, /) -> None: ...
  9481. @typing.overload
  9482. def __init__(self, QVector2D: PySide6.QtGui.QVector2D, /) -> None: ...
  9483. @typing.overload
  9484. def __init__(self, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  9485. @typing.overload
  9486. def __init__(self, vector: PySide6.QtGui.QVector4D, /) -> None: ...
  9487. @typing.overload
  9488. def __init__(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  9489. @typing.overload
  9490. def __init__(self, xpos: float, ypos: float, /) -> None: ...
  9491. def __add__(self, v2: PySide6.QtGui.QVector2D, /) -> PySide6.QtGui.QVector2D: ...
  9492. def __copy__(self, /) -> typing.Self: ...
  9493. def __eq__(self, v2: PySide6.QtGui.QVector2D, /) -> bool: ...
  9494. def __iadd__(self, vector: PySide6.QtGui.QVector2D, /) -> PySide6.QtGui.QVector2D: ... # type: ignore[misc]
  9495. @typing.overload # type: ignore[misc]
  9496. def __imul__(self, vector: PySide6.QtGui.QVector2D, /) -> PySide6.QtGui.QVector2D: ...
  9497. @typing.overload
  9498. def __imul__(self, factor: float, /) -> PySide6.QtGui.QVector2D: ...
  9499. def __isub__(self, vector: PySide6.QtGui.QVector2D, /) -> PySide6.QtGui.QVector2D: ... # type: ignore[misc]
  9500. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9501. @typing.overload
  9502. def __mul__(self, v2: PySide6.QtGui.QVector2D, /) -> PySide6.QtGui.QVector2D: ...
  9503. @typing.overload
  9504. def __mul__(self, factor: float, /) -> PySide6.QtGui.QVector2D: ...
  9505. def __ne__(self, v2: PySide6.QtGui.QVector2D, /) -> bool: ...
  9506. def __neg__(self, /) -> PySide6.QtGui.QVector2D: ...
  9507. def __reduce__(self, /) -> str: ...
  9508. def __repr__(self, /) -> str: ...
  9509. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9510. def __sub__(self, v2: PySide6.QtGui.QVector2D, /) -> PySide6.QtGui.QVector2D: ...
  9511. def distanceToLine(self, point: PySide6.QtGui.QVector2D, direction: PySide6.QtGui.QVector2D, /) -> float: ...
  9512. def distanceToPoint(self, point: PySide6.QtGui.QVector2D, /) -> float: ...
  9513. @staticmethod
  9514. def dotProduct(v1: PySide6.QtGui.QVector2D, v2: PySide6.QtGui.QVector2D, /) -> float: ...
  9515. def isNull(self, /) -> bool: ...
  9516. def length(self, /) -> float: ...
  9517. def lengthSquared(self, /) -> float: ...
  9518. def normalize(self, /) -> None: ...
  9519. def normalized(self, /) -> PySide6.QtGui.QVector2D: ...
  9520. def setX(self, x: float, /) -> None: ...
  9521. def setY(self, y: float, /) -> None: ...
  9522. def toPoint(self, /) -> PySide6.QtCore.QPoint: ...
  9523. def toPointF(self, /) -> PySide6.QtCore.QPointF: ...
  9524. def toTuple(self, /) -> object: ...
  9525. def toVector3D(self, /) -> PySide6.QtGui.QVector3D: ...
  9526. def toVector4D(self, /) -> PySide6.QtGui.QVector4D: ...
  9527. def x(self, /) -> float: ...
  9528. def y(self, /) -> float: ...
  9529. class QVector2DList: ...
  9530. class QVector3D(Shiboken.Object):
  9531. @typing.overload
  9532. def __init__(self, /) -> None: ...
  9533. @typing.overload
  9534. def __init__(self, point: PySide6.QtCore.QPoint, /) -> None: ...
  9535. @typing.overload
  9536. def __init__(self, vector: PySide6.QtGui.QVector2D, /) -> None: ...
  9537. @typing.overload
  9538. def __init__(self, vector: PySide6.QtGui.QVector2D, zpos: float, /) -> None: ...
  9539. @typing.overload
  9540. def __init__(self, QVector3D: PySide6.QtGui.QVector3D, /) -> None: ...
  9541. @typing.overload
  9542. def __init__(self, vector: PySide6.QtGui.QVector4D, /) -> None: ...
  9543. @typing.overload
  9544. def __init__(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  9545. @typing.overload
  9546. def __init__(self, xpos: float, ypos: float, zpos: float, /) -> None: ...
  9547. def __add__(self, v2: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9548. def __copy__(self, /) -> typing.Self: ...
  9549. def __eq__(self, v2: PySide6.QtGui.QVector3D, /) -> bool: ...
  9550. def __iadd__(self, vector: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ... # type: ignore[misc]
  9551. @typing.overload # type: ignore[misc]
  9552. def __imul__(self, vector: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9553. @typing.overload
  9554. def __imul__(self, factor: float, /) -> PySide6.QtGui.QVector3D: ...
  9555. def __isub__(self, vector: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ... # type: ignore[misc]
  9556. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9557. @typing.overload
  9558. def __mul__(self, quaternion: PySide6.QtGui.QQuaternion, /) -> PySide6.QtGui.QVector3D: ...
  9559. @typing.overload
  9560. def __mul__(self, v2: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9561. @typing.overload
  9562. def __mul__(self, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QVector3D: ...
  9563. @typing.overload
  9564. def __mul__(self, factor: float, /) -> PySide6.QtGui.QVector3D: ...
  9565. def __ne__(self, v2: PySide6.QtGui.QVector3D, /) -> bool: ...
  9566. def __neg__(self, /) -> PySide6.QtGui.QVector3D: ...
  9567. def __reduce__(self, /) -> str: ...
  9568. def __repr__(self, /) -> str: ...
  9569. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9570. def __sub__(self, v2: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9571. @staticmethod
  9572. def crossProduct(v1: PySide6.QtGui.QVector3D, v2: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9573. def distanceToLine(self, point: PySide6.QtGui.QVector3D, direction: PySide6.QtGui.QVector3D, /) -> float: ...
  9574. @typing.overload
  9575. def distanceToPlane(self, plane: PySide6.QtGui.QVector3D, normal: PySide6.QtGui.QVector3D, /) -> float: ...
  9576. @typing.overload
  9577. def distanceToPlane(self, plane1: PySide6.QtGui.QVector3D, plane2: PySide6.QtGui.QVector3D, plane3: PySide6.QtGui.QVector3D, /) -> float: ...
  9578. def distanceToPoint(self, point: PySide6.QtGui.QVector3D, /) -> float: ...
  9579. @staticmethod
  9580. def dotProduct(v1: PySide6.QtGui.QVector3D, v2: PySide6.QtGui.QVector3D, /) -> float: ...
  9581. def isNull(self, /) -> bool: ...
  9582. def length(self, /) -> float: ...
  9583. def lengthSquared(self, /) -> float: ...
  9584. @typing.overload
  9585. @staticmethod
  9586. def normal(v1: PySide6.QtGui.QVector3D, v2: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9587. @typing.overload
  9588. @staticmethod
  9589. def normal(v1: PySide6.QtGui.QVector3D, v2: PySide6.QtGui.QVector3D, v3: PySide6.QtGui.QVector3D, /) -> PySide6.QtGui.QVector3D: ...
  9590. def normalize(self, /) -> None: ...
  9591. def normalized(self, /) -> PySide6.QtGui.QVector3D: ...
  9592. def project(self, modelView: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, projection: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, viewport: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QVector3D: ...
  9593. def setX(self, x: float, /) -> None: ...
  9594. def setY(self, y: float, /) -> None: ...
  9595. def setZ(self, z: float, /) -> None: ...
  9596. def toPoint(self, /) -> PySide6.QtCore.QPoint: ...
  9597. def toPointF(self, /) -> PySide6.QtCore.QPointF: ...
  9598. def toTuple(self, /) -> object: ...
  9599. def toVector2D(self, /) -> PySide6.QtGui.QVector2D: ...
  9600. def toVector4D(self, /) -> PySide6.QtGui.QVector4D: ...
  9601. def unproject(self, modelView: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, projection: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, viewport: PySide6.QtCore.QRect, /) -> PySide6.QtGui.QVector3D: ...
  9602. def x(self, /) -> float: ...
  9603. def y(self, /) -> float: ...
  9604. def z(self, /) -> float: ...
  9605. class QVector3DList: ...
  9606. class QVector4D(Shiboken.Object):
  9607. @typing.overload
  9608. def __init__(self, /) -> None: ...
  9609. @typing.overload
  9610. def __init__(self, point: PySide6.QtCore.QPoint, /) -> None: ...
  9611. @typing.overload
  9612. def __init__(self, vector: PySide6.QtGui.QVector2D, /) -> None: ...
  9613. @typing.overload
  9614. def __init__(self, vector: PySide6.QtGui.QVector2D, zpos: float, wpos: float, /) -> None: ...
  9615. @typing.overload
  9616. def __init__(self, vector: PySide6.QtGui.QVector3D, /) -> None: ...
  9617. @typing.overload
  9618. def __init__(self, vector: PySide6.QtGui.QVector3D, wpos: float, /) -> None: ...
  9619. @typing.overload
  9620. def __init__(self, QVector4D: PySide6.QtGui.QVector4D, /) -> None: ...
  9621. @typing.overload
  9622. def __init__(self, point: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> None: ...
  9623. @typing.overload
  9624. def __init__(self, xpos: float, ypos: float, zpos: float, wpos: float, /) -> None: ...
  9625. def __add__(self, v2: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ...
  9626. def __copy__(self, /) -> typing.Self: ...
  9627. def __eq__(self, v2: PySide6.QtGui.QVector4D, /) -> bool: ...
  9628. def __iadd__(self, vector: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ... # type: ignore[misc]
  9629. @typing.overload # type: ignore[misc]
  9630. def __imul__(self, vector: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ...
  9631. @typing.overload
  9632. def __imul__(self, factor: float, /) -> PySide6.QtGui.QVector4D: ...
  9633. def __isub__(self, vector: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ... # type: ignore[misc]
  9634. def __lshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9635. @typing.overload
  9636. def __mul__(self, v2: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ...
  9637. @typing.overload
  9638. def __mul__(self, matrix: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> PySide6.QtGui.QVector4D: ...
  9639. @typing.overload
  9640. def __mul__(self, factor: float, /) -> PySide6.QtGui.QVector4D: ...
  9641. def __ne__(self, v2: PySide6.QtGui.QVector4D, /) -> bool: ...
  9642. def __neg__(self, /) -> PySide6.QtGui.QVector4D: ...
  9643. def __reduce__(self, /) -> str: ...
  9644. def __repr__(self, /) -> str: ...
  9645. def __rshift__(self, arg__1: PySide6.QtCore.QDataStream, /) -> PySide6.QtCore.QDataStream: ...
  9646. def __sub__(self, v2: PySide6.QtGui.QVector4D, /) -> PySide6.QtGui.QVector4D: ...
  9647. @staticmethod
  9648. def dotProduct(v1: PySide6.QtGui.QVector4D, v2: PySide6.QtGui.QVector4D, /) -> float: ...
  9649. def isNull(self, /) -> bool: ...
  9650. def length(self, /) -> float: ...
  9651. def lengthSquared(self, /) -> float: ...
  9652. def normalize(self, /) -> None: ...
  9653. def normalized(self, /) -> PySide6.QtGui.QVector4D: ...
  9654. def setW(self, w: float, /) -> None: ...
  9655. def setX(self, x: float, /) -> None: ...
  9656. def setY(self, y: float, /) -> None: ...
  9657. def setZ(self, z: float, /) -> None: ...
  9658. def toPoint(self, /) -> PySide6.QtCore.QPoint: ...
  9659. def toPointF(self, /) -> PySide6.QtCore.QPointF: ...
  9660. def toTuple(self, /) -> object: ...
  9661. def toVector2D(self, /) -> PySide6.QtGui.QVector2D: ...
  9662. def toVector2DAffine(self, /) -> PySide6.QtGui.QVector2D: ...
  9663. def toVector3D(self, /) -> PySide6.QtGui.QVector3D: ...
  9664. def toVector3DAffine(self, /) -> PySide6.QtGui.QVector3D: ...
  9665. def w(self, /) -> float: ...
  9666. def x(self, /) -> float: ...
  9667. def y(self, /) -> float: ...
  9668. def z(self, /) -> float: ...
  9669. class QVector4DList: ...
  9670. class QWhatsThisClickedEvent(PySide6.QtCore.QEvent):
  9671. @typing.overload
  9672. def __init__(self, arg__1: PySide6.QtGui.QWhatsThisClickedEvent, /) -> None: ...
  9673. @typing.overload
  9674. def __init__(self, href: str, /) -> None: ...
  9675. def clone(self, /) -> PySide6.QtGui.QWhatsThisClickedEvent: ...
  9676. def href(self, /) -> str: ...
  9677. class QWheelEvent(PySide6.QtGui.QSinglePointEvent):
  9678. @typing.overload
  9679. def __init__(self, arg__1: PySide6.QtGui.QWheelEvent, /, *, device: PySide6.QtGui.QPointingDevice | None = ..., pixelDelta: PySide6.QtCore.QPoint | None = ..., angleDelta: PySide6.QtCore.QPoint | None = ..., phase: PySide6.QtCore.Qt.ScrollPhase | None = ..., inverted: bool | None = ...) -> None: ...
  9680. @typing.overload
  9681. def __init__(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, globalPos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, pixelDelta: PySide6.QtCore.QPoint, angleDelta: PySide6.QtCore.QPoint, buttons: PySide6.QtCore.Qt.MouseButton, modifiers: PySide6.QtCore.Qt.KeyboardModifier, phase: PySide6.QtCore.Qt.ScrollPhase, inverted: bool, /, source: PySide6.QtCore.Qt.MouseEventSource = ..., device: PySide6.QtGui.QPointingDevice = ...) -> None: ...
  9682. def __repr__(self, /) -> str: ...
  9683. def angleDelta(self, /) -> PySide6.QtCore.QPoint: ...
  9684. def clone(self, /) -> PySide6.QtGui.QWheelEvent: ...
  9685. def hasPixelDelta(self, /) -> bool: ...
  9686. def inverted(self, /) -> bool: ...
  9687. def isBeginEvent(self, /) -> bool: ...
  9688. def isEndEvent(self, /) -> bool: ...
  9689. def isInverted(self, /) -> bool: ...
  9690. def isUpdateEvent(self, /) -> bool: ...
  9691. def phase(self, /) -> PySide6.QtCore.Qt.ScrollPhase: ...
  9692. def pixelDelta(self, /) -> PySide6.QtCore.QPoint: ...
  9693. def source(self, /) -> PySide6.QtCore.Qt.MouseEventSource: ...
  9694. class QWindow(PySide6.QtCore.QObject, PySide6.QtGui.QSurface):
  9695. activeChanged : typing.ClassVar[Signal] = ... # activeChanged()
  9696. contentOrientationChanged: typing.ClassVar[Signal] = ... # contentOrientationChanged(Qt::ScreenOrientation)
  9697. flagsChanged : typing.ClassVar[Signal] = ... # flagsChanged(Qt::WindowFlags)
  9698. focusObjectChanged : typing.ClassVar[Signal] = ... # focusObjectChanged(QObject*)
  9699. heightChanged : typing.ClassVar[Signal] = ... # heightChanged(int)
  9700. maximumHeightChanged : typing.ClassVar[Signal] = ... # maximumHeightChanged(int)
  9701. maximumWidthChanged : typing.ClassVar[Signal] = ... # maximumWidthChanged(int)
  9702. minimumHeightChanged : typing.ClassVar[Signal] = ... # minimumHeightChanged(int)
  9703. minimumWidthChanged : typing.ClassVar[Signal] = ... # minimumWidthChanged(int)
  9704. modalityChanged : typing.ClassVar[Signal] = ... # modalityChanged(Qt::WindowModality)
  9705. opacityChanged : typing.ClassVar[Signal] = ... # opacityChanged(double)
  9706. safeAreaMarginsChanged : typing.ClassVar[Signal] = ... # safeAreaMarginsChanged(QMargins)
  9707. screenChanged : typing.ClassVar[Signal] = ... # screenChanged(QScreen*)
  9708. transientParentChanged : typing.ClassVar[Signal] = ... # transientParentChanged(QWindow*)
  9709. visibilityChanged : typing.ClassVar[Signal] = ... # visibilityChanged(QWindow::Visibility)
  9710. visibleChanged : typing.ClassVar[Signal] = ... # visibleChanged(bool)
  9711. widthChanged : typing.ClassVar[Signal] = ... # widthChanged(int)
  9712. windowStateChanged : typing.ClassVar[Signal] = ... # windowStateChanged(Qt::WindowState)
  9713. windowTitleChanged : typing.ClassVar[Signal] = ... # windowTitleChanged(QString)
  9714. xChanged : typing.ClassVar[Signal] = ... # xChanged(int)
  9715. yChanged : typing.ClassVar[Signal] = ... # yChanged(int)
  9716. class AncestorMode(enum.Enum):
  9717. ExcludeTransients = 0x0
  9718. IncludeTransients = 0x1
  9719. class Visibility(enum.Enum):
  9720. Hidden = 0x0
  9721. AutomaticVisibility = 0x1
  9722. Windowed = 0x2
  9723. Minimized = 0x3
  9724. Maximized = 0x4
  9725. FullScreen = 0x5
  9726. @typing.overload
  9727. def __init__(self, parent: PySide6.QtGui.QWindow, /, *, title: str | None = ..., modality: PySide6.QtCore.Qt.WindowModality | None = ..., flags: PySide6.QtCore.Qt.WindowType | None = ..., x: int | None = ..., y: int | None = ..., width: int | None = ..., height: int | None = ..., minimumWidth: int | None = ..., minimumHeight: int | None = ..., maximumWidth: int | None = ..., maximumHeight: int | None = ..., visible: bool | None = ..., active: bool | None = ..., visibility: PySide6.QtGui.QWindow.Visibility | None = ..., contentOrientation: PySide6.QtCore.Qt.ScreenOrientation | None = ..., opacity: float | None = ...) -> None: ...
  9728. @typing.overload
  9729. def __init__(self, /, screen: PySide6.QtGui.QScreen | None = ..., *, title: str | None = ..., modality: PySide6.QtCore.Qt.WindowModality | None = ..., flags: PySide6.QtCore.Qt.WindowType | None = ..., x: int | None = ..., y: int | None = ..., width: int | None = ..., height: int | None = ..., minimumWidth: int | None = ..., minimumHeight: int | None = ..., maximumWidth: int | None = ..., maximumHeight: int | None = ..., visible: bool | None = ..., active: bool | None = ..., visibility: PySide6.QtGui.QWindow.Visibility | None = ..., contentOrientation: PySide6.QtCore.Qt.ScreenOrientation | None = ..., opacity: float | None = ...) -> None: ...
  9730. def __repr__(self, /) -> str: ...
  9731. def accessibleRoot(self, /) -> PySide6.QtGui.QAccessibleInterface: ...
  9732. def alert(self, msec: int, /) -> None: ...
  9733. def baseSize(self, /) -> PySide6.QtCore.QSize: ...
  9734. def close(self, /) -> bool: ...
  9735. def closeEvent(self, arg__1: PySide6.QtGui.QCloseEvent, /) -> None: ...
  9736. def contentOrientation(self, /) -> PySide6.QtCore.Qt.ScreenOrientation: ...
  9737. def create(self, /) -> None: ...
  9738. def cursor(self, /) -> PySide6.QtGui.QCursor: ...
  9739. def destroy(self, /) -> None: ...
  9740. def devicePixelRatio(self, /) -> float: ...
  9741. def event(self, arg__1: PySide6.QtCore.QEvent, /) -> bool: ...
  9742. def exposeEvent(self, arg__1: PySide6.QtGui.QExposeEvent, /) -> None: ...
  9743. def filePath(self, /) -> str: ...
  9744. def flags(self, /) -> PySide6.QtCore.Qt.WindowType: ...
  9745. def focusInEvent(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  9746. def focusObject(self, /) -> PySide6.QtCore.QObject: ...
  9747. def focusOutEvent(self, arg__1: PySide6.QtGui.QFocusEvent, /) -> None: ...
  9748. def format(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
  9749. def frameGeometry(self, /) -> PySide6.QtCore.QRect: ...
  9750. def frameMargins(self, /) -> PySide6.QtCore.QMargins: ...
  9751. def framePosition(self, /) -> PySide6.QtCore.QPoint: ...
  9752. @staticmethod
  9753. def fromWinId(id: int, /) -> PySide6.QtGui.QWindow: ...
  9754. def geometry(self, /) -> PySide6.QtCore.QRect: ...
  9755. def height(self, /) -> int: ...
  9756. def hide(self, /) -> None: ...
  9757. def hideEvent(self, arg__1: PySide6.QtGui.QHideEvent, /) -> None: ...
  9758. def icon(self, /) -> PySide6.QtGui.QIcon: ...
  9759. def isActive(self, /) -> bool: ...
  9760. def isAncestorOf(self, child: PySide6.QtGui.QWindow, /, mode: PySide6.QtGui.QWindow.AncestorMode = ...) -> bool: ...
  9761. def isExposed(self, /) -> bool: ...
  9762. def isModal(self, /) -> bool: ...
  9763. def isTopLevel(self, /) -> bool: ...
  9764. def isVisible(self, /) -> bool: ...
  9765. def keyPressEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  9766. def keyReleaseEvent(self, arg__1: PySide6.QtGui.QKeyEvent, /) -> None: ...
  9767. def lower(self, /) -> None: ...
  9768. @typing.overload
  9769. def mapFromGlobal(self, pos: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QPoint: ...
  9770. @typing.overload
  9771. def mapFromGlobal(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  9772. @typing.overload
  9773. def mapToGlobal(self, pos: PySide6.QtCore.QPoint, /) -> PySide6.QtCore.QPoint: ...
  9774. @typing.overload
  9775. def mapToGlobal(self, pos: PySide6.QtCore.QPointF | PySide6.QtCore.QPoint | PySide6.QtGui.QPainterPath.Element, /) -> PySide6.QtCore.QPointF: ...
  9776. def mask(self, /) -> PySide6.QtGui.QRegion: ...
  9777. def maximumHeight(self, /) -> int: ...
  9778. def maximumSize(self, /) -> PySide6.QtCore.QSize: ...
  9779. def maximumWidth(self, /) -> int: ...
  9780. def minimumHeight(self, /) -> int: ...
  9781. def minimumSize(self, /) -> PySide6.QtCore.QSize: ...
  9782. def minimumWidth(self, /) -> int: ...
  9783. def modality(self, /) -> PySide6.QtCore.Qt.WindowModality: ...
  9784. def mouseDoubleClickEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  9785. def mouseMoveEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  9786. def mousePressEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  9787. def mouseReleaseEvent(self, arg__1: PySide6.QtGui.QMouseEvent, /) -> None: ...
  9788. def moveEvent(self, arg__1: PySide6.QtGui.QMoveEvent, /) -> None: ...
  9789. def nativeEvent(self, eventType: PySide6.QtCore.QByteArray | bytes | bytearray | memoryview, message: int, /) -> object: ...
  9790. def opacity(self, /) -> float: ...
  9791. def paintEvent(self, arg__1: PySide6.QtGui.QPaintEvent, /) -> None: ...
  9792. def parent(self, /, mode: PySide6.QtGui.QWindow.AncestorMode = ...) -> PySide6.QtGui.QWindow: ...
  9793. def position(self, /) -> PySide6.QtCore.QPoint: ...
  9794. def raise_(self, /) -> None: ...
  9795. def reportContentOrientationChange(self, orientation: PySide6.QtCore.Qt.ScreenOrientation, /) -> None: ...
  9796. def requestActivate(self, /) -> None: ...
  9797. def requestUpdate(self, /) -> None: ...
  9798. def requestedFormat(self, /) -> PySide6.QtGui.QSurfaceFormat: ...
  9799. @typing.overload
  9800. def resize(self, newSize: PySide6.QtCore.QSize, /) -> None: ...
  9801. @typing.overload
  9802. def resize(self, w: int, h: int, /) -> None: ...
  9803. def resizeEvent(self, arg__1: PySide6.QtGui.QResizeEvent, /) -> None: ...
  9804. def resolveInterface(self, name: bytes | bytearray | memoryview, revision: int, /) -> int: ...
  9805. def safeAreaMargins(self, /) -> PySide6.QtCore.QMargins: ...
  9806. def screen(self, /) -> PySide6.QtGui.QScreen: ...
  9807. def setBaseSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  9808. def setCursor(self, arg__1: PySide6.QtGui.QCursor | PySide6.QtCore.Qt.CursorShape | PySide6.QtGui.QPixmap, /) -> None: ...
  9809. def setFilePath(self, filePath: str, /) -> None: ...
  9810. def setFlag(self, arg__1: PySide6.QtCore.Qt.WindowType, /, on: bool = ...) -> None: ...
  9811. def setFlags(self, flags: PySide6.QtCore.Qt.WindowType, /) -> None: ...
  9812. def setFormat(self, format: PySide6.QtGui.QSurfaceFormat | PySide6.QtGui.QSurfaceFormat.FormatOption, /) -> None: ...
  9813. def setFramePosition(self, point: PySide6.QtCore.QPoint, /) -> None: ...
  9814. @typing.overload
  9815. def setGeometry(self, rect: PySide6.QtCore.QRect, /) -> None: ...
  9816. @typing.overload
  9817. def setGeometry(self, posx: int, posy: int, w: int, h: int, /) -> None: ...
  9818. def setHeight(self, arg: int, /) -> None: ...
  9819. def setIcon(self, icon: PySide6.QtGui.QIcon | PySide6.QtGui.QPixmap, /) -> None: ...
  9820. def setKeyboardGrabEnabled(self, grab: bool, /) -> bool: ...
  9821. def setMask(self, region: PySide6.QtGui.QRegion | PySide6.QtGui.QBitmap | PySide6.QtGui.QPolygon | PySide6.QtCore.QRect, /) -> None: ...
  9822. def setMaximumHeight(self, h: int, /) -> None: ...
  9823. def setMaximumSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  9824. def setMaximumWidth(self, w: int, /) -> None: ...
  9825. def setMinimumHeight(self, h: int, /) -> None: ...
  9826. def setMinimumSize(self, size: PySide6.QtCore.QSize, /) -> None: ...
  9827. def setMinimumWidth(self, w: int, /) -> None: ...
  9828. def setModality(self, modality: PySide6.QtCore.Qt.WindowModality, /) -> None: ...
  9829. def setMouseGrabEnabled(self, grab: bool, /) -> bool: ...
  9830. def setOpacity(self, level: float, /) -> None: ...
  9831. def setParent(self, parent: PySide6.QtGui.QWindow | None, /) -> None: ...
  9832. @typing.overload
  9833. def setPosition(self, pt: PySide6.QtCore.QPoint, /) -> None: ...
  9834. @typing.overload
  9835. def setPosition(self, posx: int, posy: int, /) -> None: ...
  9836. def setScreen(self, screen: PySide6.QtGui.QScreen, /) -> None: ...
  9837. def setSizeIncrement(self, size: PySide6.QtCore.QSize, /) -> None: ...
  9838. def setSurfaceType(self, surfaceType: PySide6.QtGui.QSurface.SurfaceType, /) -> None: ...
  9839. def setTitle(self, arg__1: str, /) -> None: ...
  9840. def setTransientParent(self, parent: PySide6.QtGui.QWindow, /) -> None: ...
  9841. def setVisibility(self, v: PySide6.QtGui.QWindow.Visibility, /) -> None: ...
  9842. def setVisible(self, visible: bool, /) -> None: ...
  9843. def setWidth(self, arg: int, /) -> None: ...
  9844. def setWindowState(self, state: PySide6.QtCore.Qt.WindowState, /) -> None: ...
  9845. def setWindowStates(self, states: PySide6.QtCore.Qt.WindowState, /) -> None: ...
  9846. def setX(self, arg: int, /) -> None: ...
  9847. def setY(self, arg: int, /) -> None: ...
  9848. def show(self, /) -> None: ...
  9849. def showEvent(self, arg__1: PySide6.QtGui.QShowEvent, /) -> None: ...
  9850. def showFullScreen(self, /) -> None: ...
  9851. def showMaximized(self, /) -> None: ...
  9852. def showMinimized(self, /) -> None: ...
  9853. def showNormal(self, /) -> None: ...
  9854. def size(self, /) -> PySide6.QtCore.QSize: ...
  9855. def sizeIncrement(self, /) -> PySide6.QtCore.QSize: ...
  9856. def startSystemMove(self, /) -> bool: ...
  9857. def startSystemResize(self, edges: PySide6.QtCore.Qt.Edge, /) -> bool: ...
  9858. def surfaceHandle(self, /) -> int: ...
  9859. def surfaceType(self, /) -> PySide6.QtGui.QSurface.SurfaceType: ...
  9860. def tabletEvent(self, arg__1: PySide6.QtGui.QTabletEvent, /) -> None: ...
  9861. def title(self, /) -> str: ...
  9862. def touchEvent(self, arg__1: PySide6.QtGui.QTouchEvent, /) -> None: ...
  9863. def transientParent(self, /) -> PySide6.QtGui.QWindow: ...
  9864. def type(self, /) -> PySide6.QtCore.Qt.WindowType: ...
  9865. def unsetCursor(self, /) -> None: ...
  9866. def visibility(self, /) -> PySide6.QtGui.QWindow.Visibility: ...
  9867. def wheelEvent(self, arg__1: PySide6.QtGui.QWheelEvent, /) -> None: ...
  9868. def width(self, /) -> int: ...
  9869. def winId(self, /) -> int: ...
  9870. def windowState(self, /) -> PySide6.QtCore.Qt.WindowState: ...
  9871. def windowStates(self, /) -> PySide6.QtCore.Qt.WindowState: ...
  9872. def x(self, /) -> int: ...
  9873. def y(self, /) -> int: ...
  9874. class QWindowStateChangeEvent(PySide6.QtCore.QEvent):
  9875. @typing.overload
  9876. def __init__(self, arg__1: PySide6.QtGui.QWindowStateChangeEvent, /) -> None: ...
  9877. @typing.overload
  9878. def __init__(self, oldState: PySide6.QtCore.Qt.WindowState, /, isOverride: bool = ...) -> None: ...
  9879. def __repr__(self, /) -> str: ...
  9880. def clone(self, /) -> PySide6.QtGui.QWindowStateChangeEvent: ...
  9881. def isOverride(self, /) -> bool: ...
  9882. def oldState(self, /) -> PySide6.QtCore.Qt.WindowState: ...
  9883. class Qt(PySide6.QtCore.Qt):
  9884. @staticmethod
  9885. def convertFromPlainText(plain: str, /, mode: PySide6.QtCore.Qt.WhiteSpaceMode = ...) -> str: ...
  9886. @staticmethod
  9887. def mightBeRichText(arg__1: str, /) -> bool: ...
  9888. def qAlpha(rgb: int, /) -> int: ...
  9889. def qBlue(rgb: int, /) -> int: ...
  9890. @typing.overload
  9891. def qFuzzyCompare(arg__1: PySide6.QtGui.QQuaternion, arg__2: PySide6.QtGui.QQuaternion, /) -> bool: ...
  9892. @typing.overload
  9893. def qFuzzyCompare(arg__1: PySide6.QtGui.QTransform, arg__2: PySide6.QtGui.QTransform, /) -> bool: ...
  9894. @typing.overload
  9895. def qFuzzyCompare(arg__1: PySide6.QtGui.QVector2D, arg__2: PySide6.QtGui.QVector2D, /) -> bool: ...
  9896. @typing.overload
  9897. def qFuzzyCompare(arg__1: PySide6.QtGui.QVector3D, arg__2: PySide6.QtGui.QVector3D, /) -> bool: ...
  9898. @typing.overload
  9899. def qFuzzyCompare(arg__1: PySide6.QtGui.QVector4D, arg__2: PySide6.QtGui.QVector4D, /) -> bool: ...
  9900. @typing.overload
  9901. def qFuzzyCompare(arg__1: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, arg__2: PySide6.QtGui.QMatrix4x4 | PySide6.QtGui.QTransform, /) -> bool: ...
  9902. @typing.overload
  9903. def qGray(rgb: int, /) -> int: ...
  9904. @typing.overload
  9905. def qGray(r: int, g: int, b: int, /) -> int: ...
  9906. def qGreen(rgb: int, /) -> int: ...
  9907. def qIsGray(rgb: int, /) -> bool: ...
  9908. def qPixelFormatAlpha(channelSize: int, /, typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ...) -> PySide6.QtGui.QPixelFormat: ...
  9909. def qPixelFormatCmyk(channelSize: int, /, alfa: int | None = ..., usage: PySide6.QtGui.QPixelFormat.AlphaUsage = ..., position: PySide6.QtGui.QPixelFormat.AlphaPosition = ..., typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ...) -> PySide6.QtGui.QPixelFormat: ...
  9910. def qPixelFormatGrayscale(channelSize: int, /, typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ...) -> PySide6.QtGui.QPixelFormat: ...
  9911. def qPixelFormatHsl(channelSize: int, /, alfa: int | None = ..., usage: PySide6.QtGui.QPixelFormat.AlphaUsage = ..., position: PySide6.QtGui.QPixelFormat.AlphaPosition = ..., typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ...) -> PySide6.QtGui.QPixelFormat: ...
  9912. def qPixelFormatHsv(channelSize: int, /, alfa: int | None = ..., usage: PySide6.QtGui.QPixelFormat.AlphaUsage = ..., position: PySide6.QtGui.QPixelFormat.AlphaPosition = ..., typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ...) -> PySide6.QtGui.QPixelFormat: ...
  9913. def qPixelFormatRgba(red: int, green: int, blue: int, alfa: int, usage: PySide6.QtGui.QPixelFormat.AlphaUsage, position: PySide6.QtGui.QPixelFormat.AlphaPosition, /, pmul: PySide6.QtGui.QPixelFormat.AlphaPremultiplied = ..., typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ...) -> PySide6.QtGui.QPixelFormat: ...
  9914. def qPixelFormatYuv(layout: PySide6.QtGui.QPixelFormat.YUVLayout, /, alfa: int | None = ..., usage: PySide6.QtGui.QPixelFormat.AlphaUsage = ..., position: PySide6.QtGui.QPixelFormat.AlphaPosition = ..., p_mul: PySide6.QtGui.QPixelFormat.AlphaPremultiplied = ..., typeInt: PySide6.QtGui.QPixelFormat.TypeInterpretation = ..., b_order: PySide6.QtGui.QPixelFormat.ByteOrder = ...) -> PySide6.QtGui.QPixelFormat: ...
  9915. def qRed(rgb: int, /) -> int: ...
  9916. def qRgb(r: int, g: int, b: int, /) -> int: ...
  9917. def qRgba(r: int, g: int, b: int, a: int, /) -> int: ...
  9918. def qt_set_sequence_auto_mnemonic(b: bool, /) -> None: ...
  9919. # eof