PythonImportHelper-v2-Completion.json 169 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609
  1. [
  2. {
  3. "label": "annotations",
  4. "importPath": "__future__",
  5. "description": "__future__",
  6. "isExtraImport": true,
  7. "detail": "__future__",
  8. "documentation": {}
  9. },
  10. {
  11. "label": "os",
  12. "kind": 6,
  13. "isExtraImport": true,
  14. "importPath": "os",
  15. "description": "os",
  16. "detail": "os",
  17. "documentation": {}
  18. },
  19. {
  20. "label": "site",
  21. "kind": 6,
  22. "isExtraImport": true,
  23. "importPath": "site",
  24. "description": "site",
  25. "detail": "site",
  26. "documentation": {}
  27. },
  28. {
  29. "label": "sys",
  30. "kind": 6,
  31. "isExtraImport": true,
  32. "importPath": "sys",
  33. "description": "sys",
  34. "detail": "sys",
  35. "documentation": {}
  36. },
  37. {
  38. "label": "QApplication",
  39. "importPath": "PyQt5.QtWidgets",
  40. "description": "PyQt5.QtWidgets",
  41. "isExtraImport": true,
  42. "detail": "PyQt5.QtWidgets",
  43. "documentation": {}
  44. },
  45. {
  46. "label": "QWidget",
  47. "importPath": "PyQt5.QtWidgets",
  48. "description": "PyQt5.QtWidgets",
  49. "isExtraImport": true,
  50. "detail": "PyQt5.QtWidgets",
  51. "documentation": {}
  52. },
  53. {
  54. "label": "QApplication",
  55. "importPath": "PyQt5.QtWidgets",
  56. "description": "PyQt5.QtWidgets",
  57. "isExtraImport": true,
  58. "detail": "PyQt5.QtWidgets",
  59. "documentation": {}
  60. },
  61. {
  62. "label": "QPushButton",
  63. "importPath": "PyQt5.QtWidgets",
  64. "description": "PyQt5.QtWidgets",
  65. "isExtraImport": true,
  66. "detail": "PyQt5.QtWidgets",
  67. "documentation": {}
  68. },
  69. {
  70. "label": "QApplication",
  71. "importPath": "PyQt5.QtWidgets",
  72. "description": "PyQt5.QtWidgets",
  73. "isExtraImport": true,
  74. "detail": "PyQt5.QtWidgets",
  75. "documentation": {}
  76. },
  77. {
  78. "label": "QMainWindow",
  79. "importPath": "PyQt5.QtWidgets",
  80. "description": "PyQt5.QtWidgets",
  81. "isExtraImport": true,
  82. "detail": "PyQt5.QtWidgets",
  83. "documentation": {}
  84. },
  85. {
  86. "label": "QMainWindow",
  87. "importPath": "PyQt5.QtWidgets",
  88. "description": "PyQt5.QtWidgets",
  89. "isExtraImport": true,
  90. "detail": "PyQt5.QtWidgets",
  91. "documentation": {}
  92. },
  93. {
  94. "label": "QPushButton",
  95. "importPath": "PyQt5.QtWidgets",
  96. "description": "PyQt5.QtWidgets",
  97. "isExtraImport": true,
  98. "detail": "PyQt5.QtWidgets",
  99. "documentation": {}
  100. },
  101. {
  102. "label": "QApplication",
  103. "importPath": "PyQt5.QtWidgets",
  104. "description": "PyQt5.QtWidgets",
  105. "isExtraImport": true,
  106. "detail": "PyQt5.QtWidgets",
  107. "documentation": {}
  108. },
  109. {
  110. "label": "QDialog",
  111. "importPath": "PyQt5.QtWidgets",
  112. "description": "PyQt5.QtWidgets",
  113. "isExtraImport": true,
  114. "detail": "PyQt5.QtWidgets",
  115. "documentation": {}
  116. },
  117. {
  118. "label": "QDialogButtonBox",
  119. "importPath": "PyQt5.QtWidgets",
  120. "description": "PyQt5.QtWidgets",
  121. "isExtraImport": true,
  122. "detail": "PyQt5.QtWidgets",
  123. "documentation": {}
  124. },
  125. {
  126. "label": "QVBoxLayout",
  127. "importPath": "PyQt5.QtWidgets",
  128. "description": "PyQt5.QtWidgets",
  129. "isExtraImport": true,
  130. "detail": "PyQt5.QtWidgets",
  131. "documentation": {}
  132. },
  133. {
  134. "label": "QLabel",
  135. "importPath": "PyQt5.QtWidgets",
  136. "description": "PyQt5.QtWidgets",
  137. "isExtraImport": true,
  138. "detail": "PyQt5.QtWidgets",
  139. "documentation": {}
  140. },
  141. {
  142. "label": "QMainWindow",
  143. "importPath": "PyQt5.QtWidgets",
  144. "description": "PyQt5.QtWidgets",
  145. "isExtraImport": true,
  146. "detail": "PyQt5.QtWidgets",
  147. "documentation": {}
  148. },
  149. {
  150. "label": "QPushButton",
  151. "importPath": "PyQt5.QtWidgets",
  152. "description": "PyQt5.QtWidgets",
  153. "isExtraImport": true,
  154. "detail": "PyQt5.QtWidgets",
  155. "documentation": {}
  156. },
  157. {
  158. "label": "QMessageBox",
  159. "importPath": "PyQt5.QtWidgets",
  160. "description": "PyQt5.QtWidgets",
  161. "isExtraImport": true,
  162. "detail": "PyQt5.QtWidgets",
  163. "documentation": {}
  164. },
  165. {
  166. "label": "QApplication",
  167. "importPath": "PyQt5.QtWidgets",
  168. "description": "PyQt5.QtWidgets",
  169. "isExtraImport": true,
  170. "detail": "PyQt5.QtWidgets",
  171. "documentation": {}
  172. },
  173. {
  174. "label": "QMainWindow",
  175. "importPath": "PyQt5.QtWidgets",
  176. "description": "PyQt5.QtWidgets",
  177. "isExtraImport": true,
  178. "detail": "PyQt5.QtWidgets",
  179. "documentation": {}
  180. },
  181. {
  182. "label": "QPushButton",
  183. "importPath": "PyQt5.QtWidgets",
  184. "description": "PyQt5.QtWidgets",
  185. "isExtraImport": true,
  186. "detail": "PyQt5.QtWidgets",
  187. "documentation": {}
  188. },
  189. {
  190. "label": "QMessageBox",
  191. "importPath": "PyQt5.QtWidgets",
  192. "description": "PyQt5.QtWidgets",
  193. "isExtraImport": true,
  194. "detail": "PyQt5.QtWidgets",
  195. "documentation": {}
  196. },
  197. {
  198. "label": "QApplication",
  199. "importPath": "PyQt5.QtWidgets",
  200. "description": "PyQt5.QtWidgets",
  201. "isExtraImport": true,
  202. "detail": "PyQt5.QtWidgets",
  203. "documentation": {}
  204. },
  205. {
  206. "label": "QApplication",
  207. "importPath": "PyQt5.QtWidgets",
  208. "description": "PyQt5.QtWidgets",
  209. "isExtraImport": true,
  210. "detail": "PyQt5.QtWidgets",
  211. "documentation": {}
  212. },
  213. {
  214. "label": "QMainWindow",
  215. "importPath": "PyQt5.QtWidgets",
  216. "description": "PyQt5.QtWidgets",
  217. "isExtraImport": true,
  218. "detail": "PyQt5.QtWidgets",
  219. "documentation": {}
  220. },
  221. {
  222. "label": "QVBoxLayout",
  223. "importPath": "PyQt5.QtWidgets",
  224. "description": "PyQt5.QtWidgets",
  225. "isExtraImport": true,
  226. "detail": "PyQt5.QtWidgets",
  227. "documentation": {}
  228. },
  229. {
  230. "label": "QPushButton",
  231. "importPath": "PyQt5.QtWidgets",
  232. "description": "PyQt5.QtWidgets",
  233. "isExtraImport": true,
  234. "detail": "PyQt5.QtWidgets",
  235. "documentation": {}
  236. },
  237. {
  238. "label": "QInputDialog",
  239. "importPath": "PyQt5.QtWidgets",
  240. "description": "PyQt5.QtWidgets",
  241. "isExtraImport": true,
  242. "detail": "PyQt5.QtWidgets",
  243. "documentation": {}
  244. },
  245. {
  246. "label": "QWidget",
  247. "importPath": "PyQt5.QtWidgets",
  248. "description": "PyQt5.QtWidgets",
  249. "isExtraImport": true,
  250. "detail": "PyQt5.QtWidgets",
  251. "documentation": {}
  252. },
  253. {
  254. "label": "QLineEdit",
  255. "importPath": "PyQt5.QtWidgets",
  256. "description": "PyQt5.QtWidgets",
  257. "isExtraImport": true,
  258. "detail": "PyQt5.QtWidgets",
  259. "documentation": {}
  260. },
  261. {
  262. "label": "QMainWindow",
  263. "importPath": "PyQt5.QtWidgets",
  264. "description": "PyQt5.QtWidgets",
  265. "isExtraImport": true,
  266. "detail": "PyQt5.QtWidgets",
  267. "documentation": {}
  268. },
  269. {
  270. "label": "QPushButton",
  271. "importPath": "PyQt5.QtWidgets",
  272. "description": "PyQt5.QtWidgets",
  273. "isExtraImport": true,
  274. "detail": "PyQt5.QtWidgets",
  275. "documentation": {}
  276. },
  277. {
  278. "label": "QApplication",
  279. "importPath": "PyQt5.QtWidgets",
  280. "description": "PyQt5.QtWidgets",
  281. "isExtraImport": true,
  282. "detail": "PyQt5.QtWidgets",
  283. "documentation": {}
  284. },
  285. {
  286. "label": "QMainWindow",
  287. "importPath": "PyQt5.QtWidgets",
  288. "description": "PyQt5.QtWidgets",
  289. "isExtraImport": true,
  290. "detail": "PyQt5.QtWidgets",
  291. "documentation": {}
  292. },
  293. {
  294. "label": "QLabel",
  295. "importPath": "PyQt5.QtWidgets",
  296. "description": "PyQt5.QtWidgets",
  297. "isExtraImport": true,
  298. "detail": "PyQt5.QtWidgets",
  299. "documentation": {}
  300. },
  301. {
  302. "label": "QApplication",
  303. "importPath": "PyQt5.QtWidgets",
  304. "description": "PyQt5.QtWidgets",
  305. "isExtraImport": true,
  306. "detail": "PyQt5.QtWidgets",
  307. "documentation": {}
  308. },
  309. {
  310. "label": "QMainWindow",
  311. "importPath": "PyQt5.QtWidgets",
  312. "description": "PyQt5.QtWidgets",
  313. "isExtraImport": true,
  314. "detail": "PyQt5.QtWidgets",
  315. "documentation": {}
  316. },
  317. {
  318. "label": "QMenu",
  319. "importPath": "PyQt5.QtWidgets",
  320. "description": "PyQt5.QtWidgets",
  321. "isExtraImport": true,
  322. "detail": "PyQt5.QtWidgets",
  323. "documentation": {}
  324. },
  325. {
  326. "label": "QAction",
  327. "importPath": "PyQt5.QtWidgets",
  328. "description": "PyQt5.QtWidgets",
  329. "isExtraImport": true,
  330. "detail": "PyQt5.QtWidgets",
  331. "documentation": {}
  332. },
  333. {
  334. "label": "QApplication",
  335. "importPath": "PyQt5.QtWidgets",
  336. "description": "PyQt5.QtWidgets",
  337. "isExtraImport": true,
  338. "detail": "PyQt5.QtWidgets",
  339. "documentation": {}
  340. },
  341. {
  342. "label": "QMainWindow",
  343. "importPath": "PyQt5.QtWidgets",
  344. "description": "PyQt5.QtWidgets",
  345. "isExtraImport": true,
  346. "detail": "PyQt5.QtWidgets",
  347. "documentation": {}
  348. },
  349. {
  350. "label": "QApplication",
  351. "importPath": "PyQt5.QtWidgets",
  352. "description": "PyQt5.QtWidgets",
  353. "isExtraImport": true,
  354. "detail": "PyQt5.QtWidgets",
  355. "documentation": {}
  356. },
  357. {
  358. "label": "QWidget",
  359. "importPath": "PyQt5.QtWidgets",
  360. "description": "PyQt5.QtWidgets",
  361. "isExtraImport": true,
  362. "detail": "PyQt5.QtWidgets",
  363. "documentation": {}
  364. },
  365. {
  366. "label": "QVBoxLayout",
  367. "importPath": "PyQt5.QtWidgets",
  368. "description": "PyQt5.QtWidgets",
  369. "isExtraImport": true,
  370. "detail": "PyQt5.QtWidgets",
  371. "documentation": {}
  372. },
  373. {
  374. "label": "QMainWindow",
  375. "importPath": "PyQt5.QtWidgets",
  376. "description": "PyQt5.QtWidgets",
  377. "isExtraImport": true,
  378. "detail": "PyQt5.QtWidgets",
  379. "documentation": {}
  380. },
  381. {
  382. "label": "QFormLayout",
  383. "importPath": "PyQt5.QtWidgets",
  384. "description": "PyQt5.QtWidgets",
  385. "isExtraImport": true,
  386. "detail": "PyQt5.QtWidgets",
  387. "documentation": {}
  388. },
  389. {
  390. "label": "QLineEdit",
  391. "importPath": "PyQt5.QtWidgets",
  392. "description": "PyQt5.QtWidgets",
  393. "isExtraImport": true,
  394. "detail": "PyQt5.QtWidgets",
  395. "documentation": {}
  396. },
  397. {
  398. "label": "QSpinBox",
  399. "importPath": "PyQt5.QtWidgets",
  400. "description": "PyQt5.QtWidgets",
  401. "isExtraImport": true,
  402. "detail": "PyQt5.QtWidgets",
  403. "documentation": {}
  404. },
  405. {
  406. "label": "QComboBox",
  407. "importPath": "PyQt5.QtWidgets",
  408. "description": "PyQt5.QtWidgets",
  409. "isExtraImport": true,
  410. "detail": "PyQt5.QtWidgets",
  411. "documentation": {}
  412. },
  413. {
  414. "label": "QWidget",
  415. "importPath": "PyQt5.QtWidgets",
  416. "description": "PyQt5.QtWidgets",
  417. "isExtraImport": true,
  418. "detail": "PyQt5.QtWidgets",
  419. "documentation": {}
  420. },
  421. {
  422. "label": "QApplication",
  423. "importPath": "PyQt5.QtWidgets",
  424. "description": "PyQt5.QtWidgets",
  425. "isExtraImport": true,
  426. "detail": "PyQt5.QtWidgets",
  427. "documentation": {}
  428. },
  429. {
  430. "label": "QLabel",
  431. "importPath": "PyQt5.QtWidgets",
  432. "description": "PyQt5.QtWidgets",
  433. "isExtraImport": true,
  434. "detail": "PyQt5.QtWidgets",
  435. "documentation": {}
  436. },
  437. {
  438. "label": "QAction",
  439. "importPath": "PyQt5.QtWidgets",
  440. "description": "PyQt5.QtWidgets",
  441. "isExtraImport": true,
  442. "detail": "PyQt5.QtWidgets",
  443. "documentation": {}
  444. },
  445. {
  446. "label": "QToolBar",
  447. "importPath": "PyQt5.QtWidgets",
  448. "description": "PyQt5.QtWidgets",
  449. "isExtraImport": true,
  450. "detail": "PyQt5.QtWidgets",
  451. "documentation": {}
  452. },
  453. {
  454. "label": "QStatusBar",
  455. "importPath": "PyQt5.QtWidgets",
  456. "description": "PyQt5.QtWidgets",
  457. "isExtraImport": true,
  458. "detail": "PyQt5.QtWidgets",
  459. "documentation": {}
  460. },
  461. {
  462. "label": "QMainWindow",
  463. "importPath": "PyQt5.QtWidgets",
  464. "description": "PyQt5.QtWidgets",
  465. "isExtraImport": true,
  466. "detail": "PyQt5.QtWidgets",
  467. "documentation": {}
  468. },
  469. {
  470. "label": "QApplication",
  471. "importPath": "PyQt5.QtWidgets",
  472. "description": "PyQt5.QtWidgets",
  473. "isExtraImport": true,
  474. "detail": "PyQt5.QtWidgets",
  475. "documentation": {}
  476. },
  477. {
  478. "label": "QWidget",
  479. "importPath": "PyQt5.QtWidgets",
  480. "description": "PyQt5.QtWidgets",
  481. "isExtraImport": true,
  482. "detail": "PyQt5.QtWidgets",
  483. "documentation": {}
  484. },
  485. {
  486. "label": "QHBoxLayout",
  487. "importPath": "PyQt5.QtWidgets",
  488. "description": "PyQt5.QtWidgets",
  489. "isExtraImport": true,
  490. "detail": "PyQt5.QtWidgets",
  491. "documentation": {}
  492. },
  493. {
  494. "label": "QMainWindow",
  495. "importPath": "PyQt5.QtWidgets",
  496. "description": "PyQt5.QtWidgets",
  497. "isExtraImport": true,
  498. "detail": "PyQt5.QtWidgets",
  499. "documentation": {}
  500. },
  501. {
  502. "label": "QApplication",
  503. "importPath": "PyQt5.QtWidgets",
  504. "description": "PyQt5.QtWidgets",
  505. "isExtraImport": true,
  506. "detail": "PyQt5.QtWidgets",
  507. "documentation": {}
  508. },
  509. {
  510. "label": "QWidget",
  511. "importPath": "PyQt5.QtWidgets",
  512. "description": "PyQt5.QtWidgets",
  513. "isExtraImport": true,
  514. "detail": "PyQt5.QtWidgets",
  515. "documentation": {}
  516. },
  517. {
  518. "label": "QHBoxLayout",
  519. "importPath": "PyQt5.QtWidgets",
  520. "description": "PyQt5.QtWidgets",
  521. "isExtraImport": true,
  522. "detail": "PyQt5.QtWidgets",
  523. "documentation": {}
  524. },
  525. {
  526. "label": "QVBoxLayout",
  527. "importPath": "PyQt5.QtWidgets",
  528. "description": "PyQt5.QtWidgets",
  529. "isExtraImport": true,
  530. "detail": "PyQt5.QtWidgets",
  531. "documentation": {}
  532. },
  533. {
  534. "label": "QGridLayout",
  535. "importPath": "PyQt5.QtWidgets",
  536. "description": "PyQt5.QtWidgets",
  537. "isExtraImport": true,
  538. "detail": "PyQt5.QtWidgets",
  539. "documentation": {}
  540. },
  541. {
  542. "label": "QMainWindow",
  543. "importPath": "PyQt5.QtWidgets",
  544. "description": "PyQt5.QtWidgets",
  545. "isExtraImport": true,
  546. "detail": "PyQt5.QtWidgets",
  547. "documentation": {}
  548. },
  549. {
  550. "label": "QStackedLayout",
  551. "importPath": "PyQt5.QtWidgets",
  552. "description": "PyQt5.QtWidgets",
  553. "isExtraImport": true,
  554. "detail": "PyQt5.QtWidgets",
  555. "documentation": {}
  556. },
  557. {
  558. "label": "QWidget",
  559. "importPath": "PyQt5.QtWidgets",
  560. "description": "PyQt5.QtWidgets",
  561. "isExtraImport": true,
  562. "detail": "PyQt5.QtWidgets",
  563. "documentation": {}
  564. },
  565. {
  566. "label": "QApplication",
  567. "importPath": "PyQt5.QtWidgets",
  568. "description": "PyQt5.QtWidgets",
  569. "isExtraImport": true,
  570. "detail": "PyQt5.QtWidgets",
  571. "documentation": {}
  572. },
  573. {
  574. "label": "QMainWindow",
  575. "importPath": "PyQt5.QtWidgets",
  576. "description": "PyQt5.QtWidgets",
  577. "isExtraImport": true,
  578. "detail": "PyQt5.QtWidgets",
  579. "documentation": {}
  580. },
  581. {
  582. "label": "QStackedLayout",
  583. "importPath": "PyQt5.QtWidgets",
  584. "description": "PyQt5.QtWidgets",
  585. "isExtraImport": true,
  586. "detail": "PyQt5.QtWidgets",
  587. "documentation": {}
  588. },
  589. {
  590. "label": "QWidget",
  591. "importPath": "PyQt5.QtWidgets",
  592. "description": "PyQt5.QtWidgets",
  593. "isExtraImport": true,
  594. "detail": "PyQt5.QtWidgets",
  595. "documentation": {}
  596. },
  597. {
  598. "label": "QApplication",
  599. "importPath": "PyQt5.QtWidgets",
  600. "description": "PyQt5.QtWidgets",
  601. "isExtraImport": true,
  602. "detail": "PyQt5.QtWidgets",
  603. "documentation": {}
  604. },
  605. {
  606. "label": "QVBoxLayout",
  607. "importPath": "PyQt5.QtWidgets",
  608. "description": "PyQt5.QtWidgets",
  609. "isExtraImport": true,
  610. "detail": "PyQt5.QtWidgets",
  611. "documentation": {}
  612. },
  613. {
  614. "label": "QHBoxLayout",
  615. "importPath": "PyQt5.QtWidgets",
  616. "description": "PyQt5.QtWidgets",
  617. "isExtraImport": true,
  618. "detail": "PyQt5.QtWidgets",
  619. "documentation": {}
  620. },
  621. {
  622. "label": "QPushButton",
  623. "importPath": "PyQt5.QtWidgets",
  624. "description": "PyQt5.QtWidgets",
  625. "isExtraImport": true,
  626. "detail": "PyQt5.QtWidgets",
  627. "documentation": {}
  628. },
  629. {
  630. "label": "QMainWindow",
  631. "importPath": "PyQt5.QtWidgets",
  632. "description": "PyQt5.QtWidgets",
  633. "isExtraImport": true,
  634. "detail": "PyQt5.QtWidgets",
  635. "documentation": {}
  636. },
  637. {
  638. "label": "QTabWidget",
  639. "importPath": "PyQt5.QtWidgets",
  640. "description": "PyQt5.QtWidgets",
  641. "isExtraImport": true,
  642. "detail": "PyQt5.QtWidgets",
  643. "documentation": {}
  644. },
  645. {
  646. "label": "QApplication",
  647. "importPath": "PyQt5.QtWidgets",
  648. "description": "PyQt5.QtWidgets",
  649. "isExtraImport": true,
  650. "detail": "PyQt5.QtWidgets",
  651. "documentation": {}
  652. },
  653. {
  654. "label": "QWidget",
  655. "importPath": "PyQt5.QtWidgets",
  656. "description": "PyQt5.QtWidgets",
  657. "isExtraImport": true,
  658. "detail": "PyQt5.QtWidgets",
  659. "documentation": {}
  660. },
  661. {
  662. "label": "QMainWindow",
  663. "importPath": "PyQt5.QtWidgets",
  664. "description": "PyQt5.QtWidgets",
  665. "isExtraImport": true,
  666. "detail": "PyQt5.QtWidgets",
  667. "documentation": {}
  668. },
  669. {
  670. "label": "QPushButton",
  671. "importPath": "PyQt5.QtWidgets",
  672. "description": "PyQt5.QtWidgets",
  673. "isExtraImport": true,
  674. "detail": "PyQt5.QtWidgets",
  675. "documentation": {}
  676. },
  677. {
  678. "label": "QApplication",
  679. "importPath": "PyQt5.QtWidgets",
  680. "description": "PyQt5.QtWidgets",
  681. "isExtraImport": true,
  682. "detail": "PyQt5.QtWidgets",
  683. "documentation": {}
  684. },
  685. {
  686. "label": "QMainWindow",
  687. "importPath": "PyQt5.QtWidgets",
  688. "description": "PyQt5.QtWidgets",
  689. "isExtraImport": true,
  690. "detail": "PyQt5.QtWidgets",
  691. "documentation": {}
  692. },
  693. {
  694. "label": "QPushButton",
  695. "importPath": "PyQt5.QtWidgets",
  696. "description": "PyQt5.QtWidgets",
  697. "isExtraImport": true,
  698. "detail": "PyQt5.QtWidgets",
  699. "documentation": {}
  700. },
  701. {
  702. "label": "QApplication",
  703. "importPath": "PyQt5.QtWidgets",
  704. "description": "PyQt5.QtWidgets",
  705. "isExtraImport": true,
  706. "detail": "PyQt5.QtWidgets",
  707. "documentation": {}
  708. },
  709. {
  710. "label": "QMainWindow",
  711. "importPath": "PyQt5.QtWidgets",
  712. "description": "PyQt5.QtWidgets",
  713. "isExtraImport": true,
  714. "detail": "PyQt5.QtWidgets",
  715. "documentation": {}
  716. },
  717. {
  718. "label": "QPushButton",
  719. "importPath": "PyQt5.QtWidgets",
  720. "description": "PyQt5.QtWidgets",
  721. "isExtraImport": true,
  722. "detail": "PyQt5.QtWidgets",
  723. "documentation": {}
  724. },
  725. {
  726. "label": "QApplication",
  727. "importPath": "PyQt5.QtWidgets",
  728. "description": "PyQt5.QtWidgets",
  729. "isExtraImport": true,
  730. "detail": "PyQt5.QtWidgets",
  731. "documentation": {}
  732. },
  733. {
  734. "label": "QMainWindow",
  735. "importPath": "PyQt5.QtWidgets",
  736. "description": "PyQt5.QtWidgets",
  737. "isExtraImport": true,
  738. "detail": "PyQt5.QtWidgets",
  739. "documentation": {}
  740. },
  741. {
  742. "label": "QPushButton",
  743. "importPath": "PyQt5.QtWidgets",
  744. "description": "PyQt5.QtWidgets",
  745. "isExtraImport": true,
  746. "detail": "PyQt5.QtWidgets",
  747. "documentation": {}
  748. },
  749. {
  750. "label": "QApplication",
  751. "importPath": "PyQt5.QtWidgets",
  752. "description": "PyQt5.QtWidgets",
  753. "isExtraImport": true,
  754. "detail": "PyQt5.QtWidgets",
  755. "documentation": {}
  756. },
  757. {
  758. "label": "QMainWindow",
  759. "importPath": "PyQt5.QtWidgets",
  760. "description": "PyQt5.QtWidgets",
  761. "isExtraImport": true,
  762. "detail": "PyQt5.QtWidgets",
  763. "documentation": {}
  764. },
  765. {
  766. "label": "QPushButton",
  767. "importPath": "PyQt5.QtWidgets",
  768. "description": "PyQt5.QtWidgets",
  769. "isExtraImport": true,
  770. "detail": "PyQt5.QtWidgets",
  771. "documentation": {}
  772. },
  773. {
  774. "label": "QApplication",
  775. "importPath": "PyQt5.QtWidgets",
  776. "description": "PyQt5.QtWidgets",
  777. "isExtraImport": true,
  778. "detail": "PyQt5.QtWidgets",
  779. "documentation": {}
  780. },
  781. {
  782. "label": "QMainWindow",
  783. "importPath": "PyQt5.QtWidgets",
  784. "description": "PyQt5.QtWidgets",
  785. "isExtraImport": true,
  786. "detail": "PyQt5.QtWidgets",
  787. "documentation": {}
  788. },
  789. {
  790. "label": "QPushButton",
  791. "importPath": "PyQt5.QtWidgets",
  792. "description": "PyQt5.QtWidgets",
  793. "isExtraImport": true,
  794. "detail": "PyQt5.QtWidgets",
  795. "documentation": {}
  796. },
  797. {
  798. "label": "QApplication",
  799. "importPath": "PyQt5.QtWidgets",
  800. "description": "PyQt5.QtWidgets",
  801. "isExtraImport": true,
  802. "detail": "PyQt5.QtWidgets",
  803. "documentation": {}
  804. },
  805. {
  806. "label": "QMainWindow",
  807. "importPath": "PyQt5.QtWidgets",
  808. "description": "PyQt5.QtWidgets",
  809. "isExtraImport": true,
  810. "detail": "PyQt5.QtWidgets",
  811. "documentation": {}
  812. },
  813. {
  814. "label": "QApplication",
  815. "importPath": "PyQt5.QtWidgets",
  816. "description": "PyQt5.QtWidgets",
  817. "isExtraImport": true,
  818. "detail": "PyQt5.QtWidgets",
  819. "documentation": {}
  820. },
  821. {
  822. "label": "QLabel",
  823. "importPath": "PyQt5.QtWidgets",
  824. "description": "PyQt5.QtWidgets",
  825. "isExtraImport": true,
  826. "detail": "PyQt5.QtWidgets",
  827. "documentation": {}
  828. },
  829. {
  830. "label": "QLineEdit",
  831. "importPath": "PyQt5.QtWidgets",
  832. "description": "PyQt5.QtWidgets",
  833. "isExtraImport": true,
  834. "detail": "PyQt5.QtWidgets",
  835. "documentation": {}
  836. },
  837. {
  838. "label": "QWidget",
  839. "importPath": "PyQt5.QtWidgets",
  840. "description": "PyQt5.QtWidgets",
  841. "isExtraImport": true,
  842. "detail": "PyQt5.QtWidgets",
  843. "documentation": {}
  844. },
  845. {
  846. "label": "QVBoxLayout",
  847. "importPath": "PyQt5.QtWidgets",
  848. "description": "PyQt5.QtWidgets",
  849. "isExtraImport": true,
  850. "detail": "PyQt5.QtWidgets",
  851. "documentation": {}
  852. },
  853. {
  854. "label": "QApplication",
  855. "importPath": "PyQt5.QtWidgets",
  856. "description": "PyQt5.QtWidgets",
  857. "isExtraImport": true,
  858. "detail": "PyQt5.QtWidgets",
  859. "documentation": {}
  860. },
  861. {
  862. "label": "QMainWindow",
  863. "importPath": "PyQt5.QtWidgets",
  864. "description": "PyQt5.QtWidgets",
  865. "isExtraImport": true,
  866. "detail": "PyQt5.QtWidgets",
  867. "documentation": {}
  868. },
  869. {
  870. "label": "QVBoxLayout",
  871. "importPath": "PyQt5.QtWidgets",
  872. "description": "PyQt5.QtWidgets",
  873. "isExtraImport": true,
  874. "detail": "PyQt5.QtWidgets",
  875. "documentation": {}
  876. },
  877. {
  878. "label": "QPushButton",
  879. "importPath": "PyQt5.QtWidgets",
  880. "description": "PyQt5.QtWidgets",
  881. "isExtraImport": true,
  882. "detail": "PyQt5.QtWidgets",
  883. "documentation": {}
  884. },
  885. {
  886. "label": "QWidget",
  887. "importPath": "PyQt5.QtWidgets",
  888. "description": "PyQt5.QtWidgets",
  889. "isExtraImport": true,
  890. "detail": "PyQt5.QtWidgets",
  891. "documentation": {}
  892. },
  893. {
  894. "label": "QInputDialog",
  895. "importPath": "PyQt5.QtWidgets",
  896. "description": "PyQt5.QtWidgets",
  897. "isExtraImport": true,
  898. "detail": "PyQt5.QtWidgets",
  899. "documentation": {}
  900. },
  901. {
  902. "label": "QLineEdit",
  903. "importPath": "PyQt5.QtWidgets",
  904. "description": "PyQt5.QtWidgets",
  905. "isExtraImport": true,
  906. "detail": "PyQt5.QtWidgets",
  907. "documentation": {}
  908. },
  909. {
  910. "label": "QLabel",
  911. "importPath": "PyQt5.QtWidgets",
  912. "description": "PyQt5.QtWidgets",
  913. "isExtraImport": true,
  914. "detail": "PyQt5.QtWidgets",
  915. "documentation": {}
  916. },
  917. {
  918. "label": "QApplication",
  919. "importPath": "PyQt5.QtWidgets",
  920. "description": "PyQt5.QtWidgets",
  921. "isExtraImport": true,
  922. "detail": "PyQt5.QtWidgets",
  923. "documentation": {}
  924. },
  925. {
  926. "label": "QMainWindow",
  927. "importPath": "PyQt5.QtWidgets",
  928. "description": "PyQt5.QtWidgets",
  929. "isExtraImport": true,
  930. "detail": "PyQt5.QtWidgets",
  931. "documentation": {}
  932. },
  933. {
  934. "label": "QVBoxLayout",
  935. "importPath": "PyQt5.QtWidgets",
  936. "description": "PyQt5.QtWidgets",
  937. "isExtraImport": true,
  938. "detail": "PyQt5.QtWidgets",
  939. "documentation": {}
  940. },
  941. {
  942. "label": "QPushButton",
  943. "importPath": "PyQt5.QtWidgets",
  944. "description": "PyQt5.QtWidgets",
  945. "isExtraImport": true,
  946. "detail": "PyQt5.QtWidgets",
  947. "documentation": {}
  948. },
  949. {
  950. "label": "QWidget",
  951. "importPath": "PyQt5.QtWidgets",
  952. "description": "PyQt5.QtWidgets",
  953. "isExtraImport": true,
  954. "detail": "PyQt5.QtWidgets",
  955. "documentation": {}
  956. },
  957. {
  958. "label": "QInputDialog",
  959. "importPath": "PyQt5.QtWidgets",
  960. "description": "PyQt5.QtWidgets",
  961. "isExtraImport": true,
  962. "detail": "PyQt5.QtWidgets",
  963. "documentation": {}
  964. },
  965. {
  966. "label": "QLineEdit",
  967. "importPath": "PyQt5.QtWidgets",
  968. "description": "PyQt5.QtWidgets",
  969. "isExtraImport": true,
  970. "detail": "PyQt5.QtWidgets",
  971. "documentation": {}
  972. },
  973. {
  974. "label": "QLabel",
  975. "importPath": "PyQt5.QtWidgets",
  976. "description": "PyQt5.QtWidgets",
  977. "isExtraImport": true,
  978. "detail": "PyQt5.QtWidgets",
  979. "documentation": {}
  980. },
  981. {
  982. "label": "QApplication",
  983. "importPath": "PyQt5.QtWidgets",
  984. "description": "PyQt5.QtWidgets",
  985. "isExtraImport": true,
  986. "detail": "PyQt5.QtWidgets",
  987. "documentation": {}
  988. },
  989. {
  990. "label": "QMainWindow",
  991. "importPath": "PyQt5.QtWidgets",
  992. "description": "PyQt5.QtWidgets",
  993. "isExtraImport": true,
  994. "detail": "PyQt5.QtWidgets",
  995. "documentation": {}
  996. },
  997. {
  998. "label": "QVBoxLayout",
  999. "importPath": "PyQt5.QtWidgets",
  1000. "description": "PyQt5.QtWidgets",
  1001. "isExtraImport": true,
  1002. "detail": "PyQt5.QtWidgets",
  1003. "documentation": {}
  1004. },
  1005. {
  1006. "label": "QPushButton",
  1007. "importPath": "PyQt5.QtWidgets",
  1008. "description": "PyQt5.QtWidgets",
  1009. "isExtraImport": true,
  1010. "detail": "PyQt5.QtWidgets",
  1011. "documentation": {}
  1012. },
  1013. {
  1014. "label": "QWidget",
  1015. "importPath": "PyQt5.QtWidgets",
  1016. "description": "PyQt5.QtWidgets",
  1017. "isExtraImport": true,
  1018. "detail": "PyQt5.QtWidgets",
  1019. "documentation": {}
  1020. },
  1021. {
  1022. "label": "QInputDialog",
  1023. "importPath": "PyQt5.QtWidgets",
  1024. "description": "PyQt5.QtWidgets",
  1025. "isExtraImport": true,
  1026. "detail": "PyQt5.QtWidgets",
  1027. "documentation": {}
  1028. },
  1029. {
  1030. "label": "QLineEdit",
  1031. "importPath": "PyQt5.QtWidgets",
  1032. "description": "PyQt5.QtWidgets",
  1033. "isExtraImport": true,
  1034. "detail": "PyQt5.QtWidgets",
  1035. "documentation": {}
  1036. },
  1037. {
  1038. "label": "\\",
  1039. "importPath": "PyQt5.QtWidgets",
  1040. "description": "PyQt5.QtWidgets",
  1041. "isExtraImport": true,
  1042. "detail": "PyQt5.QtWidgets",
  1043. "documentation": {}
  1044. },
  1045. {
  1046. "label": "QMainWindow",
  1047. "importPath": "PyQt5.QtWidgets",
  1048. "description": "PyQt5.QtWidgets",
  1049. "isExtraImport": true,
  1050. "detail": "PyQt5.QtWidgets",
  1051. "documentation": {}
  1052. },
  1053. {
  1054. "label": "QApplication",
  1055. "importPath": "PyQt5.QtWidgets",
  1056. "description": "PyQt5.QtWidgets",
  1057. "isExtraImport": true,
  1058. "detail": "PyQt5.QtWidgets",
  1059. "documentation": {}
  1060. },
  1061. {
  1062. "label": "QLabel",
  1063. "importPath": "PyQt5.QtWidgets",
  1064. "description": "PyQt5.QtWidgets",
  1065. "isExtraImport": true,
  1066. "detail": "PyQt5.QtWidgets",
  1067. "documentation": {}
  1068. },
  1069. {
  1070. "label": "QMainWindow",
  1071. "importPath": "PyQt5.QtWidgets",
  1072. "description": "PyQt5.QtWidgets",
  1073. "isExtraImport": true,
  1074. "detail": "PyQt5.QtWidgets",
  1075. "documentation": {}
  1076. },
  1077. {
  1078. "label": "QApplication",
  1079. "importPath": "PyQt5.QtWidgets",
  1080. "description": "PyQt5.QtWidgets",
  1081. "isExtraImport": true,
  1082. "detail": "PyQt5.QtWidgets",
  1083. "documentation": {}
  1084. },
  1085. {
  1086. "label": "QLabel",
  1087. "importPath": "PyQt5.QtWidgets",
  1088. "description": "PyQt5.QtWidgets",
  1089. "isExtraImport": true,
  1090. "detail": "PyQt5.QtWidgets",
  1091. "documentation": {}
  1092. },
  1093. {
  1094. "label": "QApplication",
  1095. "importPath": "PyQt5.QtWidgets",
  1096. "description": "PyQt5.QtWidgets",
  1097. "isExtraImport": true,
  1098. "detail": "PyQt5.QtWidgets",
  1099. "documentation": {}
  1100. },
  1101. {
  1102. "label": "QMainWindow",
  1103. "importPath": "PyQt5.QtWidgets",
  1104. "description": "PyQt5.QtWidgets",
  1105. "isExtraImport": true,
  1106. "detail": "PyQt5.QtWidgets",
  1107. "documentation": {}
  1108. },
  1109. {
  1110. "label": "QLabel",
  1111. "importPath": "PyQt5.QtWidgets",
  1112. "description": "PyQt5.QtWidgets",
  1113. "isExtraImport": true,
  1114. "detail": "PyQt5.QtWidgets",
  1115. "documentation": {}
  1116. },
  1117. {
  1118. "label": "QMainWindow",
  1119. "importPath": "PyQt5.QtWidgets",
  1120. "description": "PyQt5.QtWidgets",
  1121. "isExtraImport": true,
  1122. "detail": "PyQt5.QtWidgets",
  1123. "documentation": {}
  1124. },
  1125. {
  1126. "label": "QVBoxLayout",
  1127. "importPath": "PyQt5.QtWidgets",
  1128. "description": "PyQt5.QtWidgets",
  1129. "isExtraImport": true,
  1130. "detail": "PyQt5.QtWidgets",
  1131. "documentation": {}
  1132. },
  1133. {
  1134. "label": "QLabel",
  1135. "importPath": "PyQt5.QtWidgets",
  1136. "description": "PyQt5.QtWidgets",
  1137. "isExtraImport": true,
  1138. "detail": "PyQt5.QtWidgets",
  1139. "documentation": {}
  1140. },
  1141. {
  1142. "label": "QPushButton",
  1143. "importPath": "PyQt5.QtWidgets",
  1144. "description": "PyQt5.QtWidgets",
  1145. "isExtraImport": true,
  1146. "detail": "PyQt5.QtWidgets",
  1147. "documentation": {}
  1148. },
  1149. {
  1150. "label": "QWidget",
  1151. "importPath": "PyQt5.QtWidgets",
  1152. "description": "PyQt5.QtWidgets",
  1153. "isExtraImport": true,
  1154. "detail": "PyQt5.QtWidgets",
  1155. "documentation": {}
  1156. },
  1157. {
  1158. "label": "QMainWindow",
  1159. "importPath": "PyQt5.QtWidgets",
  1160. "description": "PyQt5.QtWidgets",
  1161. "isExtraImport": true,
  1162. "detail": "PyQt5.QtWidgets",
  1163. "documentation": {}
  1164. },
  1165. {
  1166. "label": "QVBoxLayout",
  1167. "importPath": "PyQt5.QtWidgets",
  1168. "description": "PyQt5.QtWidgets",
  1169. "isExtraImport": true,
  1170. "detail": "PyQt5.QtWidgets",
  1171. "documentation": {}
  1172. },
  1173. {
  1174. "label": "QLabel",
  1175. "importPath": "PyQt5.QtWidgets",
  1176. "description": "PyQt5.QtWidgets",
  1177. "isExtraImport": true,
  1178. "detail": "PyQt5.QtWidgets",
  1179. "documentation": {}
  1180. },
  1181. {
  1182. "label": "QPushButton",
  1183. "importPath": "PyQt5.QtWidgets",
  1184. "description": "PyQt5.QtWidgets",
  1185. "isExtraImport": true,
  1186. "detail": "PyQt5.QtWidgets",
  1187. "documentation": {}
  1188. },
  1189. {
  1190. "label": "QWidget",
  1191. "importPath": "PyQt5.QtWidgets",
  1192. "description": "PyQt5.QtWidgets",
  1193. "isExtraImport": true,
  1194. "detail": "PyQt5.QtWidgets",
  1195. "documentation": {}
  1196. },
  1197. {
  1198. "label": "QApplication",
  1199. "importPath": "PyQt5.QtWidgets",
  1200. "description": "PyQt5.QtWidgets",
  1201. "isExtraImport": true,
  1202. "detail": "PyQt5.QtWidgets",
  1203. "documentation": {}
  1204. },
  1205. {
  1206. "label": "QMainWindow",
  1207. "importPath": "PyQt5.QtWidgets",
  1208. "description": "PyQt5.QtWidgets",
  1209. "isExtraImport": true,
  1210. "detail": "PyQt5.QtWidgets",
  1211. "documentation": {}
  1212. },
  1213. {
  1214. "label": "QTableView",
  1215. "importPath": "PyQt5.QtWidgets",
  1216. "description": "PyQt5.QtWidgets",
  1217. "isExtraImport": true,
  1218. "detail": "PyQt5.QtWidgets",
  1219. "documentation": {}
  1220. },
  1221. {
  1222. "label": "QApplication",
  1223. "importPath": "PyQt5.QtWidgets",
  1224. "description": "PyQt5.QtWidgets",
  1225. "isExtraImport": true,
  1226. "detail": "PyQt5.QtWidgets",
  1227. "documentation": {}
  1228. },
  1229. {
  1230. "label": "QMainWindow",
  1231. "importPath": "PyQt5.QtWidgets",
  1232. "description": "PyQt5.QtWidgets",
  1233. "isExtraImport": true,
  1234. "detail": "PyQt5.QtWidgets",
  1235. "documentation": {}
  1236. },
  1237. {
  1238. "label": "QTableView",
  1239. "importPath": "PyQt5.QtWidgets",
  1240. "description": "PyQt5.QtWidgets",
  1241. "isExtraImport": true,
  1242. "detail": "PyQt5.QtWidgets",
  1243. "documentation": {}
  1244. },
  1245. {
  1246. "label": "QWidget",
  1247. "importPath": "PyQt5.QtWidgets",
  1248. "description": "PyQt5.QtWidgets",
  1249. "isExtraImport": true,
  1250. "detail": "PyQt5.QtWidgets",
  1251. "documentation": {}
  1252. },
  1253. {
  1254. "label": "QHBoxLayout",
  1255. "importPath": "PyQt5.QtWidgets",
  1256. "description": "PyQt5.QtWidgets",
  1257. "isExtraImport": true,
  1258. "detail": "PyQt5.QtWidgets",
  1259. "documentation": {}
  1260. },
  1261. {
  1262. "label": "QVBoxLayout",
  1263. "importPath": "PyQt5.QtWidgets",
  1264. "description": "PyQt5.QtWidgets",
  1265. "isExtraImport": true,
  1266. "detail": "PyQt5.QtWidgets",
  1267. "documentation": {}
  1268. },
  1269. {
  1270. "label": "QLineEdit",
  1271. "importPath": "PyQt5.QtWidgets",
  1272. "description": "PyQt5.QtWidgets",
  1273. "isExtraImport": true,
  1274. "detail": "PyQt5.QtWidgets",
  1275. "documentation": {}
  1276. },
  1277. {
  1278. "label": "QApplication",
  1279. "importPath": "PyQt5.QtWidgets",
  1280. "description": "PyQt5.QtWidgets",
  1281. "isExtraImport": true,
  1282. "detail": "PyQt5.QtWidgets",
  1283. "documentation": {}
  1284. },
  1285. {
  1286. "label": "QMainWindow",
  1287. "importPath": "PyQt5.QtWidgets",
  1288. "description": "PyQt5.QtWidgets",
  1289. "isExtraImport": true,
  1290. "detail": "PyQt5.QtWidgets",
  1291. "documentation": {}
  1292. },
  1293. {
  1294. "label": "QTableView",
  1295. "importPath": "PyQt5.QtWidgets",
  1296. "description": "PyQt5.QtWidgets",
  1297. "isExtraImport": true,
  1298. "detail": "PyQt5.QtWidgets",
  1299. "documentation": {}
  1300. },
  1301. {
  1302. "label": "QApplication",
  1303. "importPath": "PyQt5.QtWidgets",
  1304. "description": "PyQt5.QtWidgets",
  1305. "isExtraImport": true,
  1306. "detail": "PyQt5.QtWidgets",
  1307. "documentation": {}
  1308. },
  1309. {
  1310. "label": "QMainWindow",
  1311. "importPath": "PyQt5.QtWidgets",
  1312. "description": "PyQt5.QtWidgets",
  1313. "isExtraImport": true,
  1314. "detail": "PyQt5.QtWidgets",
  1315. "documentation": {}
  1316. },
  1317. {
  1318. "label": "QTableView",
  1319. "importPath": "PyQt5.QtWidgets",
  1320. "description": "PyQt5.QtWidgets",
  1321. "isExtraImport": true,
  1322. "detail": "PyQt5.QtWidgets",
  1323. "documentation": {}
  1324. },
  1325. {
  1326. "label": "QApplication",
  1327. "importPath": "PyQt5.QtWidgets",
  1328. "description": "PyQt5.QtWidgets",
  1329. "isExtraImport": true,
  1330. "detail": "PyQt5.QtWidgets",
  1331. "documentation": {}
  1332. },
  1333. {
  1334. "label": "QMainWindow",
  1335. "importPath": "PyQt5.QtWidgets",
  1336. "description": "PyQt5.QtWidgets",
  1337. "isExtraImport": true,
  1338. "detail": "PyQt5.QtWidgets",
  1339. "documentation": {}
  1340. },
  1341. {
  1342. "label": "QTableView",
  1343. "importPath": "PyQt5.QtWidgets",
  1344. "description": "PyQt5.QtWidgets",
  1345. "isExtraImport": true,
  1346. "detail": "PyQt5.QtWidgets",
  1347. "documentation": {}
  1348. },
  1349. {
  1350. "label": "QWidget",
  1351. "importPath": "PyQt5.QtWidgets",
  1352. "description": "PyQt5.QtWidgets",
  1353. "isExtraImport": true,
  1354. "detail": "PyQt5.QtWidgets",
  1355. "documentation": {}
  1356. },
  1357. {
  1358. "label": "QVBoxLayout",
  1359. "importPath": "PyQt5.QtWidgets",
  1360. "description": "PyQt5.QtWidgets",
  1361. "isExtraImport": true,
  1362. "detail": "PyQt5.QtWidgets",
  1363. "documentation": {}
  1364. },
  1365. {
  1366. "label": "QLineEdit",
  1367. "importPath": "PyQt5.QtWidgets",
  1368. "description": "PyQt5.QtWidgets",
  1369. "isExtraImport": true,
  1370. "detail": "PyQt5.QtWidgets",
  1371. "documentation": {}
  1372. },
  1373. {
  1374. "label": "QMessageBox",
  1375. "importPath": "PyQt5.QtWidgets",
  1376. "description": "PyQt5.QtWidgets",
  1377. "isExtraImport": true,
  1378. "detail": "PyQt5.QtWidgets",
  1379. "documentation": {}
  1380. },
  1381. {
  1382. "label": "QApplication",
  1383. "importPath": "PyQt5.QtWidgets",
  1384. "description": "PyQt5.QtWidgets",
  1385. "isExtraImport": true,
  1386. "detail": "PyQt5.QtWidgets",
  1387. "documentation": {}
  1388. },
  1389. {
  1390. "label": "QComboBox",
  1391. "importPath": "PyQt5.QtWidgets",
  1392. "description": "PyQt5.QtWidgets",
  1393. "isExtraImport": true,
  1394. "detail": "PyQt5.QtWidgets",
  1395. "documentation": {}
  1396. },
  1397. {
  1398. "label": "QDataWidgetMapper",
  1399. "importPath": "PyQt5.QtWidgets",
  1400. "description": "PyQt5.QtWidgets",
  1401. "isExtraImport": true,
  1402. "detail": "PyQt5.QtWidgets",
  1403. "documentation": {}
  1404. },
  1405. {
  1406. "label": "QDoubleSpinBox",
  1407. "importPath": "PyQt5.QtWidgets",
  1408. "description": "PyQt5.QtWidgets",
  1409. "isExtraImport": true,
  1410. "detail": "PyQt5.QtWidgets",
  1411. "documentation": {}
  1412. },
  1413. {
  1414. "label": "QFormLayout",
  1415. "importPath": "PyQt5.QtWidgets",
  1416. "description": "PyQt5.QtWidgets",
  1417. "isExtraImport": true,
  1418. "detail": "PyQt5.QtWidgets",
  1419. "documentation": {}
  1420. },
  1421. {
  1422. "label": "QLabel",
  1423. "importPath": "PyQt5.QtWidgets",
  1424. "description": "PyQt5.QtWidgets",
  1425. "isExtraImport": true,
  1426. "detail": "PyQt5.QtWidgets",
  1427. "documentation": {}
  1428. },
  1429. {
  1430. "label": "QLineEdit",
  1431. "importPath": "PyQt5.QtWidgets",
  1432. "description": "PyQt5.QtWidgets",
  1433. "isExtraImport": true,
  1434. "detail": "PyQt5.QtWidgets",
  1435. "documentation": {}
  1436. },
  1437. {
  1438. "label": "QMainWindow",
  1439. "importPath": "PyQt5.QtWidgets",
  1440. "description": "PyQt5.QtWidgets",
  1441. "isExtraImport": true,
  1442. "detail": "PyQt5.QtWidgets",
  1443. "documentation": {}
  1444. },
  1445. {
  1446. "label": "QSpinBox",
  1447. "importPath": "PyQt5.QtWidgets",
  1448. "description": "PyQt5.QtWidgets",
  1449. "isExtraImport": true,
  1450. "detail": "PyQt5.QtWidgets",
  1451. "documentation": {}
  1452. },
  1453. {
  1454. "label": "QWidget",
  1455. "importPath": "PyQt5.QtWidgets",
  1456. "description": "PyQt5.QtWidgets",
  1457. "isExtraImport": true,
  1458. "detail": "PyQt5.QtWidgets",
  1459. "documentation": {}
  1460. },
  1461. {
  1462. "label": "QVBoxLayout",
  1463. "importPath": "PyQt5.QtWidgets",
  1464. "description": "PyQt5.QtWidgets",
  1465. "isExtraImport": true,
  1466. "detail": "PyQt5.QtWidgets",
  1467. "documentation": {}
  1468. },
  1469. {
  1470. "label": "QHBoxLayout",
  1471. "importPath": "PyQt5.QtWidgets",
  1472. "description": "PyQt5.QtWidgets",
  1473. "isExtraImport": true,
  1474. "detail": "PyQt5.QtWidgets",
  1475. "documentation": {}
  1476. },
  1477. {
  1478. "label": "QPushButton",
  1479. "importPath": "PyQt5.QtWidgets",
  1480. "description": "PyQt5.QtWidgets",
  1481. "isExtraImport": true,
  1482. "detail": "PyQt5.QtWidgets",
  1483. "documentation": {}
  1484. },
  1485. {
  1486. "label": "QMessageBox",
  1487. "importPath": "PyQt5.QtWidgets",
  1488. "description": "PyQt5.QtWidgets",
  1489. "isExtraImport": true,
  1490. "detail": "PyQt5.QtWidgets",
  1491. "documentation": {}
  1492. },
  1493. {
  1494. "label": "QStatusBar",
  1495. "importPath": "PyQt5.QtWidgets",
  1496. "description": "PyQt5.QtWidgets",
  1497. "isExtraImport": true,
  1498. "detail": "PyQt5.QtWidgets",
  1499. "documentation": {}
  1500. },
  1501. {
  1502. "label": "QApplication",
  1503. "importPath": "PyQt5.QtWidgets",
  1504. "description": "PyQt5.QtWidgets",
  1505. "isExtraImport": true,
  1506. "detail": "PyQt5.QtWidgets",
  1507. "documentation": {}
  1508. },
  1509. {
  1510. "label": "QMainWindow",
  1511. "importPath": "PyQt5.QtWidgets",
  1512. "description": "PyQt5.QtWidgets",
  1513. "isExtraImport": true,
  1514. "detail": "PyQt5.QtWidgets",
  1515. "documentation": {}
  1516. },
  1517. {
  1518. "label": "QApplication",
  1519. "importPath": "PyQt5.QtWidgets",
  1520. "description": "PyQt5.QtWidgets",
  1521. "isExtraImport": true,
  1522. "detail": "PyQt5.QtWidgets",
  1523. "documentation": {}
  1524. },
  1525. {
  1526. "label": "QMainWindow",
  1527. "importPath": "PyQt5.QtWidgets",
  1528. "description": "PyQt5.QtWidgets",
  1529. "isExtraImport": true,
  1530. "detail": "PyQt5.QtWidgets",
  1531. "documentation": {}
  1532. },
  1533. {
  1534. "label": "QApplication",
  1535. "importPath": "PyQt5.QtWidgets",
  1536. "description": "PyQt5.QtWidgets",
  1537. "isExtraImport": true,
  1538. "detail": "PyQt5.QtWidgets",
  1539. "documentation": {}
  1540. },
  1541. {
  1542. "label": "QMainWindow",
  1543. "importPath": "PyQt5.QtWidgets",
  1544. "description": "PyQt5.QtWidgets",
  1545. "isExtraImport": true,
  1546. "detail": "PyQt5.QtWidgets",
  1547. "documentation": {}
  1548. },
  1549. {
  1550. "label": "QMainWindow",
  1551. "importPath": "PyQt5.QtWidgets",
  1552. "description": "PyQt5.QtWidgets",
  1553. "isExtraImport": true,
  1554. "detail": "PyQt5.QtWidgets",
  1555. "documentation": {}
  1556. },
  1557. {
  1558. "label": "QFormLayout",
  1559. "importPath": "PyQt5.QtWidgets",
  1560. "description": "PyQt5.QtWidgets",
  1561. "isExtraImport": true,
  1562. "detail": "PyQt5.QtWidgets",
  1563. "documentation": {}
  1564. },
  1565. {
  1566. "label": "QLineEdit",
  1567. "importPath": "PyQt5.QtWidgets",
  1568. "description": "PyQt5.QtWidgets",
  1569. "isExtraImport": true,
  1570. "detail": "PyQt5.QtWidgets",
  1571. "documentation": {}
  1572. },
  1573. {
  1574. "label": "QSpinBox",
  1575. "importPath": "PyQt5.QtWidgets",
  1576. "description": "PyQt5.QtWidgets",
  1577. "isExtraImport": true,
  1578. "detail": "PyQt5.QtWidgets",
  1579. "documentation": {}
  1580. },
  1581. {
  1582. "label": "QComboBox",
  1583. "importPath": "PyQt5.QtWidgets",
  1584. "description": "PyQt5.QtWidgets",
  1585. "isExtraImport": true,
  1586. "detail": "PyQt5.QtWidgets",
  1587. "documentation": {}
  1588. },
  1589. {
  1590. "label": "QPushButton",
  1591. "importPath": "PyQt5.QtWidgets",
  1592. "description": "PyQt5.QtWidgets",
  1593. "isExtraImport": true,
  1594. "detail": "PyQt5.QtWidgets",
  1595. "documentation": {}
  1596. },
  1597. {
  1598. "label": "QApplication",
  1599. "importPath": "PyQt5.QtWidgets",
  1600. "description": "PyQt5.QtWidgets",
  1601. "isExtraImport": true,
  1602. "detail": "PyQt5.QtWidgets",
  1603. "documentation": {}
  1604. },
  1605. {
  1606. "label": "QWidget",
  1607. "importPath": "PyQt5.QtWidgets",
  1608. "description": "PyQt5.QtWidgets",
  1609. "isExtraImport": true,
  1610. "detail": "PyQt5.QtWidgets",
  1611. "documentation": {}
  1612. },
  1613. {
  1614. "label": "QMainWindow",
  1615. "importPath": "PyQt5.QtWidgets",
  1616. "description": "PyQt5.QtWidgets",
  1617. "isExtraImport": true,
  1618. "detail": "PyQt5.QtWidgets",
  1619. "documentation": {}
  1620. },
  1621. {
  1622. "label": "QFormLayout",
  1623. "importPath": "PyQt5.QtWidgets",
  1624. "description": "PyQt5.QtWidgets",
  1625. "isExtraImport": true,
  1626. "detail": "PyQt5.QtWidgets",
  1627. "documentation": {}
  1628. },
  1629. {
  1630. "label": "QLineEdit",
  1631. "importPath": "PyQt5.QtWidgets",
  1632. "description": "PyQt5.QtWidgets",
  1633. "isExtraImport": true,
  1634. "detail": "PyQt5.QtWidgets",
  1635. "documentation": {}
  1636. },
  1637. {
  1638. "label": "QSpinBox",
  1639. "importPath": "PyQt5.QtWidgets",
  1640. "description": "PyQt5.QtWidgets",
  1641. "isExtraImport": true,
  1642. "detail": "PyQt5.QtWidgets",
  1643. "documentation": {}
  1644. },
  1645. {
  1646. "label": "QComboBox",
  1647. "importPath": "PyQt5.QtWidgets",
  1648. "description": "PyQt5.QtWidgets",
  1649. "isExtraImport": true,
  1650. "detail": "PyQt5.QtWidgets",
  1651. "documentation": {}
  1652. },
  1653. {
  1654. "label": "QPushButton",
  1655. "importPath": "PyQt5.QtWidgets",
  1656. "description": "PyQt5.QtWidgets",
  1657. "isExtraImport": true,
  1658. "detail": "PyQt5.QtWidgets",
  1659. "documentation": {}
  1660. },
  1661. {
  1662. "label": "QApplication",
  1663. "importPath": "PyQt5.QtWidgets",
  1664. "description": "PyQt5.QtWidgets",
  1665. "isExtraImport": true,
  1666. "detail": "PyQt5.QtWidgets",
  1667. "documentation": {}
  1668. },
  1669. {
  1670. "label": "\\",
  1671. "importPath": "PyQt5.QtWidgets",
  1672. "description": "PyQt5.QtWidgets",
  1673. "isExtraImport": true,
  1674. "detail": "PyQt5.QtWidgets",
  1675. "documentation": {}
  1676. },
  1677. {
  1678. "label": "QMainWindow",
  1679. "importPath": "PyQt5.QtWidgets",
  1680. "description": "PyQt5.QtWidgets",
  1681. "isExtraImport": true,
  1682. "detail": "PyQt5.QtWidgets",
  1683. "documentation": {}
  1684. },
  1685. {
  1686. "label": "QApplication",
  1687. "importPath": "PyQt5.QtWidgets",
  1688. "description": "PyQt5.QtWidgets",
  1689. "isExtraImport": true,
  1690. "detail": "PyQt5.QtWidgets",
  1691. "documentation": {}
  1692. },
  1693. {
  1694. "label": "QFormLayout",
  1695. "importPath": "PyQt5.QtWidgets",
  1696. "description": "PyQt5.QtWidgets",
  1697. "isExtraImport": true,
  1698. "detail": "PyQt5.QtWidgets",
  1699. "documentation": {}
  1700. },
  1701. {
  1702. "label": "QLineEdit",
  1703. "importPath": "PyQt5.QtWidgets",
  1704. "description": "PyQt5.QtWidgets",
  1705. "isExtraImport": true,
  1706. "detail": "PyQt5.QtWidgets",
  1707. "documentation": {}
  1708. },
  1709. {
  1710. "label": "QSpinBox",
  1711. "importPath": "PyQt5.QtWidgets",
  1712. "description": "PyQt5.QtWidgets",
  1713. "isExtraImport": true,
  1714. "detail": "PyQt5.QtWidgets",
  1715. "documentation": {}
  1716. },
  1717. {
  1718. "label": "QComboBox",
  1719. "importPath": "PyQt5.QtWidgets",
  1720. "description": "PyQt5.QtWidgets",
  1721. "isExtraImport": true,
  1722. "detail": "PyQt5.QtWidgets",
  1723. "documentation": {}
  1724. },
  1725. {
  1726. "label": "QPushButton",
  1727. "importPath": "PyQt5.QtWidgets",
  1728. "description": "PyQt5.QtWidgets",
  1729. "isExtraImport": true,
  1730. "detail": "PyQt5.QtWidgets",
  1731. "documentation": {}
  1732. },
  1733. {
  1734. "label": "\\",
  1735. "importPath": "PyQt5.QtWidgets",
  1736. "description": "PyQt5.QtWidgets",
  1737. "isExtraImport": true,
  1738. "detail": "PyQt5.QtWidgets",
  1739. "documentation": {}
  1740. },
  1741. {
  1742. "label": "QTableView",
  1743. "importPath": "PyQt5.QtWidgets",
  1744. "description": "PyQt5.QtWidgets",
  1745. "isExtraImport": true,
  1746. "detail": "PyQt5.QtWidgets",
  1747. "documentation": {}
  1748. },
  1749. {
  1750. "label": "QMainWindow",
  1751. "importPath": "PyQt5.QtWidgets",
  1752. "description": "PyQt5.QtWidgets",
  1753. "isExtraImport": true,
  1754. "detail": "PyQt5.QtWidgets",
  1755. "documentation": {}
  1756. },
  1757. {
  1758. "label": "QApplication",
  1759. "importPath": "PyQt5.QtWidgets",
  1760. "description": "PyQt5.QtWidgets",
  1761. "isExtraImport": true,
  1762. "detail": "PyQt5.QtWidgets",
  1763. "documentation": {}
  1764. },
  1765. {
  1766. "label": "QMainWindow",
  1767. "importPath": "PyQt5.QtWidgets",
  1768. "description": "PyQt5.QtWidgets",
  1769. "isExtraImport": true,
  1770. "detail": "PyQt5.QtWidgets",
  1771. "documentation": {}
  1772. },
  1773. {
  1774. "label": "QTableView",
  1775. "importPath": "PyQt5.QtWidgets",
  1776. "description": "PyQt5.QtWidgets",
  1777. "isExtraImport": true,
  1778. "detail": "PyQt5.QtWidgets",
  1779. "documentation": {}
  1780. },
  1781. {
  1782. "label": "QApplication",
  1783. "importPath": "PyQt5.QtWidgets",
  1784. "description": "PyQt5.QtWidgets",
  1785. "isExtraImport": true,
  1786. "detail": "PyQt5.QtWidgets",
  1787. "documentation": {}
  1788. },
  1789. {
  1790. "label": "QMainWindow",
  1791. "importPath": "PyQt5.QtWidgets",
  1792. "description": "PyQt5.QtWidgets",
  1793. "isExtraImport": true,
  1794. "detail": "PyQt5.QtWidgets",
  1795. "documentation": {}
  1796. },
  1797. {
  1798. "label": "QTableView",
  1799. "importPath": "PyQt5.QtWidgets",
  1800. "description": "PyQt5.QtWidgets",
  1801. "isExtraImport": true,
  1802. "detail": "PyQt5.QtWidgets",
  1803. "documentation": {}
  1804. },
  1805. {
  1806. "label": "QApplication",
  1807. "importPath": "PyQt5.QtWidgets",
  1808. "description": "PyQt5.QtWidgets",
  1809. "isExtraImport": true,
  1810. "detail": "PyQt5.QtWidgets",
  1811. "documentation": {}
  1812. },
  1813. {
  1814. "label": "QApplication",
  1815. "importPath": "PyQt5.QtWidgets",
  1816. "description": "PyQt5.QtWidgets",
  1817. "isExtraImport": true,
  1818. "detail": "PyQt5.QtWidgets",
  1819. "documentation": {}
  1820. },
  1821. {
  1822. "label": "QMainWindow",
  1823. "importPath": "PyQt5.QtWidgets",
  1824. "description": "PyQt5.QtWidgets",
  1825. "isExtraImport": true,
  1826. "detail": "PyQt5.QtWidgets",
  1827. "documentation": {}
  1828. },
  1829. {
  1830. "label": "QApplication",
  1831. "importPath": "PyQt5.QtWidgets",
  1832. "description": "PyQt5.QtWidgets",
  1833. "isExtraImport": true,
  1834. "detail": "PyQt5.QtWidgets",
  1835. "documentation": {}
  1836. },
  1837. {
  1838. "label": "QMainWindow",
  1839. "importPath": "PyQt5.QtWidgets",
  1840. "description": "PyQt5.QtWidgets",
  1841. "isExtraImport": true,
  1842. "detail": "PyQt5.QtWidgets",
  1843. "documentation": {}
  1844. },
  1845. {
  1846. "label": "QApplication",
  1847. "importPath": "PyQt5.QtWidgets",
  1848. "description": "PyQt5.QtWidgets",
  1849. "isExtraImport": true,
  1850. "detail": "PyQt5.QtWidgets",
  1851. "documentation": {}
  1852. },
  1853. {
  1854. "label": "QMainWindow",
  1855. "importPath": "PyQt5.QtWidgets",
  1856. "description": "PyQt5.QtWidgets",
  1857. "isExtraImport": true,
  1858. "detail": "PyQt5.QtWidgets",
  1859. "documentation": {}
  1860. },
  1861. {
  1862. "label": "QLabel",
  1863. "importPath": "PyQt5.QtWidgets",
  1864. "description": "PyQt5.QtWidgets",
  1865. "isExtraImport": true,
  1866. "detail": "PyQt5.QtWidgets",
  1867. "documentation": {}
  1868. },
  1869. {
  1870. "label": "*",
  1871. "importPath": "PyQt5.QtWidgets",
  1872. "description": "PyQt5.QtWidgets",
  1873. "isExtraImport": true,
  1874. "detail": "PyQt5.QtWidgets",
  1875. "documentation": {}
  1876. },
  1877. {
  1878. "label": "QMainWindow",
  1879. "importPath": "PyQt5.QtWidgets",
  1880. "description": "PyQt5.QtWidgets",
  1881. "isExtraImport": true,
  1882. "detail": "PyQt5.QtWidgets",
  1883. "documentation": {}
  1884. },
  1885. {
  1886. "label": "QApplication",
  1887. "importPath": "PyQt5.QtWidgets",
  1888. "description": "PyQt5.QtWidgets",
  1889. "isExtraImport": true,
  1890. "detail": "PyQt5.QtWidgets",
  1891. "documentation": {}
  1892. },
  1893. {
  1894. "label": "QMainWindow",
  1895. "importPath": "PyQt5.QtWidgets",
  1896. "description": "PyQt5.QtWidgets",
  1897. "isExtraImport": true,
  1898. "detail": "PyQt5.QtWidgets",
  1899. "documentation": {}
  1900. },
  1901. {
  1902. "label": "QVBoxLayout",
  1903. "importPath": "PyQt5.QtWidgets",
  1904. "description": "PyQt5.QtWidgets",
  1905. "isExtraImport": true,
  1906. "detail": "PyQt5.QtWidgets",
  1907. "documentation": {}
  1908. },
  1909. {
  1910. "label": "QPushButton",
  1911. "importPath": "PyQt5.QtWidgets",
  1912. "description": "PyQt5.QtWidgets",
  1913. "isExtraImport": true,
  1914. "detail": "PyQt5.QtWidgets",
  1915. "documentation": {}
  1916. },
  1917. {
  1918. "label": "QWidget",
  1919. "importPath": "PyQt5.QtWidgets",
  1920. "description": "PyQt5.QtWidgets",
  1921. "isExtraImport": true,
  1922. "detail": "PyQt5.QtWidgets",
  1923. "documentation": {}
  1924. },
  1925. {
  1926. "label": "*",
  1927. "importPath": "PyQt5.QtWidgets",
  1928. "description": "PyQt5.QtWidgets",
  1929. "isExtraImport": true,
  1930. "detail": "PyQt5.QtWidgets",
  1931. "documentation": {}
  1932. },
  1933. {
  1934. "label": "*",
  1935. "importPath": "PyQt5.QtWidgets",
  1936. "description": "PyQt5.QtWidgets",
  1937. "isExtraImport": true,
  1938. "detail": "PyQt5.QtWidgets",
  1939. "documentation": {}
  1940. },
  1941. {
  1942. "label": "QMainWindow",
  1943. "importPath": "PyQt5.QtWidgets",
  1944. "description": "PyQt5.QtWidgets",
  1945. "isExtraImport": true,
  1946. "detail": "PyQt5.QtWidgets",
  1947. "documentation": {}
  1948. },
  1949. {
  1950. "label": "QGridLayout",
  1951. "importPath": "PyQt5.QtWidgets",
  1952. "description": "PyQt5.QtWidgets",
  1953. "isExtraImport": true,
  1954. "detail": "PyQt5.QtWidgets",
  1955. "documentation": {}
  1956. },
  1957. {
  1958. "label": "QWidget",
  1959. "importPath": "PyQt5.QtWidgets",
  1960. "description": "PyQt5.QtWidgets",
  1961. "isExtraImport": true,
  1962. "detail": "PyQt5.QtWidgets",
  1963. "documentation": {}
  1964. },
  1965. {
  1966. "label": "QApplication",
  1967. "importPath": "PyQt5.QtWidgets",
  1968. "description": "PyQt5.QtWidgets",
  1969. "isExtraImport": true,
  1970. "detail": "PyQt5.QtWidgets",
  1971. "documentation": {}
  1972. },
  1973. {
  1974. "label": "*",
  1975. "importPath": "PyQt5.QtWidgets",
  1976. "description": "PyQt5.QtWidgets",
  1977. "isExtraImport": true,
  1978. "detail": "PyQt5.QtWidgets",
  1979. "documentation": {}
  1980. },
  1981. {
  1982. "label": "QSize",
  1983. "importPath": "PyQt5.QtCore",
  1984. "description": "PyQt5.QtCore",
  1985. "isExtraImport": true,
  1986. "detail": "PyQt5.QtCore",
  1987. "documentation": {}
  1988. },
  1989. {
  1990. "label": "Qt",
  1991. "importPath": "PyQt5.QtCore",
  1992. "description": "PyQt5.QtCore",
  1993. "isExtraImport": true,
  1994. "detail": "PyQt5.QtCore",
  1995. "documentation": {}
  1996. },
  1997. {
  1998. "label": "pyqtSlot",
  1999. "importPath": "PyQt5.QtCore",
  2000. "description": "PyQt5.QtCore",
  2001. "isExtraImport": true,
  2002. "detail": "PyQt5.QtCore",
  2003. "documentation": {}
  2004. },
  2005. {
  2006. "label": "Qt",
  2007. "importPath": "PyQt5.QtCore",
  2008. "description": "PyQt5.QtCore",
  2009. "isExtraImport": true,
  2010. "detail": "PyQt5.QtCore",
  2011. "documentation": {}
  2012. },
  2013. {
  2014. "label": "Qt",
  2015. "importPath": "PyQt5.QtCore",
  2016. "description": "PyQt5.QtCore",
  2017. "isExtraImport": true,
  2018. "detail": "PyQt5.QtCore",
  2019. "documentation": {}
  2020. },
  2021. {
  2022. "label": "Qt",
  2023. "importPath": "PyQt5.QtCore",
  2024. "description": "PyQt5.QtCore",
  2025. "isExtraImport": true,
  2026. "detail": "PyQt5.QtCore",
  2027. "documentation": {}
  2028. },
  2029. {
  2030. "label": "QRunnable",
  2031. "importPath": "PyQt5.QtCore",
  2032. "description": "PyQt5.QtCore",
  2033. "isExtraImport": true,
  2034. "detail": "PyQt5.QtCore",
  2035. "documentation": {}
  2036. },
  2037. {
  2038. "label": "pyqtSlot",
  2039. "importPath": "PyQt5.QtCore",
  2040. "description": "PyQt5.QtCore",
  2041. "isExtraImport": true,
  2042. "detail": "PyQt5.QtCore",
  2043. "documentation": {}
  2044. },
  2045. {
  2046. "label": "QThreadPool",
  2047. "importPath": "PyQt5.QtCore",
  2048. "description": "PyQt5.QtCore",
  2049. "isExtraImport": true,
  2050. "detail": "PyQt5.QtCore",
  2051. "documentation": {}
  2052. },
  2053. {
  2054. "label": "QTimer",
  2055. "importPath": "PyQt5.QtCore",
  2056. "description": "PyQt5.QtCore",
  2057. "isExtraImport": true,
  2058. "detail": "PyQt5.QtCore",
  2059. "documentation": {}
  2060. },
  2061. {
  2062. "label": "QRunnable",
  2063. "importPath": "PyQt5.QtCore",
  2064. "description": "PyQt5.QtCore",
  2065. "isExtraImport": true,
  2066. "detail": "PyQt5.QtCore",
  2067. "documentation": {}
  2068. },
  2069. {
  2070. "label": "pyqtSlot",
  2071. "importPath": "PyQt5.QtCore",
  2072. "description": "PyQt5.QtCore",
  2073. "isExtraImport": true,
  2074. "detail": "PyQt5.QtCore",
  2075. "documentation": {}
  2076. },
  2077. {
  2078. "label": "QThreadPool",
  2079. "importPath": "PyQt5.QtCore",
  2080. "description": "PyQt5.QtCore",
  2081. "isExtraImport": true,
  2082. "detail": "PyQt5.QtCore",
  2083. "documentation": {}
  2084. },
  2085. {
  2086. "label": "QTimer",
  2087. "importPath": "PyQt5.QtCore",
  2088. "description": "PyQt5.QtCore",
  2089. "isExtraImport": true,
  2090. "detail": "PyQt5.QtCore",
  2091. "documentation": {}
  2092. },
  2093. {
  2094. "label": "QSize",
  2095. "importPath": "PyQt5.QtCore",
  2096. "description": "PyQt5.QtCore",
  2097. "isExtraImport": true,
  2098. "detail": "PyQt5.QtCore",
  2099. "documentation": {}
  2100. },
  2101. {
  2102. "label": "QSize",
  2103. "importPath": "PyQt5.QtCore",
  2104. "description": "PyQt5.QtCore",
  2105. "isExtraImport": true,
  2106. "detail": "PyQt5.QtCore",
  2107. "documentation": {}
  2108. },
  2109. {
  2110. "label": "QSize",
  2111. "importPath": "PyQt5.QtCore",
  2112. "description": "PyQt5.QtCore",
  2113. "isExtraImport": true,
  2114. "detail": "PyQt5.QtCore",
  2115. "documentation": {}
  2116. },
  2117. {
  2118. "label": "Qt",
  2119. "importPath": "PyQt5.QtCore",
  2120. "description": "PyQt5.QtCore",
  2121. "isExtraImport": true,
  2122. "detail": "PyQt5.QtCore",
  2123. "documentation": {}
  2124. },
  2125. {
  2126. "label": "QSize",
  2127. "importPath": "PyQt5.QtCore",
  2128. "description": "PyQt5.QtCore",
  2129. "isExtraImport": true,
  2130. "detail": "PyQt5.QtCore",
  2131. "documentation": {}
  2132. },
  2133. {
  2134. "label": "QSize",
  2135. "importPath": "PyQt5.QtCore",
  2136. "description": "PyQt5.QtCore",
  2137. "isExtraImport": true,
  2138. "detail": "PyQt5.QtCore",
  2139. "documentation": {}
  2140. },
  2141. {
  2142. "label": "Qt",
  2143. "importPath": "PyQt5.QtCore",
  2144. "description": "PyQt5.QtCore",
  2145. "isExtraImport": true,
  2146. "detail": "PyQt5.QtCore",
  2147. "documentation": {}
  2148. },
  2149. {
  2150. "label": "Qt",
  2151. "importPath": "PyQt5.QtCore",
  2152. "description": "PyQt5.QtCore",
  2153. "isExtraImport": true,
  2154. "detail": "PyQt5.QtCore",
  2155. "documentation": {}
  2156. },
  2157. {
  2158. "label": "Qt",
  2159. "importPath": "PyQt5.QtCore",
  2160. "description": "PyQt5.QtCore",
  2161. "isExtraImport": true,
  2162. "detail": "PyQt5.QtCore",
  2163. "documentation": {}
  2164. },
  2165. {
  2166. "label": "Qt",
  2167. "importPath": "PyQt5.QtCore",
  2168. "description": "PyQt5.QtCore",
  2169. "isExtraImport": true,
  2170. "detail": "PyQt5.QtCore",
  2171. "documentation": {}
  2172. },
  2173. {
  2174. "label": "QObject",
  2175. "importPath": "PyQt5.QtCore",
  2176. "description": "PyQt5.QtCore",
  2177. "isExtraImport": true,
  2178. "detail": "PyQt5.QtCore",
  2179. "documentation": {}
  2180. },
  2181. {
  2182. "label": "pyqtSignal",
  2183. "importPath": "PyQt5.QtCore",
  2184. "description": "PyQt5.QtCore",
  2185. "isExtraImport": true,
  2186. "detail": "PyQt5.QtCore",
  2187. "documentation": {}
  2188. },
  2189. {
  2190. "label": "Qt",
  2191. "importPath": "PyQt5.QtCore",
  2192. "description": "PyQt5.QtCore",
  2193. "isExtraImport": true,
  2194. "detail": "PyQt5.QtCore",
  2195. "documentation": {}
  2196. },
  2197. {
  2198. "label": "QAbstractTableModel",
  2199. "importPath": "PyQt5.QtCore",
  2200. "description": "PyQt5.QtCore",
  2201. "isExtraImport": true,
  2202. "detail": "PyQt5.QtCore",
  2203. "documentation": {}
  2204. },
  2205. {
  2206. "label": "Qt",
  2207. "importPath": "PyQt5.QtCore",
  2208. "description": "PyQt5.QtCore",
  2209. "isExtraImport": true,
  2210. "detail": "PyQt5.QtCore",
  2211. "documentation": {}
  2212. },
  2213. {
  2214. "label": "QAbstractTableModel",
  2215. "importPath": "PyQt5.QtCore",
  2216. "description": "PyQt5.QtCore",
  2217. "isExtraImport": true,
  2218. "detail": "PyQt5.QtCore",
  2219. "documentation": {}
  2220. },
  2221. {
  2222. "label": "Qt",
  2223. "importPath": "PyQt5.QtCore",
  2224. "description": "PyQt5.QtCore",
  2225. "isExtraImport": true,
  2226. "detail": "PyQt5.QtCore",
  2227. "documentation": {}
  2228. },
  2229. {
  2230. "label": "QAbstractTableModel",
  2231. "importPath": "PyQt5.QtCore",
  2232. "description": "PyQt5.QtCore",
  2233. "isExtraImport": true,
  2234. "detail": "PyQt5.QtCore",
  2235. "documentation": {}
  2236. },
  2237. {
  2238. "label": "Qt",
  2239. "importPath": "PyQt5.QtCore",
  2240. "description": "PyQt5.QtCore",
  2241. "isExtraImport": true,
  2242. "detail": "PyQt5.QtCore",
  2243. "documentation": {}
  2244. },
  2245. {
  2246. "label": "QAbstractListModel",
  2247. "importPath": "PyQt5.QtCore",
  2248. "description": "PyQt5.QtCore",
  2249. "isExtraImport": true,
  2250. "detail": "PyQt5.QtCore",
  2251. "documentation": {}
  2252. },
  2253. {
  2254. "label": "Qt",
  2255. "importPath": "PyQt5.QtCore",
  2256. "description": "PyQt5.QtCore",
  2257. "isExtraImport": true,
  2258. "detail": "PyQt5.QtCore",
  2259. "documentation": {}
  2260. },
  2261. {
  2262. "label": "Qt",
  2263. "importPath": "PyQt5.QtCore",
  2264. "description": "PyQt5.QtCore",
  2265. "isExtraImport": true,
  2266. "detail": "PyQt5.QtCore",
  2267. "documentation": {}
  2268. },
  2269. {
  2270. "label": "*",
  2271. "importPath": "PyQt5.QtCore",
  2272. "description": "PyQt5.QtCore",
  2273. "isExtraImport": true,
  2274. "detail": "PyQt5.QtCore",
  2275. "documentation": {}
  2276. },
  2277. {
  2278. "label": "Qt",
  2279. "importPath": "PyQt5.QtCore",
  2280. "description": "PyQt5.QtCore",
  2281. "isExtraImport": true,
  2282. "detail": "PyQt5.QtCore",
  2283. "documentation": {}
  2284. },
  2285. {
  2286. "label": "Qt",
  2287. "importPath": "PyQt5.QtCore",
  2288. "description": "PyQt5.QtCore",
  2289. "isExtraImport": true,
  2290. "detail": "PyQt5.QtCore",
  2291. "documentation": {}
  2292. },
  2293. {
  2294. "label": "*",
  2295. "importPath": "PyQt5.QtCore",
  2296. "description": "PyQt5.QtCore",
  2297. "isExtraImport": true,
  2298. "detail": "PyQt5.QtCore",
  2299. "documentation": {}
  2300. },
  2301. {
  2302. "label": "*",
  2303. "importPath": "PyQt5.QtCore",
  2304. "description": "PyQt5.QtCore",
  2305. "isExtraImport": true,
  2306. "detail": "PyQt5.QtCore",
  2307. "documentation": {}
  2308. },
  2309. {
  2310. "label": "CustomDialog",
  2311. "importPath": "dialogs_2a",
  2312. "description": "dialogs_2a",
  2313. "isExtraImport": true,
  2314. "detail": "dialogs_2a",
  2315. "documentation": {}
  2316. },
  2317. {
  2318. "label": "Color",
  2319. "importPath": "layout_colorwidget",
  2320. "description": "layout_colorwidget",
  2321. "isExtraImport": true,
  2322. "detail": "layout_colorwidget",
  2323. "documentation": {}
  2324. },
  2325. {
  2326. "label": "Color",
  2327. "importPath": "layout_colorwidget",
  2328. "description": "layout_colorwidget",
  2329. "isExtraImport": true,
  2330. "detail": "layout_colorwidget",
  2331. "documentation": {}
  2332. },
  2333. {
  2334. "label": "Color",
  2335. "importPath": "layout_colorwidget",
  2336. "description": "layout_colorwidget",
  2337. "isExtraImport": true,
  2338. "detail": "layout_colorwidget",
  2339. "documentation": {}
  2340. },
  2341. {
  2342. "label": "Color",
  2343. "importPath": "layout_colorwidget",
  2344. "description": "layout_colorwidget",
  2345. "isExtraImport": true,
  2346. "detail": "layout_colorwidget",
  2347. "documentation": {}
  2348. },
  2349. {
  2350. "label": "Color",
  2351. "importPath": "layout_colorwidget",
  2352. "description": "layout_colorwidget",
  2353. "isExtraImport": true,
  2354. "detail": "layout_colorwidget",
  2355. "documentation": {}
  2356. },
  2357. {
  2358. "label": "Color",
  2359. "importPath": "layout_colorwidget",
  2360. "description": "layout_colorwidget",
  2361. "isExtraImport": true,
  2362. "detail": "layout_colorwidget",
  2363. "documentation": {}
  2364. },
  2365. {
  2366. "label": "QPalette",
  2367. "importPath": "PyQt5.QtGui",
  2368. "description": "PyQt5.QtGui",
  2369. "isExtraImport": true,
  2370. "detail": "PyQt5.QtGui",
  2371. "documentation": {}
  2372. },
  2373. {
  2374. "label": "QColor",
  2375. "importPath": "PyQt5.QtGui",
  2376. "description": "PyQt5.QtGui",
  2377. "isExtraImport": true,
  2378. "detail": "PyQt5.QtGui",
  2379. "documentation": {}
  2380. },
  2381. {
  2382. "label": "QPixmap",
  2383. "importPath": "PyQt5.QtGui",
  2384. "description": "PyQt5.QtGui",
  2385. "isExtraImport": true,
  2386. "detail": "PyQt5.QtGui",
  2387. "documentation": {}
  2388. },
  2389. {
  2390. "label": "QPainter",
  2391. "importPath": "PyQt5.QtGui",
  2392. "description": "PyQt5.QtGui",
  2393. "isExtraImport": true,
  2394. "detail": "PyQt5.QtGui",
  2395. "documentation": {}
  2396. },
  2397. {
  2398. "label": "QPainter",
  2399. "importPath": "PyQt5.QtGui",
  2400. "description": "PyQt5.QtGui",
  2401. "isExtraImport": true,
  2402. "detail": "PyQt5.QtGui",
  2403. "documentation": {}
  2404. },
  2405. {
  2406. "label": "QPixmap",
  2407. "importPath": "PyQt5.QtGui",
  2408. "description": "PyQt5.QtGui",
  2409. "isExtraImport": true,
  2410. "detail": "PyQt5.QtGui",
  2411. "documentation": {}
  2412. },
  2413. {
  2414. "label": "QPixmap",
  2415. "importPath": "PyQt5.QtGui",
  2416. "description": "PyQt5.QtGui",
  2417. "isExtraImport": true,
  2418. "detail": "PyQt5.QtGui",
  2419. "documentation": {}
  2420. },
  2421. {
  2422. "label": "QPainter",
  2423. "importPath": "PyQt5.QtGui",
  2424. "description": "PyQt5.QtGui",
  2425. "isExtraImport": true,
  2426. "detail": "PyQt5.QtGui",
  2427. "documentation": {}
  2428. },
  2429. {
  2430. "label": "QColor",
  2431. "importPath": "PyQt5.QtGui",
  2432. "description": "PyQt5.QtGui",
  2433. "isExtraImport": true,
  2434. "detail": "PyQt5.QtGui",
  2435. "documentation": {}
  2436. },
  2437. {
  2438. "label": "QPen",
  2439. "importPath": "PyQt5.QtGui",
  2440. "description": "PyQt5.QtGui",
  2441. "isExtraImport": true,
  2442. "detail": "PyQt5.QtGui",
  2443. "documentation": {}
  2444. },
  2445. {
  2446. "label": "QColor",
  2447. "importPath": "PyQt5.QtGui",
  2448. "description": "PyQt5.QtGui",
  2449. "isExtraImport": true,
  2450. "detail": "PyQt5.QtGui",
  2451. "documentation": {}
  2452. },
  2453. {
  2454. "label": "QImage",
  2455. "importPath": "PyQt5.QtGui",
  2456. "description": "PyQt5.QtGui",
  2457. "isExtraImport": true,
  2458. "detail": "PyQt5.QtGui",
  2459. "documentation": {}
  2460. },
  2461. {
  2462. "label": "*",
  2463. "importPath": "PyQt5.QtGui",
  2464. "description": "PyQt5.QtGui",
  2465. "isExtraImport": true,
  2466. "detail": "PyQt5.QtGui",
  2467. "documentation": {}
  2468. },
  2469. {
  2470. "label": "QPixmap",
  2471. "importPath": "PyQt5.QtGui",
  2472. "description": "PyQt5.QtGui",
  2473. "isExtraImport": true,
  2474. "detail": "PyQt5.QtGui",
  2475. "documentation": {}
  2476. },
  2477. {
  2478. "label": "QPalette",
  2479. "importPath": "PyQt5.QtGui",
  2480. "description": "PyQt5.QtGui",
  2481. "isExtraImport": true,
  2482. "detail": "PyQt5.QtGui",
  2483. "documentation": {}
  2484. },
  2485. {
  2486. "label": "QColor",
  2487. "importPath": "PyQt5.QtGui",
  2488. "description": "PyQt5.QtGui",
  2489. "isExtraImport": true,
  2490. "detail": "PyQt5.QtGui",
  2491. "documentation": {}
  2492. },
  2493. {
  2494. "label": "QPalette",
  2495. "importPath": "PyQt5.QtGui",
  2496. "description": "PyQt5.QtGui",
  2497. "isExtraImport": true,
  2498. "detail": "PyQt5.QtGui",
  2499. "documentation": {}
  2500. },
  2501. {
  2502. "label": "QColor",
  2503. "importPath": "PyQt5.QtGui",
  2504. "description": "PyQt5.QtGui",
  2505. "isExtraImport": true,
  2506. "detail": "PyQt5.QtGui",
  2507. "documentation": {}
  2508. },
  2509. {
  2510. "label": "QPalette",
  2511. "importPath": "PyQt5.QtGui",
  2512. "description": "PyQt5.QtGui",
  2513. "isExtraImport": true,
  2514. "detail": "PyQt5.QtGui",
  2515. "documentation": {}
  2516. },
  2517. {
  2518. "label": "QColor",
  2519. "importPath": "PyQt5.QtGui",
  2520. "description": "PyQt5.QtGui",
  2521. "isExtraImport": true,
  2522. "detail": "PyQt5.QtGui",
  2523. "documentation": {}
  2524. },
  2525. {
  2526. "label": "random",
  2527. "kind": 6,
  2528. "isExtraImport": true,
  2529. "importPath": "random",
  2530. "description": "random",
  2531. "detail": "random",
  2532. "documentation": {}
  2533. },
  2534. {
  2535. "label": "choice",
  2536. "importPath": "random",
  2537. "description": "random",
  2538. "isExtraImport": true,
  2539. "detail": "random",
  2540. "documentation": {}
  2541. },
  2542. {
  2543. "label": "randint",
  2544. "importPath": "random",
  2545. "description": "random",
  2546. "isExtraImport": true,
  2547. "detail": "random",
  2548. "documentation": {}
  2549. },
  2550. {
  2551. "label": "randint",
  2552. "importPath": "random",
  2553. "description": "random",
  2554. "isExtraImport": true,
  2555. "detail": "random",
  2556. "documentation": {}
  2557. },
  2558. {
  2559. "label": "randint",
  2560. "importPath": "random",
  2561. "description": "random",
  2562. "isExtraImport": true,
  2563. "detail": "random",
  2564. "documentation": {}
  2565. },
  2566. {
  2567. "label": "randint",
  2568. "importPath": "random",
  2569. "description": "random",
  2570. "isExtraImport": true,
  2571. "detail": "random",
  2572. "documentation": {}
  2573. },
  2574. {
  2575. "label": "choice",
  2576. "importPath": "random",
  2577. "description": "random",
  2578. "isExtraImport": true,
  2579. "detail": "random",
  2580. "documentation": {}
  2581. },
  2582. {
  2583. "label": "time",
  2584. "kind": 6,
  2585. "isExtraImport": true,
  2586. "importPath": "time",
  2587. "description": "time",
  2588. "detail": "time",
  2589. "documentation": {}
  2590. },
  2591. {
  2592. "label": "QSqlDatabase",
  2593. "importPath": "PyQt5.QtSql",
  2594. "description": "PyQt5.QtSql",
  2595. "isExtraImport": true,
  2596. "detail": "PyQt5.QtSql",
  2597. "documentation": {}
  2598. },
  2599. {
  2600. "label": "QSqlQueryModel",
  2601. "importPath": "PyQt5.QtSql",
  2602. "description": "PyQt5.QtSql",
  2603. "isExtraImport": true,
  2604. "detail": "PyQt5.QtSql",
  2605. "documentation": {}
  2606. },
  2607. {
  2608. "label": "QSqlQuery",
  2609. "importPath": "PyQt5.QtSql",
  2610. "description": "PyQt5.QtSql",
  2611. "isExtraImport": true,
  2612. "detail": "PyQt5.QtSql",
  2613. "documentation": {}
  2614. },
  2615. {
  2616. "label": "QSqlDatabase",
  2617. "importPath": "PyQt5.QtSql",
  2618. "description": "PyQt5.QtSql",
  2619. "isExtraImport": true,
  2620. "detail": "PyQt5.QtSql",
  2621. "documentation": {}
  2622. },
  2623. {
  2624. "label": "QSqlRelationalTableModel",
  2625. "importPath": "PyQt5.QtSql",
  2626. "description": "PyQt5.QtSql",
  2627. "isExtraImport": true,
  2628. "detail": "PyQt5.QtSql",
  2629. "documentation": {}
  2630. },
  2631. {
  2632. "label": "QSqlRelation",
  2633. "importPath": "PyQt5.QtSql",
  2634. "description": "PyQt5.QtSql",
  2635. "isExtraImport": true,
  2636. "detail": "PyQt5.QtSql",
  2637. "documentation": {}
  2638. },
  2639. {
  2640. "label": "QSqlRelationalDelegate",
  2641. "importPath": "PyQt5.QtSql",
  2642. "description": "PyQt5.QtSql",
  2643. "isExtraImport": true,
  2644. "detail": "PyQt5.QtSql",
  2645. "documentation": {}
  2646. },
  2647. {
  2648. "label": "QSqlDatabase",
  2649. "importPath": "PyQt5.QtSql",
  2650. "description": "PyQt5.QtSql",
  2651. "isExtraImport": true,
  2652. "detail": "PyQt5.QtSql",
  2653. "documentation": {}
  2654. },
  2655. {
  2656. "label": "QSqlTableModel",
  2657. "importPath": "PyQt5.QtSql",
  2658. "description": "PyQt5.QtSql",
  2659. "isExtraImport": true,
  2660. "detail": "PyQt5.QtSql",
  2661. "documentation": {}
  2662. },
  2663. {
  2664. "label": "QSqlDatabase",
  2665. "importPath": "PyQt5.QtSql",
  2666. "description": "PyQt5.QtSql",
  2667. "isExtraImport": true,
  2668. "detail": "PyQt5.QtSql",
  2669. "documentation": {}
  2670. },
  2671. {
  2672. "label": "QSqlTableModel",
  2673. "importPath": "PyQt5.QtSql",
  2674. "description": "PyQt5.QtSql",
  2675. "isExtraImport": true,
  2676. "detail": "PyQt5.QtSql",
  2677. "documentation": {}
  2678. },
  2679. {
  2680. "label": "QSqlDatabase",
  2681. "importPath": "PyQt5.QtSql",
  2682. "description": "PyQt5.QtSql",
  2683. "isExtraImport": true,
  2684. "detail": "PyQt5.QtSql",
  2685. "documentation": {}
  2686. },
  2687. {
  2688. "label": "QSqlTableModel",
  2689. "importPath": "PyQt5.QtSql",
  2690. "description": "PyQt5.QtSql",
  2691. "isExtraImport": true,
  2692. "detail": "PyQt5.QtSql",
  2693. "documentation": {}
  2694. },
  2695. {
  2696. "label": "QSqlQuery",
  2697. "importPath": "PyQt5.QtSql",
  2698. "description": "PyQt5.QtSql",
  2699. "isExtraImport": true,
  2700. "detail": "PyQt5.QtSql",
  2701. "documentation": {}
  2702. },
  2703. {
  2704. "label": "re",
  2705. "kind": 6,
  2706. "isExtraImport": true,
  2707. "importPath": "re",
  2708. "description": "re",
  2709. "detail": "re",
  2710. "documentation": {}
  2711. },
  2712. {
  2713. "label": "QtCore",
  2714. "importPath": "PyQt5",
  2715. "description": "PyQt5",
  2716. "isExtraImport": true,
  2717. "detail": "PyQt5",
  2718. "documentation": {}
  2719. },
  2720. {
  2721. "label": "QtGui",
  2722. "importPath": "PyQt5",
  2723. "description": "PyQt5",
  2724. "isExtraImport": true,
  2725. "detail": "PyQt5",
  2726. "documentation": {}
  2727. },
  2728. {
  2729. "label": "QtWidgets",
  2730. "importPath": "PyQt5",
  2731. "description": "PyQt5",
  2732. "isExtraImport": true,
  2733. "detail": "PyQt5",
  2734. "documentation": {}
  2735. },
  2736. {
  2737. "label": "uic",
  2738. "importPath": "PyQt5",
  2739. "description": "PyQt5",
  2740. "isExtraImport": true,
  2741. "detail": "PyQt5",
  2742. "documentation": {}
  2743. },
  2744. {
  2745. "label": "uic",
  2746. "importPath": "PyQt5",
  2747. "description": "PyQt5",
  2748. "isExtraImport": true,
  2749. "detail": "PyQt5",
  2750. "documentation": {}
  2751. },
  2752. {
  2753. "label": "QtCore",
  2754. "importPath": "PyQt5",
  2755. "description": "PyQt5",
  2756. "isExtraImport": true,
  2757. "detail": "PyQt5",
  2758. "documentation": {}
  2759. },
  2760. {
  2761. "label": "QtGui",
  2762. "importPath": "PyQt5",
  2763. "description": "PyQt5",
  2764. "isExtraImport": true,
  2765. "detail": "PyQt5",
  2766. "documentation": {}
  2767. },
  2768. {
  2769. "label": "QtWidgets",
  2770. "importPath": "PyQt5",
  2771. "description": "PyQt5",
  2772. "isExtraImport": true,
  2773. "detail": "PyQt5",
  2774. "documentation": {}
  2775. },
  2776. {
  2777. "label": "QtCore",
  2778. "importPath": "PyQt5",
  2779. "description": "PyQt5",
  2780. "isExtraImport": true,
  2781. "detail": "PyQt5",
  2782. "documentation": {}
  2783. },
  2784. {
  2785. "label": "QtWidgets",
  2786. "importPath": "PyQt5",
  2787. "description": "PyQt5",
  2788. "isExtraImport": true,
  2789. "detail": "PyQt5",
  2790. "documentation": {}
  2791. },
  2792. {
  2793. "label": "QtWidgets",
  2794. "importPath": "PyQt5",
  2795. "description": "PyQt5",
  2796. "isExtraImport": true,
  2797. "detail": "PyQt5",
  2798. "documentation": {}
  2799. },
  2800. {
  2801. "label": "QtWidgets",
  2802. "importPath": "PyQt5",
  2803. "description": "PyQt5",
  2804. "isExtraImport": true,
  2805. "detail": "PyQt5",
  2806. "documentation": {}
  2807. },
  2808. {
  2809. "label": "QtGui",
  2810. "importPath": "PyQt5",
  2811. "description": "PyQt5",
  2812. "isExtraImport": true,
  2813. "detail": "PyQt5",
  2814. "documentation": {}
  2815. },
  2816. {
  2817. "label": "QtCore",
  2818. "importPath": "PyQt5",
  2819. "description": "PyQt5",
  2820. "isExtraImport": true,
  2821. "detail": "PyQt5",
  2822. "documentation": {}
  2823. },
  2824. {
  2825. "label": "QtWidgets",
  2826. "importPath": "PyQt5",
  2827. "description": "PyQt5",
  2828. "isExtraImport": true,
  2829. "detail": "PyQt5",
  2830. "documentation": {}
  2831. },
  2832. {
  2833. "label": "QtGui",
  2834. "importPath": "PyQt5",
  2835. "description": "PyQt5",
  2836. "isExtraImport": true,
  2837. "detail": "PyQt5",
  2838. "documentation": {}
  2839. },
  2840. {
  2841. "label": "QtWidgets",
  2842. "importPath": "PyQt5",
  2843. "description": "PyQt5",
  2844. "isExtraImport": true,
  2845. "detail": "PyQt5",
  2846. "documentation": {}
  2847. },
  2848. {
  2849. "label": "QtGui",
  2850. "importPath": "PyQt5",
  2851. "description": "PyQt5",
  2852. "isExtraImport": true,
  2853. "detail": "PyQt5",
  2854. "documentation": {}
  2855. },
  2856. {
  2857. "label": "QtCore",
  2858. "importPath": "PyQt5",
  2859. "description": "PyQt5",
  2860. "isExtraImport": true,
  2861. "detail": "PyQt5",
  2862. "documentation": {}
  2863. },
  2864. {
  2865. "label": "QtWidgets",
  2866. "importPath": "PyQt5",
  2867. "description": "PyQt5",
  2868. "isExtraImport": true,
  2869. "detail": "PyQt5",
  2870. "documentation": {}
  2871. },
  2872. {
  2873. "label": "QtGui",
  2874. "importPath": "PyQt5",
  2875. "description": "PyQt5",
  2876. "isExtraImport": true,
  2877. "detail": "PyQt5",
  2878. "documentation": {}
  2879. },
  2880. {
  2881. "label": "QtCore",
  2882. "importPath": "PyQt5",
  2883. "description": "PyQt5",
  2884. "isExtraImport": true,
  2885. "detail": "PyQt5",
  2886. "documentation": {}
  2887. },
  2888. {
  2889. "label": "os.path",
  2890. "kind": 6,
  2891. "isExtraImport": true,
  2892. "importPath": "os.path",
  2893. "description": "os.path",
  2894. "detail": "os.path",
  2895. "documentation": {}
  2896. },
  2897. {
  2898. "label": "Ui_MainWindow",
  2899. "importPath": "MainWindow",
  2900. "description": "MainWindow",
  2901. "isExtraImport": true,
  2902. "detail": "MainWindow",
  2903. "documentation": {}
  2904. },
  2905. {
  2906. "label": "Ui_MainWindow",
  2907. "importPath": "MainWindow",
  2908. "description": "MainWindow",
  2909. "isExtraImport": true,
  2910. "detail": "MainWindow",
  2911. "documentation": {}
  2912. },
  2913. {
  2914. "label": "Ui_MainWindow",
  2915. "importPath": "MainWindow",
  2916. "description": "MainWindow",
  2917. "isExtraImport": true,
  2918. "detail": "MainWindow",
  2919. "documentation": {}
  2920. },
  2921. {
  2922. "label": "Ui_MainWindow",
  2923. "importPath": "MainWindow",
  2924. "description": "MainWindow",
  2925. "isExtraImport": true,
  2926. "detail": "MainWindow",
  2927. "documentation": {}
  2928. },
  2929. {
  2930. "label": "Ui_MainWindow",
  2931. "importPath": "MainWindow",
  2932. "description": "MainWindow",
  2933. "isExtraImport": true,
  2934. "detail": "MainWindow",
  2935. "documentation": {}
  2936. },
  2937. {
  2938. "label": "UserDict",
  2939. "importPath": "collections",
  2940. "description": "collections",
  2941. "isExtraImport": true,
  2942. "detail": "collections",
  2943. "documentation": {}
  2944. },
  2945. {
  2946. "label": "datetime",
  2947. "importPath": "datetime",
  2948. "description": "datetime",
  2949. "isExtraImport": true,
  2950. "detail": "datetime",
  2951. "documentation": {}
  2952. },
  2953. {
  2954. "label": "numpy",
  2955. "kind": 6,
  2956. "isExtraImport": true,
  2957. "importPath": "numpy",
  2958. "description": "numpy",
  2959. "detail": "numpy",
  2960. "documentation": {}
  2961. },
  2962. {
  2963. "label": "pandas",
  2964. "kind": 6,
  2965. "isExtraImport": true,
  2966. "importPath": "pandas",
  2967. "description": "pandas",
  2968. "detail": "pandas",
  2969. "documentation": {}
  2970. },
  2971. {
  2972. "label": "json",
  2973. "kind": 6,
  2974. "isExtraImport": true,
  2975. "importPath": "json",
  2976. "description": "json",
  2977. "detail": "json",
  2978. "documentation": {}
  2979. },
  2980. {
  2981. "label": "bin_dir",
  2982. "kind": 5,
  2983. "importPath": ".venv.bin.activate_this",
  2984. "description": ".venv.bin.activate_this",
  2985. "peekOfCode": "bin_dir = os.path.dirname(abs_file)\nbase = bin_dir[:-len(\n \"bin\"\n) - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join(\n [bin_dir, *os.environ.get(\"PATH\", \"\").split(os.pathsep)])\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\nos.environ[\"VIRTUAL_ENV_PROMPT\"] = \"\" or os.path.basename(base) # noqa: SIM222\n# add the virtual environments libraries to the host python import mechanism",
  2986. "detail": ".venv.bin.activate_this",
  2987. "documentation": {}
  2988. },
  2989. {
  2990. "label": "base",
  2991. "kind": 5,
  2992. "importPath": ".venv.bin.activate_this",
  2993. "description": ".venv.bin.activate_this",
  2994. "peekOfCode": "base = bin_dir[:-len(\n \"bin\"\n) - 1] # strip away the bin part from the __file__, plus the path separator\n# prepend bin to PATH (this file is inside the bin directory)\nos.environ[\"PATH\"] = os.pathsep.join(\n [bin_dir, *os.environ.get(\"PATH\", \"\").split(os.pathsep)])\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\nos.environ[\"VIRTUAL_ENV_PROMPT\"] = \"\" or os.path.basename(base) # noqa: SIM222\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)",
  2995. "detail": ".venv.bin.activate_this",
  2996. "documentation": {}
  2997. },
  2998. {
  2999. "label": "os.environ[\"PATH\"]",
  3000. "kind": 5,
  3001. "importPath": ".venv.bin.activate_this",
  3002. "description": ".venv.bin.activate_this",
  3003. "peekOfCode": "os.environ[\"PATH\"] = os.pathsep.join(\n [bin_dir, *os.environ.get(\"PATH\", \"\").split(os.pathsep)])\nos.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\nos.environ[\"VIRTUAL_ENV_PROMPT\"] = \"\" or os.path.basename(base) # noqa: SIM222\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.12/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]",
  3004. "detail": ".venv.bin.activate_this",
  3005. "documentation": {}
  3006. },
  3007. {
  3008. "label": "os.environ[\"VIRTUAL_ENV\"]",
  3009. "kind": 5,
  3010. "importPath": ".venv.bin.activate_this",
  3011. "description": ".venv.bin.activate_this",
  3012. "peekOfCode": "os.environ[\"VIRTUAL_ENV\"] = base # virtual env is right above bin directory\nos.environ[\"VIRTUAL_ENV_PROMPT\"] = \"\" or os.path.basename(base) # noqa: SIM222\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.12/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base",
  3013. "detail": ".venv.bin.activate_this",
  3014. "documentation": {}
  3015. },
  3016. {
  3017. "label": "os.environ[\"VIRTUAL_ENV_PROMPT\"]",
  3018. "kind": 5,
  3019. "importPath": ".venv.bin.activate_this",
  3020. "description": ".venv.bin.activate_this",
  3021. "peekOfCode": "os.environ[\"VIRTUAL_ENV_PROMPT\"] = \"\" or os.path.basename(base) # noqa: SIM222\n# add the virtual environments libraries to the host python import mechanism\nprev_length = len(sys.path)\nfor lib in \"../lib/python3.12/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base",
  3022. "detail": ".venv.bin.activate_this",
  3023. "documentation": {}
  3024. },
  3025. {
  3026. "label": "prev_length",
  3027. "kind": 5,
  3028. "importPath": ".venv.bin.activate_this",
  3029. "description": ".venv.bin.activate_this",
  3030. "peekOfCode": "prev_length = len(sys.path)\nfor lib in \"../lib/python3.12/site-packages\".split(os.pathsep):\n path = os.path.realpath(os.path.join(bin_dir, lib))\n site.addsitedir(path.decode(\"utf-8\") if \"\" else path)\nsys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base",
  3031. "detail": ".venv.bin.activate_this",
  3032. "documentation": {}
  3033. },
  3034. {
  3035. "label": "sys.path[:]",
  3036. "kind": 5,
  3037. "importPath": ".venv.bin.activate_this",
  3038. "description": ".venv.bin.activate_this",
  3039. "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base",
  3040. "detail": ".venv.bin.activate_this",
  3041. "documentation": {}
  3042. },
  3043. {
  3044. "label": "sys.real_prefix",
  3045. "kind": 5,
  3046. "importPath": ".venv.bin.activate_this",
  3047. "description": ".venv.bin.activate_this",
  3048. "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base",
  3049. "detail": ".venv.bin.activate_this",
  3050. "documentation": {}
  3051. },
  3052. {
  3053. "label": "sys.prefix",
  3054. "kind": 5,
  3055. "importPath": ".venv.bin.activate_this",
  3056. "description": ".venv.bin.activate_this",
  3057. "peekOfCode": "sys.prefix = base",
  3058. "detail": ".venv.bin.activate_this",
  3059. "documentation": {}
  3060. },
  3061. {
  3062. "label": "app",
  3063. "kind": 5,
  3064. "importPath": "basic.creating_a_window_1",
  3065. "description": "basic.creating_a_window_1",
  3066. "peekOfCode": "app = QApplication(sys.argv)\nwindow = QWidget()\nwindow.show()\nsys.exit(app.exec_())",
  3067. "detail": "basic.creating_a_window_1",
  3068. "documentation": {}
  3069. },
  3070. {
  3071. "label": "window",
  3072. "kind": 5,
  3073. "importPath": "basic.creating_a_window_1",
  3074. "description": "basic.creating_a_window_1",
  3075. "peekOfCode": "window = QWidget()\nwindow.show()\nsys.exit(app.exec_())",
  3076. "detail": "basic.creating_a_window_1",
  3077. "documentation": {}
  3078. },
  3079. {
  3080. "label": "app",
  3081. "kind": 5,
  3082. "importPath": "basic.creating_a_window_2",
  3083. "description": "basic.creating_a_window_2",
  3084. "peekOfCode": "app = QApplication(sys.argv)\nwindow = QPushButton(\"Push me\")\nwindow.show()\nsys.exit(app.exec_())",
  3085. "detail": "basic.creating_a_window_2",
  3086. "documentation": {}
  3087. },
  3088. {
  3089. "label": "window",
  3090. "kind": 5,
  3091. "importPath": "basic.creating_a_window_2",
  3092. "description": "basic.creating_a_window_2",
  3093. "peekOfCode": "window = QPushButton(\"Push me\")\nwindow.show()\nsys.exit(app.exec_())",
  3094. "detail": "basic.creating_a_window_2",
  3095. "documentation": {}
  3096. },
  3097. {
  3098. "label": "app",
  3099. "kind": 5,
  3100. "importPath": "basic.creating_a_window_3",
  3101. "description": "basic.creating_a_window_3",
  3102. "peekOfCode": "app = QApplication(sys.argv)\nwindow = QMainWindow()\nwindow.show()\n# Start the event loop\nsys.exit(app.exec_())",
  3103. "detail": "basic.creating_a_window_3",
  3104. "documentation": {}
  3105. },
  3106. {
  3107. "label": "window",
  3108. "kind": 5,
  3109. "importPath": "basic.creating_a_window_3",
  3110. "description": "basic.creating_a_window_3",
  3111. "peekOfCode": "window = QMainWindow()\nwindow.show()\n# Start the event loop\nsys.exit(app.exec_())",
  3112. "detail": "basic.creating_a_window_3",
  3113. "documentation": {}
  3114. },
  3115. {
  3116. "label": "MainWindow",
  3117. "kind": 6,
  3118. "importPath": "basic.creating_a_window_4",
  3119. "description": "basic.creating_a_window_4",
  3120. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n self.setFixedSize(QSize(400, 300))\n # Set the central widget of the window\n self.setCentralWidget(button)\napp = QApplication(sys.argv)\nwindow = MainWindow()",
  3121. "detail": "basic.creating_a_window_4",
  3122. "documentation": {}
  3123. },
  3124. {
  3125. "label": "app",
  3126. "kind": 5,
  3127. "importPath": "basic.creating_a_window_4",
  3128. "description": "basic.creating_a_window_4",
  3129. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3130. "detail": "basic.creating_a_window_4",
  3131. "documentation": {}
  3132. },
  3133. {
  3134. "label": "window",
  3135. "kind": 5,
  3136. "importPath": "basic.creating_a_window_4",
  3137. "description": "basic.creating_a_window_4",
  3138. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3139. "detail": "basic.creating_a_window_4",
  3140. "documentation": {}
  3141. },
  3142. {
  3143. "label": "CustomDialog",
  3144. "kind": 6,
  3145. "importPath": "basic.dialogs_2a",
  3146. "description": "basic.dialogs_2a",
  3147. "peekOfCode": "class CustomDialog(QDialog):\n def __init__(self, parent=None):\n super().__init__(parent)\n self.setWindowTitle(\"Hello!\")\n buttons = QDialogButtonBox.Ok | QDialogButtonBox.Cancel\n self.buttonBox = QDialogButtonBox(buttons)\n self.buttonBox.accepted.connect(self.accepted)\n self.buttonBox.rejected.connect(self.rejected)\n self.layout = QVBoxLayout()\n message = QLabel(\"Something happened, is that OK?\")",
  3148. "detail": "basic.dialogs_2a",
  3149. "documentation": {}
  3150. },
  3151. {
  3152. "label": "MainWindow",
  3153. "kind": 6,
  3154. "importPath": "basic.dialogs_3",
  3155. "description": "basic.dialogs_3",
  3156. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle('My App')\n button = QPushButton('Press me for a dialog!')\n button.setCheckable(True)\n button.clicked.connect(self.button_clicked)\n self.setCentralWidget(button)\n def button_clicked(self, is_checked):\n dlg = QMessageBox(self)",
  3157. "detail": "basic.dialogs_3",
  3158. "documentation": {}
  3159. },
  3160. {
  3161. "label": "app",
  3162. "kind": 5,
  3163. "importPath": "basic.dialogs_3",
  3164. "description": "basic.dialogs_3",
  3165. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3166. "detail": "basic.dialogs_3",
  3167. "documentation": {}
  3168. },
  3169. {
  3170. "label": "window",
  3171. "kind": 5,
  3172. "importPath": "basic.dialogs_3",
  3173. "description": "basic.dialogs_3",
  3174. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3175. "detail": "basic.dialogs_3",
  3176. "documentation": {}
  3177. },
  3178. {
  3179. "label": "MainWindow",
  3180. "kind": 6,
  3181. "importPath": "basic.dialogs_5",
  3182. "description": "basic.dialogs_5",
  3183. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle('My App')\n button = QPushButton('Press me for a dialog!')\n button.setCheckable(True)\n button.clicked.connect(self.button_clicked)\n self.setCentralWidget(button)\n def button_clicked(self, is_checked):\n # button = QMessageBox.question(self, \"Question dialog\", \"The longer message\")",
  3184. "detail": "basic.dialogs_5",
  3185. "documentation": {}
  3186. },
  3187. {
  3188. "label": "app",
  3189. "kind": 5,
  3190. "importPath": "basic.dialogs_5",
  3191. "description": "basic.dialogs_5",
  3192. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3193. "detail": "basic.dialogs_5",
  3194. "documentation": {}
  3195. },
  3196. {
  3197. "label": "window",
  3198. "kind": 5,
  3199. "importPath": "basic.dialogs_5",
  3200. "description": "basic.dialogs_5",
  3201. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3202. "detail": "basic.dialogs_5",
  3203. "documentation": {}
  3204. },
  3205. {
  3206. "label": "MainWindow",
  3207. "kind": 6,
  3208. "importPath": "basic.dialogs_input_1",
  3209. "description": "basic.dialogs_input_1",
  3210. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n layout = QVBoxLayout()\n button1 = QPushButton(\"Integer\")\n button1.clicked.connect(self.get_an_int)\n layout.addWidget(button1)\n button2 = QPushButton(\"Float\")\n button2.clicked.connect(self.get_a_float)",
  3211. "detail": "basic.dialogs_input_1",
  3212. "documentation": {}
  3213. },
  3214. {
  3215. "label": "MainWindow",
  3216. "kind": 6,
  3217. "importPath": "basic.dialogs_start",
  3218. "description": "basic.dialogs_start",
  3219. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My First Window\")\n button = QPushButton(\"Press me for a dialog!\")\n button.clicked.connect(self.button_clicked)\n self.setCentralWidget(button)\n def button_clicked(self, is_checked):\n print(\"click\", is_checked)\n dlg = CustomDialog(self)",
  3220. "detail": "basic.dialogs_start",
  3221. "documentation": {}
  3222. },
  3223. {
  3224. "label": "app",
  3225. "kind": 5,
  3226. "importPath": "basic.dialogs_start",
  3227. "description": "basic.dialogs_start",
  3228. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3229. "detail": "basic.dialogs_start",
  3230. "documentation": {}
  3231. },
  3232. {
  3233. "label": "window",
  3234. "kind": 5,
  3235. "importPath": "basic.dialogs_start",
  3236. "description": "basic.dialogs_start",
  3237. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3238. "detail": "basic.dialogs_start",
  3239. "documentation": {}
  3240. },
  3241. {
  3242. "label": "MainWindow",
  3243. "kind": 6,
  3244. "importPath": "basic.events_1",
  3245. "description": "basic.events_1",
  3246. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.label = QLabel(\"Click in this window\")\n self.setCentralWidget(self.label)\n self.setMouseTracking(True)\n self.label.setMouseTracking(True)\n def mouseMoveEvent(self, event):\n self.label.setText(\"Mouse Moved\")\n def mousePressEvent(self, event):",
  3247. "detail": "basic.events_1",
  3248. "documentation": {}
  3249. },
  3250. {
  3251. "label": "app",
  3252. "kind": 5,
  3253. "importPath": "basic.events_1",
  3254. "description": "basic.events_1",
  3255. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3256. "detail": "basic.events_1",
  3257. "documentation": {}
  3258. },
  3259. {
  3260. "label": "window",
  3261. "kind": 5,
  3262. "importPath": "basic.events_1",
  3263. "description": "basic.events_1",
  3264. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3265. "detail": "basic.events_1",
  3266. "documentation": {}
  3267. },
  3268. {
  3269. "label": "MainWindow",
  3270. "kind": 6,
  3271. "importPath": "basic.events_3",
  3272. "description": "basic.events_3",
  3273. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setContextMenuPolicy(Qt.CustomContextMenu)\n self.customContextMenuRequested.connect(self.on_content_menu)\n def on_content_menu(self, pos):\n context = QMenu(self)\n context.addAction(QAction(\"test1\", self))\n context.addAction(QAction(\"test2\", self))\n context.addAction(QAction(\"test3\", self))",
  3274. "detail": "basic.events_3",
  3275. "documentation": {}
  3276. },
  3277. {
  3278. "label": "app",
  3279. "kind": 5,
  3280. "importPath": "basic.events_3",
  3281. "description": "basic.events_3",
  3282. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3283. "detail": "basic.events_3",
  3284. "documentation": {}
  3285. },
  3286. {
  3287. "label": "window",
  3288. "kind": 5,
  3289. "importPath": "basic.events_3",
  3290. "description": "basic.events_3",
  3291. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3292. "detail": "basic.events_3",
  3293. "documentation": {}
  3294. },
  3295. {
  3296. "label": "MainWindow",
  3297. "kind": 6,
  3298. "importPath": "basic.layout_1",
  3299. "description": "basic.layout_1",
  3300. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n layout = QVBoxLayout()\n layout.addWidget(Color(\"red\"))\n layout.addWidget(Color(\"green\"))\n layout.addWidget(Color(\"blue\"))\n widget = QWidget()\n widget.setLayout(layout)",
  3301. "detail": "basic.layout_1",
  3302. "documentation": {}
  3303. },
  3304. {
  3305. "label": "MyWindow",
  3306. "kind": 6,
  3307. "importPath": "basic.layout_10",
  3308. "description": "basic.layout_10",
  3309. "peekOfCode": "class MyWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle('My App')\n layout = QFormLayout()\n # Dictionary to store the form data\n self.data = {\n \"name\": \"Johnina Smith\",\n \"age\": 10,\n \"icecream\": \"Vanilla\",",
  3310. "detail": "basic.layout_10",
  3311. "documentation": {}
  3312. },
  3313. {
  3314. "label": "app",
  3315. "kind": 5,
  3316. "importPath": "basic.layout_10",
  3317. "description": "basic.layout_10",
  3318. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MyWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3319. "detail": "basic.layout_10",
  3320. "documentation": {}
  3321. },
  3322. {
  3323. "label": "window",
  3324. "kind": 5,
  3325. "importPath": "basic.layout_10",
  3326. "description": "basic.layout_10",
  3327. "peekOfCode": "window = MyWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3328. "detail": "basic.layout_10",
  3329. "documentation": {}
  3330. },
  3331. {
  3332. "label": "MainWindow",
  3333. "kind": 6,
  3334. "importPath": "basic.layout_3",
  3335. "description": "basic.layout_3",
  3336. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n layout = QHBoxLayout()\n layout.addWidget(Color(\"red\"))\n layout.addWidget(Color(\"green\"))\n layout.addWidget(Color(\"blue\"))\n widget = QWidget()\n widget.setLayout(layout)",
  3337. "detail": "basic.layout_3",
  3338. "documentation": {}
  3339. },
  3340. {
  3341. "label": "MainWindow",
  3342. "kind": 6,
  3343. "importPath": "basic.layout_4",
  3344. "description": "basic.layout_4",
  3345. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n layout1 = QHBoxLayout()\n layout2 = QVBoxLayout()\n layout3 = QVBoxLayout()\n layout4 = QGridLayout()\n layout2.addWidget(Color(\"red\"))\n layout2.addWidget(Color(\"green\"))",
  3346. "detail": "basic.layout_4",
  3347. "documentation": {}
  3348. },
  3349. {
  3350. "label": "MainWindow",
  3351. "kind": 6,
  3352. "importPath": "basic.layout_7",
  3353. "description": "basic.layout_7",
  3354. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n layout = QStackedLayout()\n layout.addWidget(Color(\"red\"))\n layout.addWidget(Color(\"gree\"))\n layout.addWidget(Color(\"blue\"))\n layout.addWidget(Color(\"purple\"))\n layout.addWidget(Color(\"yellow\"))",
  3355. "detail": "basic.layout_7",
  3356. "documentation": {}
  3357. },
  3358. {
  3359. "label": "app",
  3360. "kind": 5,
  3361. "importPath": "basic.layout_7",
  3362. "description": "basic.layout_7",
  3363. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3364. "detail": "basic.layout_7",
  3365. "documentation": {}
  3366. },
  3367. {
  3368. "label": "window",
  3369. "kind": 5,
  3370. "importPath": "basic.layout_7",
  3371. "description": "basic.layout_7",
  3372. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3373. "detail": "basic.layout_7",
  3374. "documentation": {}
  3375. },
  3376. {
  3377. "label": "MainWindow",
  3378. "kind": 6,
  3379. "importPath": "basic.layout_8",
  3380. "description": "basic.layout_8",
  3381. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n page_layout = QVBoxLayout()\n button_layout = QHBoxLayout()\n self.stack_layout = QStackedLayout()\n page_layout.addLayout(self.stack_layout)\n page_layout.addLayout(button_layout)\n btn = QPushButton(\"red\")",
  3382. "detail": "basic.layout_8",
  3383. "documentation": {}
  3384. },
  3385. {
  3386. "label": "app",
  3387. "kind": 5,
  3388. "importPath": "basic.layout_8",
  3389. "description": "basic.layout_8",
  3390. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3391. "detail": "basic.layout_8",
  3392. "documentation": {}
  3393. },
  3394. {
  3395. "label": "window",
  3396. "kind": 5,
  3397. "importPath": "basic.layout_8",
  3398. "description": "basic.layout_8",
  3399. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3400. "detail": "basic.layout_8",
  3401. "documentation": {}
  3402. },
  3403. {
  3404. "label": "MainWindow",
  3405. "kind": 6,
  3406. "importPath": "basic.layout_9",
  3407. "description": "basic.layout_9",
  3408. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n tabs = QTabWidget()\n tabs.setDocumentMode(True)\n tabs.setTabPosition(QTabWidget.North)\n tabs.setMovable(True)\n for color in [\"red\", \"green\", \"blue\", \"yellow\"]:\n tabs.addTab(Color(color), color)",
  3409. "detail": "basic.layout_9",
  3410. "documentation": {}
  3411. },
  3412. {
  3413. "label": "app",
  3414. "kind": 5,
  3415. "importPath": "basic.layout_9",
  3416. "description": "basic.layout_9",
  3417. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3418. "detail": "basic.layout_9",
  3419. "documentation": {}
  3420. },
  3421. {
  3422. "label": "window",
  3423. "kind": 5,
  3424. "importPath": "basic.layout_9",
  3425. "description": "basic.layout_9",
  3426. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3427. "detail": "basic.layout_9",
  3428. "documentation": {}
  3429. },
  3430. {
  3431. "label": "Color",
  3432. "kind": 6,
  3433. "importPath": "basic.layout_colorwidget",
  3434. "description": "basic.layout_colorwidget",
  3435. "peekOfCode": "class Color(QWidget):\n def __init__(self, color):\n super().__init__()\n self.setAutoFillBackground(True)\n palette = QPalette()\n palette.setColor(QPalette.Window, QColor(color))\n self.setPalette(palette)",
  3436. "detail": "basic.layout_colorwidget",
  3437. "documentation": {}
  3438. },
  3439. {
  3440. "label": "MainWindow",
  3441. "kind": 6,
  3442. "importPath": "basic.signals_and_slots_1",
  3443. "description": "basic.signals_and_slots_1",
  3444. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n button.clicked.connect(the_button_was_clicked)\n # Set the central widget of the window\n self.setCentralWidget(button)\napp = QApplication(sys.argv)\nwindow = MainWindow()",
  3445. "detail": "basic.signals_and_slots_1",
  3446. "documentation": {}
  3447. },
  3448. {
  3449. "label": "the_button_was_clicked",
  3450. "kind": 2,
  3451. "importPath": "basic.signals_and_slots_1",
  3452. "description": "basic.signals_and_slots_1",
  3453. "peekOfCode": "def the_button_was_clicked():\n print(\"Button was clicked\")\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n button.clicked.connect(the_button_was_clicked)\n # Set the central widget of the window\n self.setCentralWidget(button)",
  3454. "detail": "basic.signals_and_slots_1",
  3455. "documentation": {}
  3456. },
  3457. {
  3458. "label": "app",
  3459. "kind": 5,
  3460. "importPath": "basic.signals_and_slots_1",
  3461. "description": "basic.signals_and_slots_1",
  3462. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3463. "detail": "basic.signals_and_slots_1",
  3464. "documentation": {}
  3465. },
  3466. {
  3467. "label": "window",
  3468. "kind": 5,
  3469. "importPath": "basic.signals_and_slots_1",
  3470. "description": "basic.signals_and_slots_1",
  3471. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3472. "detail": "basic.signals_and_slots_1",
  3473. "documentation": {}
  3474. },
  3475. {
  3476. "label": "MainWindow",
  3477. "kind": 6,
  3478. "importPath": "basic.signals_and_slots_1b",
  3479. "description": "basic.signals_and_slots_1b",
  3480. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n button.setCheckable(True)\n button.clicked.connect(the_button_was_clicked)\n button.clicked.connect(the_button_was_toggled)\n # Set the central widget of the window\n self.setCentralWidget(button)",
  3481. "detail": "basic.signals_and_slots_1b",
  3482. "documentation": {}
  3483. },
  3484. {
  3485. "label": "the_button_was_clicked",
  3486. "kind": 2,
  3487. "importPath": "basic.signals_and_slots_1b",
  3488. "description": "basic.signals_and_slots_1b",
  3489. "peekOfCode": "def the_button_was_clicked():\n print(\"Button was clicked\")\ndef the_button_was_toggled(is_checked):\n print(\"Checked?\", is_checked)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n button.setCheckable(True)",
  3490. "detail": "basic.signals_and_slots_1b",
  3491. "documentation": {}
  3492. },
  3493. {
  3494. "label": "the_button_was_toggled",
  3495. "kind": 2,
  3496. "importPath": "basic.signals_and_slots_1b",
  3497. "description": "basic.signals_and_slots_1b",
  3498. "peekOfCode": "def the_button_was_toggled(is_checked):\n print(\"Checked?\", is_checked)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n button.setCheckable(True)\n button.clicked.connect(the_button_was_clicked)\n button.clicked.connect(the_button_was_toggled)",
  3499. "detail": "basic.signals_and_slots_1b",
  3500. "documentation": {}
  3501. },
  3502. {
  3503. "label": "app",
  3504. "kind": 5,
  3505. "importPath": "basic.signals_and_slots_1b",
  3506. "description": "basic.signals_and_slots_1b",
  3507. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3508. "detail": "basic.signals_and_slots_1b",
  3509. "documentation": {}
  3510. },
  3511. {
  3512. "label": "window",
  3513. "kind": 5,
  3514. "importPath": "basic.signals_and_slots_1b",
  3515. "description": "basic.signals_and_slots_1b",
  3516. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3517. "detail": "basic.signals_and_slots_1b",
  3518. "documentation": {}
  3519. },
  3520. {
  3521. "label": "MainWindow",
  3522. "kind": 6,
  3523. "importPath": "basic.signals_and_slots_1c",
  3524. "description": "basic.signals_and_slots_1c",
  3525. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.button_is_checked = True\n self.setWindowTitle(\"My App\")\n button = QPushButton(\"Press Me!\")\n button.setCheckable(True)\n button.clicked.connect(self.the_button_was_toggled)\n button.setChecked(self.button_is_checked)\n # Set the central widget of the window",
  3526. "detail": "basic.signals_and_slots_1c",
  3527. "documentation": {}
  3528. },
  3529. {
  3530. "label": "app",
  3531. "kind": 5,
  3532. "importPath": "basic.signals_and_slots_1c",
  3533. "description": "basic.signals_and_slots_1c",
  3534. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3535. "detail": "basic.signals_and_slots_1c",
  3536. "documentation": {}
  3537. },
  3538. {
  3539. "label": "window",
  3540. "kind": 5,
  3541. "importPath": "basic.signals_and_slots_1c",
  3542. "description": "basic.signals_and_slots_1c",
  3543. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3544. "detail": "basic.signals_and_slots_1c",
  3545. "documentation": {}
  3546. },
  3547. {
  3548. "label": "MainWindow",
  3549. "kind": 6,
  3550. "importPath": "basic.signals_and_slots_1d",
  3551. "description": "basic.signals_and_slots_1d",
  3552. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.button_is_checked = False\n self.setWindowTitle(\"My App\")\n self.button = QPushButton(\"Press Me!\")\n self.button.setCheckable(True)\n self.button.clicked.connect(self.the_button_was_released)\n self.button.setChecked(self.button_is_checked)\n # Set the central widget of the window",
  3553. "detail": "basic.signals_and_slots_1d",
  3554. "documentation": {}
  3555. },
  3556. {
  3557. "label": "app",
  3558. "kind": 5,
  3559. "importPath": "basic.signals_and_slots_1d",
  3560. "description": "basic.signals_and_slots_1d",
  3561. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3562. "detail": "basic.signals_and_slots_1d",
  3563. "documentation": {}
  3564. },
  3565. {
  3566. "label": "window",
  3567. "kind": 5,
  3568. "importPath": "basic.signals_and_slots_1d",
  3569. "description": "basic.signals_and_slots_1d",
  3570. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3571. "detail": "basic.signals_and_slots_1d",
  3572. "documentation": {}
  3573. },
  3574. {
  3575. "label": "MainWindow",
  3576. "kind": 6,
  3577. "importPath": "basic.signals_and_slots_2",
  3578. "description": "basic.signals_and_slots_2",
  3579. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"My App\")\n self.button = QPushButton(\"Press Me!\")\n self.button.clicked.connect(self.the_button_was_clicked)\n # Set the central widget of the window\n self.setCentralWidget(self.button)\n def the_button_was_clicked(self):\n self.button.setText(\"You already clicked me.\")",
  3580. "detail": "basic.signals_and_slots_2",
  3581. "documentation": {}
  3582. },
  3583. {
  3584. "label": "app",
  3585. "kind": 5,
  3586. "importPath": "basic.signals_and_slots_2",
  3587. "description": "basic.signals_and_slots_2",
  3588. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3589. "detail": "basic.signals_and_slots_2",
  3590. "documentation": {}
  3591. },
  3592. {
  3593. "label": "window",
  3594. "kind": 5,
  3595. "importPath": "basic.signals_and_slots_2",
  3596. "description": "basic.signals_and_slots_2",
  3597. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3598. "detail": "basic.signals_and_slots_2",
  3599. "documentation": {}
  3600. },
  3601. {
  3602. "label": "MainWindow",
  3603. "kind": 6,
  3604. "importPath": "basic.signals_and_slots_3",
  3605. "description": "basic.signals_and_slots_3",
  3606. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.n_times_clicked = 0\n self.setWindowTitle(\"My App\")\n self.button = QPushButton(\"Press Me!\")\n self.button.clicked.connect(self.the_button_was_clicked)\n self.windowTitleChanged.connect(self.the_window_tile_changed)\n # Set the central widget of the window\n self.setCentralWidget(self.button)",
  3607. "detail": "basic.signals_and_slots_3",
  3608. "documentation": {}
  3609. },
  3610. {
  3611. "label": "window_titles",
  3612. "kind": 5,
  3613. "importPath": "basic.signals_and_slots_3",
  3614. "description": "basic.signals_and_slots_3",
  3615. "peekOfCode": "window_titles = [\n \"My App\", \"My App\", \"Still My App\", \"Still My App\", \"What on earth\",\n \"What on earth\", \"This is surprising\", \"This is surprising\",\n \"Something went wrong\"\n]\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.n_times_clicked = 0\n self.setWindowTitle(\"My App\")",
  3616. "detail": "basic.signals_and_slots_3",
  3617. "documentation": {}
  3618. },
  3619. {
  3620. "label": "app",
  3621. "kind": 5,
  3622. "importPath": "basic.signals_and_slots_3",
  3623. "description": "basic.signals_and_slots_3",
  3624. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3625. "detail": "basic.signals_and_slots_3",
  3626. "documentation": {}
  3627. },
  3628. {
  3629. "label": "window",
  3630. "kind": 5,
  3631. "importPath": "basic.signals_and_slots_3",
  3632. "description": "basic.signals_and_slots_3",
  3633. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3634. "detail": "basic.signals_and_slots_3",
  3635. "documentation": {}
  3636. },
  3637. {
  3638. "label": "MainWindow",
  3639. "kind": 6,
  3640. "importPath": "basic.signals_and_slots_4",
  3641. "description": "basic.signals_and_slots_4",
  3642. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle('My App')\n self.label = QLabel()\n self.input = QLineEdit()\n self.input.textChanged.connect(self.label.setText)\n layout = QVBoxLayout()\n layout.addWidget(self.input)\n layout.addWidget(self.label)",
  3643. "detail": "basic.signals_and_slots_4",
  3644. "documentation": {}
  3645. },
  3646. {
  3647. "label": "app",
  3648. "kind": 5,
  3649. "importPath": "basic.signals_and_slots_4",
  3650. "description": "basic.signals_and_slots_4",
  3651. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3652. "detail": "basic.signals_and_slots_4",
  3653. "documentation": {}
  3654. },
  3655. {
  3656. "label": "window",
  3657. "kind": 5,
  3658. "importPath": "basic.signals_and_slots_4",
  3659. "description": "basic.signals_and_slots_4",
  3660. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3661. "detail": "basic.signals_and_slots_4",
  3662. "documentation": {}
  3663. },
  3664. {
  3665. "label": "AnotherWindow",
  3666. "kind": 6,
  3667. "importPath": "basic.windows_1",
  3668. "description": "basic.windows_1",
  3669. "peekOfCode": "class AnotherWindow(QWidget):\n \"\"\"\n This \"window\" is a Qwidget. If it has no parent, it \n will appear as a free-floating window.\n \"\"\"\n def __init__(self):\n super().__init__()\n layout = QVBoxLayout()\n self.label = QLabel(\"Another Window %d\" % randint(0, 100))\n layout.addWidget(self.label)",
  3670. "detail": "basic.windows_1",
  3671. "documentation": {}
  3672. },
  3673. {
  3674. "label": "MainWindow",
  3675. "kind": 6,
  3676. "importPath": "basic.windows_1",
  3677. "description": "basic.windows_1",
  3678. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.w = None # No external window yet\n self.setWindowTitle(\"My App\")\n layout = QVBoxLayout()\n self.button = QPushButton(\"Press me for a dialog!\")\n self.button.clicked.connect(self.show_new_window)\n layout.addWidget(self.button)\n container = QWidget()",
  3679. "detail": "basic.windows_1",
  3680. "documentation": {}
  3681. },
  3682. {
  3683. "label": "app",
  3684. "kind": 5,
  3685. "importPath": "basic.windows_1",
  3686. "description": "basic.windows_1",
  3687. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3688. "detail": "basic.windows_1",
  3689. "documentation": {}
  3690. },
  3691. {
  3692. "label": "window",
  3693. "kind": 5,
  3694. "importPath": "basic.windows_1",
  3695. "description": "basic.windows_1",
  3696. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3697. "detail": "basic.windows_1",
  3698. "documentation": {}
  3699. },
  3700. {
  3701. "label": "AnotherWindow",
  3702. "kind": 6,
  3703. "importPath": "basic.windows_5",
  3704. "description": "basic.windows_5",
  3705. "peekOfCode": "class AnotherWindow(QWidget):\n \"\"\"\n This \"window\" is a Qwidget. If it has no parent, it \n will appear as a free-floating window.\n \"\"\"\n def __init__(self):\n super().__init__()\n layout = QVBoxLayout()\n self.label = QLabel(\"Another Window %d\" % randint(0, 100))\n layout.addWidget(self.label)",
  3706. "detail": "basic.windows_5",
  3707. "documentation": {}
  3708. },
  3709. {
  3710. "label": "MainWindow",
  3711. "kind": 6,
  3712. "importPath": "basic.windows_5",
  3713. "description": "basic.windows_5",
  3714. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.w = AnotherWindow()\n self.setWindowTitle(\"My App\")\n layout = QVBoxLayout()\n self.button = QPushButton(\"Press me for a dialog!\")\n self.button.clicked.connect(self.show_new_window)\n layout.addWidget(self.button)\n container = QWidget()",
  3715. "detail": "basic.windows_5",
  3716. "documentation": {}
  3717. },
  3718. {
  3719. "label": "app",
  3720. "kind": 5,
  3721. "importPath": "basic.windows_5",
  3722. "description": "basic.windows_5",
  3723. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3724. "detail": "basic.windows_5",
  3725. "documentation": {}
  3726. },
  3727. {
  3728. "label": "window",
  3729. "kind": 5,
  3730. "importPath": "basic.windows_5",
  3731. "description": "basic.windows_5",
  3732. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3733. "detail": "basic.windows_5",
  3734. "documentation": {}
  3735. },
  3736. {
  3737. "label": "AnotherWindow",
  3738. "kind": 6,
  3739. "importPath": "basic.windows_7",
  3740. "description": "basic.windows_7",
  3741. "peekOfCode": "class AnotherWindow(QWidget):\n \"\"\"\n This \"window\" is a Qwidget. If it has no parent, it \n will appear as a free-floating window.\n \"\"\"\n def __init__(self):\n super().__init__()\n layout = QVBoxLayout()\n self.label = QLabel(\"Another Window %d\" % randint(0, 100))\n layout.addWidget(self.label)",
  3742. "detail": "basic.windows_7",
  3743. "documentation": {}
  3744. },
  3745. {
  3746. "label": "MainWindow",
  3747. "kind": 6,
  3748. "importPath": "basic.windows_7",
  3749. "description": "basic.windows_7",
  3750. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.w = AnotherWindow()\n self.button = QPushButton(\"Press me fo Window!\")\n self.button.clicked.connect(self.toggle_window)\n self.input = QLineEdit()\n self.input.textChanged.connect(self.w.label.setText)\n layout = QVBoxLayout()\n layout.addWidget(self.button)",
  3751. "detail": "basic.windows_7",
  3752. "documentation": {}
  3753. },
  3754. {
  3755. "label": "app",
  3756. "kind": 5,
  3757. "importPath": "basic.windows_7",
  3758. "description": "basic.windows_7",
  3759. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3760. "detail": "basic.windows_7",
  3761. "documentation": {}
  3762. },
  3763. {
  3764. "label": "window",
  3765. "kind": 5,
  3766. "importPath": "basic.windows_7",
  3767. "description": "basic.windows_7",
  3768. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3769. "detail": "basic.windows_7",
  3770. "documentation": {}
  3771. },
  3772. {
  3773. "label": "MainWindow",
  3774. "kind": 6,
  3775. "importPath": "bitmap.paint_line",
  3776. "description": "bitmap.paint_line",
  3777. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.label = QLabel()\n canvas = QPixmap(400, 300)\n canvas.fill(Qt.white)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)\n self.last_x, self.last_y = None, None\n def mouseMoveEvent(self, e):",
  3778. "detail": "bitmap.paint_line",
  3779. "documentation": {}
  3780. },
  3781. {
  3782. "label": "app",
  3783. "kind": 5,
  3784. "importPath": "bitmap.paint_line",
  3785. "description": "bitmap.paint_line",
  3786. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3787. "detail": "bitmap.paint_line",
  3788. "documentation": {}
  3789. },
  3790. {
  3791. "label": "window",
  3792. "kind": 5,
  3793. "importPath": "bitmap.paint_line",
  3794. "description": "bitmap.paint_line",
  3795. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3796. "detail": "bitmap.paint_line",
  3797. "documentation": {}
  3798. },
  3799. {
  3800. "label": "MainWindow",
  3801. "kind": 6,
  3802. "importPath": "bitmap.paint_start",
  3803. "description": "bitmap.paint_start",
  3804. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.label = QLabel()\n canvas = QPixmap(400, 300)\n canvas.fill(Qt.white)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)\n def mouseMoveEvent(self, e):\n painter = QPainter(self.label.pixmap())",
  3805. "detail": "bitmap.paint_start",
  3806. "documentation": {}
  3807. },
  3808. {
  3809. "label": "app",
  3810. "kind": 5,
  3811. "importPath": "bitmap.paint_start",
  3812. "description": "bitmap.paint_start",
  3813. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3814. "detail": "bitmap.paint_start",
  3815. "documentation": {}
  3816. },
  3817. {
  3818. "label": "window",
  3819. "kind": 5,
  3820. "importPath": "bitmap.paint_start",
  3821. "description": "bitmap.paint_start",
  3822. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3823. "detail": "bitmap.paint_start",
  3824. "documentation": {}
  3825. },
  3826. {
  3827. "label": "MainWindow",
  3828. "kind": 6,
  3829. "importPath": "bitmap.stub",
  3830. "description": "bitmap.stub",
  3831. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.initUI()\n def initUI(self):\n self.label = QLabel()\n canvas = QPixmap(400, 300)\n canvas.fill(Qt.white)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)",
  3832. "detail": "bitmap.stub",
  3833. "documentation": {}
  3834. },
  3835. {
  3836. "label": "Worker",
  3837. "kind": 6,
  3838. "importPath": "concurrent.qrunnable_1",
  3839. "description": "concurrent.qrunnable_1",
  3840. "peekOfCode": "class Worker(QRunnable):\n \"\"\"\n Worker thread\n \"\"\"\n @pyqtSlot()\n def run(self):\n \"\"\"\n Your code goes in this function\n \"\"\"\n print(\"Thread start\")",
  3841. "detail": "concurrent.qrunnable_1",
  3842. "documentation": {}
  3843. },
  3844. {
  3845. "label": "MainWindow",
  3846. "kind": 6,
  3847. "importPath": "concurrent.qrunnable_1",
  3848. "description": "concurrent.qrunnable_1",
  3849. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.counter = 0\n self.threadpool = QThreadPool()\n print(\"Multithreading with maximum %d threads\" %\n self.threadpool.maxThreadCount())\n self.ui()\n def ui(self):\n layout = QVBoxLayout()",
  3850. "detail": "concurrent.qrunnable_1",
  3851. "documentation": {}
  3852. },
  3853. {
  3854. "label": "Worker",
  3855. "kind": 6,
  3856. "importPath": "concurrent.qrunnable_start_2",
  3857. "description": "concurrent.qrunnable_start_2",
  3858. "peekOfCode": "class Worker(QRunnable):\n \"\"\"\n Worker thread\n \"\"\"\n @pyqtSlot()\n def run(self):\n \"\"\"\n Your code goes in this function\n \"\"\"\n print(\"Thread start\")",
  3859. "detail": "concurrent.qrunnable_start_2",
  3860. "documentation": {}
  3861. },
  3862. {
  3863. "label": "MainWindow",
  3864. "kind": 6,
  3865. "importPath": "concurrent.qrunnable_start_2",
  3866. "description": "concurrent.qrunnable_start_2",
  3867. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.counter = 0\n self.threadpool = QThreadPool()\n print(\"Multithreading with maximum %d threads\" %\n self.threadpool.maxThreadCount())\n self.ui()\n def ui(self):\n layout = QVBoxLayout()",
  3868. "detail": "concurrent.qrunnable_start_2",
  3869. "documentation": {}
  3870. },
  3871. {
  3872. "label": "MainWindow",
  3873. "kind": 6,
  3874. "importPath": "databases.tableview",
  3875. "description": "databases.tableview",
  3876. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n # self.model = ?\n # self.table.setModel(self.model)\n self.setCentralWidget(self.table)\napp = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()",
  3877. "detail": "databases.tableview",
  3878. "documentation": {}
  3879. },
  3880. {
  3881. "label": "app",
  3882. "kind": 5,
  3883. "importPath": "databases.tableview",
  3884. "description": "databases.tableview",
  3885. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3886. "detail": "databases.tableview",
  3887. "documentation": {}
  3888. },
  3889. {
  3890. "label": "window",
  3891. "kind": 5,
  3892. "importPath": "databases.tableview",
  3893. "description": "databases.tableview",
  3894. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3895. "detail": "databases.tableview",
  3896. "documentation": {}
  3897. },
  3898. {
  3899. "label": "MainWindow",
  3900. "kind": 6,
  3901. "importPath": "databases.tableview_querymodel_parameter",
  3902. "description": "databases.tableview_querymodel_parameter",
  3903. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n container = QWidget()\n layout_search = QHBoxLayout()\n self.track = QLineEdit()\n self.track.setPlaceholderText(\"Track name...\")\n self.track.textChanged.connect(self.update_query)\n self.composer = QLineEdit()\n self.composer.setPlaceholderText(\"Artist name...\")",
  3904. "detail": "databases.tableview_querymodel_parameter",
  3905. "documentation": {}
  3906. },
  3907. {
  3908. "label": "basedir",
  3909. "kind": 5,
  3910. "importPath": "databases.tableview_querymodel_parameter",
  3911. "description": "databases.tableview_querymodel_parameter",
  3912. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n container = QWidget()\n layout_search = QHBoxLayout()\n self.track = QLineEdit()\n self.track.setPlaceholderText(\"Track name...\")\n self.track.textChanged.connect(self.update_query)\n self.composer = QLineEdit()",
  3913. "detail": "databases.tableview_querymodel_parameter",
  3914. "documentation": {}
  3915. },
  3916. {
  3917. "label": "MainWindow",
  3918. "kind": 6,
  3919. "importPath": "databases.tableview_relationalmodel",
  3920. "description": "databases.tableview_relationalmodel",
  3921. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n self.db = QSqlDatabase(\"QSQLITE\")\n self.db.setDatabaseName(os.path.join(basedir, \"Chinook_Sqlite.sqlite\"))\n self.db.open()\n self.model = QSqlRelationalTableModel(db=self.db)\n self.model.setTable(\"Track\")\n self.model.setRelation(2, QSqlRelation(\"Album\", \"AlbumId\", \"Title\"))",
  3922. "detail": "databases.tableview_relationalmodel",
  3923. "documentation": {}
  3924. },
  3925. {
  3926. "label": "basedir",
  3927. "kind": 5,
  3928. "importPath": "databases.tableview_relationalmodel",
  3929. "description": "databases.tableview_relationalmodel",
  3930. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n self.db = QSqlDatabase(\"QSQLITE\")\n self.db.setDatabaseName(os.path.join(basedir, \"Chinook_Sqlite.sqlite\"))\n self.db.open()\n self.model = QSqlRelationalTableModel(db=self.db)\n self.model.setTable(\"Track\")",
  3931. "detail": "databases.tableview_relationalmodel",
  3932. "documentation": {}
  3933. },
  3934. {
  3935. "label": "MainWindow",
  3936. "kind": 6,
  3937. "importPath": "databases.tableview_tablemodel",
  3938. "description": "databases.tableview_tablemodel",
  3939. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n self.db = QSqlDatabase(\"QSQLITE\")\n self.db.setDatabaseName(os.path.join(basedir, \"Chinook_Sqlite.sqlite\"))\n self.db.open()\n self.model = QSqlTableModel(db=self.db)\n self.model.setTable(\"Track\")\n # idx = self.model.fieldIndex(\"Milliseconds\")",
  3940. "detail": "databases.tableview_tablemodel",
  3941. "documentation": {}
  3942. },
  3943. {
  3944. "label": "basedir",
  3945. "kind": 5,
  3946. "importPath": "databases.tableview_tablemodel",
  3947. "description": "databases.tableview_tablemodel",
  3948. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n self.db = QSqlDatabase(\"QSQLITE\")\n self.db.setDatabaseName(os.path.join(basedir, \"Chinook_Sqlite.sqlite\"))\n self.db.open()\n self.model = QSqlTableModel(db=self.db)\n self.model.setTable(\"Track\")",
  3949. "detail": "databases.tableview_tablemodel",
  3950. "documentation": {}
  3951. },
  3952. {
  3953. "label": "MainWindow",
  3954. "kind": 6,
  3955. "importPath": "databases.tableview_tablemodel_filter",
  3956. "description": "databases.tableview_tablemodel_filter",
  3957. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n container = QWidget()\n layout = QVBoxLayout()\n self.search = QLineEdit()\n self.search.textChanged.connect(self.update_filter)\n self.table = QTableView()\n layout.addWidget(self.search)\n layout.addWidget(self.table)",
  3958. "detail": "databases.tableview_tablemodel_filter",
  3959. "documentation": {}
  3960. },
  3961. {
  3962. "label": "basedir",
  3963. "kind": 5,
  3964. "importPath": "databases.tableview_tablemodel_filter",
  3965. "description": "databases.tableview_tablemodel_filter",
  3966. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n container = QWidget()\n layout = QVBoxLayout()\n self.search = QLineEdit()\n self.search.textChanged.connect(self.update_filter)\n self.table = QTableView()\n layout.addWidget(self.search)",
  3967. "detail": "databases.tableview_tablemodel_filter",
  3968. "documentation": {}
  3969. },
  3970. {
  3971. "label": "MainWindow",
  3972. "kind": 6,
  3973. "importPath": "databases.widget_mapper",
  3974. "description": "databases.widget_mapper",
  3975. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"Track Editor\")\n # Initialize database first\n if not self.initialize_database():\n return\n form = QFormLayout()\n # Create widgets\n self.track_id = QSpinBox()",
  3976. "detail": "databases.widget_mapper",
  3977. "documentation": {}
  3978. },
  3979. {
  3980. "label": "basedir",
  3981. "kind": 5,
  3982. "importPath": "databases.widget_mapper",
  3983. "description": "databases.widget_mapper",
  3984. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"Track Editor\")\n # Initialize database first\n if not self.initialize_database():\n return\n form = QFormLayout()\n # Create widgets",
  3985. "detail": "databases.widget_mapper",
  3986. "documentation": {}
  3987. },
  3988. {
  3989. "label": "Ui_MainWindow",
  3990. "kind": 6,
  3991. "importPath": "designer.MainWindow",
  3992. "description": "designer.MainWindow",
  3993. "peekOfCode": "class Ui_MainWindow(object):\n def setupUi(self, MainWindow):\n MainWindow.setObjectName(\"MainWindow\")\n MainWindow.resize(300, 300)\n self.centralwidget = QtWidgets.QWidget(MainWindow)\n self.centralwidget.setObjectName(\"centralwidget\")\n self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)\n self.verticalLayout.setObjectName(\"verticalLayout\")\n self.label = QtWidgets.QLabel(self.centralwidget)\n self.label.setObjectName(\"label\")",
  3994. "detail": "designer.MainWindow",
  3995. "documentation": {}
  3996. },
  3997. {
  3998. "label": "MainWindow",
  3999. "kind": 6,
  4000. "importPath": "designer.compiled_example",
  4001. "description": "designer.compiled_example",
  4002. "peekOfCode": "class MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self):\n super().__init__()\n self.setupUi(self)\n f = self.label.font()\n f.setPointSize(25)\n self.label.setAlignment(Qt.AlignHCenter | Qt.AlignVCenter)\n self.label.setFont(f)\n self.pushButton.pressed.connect(self.update_label)\n def update_label(self):",
  4003. "detail": "designer.compiled_example",
  4004. "documentation": {}
  4005. },
  4006. {
  4007. "label": "basedir",
  4008. "kind": 5,
  4009. "importPath": "designer.compiled_example",
  4010. "description": "designer.compiled_example",
  4011. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self):\n super().__init__()\n self.setupUi(self)\n f = self.label.font()\n f.setPointSize(25)\n self.label.setAlignment(Qt.AlignHCenter | Qt.AlignVCenter)\n self.label.setFont(f)\n self.pushButton.pressed.connect(self.update_label)",
  4012. "detail": "designer.compiled_example",
  4013. "documentation": {}
  4014. },
  4015. {
  4016. "label": "app",
  4017. "kind": 5,
  4018. "importPath": "designer.compiled_example",
  4019. "description": "designer.compiled_example",
  4020. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  4021. "detail": "designer.compiled_example",
  4022. "documentation": {}
  4023. },
  4024. {
  4025. "label": "window",
  4026. "kind": 5,
  4027. "importPath": "designer.compiled_example",
  4028. "description": "designer.compiled_example",
  4029. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  4030. "detail": "designer.compiled_example",
  4031. "documentation": {}
  4032. },
  4033. {
  4034. "label": "basedir",
  4035. "kind": 5,
  4036. "importPath": "designer.example_1",
  4037. "description": "designer.example_1",
  4038. "peekOfCode": "basedir = os.path.dirname(__file__)\napp = QApplication(sys.argv)\nwindow = uic.loadUi(os.path.join(basedir, \"mainwindow.ui\"))\nwindow.show()\napp.exec_()",
  4039. "detail": "designer.example_1",
  4040. "documentation": {}
  4041. },
  4042. {
  4043. "label": "app",
  4044. "kind": 5,
  4045. "importPath": "designer.example_1",
  4046. "description": "designer.example_1",
  4047. "peekOfCode": "app = QApplication(sys.argv)\nwindow = uic.loadUi(os.path.join(basedir, \"mainwindow.ui\"))\nwindow.show()\napp.exec_()",
  4048. "detail": "designer.example_1",
  4049. "documentation": {}
  4050. },
  4051. {
  4052. "label": "window",
  4053. "kind": 5,
  4054. "importPath": "designer.example_1",
  4055. "description": "designer.example_1",
  4056. "peekOfCode": "window = uic.loadUi(os.path.join(basedir, \"mainwindow.ui\"))\nwindow.show()\napp.exec_()",
  4057. "detail": "designer.example_1",
  4058. "documentation": {}
  4059. },
  4060. {
  4061. "label": "MainWindow",
  4062. "kind": 6,
  4063. "importPath": "designer.example_2",
  4064. "description": "designer.example_2",
  4065. "peekOfCode": "class MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self):\n super().__init__()\n self.setupUi(self)\napp = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  4066. "detail": "designer.example_2",
  4067. "documentation": {}
  4068. },
  4069. {
  4070. "label": "basedir",
  4071. "kind": 5,
  4072. "importPath": "designer.example_2",
  4073. "description": "designer.example_2",
  4074. "peekOfCode": "basedir = os.path.dirname(__file__)\nclass MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self):\n super().__init__()\n self.setupUi(self)\napp = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  4075. "detail": "designer.example_2",
  4076. "documentation": {}
  4077. },
  4078. {
  4079. "label": "app",
  4080. "kind": 5,
  4081. "importPath": "designer.example_2",
  4082. "description": "designer.example_2",
  4083. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  4084. "detail": "designer.example_2",
  4085. "documentation": {}
  4086. },
  4087. {
  4088. "label": "window",
  4089. "kind": 5,
  4090. "importPath": "designer.example_2",
  4091. "description": "designer.example_2",
  4092. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  4093. "detail": "designer.example_2",
  4094. "documentation": {}
  4095. },
  4096. {
  4097. "label": "MainWindow",
  4098. "kind": 6,
  4099. "importPath": "further.mvc_1",
  4100. "description": "further.mvc_1",
  4101. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"MVC Example\")\n layout = QFormLayout()\n # Dictionary to store the form data, with default data.\n self.name = QLineEdit()\n self.name.setText(model[\"name\"])\n self.name.textChanged.connect(self.on_name_changed)\n self.age = QSpinBox()",
  4102. "detail": "further.mvc_1",
  4103. "documentation": {}
  4104. },
  4105. {
  4106. "label": "model",
  4107. "kind": 5,
  4108. "importPath": "further.mvc_1",
  4109. "description": "further.mvc_1",
  4110. "peekOfCode": "model = {\n \"name\": \"Johnina Smith\",\n \"age\": 10,\n \"favorite_icecream\": \"Vanilla\",\n}\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"MVC Example\")\n layout = QFormLayout()",
  4111. "detail": "further.mvc_1",
  4112. "documentation": {}
  4113. },
  4114. {
  4115. "label": "MainWindow",
  4116. "kind": 6,
  4117. "importPath": "further.mvc_2",
  4118. "description": "further.mvc_2",
  4119. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"MVC Example\")\n layout = QFormLayout()\n # Dictionary to store the form data, with default data.\n self.name = QLineEdit()\n self.name.textChanged.connect(self.on_name_changed)\n self.age = QSpinBox()\n self.age.setRange(0, 200)",
  4120. "detail": "further.mvc_2",
  4121. "documentation": {}
  4122. },
  4123. {
  4124. "label": "model",
  4125. "kind": 5,
  4126. "importPath": "further.mvc_2",
  4127. "description": "further.mvc_2",
  4128. "peekOfCode": "model = {\n \"name\": \"Johnina Smith\",\n \"age\": 10,\n \"favorite_icecream\": \"Vanilla\",\n \"disable_details\": False,\n}\nbackups = []\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()",
  4129. "detail": "further.mvc_2",
  4130. "documentation": {}
  4131. },
  4132. {
  4133. "label": "backups",
  4134. "kind": 5,
  4135. "importPath": "further.mvc_2",
  4136. "description": "further.mvc_2",
  4137. "peekOfCode": "backups = []\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"MVC Example\")\n layout = QFormLayout()\n # Dictionary to store the form data, with default data.\n self.name = QLineEdit()\n self.name.textChanged.connect(self.on_name_changed)\n self.age = QSpinBox()",
  4138. "detail": "further.mvc_2",
  4139. "documentation": {}
  4140. },
  4141. {
  4142. "label": "DataModelSignals",
  4143. "kind": 6,
  4144. "importPath": "further.mvc_5",
  4145. "description": "further.mvc_5",
  4146. "peekOfCode": "class DataModelSignals(QObject):\n # Emit an \"updated\" signal when a property changes.\n updated = pyqtSignal()\nclass DataModel(UserDict):\n def __init__(self, *args, **kwargs):\n self.signals = DataModelSignals()\n super().__init__(*args, **kwargs)\n def __setitem__(self, key, value):\n previous = self.get(key) # Get the existing value.\n super().__setitem__(key, value)",
  4147. "detail": "further.mvc_5",
  4148. "documentation": {}
  4149. },
  4150. {
  4151. "label": "DataModel",
  4152. "kind": 6,
  4153. "importPath": "further.mvc_5",
  4154. "description": "further.mvc_5",
  4155. "peekOfCode": "class DataModel(UserDict):\n def __init__(self, *args, **kwargs):\n self.signals = DataModelSignals()\n super().__init__(*args, **kwargs)\n def __setitem__(self, key, value):\n previous = self.get(key) # Get the existing value.\n super().__setitem__(key, value)\n if value != previous: # There is a change\n self.signals.updated.emit() # Emit the signal\n print(self) # Show the current state.",
  4156. "detail": "further.mvc_5",
  4157. "documentation": {}
  4158. },
  4159. {
  4160. "label": "Controller",
  4161. "kind": 6,
  4162. "importPath": "further.mvc_5",
  4163. "description": "further.mvc_5",
  4164. "peekOfCode": "class Controller:\n \"\"\" Simple controller, which handles backups and other operations. \"\"\"\n backups = []\n def capitalize(self):\n model[\"name\"] = model[\"name\"].upper()\n def store_backup(self):\n self.backups.append(model.copy())\n def restore_backup(self):\n if not self.backups:\n return",
  4165. "detail": "further.mvc_5",
  4166. "documentation": {}
  4167. },
  4168. {
  4169. "label": "MainWindow",
  4170. "kind": 6,
  4171. "importPath": "further.mvc_5",
  4172. "description": "further.mvc_5",
  4173. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"MVC Example\")\n layout = QFormLayout()\n # Dictionary to store the form data, with default data.\n self.name = QLineEdit()\n self.name.textChanged.connect(self.on_name_changed)\n self.age = QSpinBox()\n self.age.setRange(0, 200)",
  4174. "detail": "further.mvc_5",
  4175. "documentation": {}
  4176. },
  4177. {
  4178. "label": "model",
  4179. "kind": 5,
  4180. "importPath": "further.mvc_5",
  4181. "description": "further.mvc_5",
  4182. "peekOfCode": "model = DataModel(\n name=\"Johnina Smith\",\n age=10,\n favorite_icecream=\"Vanilla\",\n disable_details=False,\n)\nclass Controller:\n \"\"\" Simple controller, which handles backups and other operations. \"\"\"\n backups = []\n def capitalize(self):",
  4183. "detail": "further.mvc_5",
  4184. "documentation": {}
  4185. },
  4186. {
  4187. "label": "controller",
  4188. "kind": 5,
  4189. "importPath": "further.mvc_5",
  4190. "description": "further.mvc_5",
  4191. "peekOfCode": "controller = Controller()\nclass MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.setWindowTitle(\"MVC Example\")\n layout = QFormLayout()\n # Dictionary to store the form data, with default data.\n self.name = QLineEdit()\n self.name.textChanged.connect(self.on_name_changed)\n self.age = QSpinBox()",
  4192. "detail": "further.mvc_5",
  4193. "documentation": {}
  4194. },
  4195. {
  4196. "label": "Ui_MainWindow",
  4197. "kind": 6,
  4198. "importPath": "model-views.MainWindow",
  4199. "description": "model-views.MainWindow",
  4200. "peekOfCode": "class Ui_MainWindow(object):\n def setupUi(self, MainWindow):\n MainWindow.setObjectName(\"MainWindow\")\n MainWindow.resize(280, 362)\n self.centralwidget = QtWidgets.QWidget(MainWindow)\n self.centralwidget.setObjectName(\"centralwidget\")\n self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)\n self.verticalLayout.setObjectName(\"verticalLayout\")\n self.todoView = QtWidgets.QListView(self.centralwidget)\n self.todoView.setObjectName(\"todoView\")",
  4201. "detail": "model-views.MainWindow",
  4202. "documentation": {}
  4203. },
  4204. {
  4205. "label": "TableModel",
  4206. "kind": 6,
  4207. "importPath": "model-views.tableview_demo",
  4208. "description": "model-views.tableview_demo",
  4209. "peekOfCode": "class TableModel(QAbstractTableModel):\n def __init__(self, data):\n super(TableModel, self).__init__()\n self._data = data\n def data(self, index, role):\n if role == Qt.DecorationRole:\n value = self._data[index.row()][index.column()]\n if isinstance(value, int) or isinstance(value, float):\n value = int(value)\n value = max(-5, value) # value < -5 becomes -5",
  4210. "detail": "model-views.tableview_demo",
  4211. "documentation": {}
  4212. },
  4213. {
  4214. "label": "MainWindow",
  4215. "kind": 6,
  4216. "importPath": "model-views.tableview_demo",
  4217. "description": "model-views.tableview_demo",
  4218. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super().__init__(*args, **kwargs)\n self.table = QTableView()\n data = [\n [4, 9, 2],\n [1, -1, 'hello'],\n [3.141592653589793, 2.718281828459045, 'world'],\n [3, 3, datetime(2025, 2, 18)],\n [7, 1, -5],",
  4219. "detail": "model-views.tableview_demo",
  4220. "documentation": {}
  4221. },
  4222. {
  4223. "label": "COLORS",
  4224. "kind": 5,
  4225. "importPath": "model-views.tableview_demo",
  4226. "description": "model-views.tableview_demo",
  4227. "peekOfCode": "COLORS = [\n '#053061', '#2166ac', '#4393c3', '#92c5de', '#d1e5f0', '#f7f7f7',\n '#fddbc7', '#f4a582', '#d6604d', '#b2182b', '#67001f'\n]\nclass TableModel(QAbstractTableModel):\n def __init__(self, data):\n super(TableModel, self).__init__()\n self._data = data\n def data(self, index, role):\n if role == Qt.DecorationRole:",
  4228. "detail": "model-views.tableview_demo",
  4229. "documentation": {}
  4230. },
  4231. {
  4232. "label": "app",
  4233. "kind": 5,
  4234. "importPath": "model-views.tableview_demo",
  4235. "description": "model-views.tableview_demo",
  4236. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  4237. "detail": "model-views.tableview_demo",
  4238. "documentation": {}
  4239. },
  4240. {
  4241. "label": "window",
  4242. "kind": 5,
  4243. "importPath": "model-views.tableview_demo",
  4244. "description": "model-views.tableview_demo",
  4245. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  4246. "detail": "model-views.tableview_demo",
  4247. "documentation": {}
  4248. },
  4249. {
  4250. "label": "TableModel",
  4251. "kind": 6,
  4252. "importPath": "model-views.tableview_numpy",
  4253. "description": "model-views.tableview_numpy",
  4254. "peekOfCode": "class TableModel(QAbstractTableModel):\n def __init__(self, data):\n super(TableModel, self).__init__()\n self._data = data\n def data(self, index, role):\n if role == Qt.DisplayRole:\n value = self._data[index.row(), index.column()]\n return str(value)\n def rowCount(self, index):\n return self._data.shape[0]",
  4255. "detail": "model-views.tableview_numpy",
  4256. "documentation": {}
  4257. },
  4258. {
  4259. "label": "MainWindow",
  4260. "kind": 6,
  4261. "importPath": "model-views.tableview_numpy",
  4262. "description": "model-views.tableview_numpy",
  4263. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n data = np.array([\n [1, 9, 2],\n [4, 0, -1],\n [7, 8, 9],\n [3, 3, 2],\n [5, 8, 9],",
  4264. "detail": "model-views.tableview_numpy",
  4265. "documentation": {}
  4266. },
  4267. {
  4268. "label": "app",
  4269. "kind": 5,
  4270. "importPath": "model-views.tableview_numpy",
  4271. "description": "model-views.tableview_numpy",
  4272. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  4273. "detail": "model-views.tableview_numpy",
  4274. "documentation": {}
  4275. },
  4276. {
  4277. "label": "window",
  4278. "kind": 5,
  4279. "importPath": "model-views.tableview_numpy",
  4280. "description": "model-views.tableview_numpy",
  4281. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  4282. "detail": "model-views.tableview_numpy",
  4283. "documentation": {}
  4284. },
  4285. {
  4286. "label": "TableModel",
  4287. "kind": 6,
  4288. "importPath": "model-views.tableview_pandas",
  4289. "description": "model-views.tableview_pandas",
  4290. "peekOfCode": "class TableModel(QAbstractTableModel):\n def __init__(self, data):\n super(TableModel, self).__init__()\n self._data = data\n def data(self, index, role):\n if role == Qt.DisplayRole:\n value = self._data.iloc[index.row(), index.column()]\n return str(value)\n def rowCount(self, index):\n return self._data.shape[0]",
  4291. "detail": "model-views.tableview_pandas",
  4292. "documentation": {}
  4293. },
  4294. {
  4295. "label": "MainWindow",
  4296. "kind": 6,
  4297. "importPath": "model-views.tableview_pandas",
  4298. "description": "model-views.tableview_pandas",
  4299. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self):\n super().__init__()\n self.table = QTableView()\n data = pd.DataFrame(\n [\n [1, 9, 2],\n [4, 0, -1],\n [7, 8, 9],\n [3, 3, 2],",
  4300. "detail": "model-views.tableview_pandas",
  4301. "documentation": {}
  4302. },
  4303. {
  4304. "label": "app",
  4305. "kind": 5,
  4306. "importPath": "model-views.tableview_pandas",
  4307. "description": "model-views.tableview_pandas",
  4308. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  4309. "detail": "model-views.tableview_pandas",
  4310. "documentation": {}
  4311. },
  4312. {
  4313. "label": "window",
  4314. "kind": 5,
  4315. "importPath": "model-views.tableview_pandas",
  4316. "description": "model-views.tableview_pandas",
  4317. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  4318. "detail": "model-views.tableview_pandas",
  4319. "documentation": {}
  4320. },
  4321. {
  4322. "label": "TodoModel",
  4323. "kind": 6,
  4324. "importPath": "model-views.todo_1",
  4325. "description": "model-views.todo_1",
  4326. "peekOfCode": "class TodoModel(QAbstractListModel):\n def __init__(self, todos=None):\n super().__init__()\n self.todos = todos or []\n def data(self, index, role):\n if role == Qt.DisplayRole:\n status, text = self.todos[index.row()]\n return text\n if role == Qt.DecorationRole:\n status, text = self.todos[index.row()]",
  4327. "detail": "model-views.todo_1",
  4328. "documentation": {}
  4329. },
  4330. {
  4331. "label": "MainWindow",
  4332. "kind": 6,
  4333. "importPath": "model-views.todo_1",
  4334. "description": "model-views.todo_1",
  4335. "peekOfCode": "class MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self, *args, **kwargs):\n super().__init__(*args, **kwargs)\n self.setupUi(self)\n self.model = TodoModel()\n self.load()\n self.todoView.setModel(self.model)\n # Connect the button\n self.addButton.pressed.connect(self.add)\n self.deleteButton.pressed.connect(self.delete)",
  4336. "detail": "model-views.todo_1",
  4337. "documentation": {}
  4338. },
  4339. {
  4340. "label": "basedir",
  4341. "kind": 5,
  4342. "importPath": "model-views.todo_1",
  4343. "description": "model-views.todo_1",
  4344. "peekOfCode": "basedir = os.path.dirname(__file__)\nflag = QImage(os.path.join(basedir, 'flag.png'))\nclass TodoModel(QAbstractListModel):\n def __init__(self, todos=None):\n super().__init__()\n self.todos = todos or []\n def data(self, index, role):\n if role == Qt.DisplayRole:\n status, text = self.todos[index.row()]\n return text",
  4345. "detail": "model-views.todo_1",
  4346. "documentation": {}
  4347. },
  4348. {
  4349. "label": "flag",
  4350. "kind": 5,
  4351. "importPath": "model-views.todo_1",
  4352. "description": "model-views.todo_1",
  4353. "peekOfCode": "flag = QImage(os.path.join(basedir, 'flag.png'))\nclass TodoModel(QAbstractListModel):\n def __init__(self, todos=None):\n super().__init__()\n self.todos = todos or []\n def data(self, index, role):\n if role == Qt.DisplayRole:\n status, text = self.todos[index.row()]\n return text\n if role == Qt.DecorationRole:",
  4354. "detail": "model-views.todo_1",
  4355. "documentation": {}
  4356. },
  4357. {
  4358. "label": "MainWindow",
  4359. "kind": 6,
  4360. "importPath": "model-views.todo_skeleton",
  4361. "description": "model-views.todo_skeleton",
  4362. "peekOfCode": "class MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self, *args, **kwargs):\n super().__init__(*args, **kwargs)\n self.setupUi(self)\nif __name__ == '__main__':\n app = QApplication(sys.argv)\n window = MainWindow()\n window.show()\n sys.exit(app.exec_())",
  4363. "detail": "model-views.todo_skeleton",
  4364. "documentation": {}
  4365. },
  4366. {
  4367. "label": "Ui_MainWindow",
  4368. "kind": 6,
  4369. "importPath": "MainWindow",
  4370. "description": "MainWindow",
  4371. "peekOfCode": "class Ui_MainWindow(object):\n def setupUi(self, MainWindow):\n MainWindow.setObjectName(\"MainWindow\")\n MainWindow.resize(536, 578)\n self.centralwidget = QtWidgets.QWidget(MainWindow)\n self.centralwidget.setObjectName(\"centralwidget\")\n self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)\n self.verticalLayout.setObjectName(\"verticalLayout\")\n self.label = QtWidgets.QLabel(self.centralwidget)\n self.label.setObjectName(\"label\")",
  4372. "detail": "MainWindow",
  4373. "documentation": {}
  4374. },
  4375. {
  4376. "label": "MainWindow",
  4377. "kind": 6,
  4378. "importPath": "MyApp",
  4379. "description": "MyApp",
  4380. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\") # 标题\n label = QLabel(\"THIS IS AWESOME!!!\")\n label.setAlignment(Qt.AlignCenter)\n self.setCentralWidget(label)\nif __name__ == '__main__':\n app = QApplication(sys.argv)\n window = MainWindow()",
  4381. "detail": "MyApp",
  4382. "documentation": {}
  4383. },
  4384. {
  4385. "label": "MainWindow",
  4386. "kind": 6,
  4387. "importPath": "MyApp_window",
  4388. "description": "MyApp_window",
  4389. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.windowTitleChanged().connect(self.onWindowTitleChanged)\n self.windowTitleChanged().connect(lambda x: self.my_custom_fn())\n self.windowTitleChanged().connect(lambda x: self.my_custom_fn(x))\n self.windowTitleChanged().connect(lambda x: self.my_custom_fn(x, 25))\n self.setWindowTitle(\"My Awesome App\") # 标题\n label = QLabel(\"THIS IS AWESOME!!!\")\n label.setAlignment(Qt.AlignCenter)",
  4390. "detail": "MyApp_window",
  4391. "documentation": {}
  4392. },
  4393. {
  4394. "label": "MainWindow",
  4395. "kind": 6,
  4396. "importPath": "load_uifile",
  4397. "description": "load_uifile",
  4398. "peekOfCode": "class MainWindow(QMainWindow, Ui_MainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setupUi(self)\ndef mainwindow_setup(w):\n w.setTitle(\"MainWindow Title\")\nif __name__ == '__main__':\n app = QtWidgets.QApplication(sys.argv)\n # window = uic.loadUi(\"mainwindow.ui\")\n # main window_setup(window)",
  4399. "detail": "load_uifile",
  4400. "documentation": {}
  4401. },
  4402. {
  4403. "label": "mainwindow_setup",
  4404. "kind": 2,
  4405. "importPath": "load_uifile",
  4406. "description": "load_uifile",
  4407. "peekOfCode": "def mainwindow_setup(w):\n w.setTitle(\"MainWindow Title\")\nif __name__ == '__main__':\n app = QtWidgets.QApplication(sys.argv)\n # window = uic.loadUi(\"mainwindow.ui\")\n # main window_setup(window)\n window = MainWindow()\n window.show()\n app.exec()",
  4408. "detail": "load_uifile",
  4409. "documentation": {}
  4410. },
  4411. {
  4412. "label": "Canvas",
  4413. "kind": 6,
  4414. "importPath": "paint_app",
  4415. "description": "paint_app",
  4416. "peekOfCode": "class Canvas(QtWidgets.QLabel):\n def __init__(self):\n super().__init__()\n pixmap = QtGui.QPixmap(600, 300)\n self.setPixmap(pixmap)\n self.last_x, self.last_y = None, None\n self.pen_color = QtGui.QColor('#000000')\n def set_pen_color(self, c):\n self.pen_color = QtGui.QColor(c)\n def mouseMoveEvent(self, e):",
  4417. "detail": "paint_app",
  4418. "documentation": {}
  4419. },
  4420. {
  4421. "label": "QPaletteButton",
  4422. "kind": 6,
  4423. "importPath": "paint_app",
  4424. "description": "paint_app",
  4425. "peekOfCode": "class QPaletteButton(QtWidgets.QPushButton):\n def __init__(self, color):\n super().__init__()\n self.setFixedSize(QtCore.QSize(24, 24))\n self.color = color\n self.setStyleSheet(\"background-color: %s;\" % color)\nclass MainWindow(QtWidgets.QMainWindow):\n def __init__(self):\n super().__init__()\n self.canvas = Canvas()",
  4426. "detail": "paint_app",
  4427. "documentation": {}
  4428. },
  4429. {
  4430. "label": "MainWindow",
  4431. "kind": 6,
  4432. "importPath": "paint_app",
  4433. "description": "paint_app",
  4434. "peekOfCode": "class MainWindow(QtWidgets.QMainWindow):\n def __init__(self):\n super().__init__()\n self.canvas = Canvas()\n w = QtWidgets.QWidget()\n l = QtWidgets.QVBoxLayout()\n w.setLayout(l)\n l.addWidget(self.canvas)\n palette = QtWidgets.QHBoxLayout()\n self.add_palette_buttons(palette)",
  4435. "detail": "paint_app",
  4436. "documentation": {}
  4437. },
  4438. {
  4439. "label": "COLORS",
  4440. "kind": 5,
  4441. "importPath": "paint_app",
  4442. "description": "paint_app",
  4443. "peekOfCode": "COLORS = [\n # 17undertoneshttps://lospec.com/palette-list/17undertones\n '#000000',\n '#141923',\n '#414168',\n '#3A7FA7',\n '#35E3E3',\n '#8FD970',\n '#5EBB49',\n '#458352',",
  4444. "detail": "paint_app",
  4445. "documentation": {}
  4446. },
  4447. {
  4448. "label": "SPRAY_PARTICLES",
  4449. "kind": 5,
  4450. "importPath": "paint_app",
  4451. "description": "paint_app",
  4452. "peekOfCode": "SPRAY_PARTICLES = 100\nSPRAY_DIAMMETER = 10\nclass Canvas(QtWidgets.QLabel):\n def __init__(self):\n super().__init__()\n pixmap = QtGui.QPixmap(600, 300)\n self.setPixmap(pixmap)\n self.last_x, self.last_y = None, None\n self.pen_color = QtGui.QColor('#000000')\n def set_pen_color(self, c):",
  4453. "detail": "paint_app",
  4454. "documentation": {}
  4455. },
  4456. {
  4457. "label": "SPRAY_DIAMMETER",
  4458. "kind": 5,
  4459. "importPath": "paint_app",
  4460. "description": "paint_app",
  4461. "peekOfCode": "SPRAY_DIAMMETER = 10\nclass Canvas(QtWidgets.QLabel):\n def __init__(self):\n super().__init__()\n pixmap = QtGui.QPixmap(600, 300)\n self.setPixmap(pixmap)\n self.last_x, self.last_y = None, None\n self.pen_color = QtGui.QColor('#000000')\n def set_pen_color(self, c):\n self.pen_color = QtGui.QColor(c)",
  4462. "detail": "paint_app",
  4463. "documentation": {}
  4464. },
  4465. {
  4466. "label": "MainWindow",
  4467. "kind": 6,
  4468. "importPath": "pixmap",
  4469. "description": "pixmap",
  4470. "peekOfCode": "class MainWindow(QtWidgets.QMainWindow):\n def __init__(self):\n super().__init__()\n self.label = QtWidgets.QLabel()\n canvas = QtGui.QPixmap(400, 300)\n self.label.setPixmap(canvas)\n self.setCentralWidget(self.label)\n self.draw_something()\n def draw_something(self):\n painter = QtGui.QPainter(self.label.pixmap())",
  4471. "detail": "pixmap",
  4472. "documentation": {}
  4473. },
  4474. {
  4475. "label": "_Bar",
  4476. "kind": 6,
  4477. "importPath": "power_bar",
  4478. "description": "power_bar",
  4479. "peekOfCode": "class _Bar(QtWidgets.QWidget):\n def __init__(self, *args, **kwargs):\n super().__init__(*args, **kwargs)\n self.setSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding,\n QtWidgets.QSizePolicy.MinimumExpanding)\n def sizeHint(self):\n return QtCore.QSize(40, 120)\n def paintEvent(self, e):\n painter = QtGui.QPainter(self)\n brush = QtGui.QBrush()",
  4480. "detail": "power_bar",
  4481. "documentation": {}
  4482. },
  4483. {
  4484. "label": "PowerBar",
  4485. "kind": 6,
  4486. "importPath": "power_bar",
  4487. "description": "power_bar",
  4488. "peekOfCode": "class PowerBar(QtWidgets.QWidget):\n \"\"\"\n Custom Qt Widget to show a power bar and dial.\n Demonstrating compound and custom-drawn widget.\n \"\"\"\n def __init__(self, steps=5, *args, **kwargs):\n super(PowerBar, self).__init__(*args, **kwargs)\n layout = QtWidgets.QVBoxLayout()\n self._bar = _Bar()\n layout.addWidget(self._bar)",
  4489. "detail": "power_bar",
  4490. "documentation": {}
  4491. },
  4492. {
  4493. "label": "_Bar",
  4494. "kind": 6,
  4495. "importPath": "power_bar_better",
  4496. "description": "power_bar_better",
  4497. "peekOfCode": "class _Bar(QtWidgets.QWidget):\n clickedValue = QtCore.pyqtSignal(int)\n def __init__(self, steps, *args, **kwargs):\n super().__init__(*args, **kwargs)\n self.setSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding,\n QtWidgets.QSizePolicy.MinimumExpanding)\n if isinstance(steps, list):\n # list of colors\n self.n_steps = len(steps)\n self.steps = steps",
  4498. "detail": "power_bar_better",
  4499. "documentation": {}
  4500. },
  4501. {
  4502. "label": "PowerBar",
  4503. "kind": 6,
  4504. "importPath": "power_bar_better",
  4505. "description": "power_bar_better",
  4506. "peekOfCode": "class PowerBar(QtWidgets.QWidget):\n \"\"\"\n Custom Qt Widget to show a power bar and dial.\n Demonstrating compound and custom-drawn widget.\n Left-clicking the button shows the color-chooser, while\n right-clicking resets the color tho None (no color).\n \"\"\"\n colorChanged = QtCore.pyqtSignal()\n def __init__(self, steps=5, *args, **kwargs):\n super(PowerBar, self).__init__(*args, **kwargs)",
  4507. "detail": "power_bar_better",
  4508. "documentation": {}
  4509. },
  4510. {
  4511. "label": "MainWindow",
  4512. "kind": 6,
  4513. "importPath": "signal_data",
  4514. "description": "signal_data",
  4515. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\")\n layout = QVBoxLayout()\n for n in range(10):\n btn = QPushButton(str(n))\n btn.pressed.connect(lambda val=n: my_custom_fn(val))\n layout.addWidget(btn)\n widget = QWidget()",
  4516. "detail": "signal_data",
  4517. "documentation": {}
  4518. },
  4519. {
  4520. "label": "my_custom_fn",
  4521. "kind": 2,
  4522. "importPath": "signal_data",
  4523. "description": "signal_data",
  4524. "peekOfCode": "def my_custom_fn(n):\n print(\"Button %d was clicked\" % n)\nclass MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\")\n layout = QVBoxLayout()\n for n in range(10):\n btn = QPushButton(str(n))\n btn.pressed.connect(lambda val=n: my_custom_fn(val))",
  4525. "detail": "signal_data",
  4526. "documentation": {}
  4527. },
  4528. {
  4529. "label": "MainWindow",
  4530. "kind": 6,
  4531. "importPath": "toolbars_and_menus",
  4532. "description": "toolbars_and_menus",
  4533. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\") # 标题\n label = QLabel(\"THIS IS AWESOME!!!\")\n label.setAlignment(Qt.AlignCenter)\n self.setCentralWidget(label)\n toolbar = QToolBar(\"My main toolbar\")\n toolbar.setIconSize(QSize(16, 16))\n self.addToolBar(toolbar)",
  4534. "detail": "toolbars_and_menus",
  4535. "documentation": {}
  4536. },
  4537. {
  4538. "label": "CustomDialog",
  4539. "kind": 6,
  4540. "importPath": "toolbars_and_menus",
  4541. "description": "toolbars_and_menus",
  4542. "peekOfCode": "class CustomDialog(QDialog):\n def __init__(self, *args, **kwargs):\n super(CustomDialog, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"HELLO!\")\n q_btn = QDialogButtonBox.Ok | QDialogButtonBox.Cancel\n self.buttonBox = QDialogButtonBox(q_btn)\n self.buttonBox.accepted.connect(self.accept)\n self.buttonBox.rejected.connect(self.reject)\n self.layout = QHBoxLayout()\n self.layout.addWidget(self.buttonBox)",
  4543. "detail": "toolbars_and_menus",
  4544. "documentation": {}
  4545. },
  4546. {
  4547. "label": "MainWindow",
  4548. "kind": 6,
  4549. "importPath": "widgets",
  4550. "description": "widgets",
  4551. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\") # 标题\n # layout = QVBoxLayout()\n # widgets = [QCheckBox,\n # QComboBox,\n # QDateEdit,\n # QDateTimeEdit,\n # QDial,",
  4552. "detail": "widgets",
  4553. "documentation": {}
  4554. },
  4555. {
  4556. "label": "Color",
  4557. "kind": 6,
  4558. "importPath": "widgets",
  4559. "description": "widgets",
  4560. "peekOfCode": "class Color(QWidget):\n def __init__(self, color, *args, **kwargs):\n super(Color, self).__init__(*args, **kwargs)\n self.setAutoFillBackground(True)\n palette = self.palette()\n palette.setColor(QPalette.Window, QColor(color))\n self.setPalette(palette)\nif __name__ == '__main__':\n app = QApplication(sys.argv)\n window = MainWindow()",
  4561. "detail": "widgets",
  4562. "documentation": {}
  4563. },
  4564. {
  4565. "label": "MainWindow",
  4566. "kind": 6,
  4567. "importPath": "widgets_gridlayout",
  4568. "description": "widgets_gridlayout",
  4569. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\") # 标题\n layout = QGridLayout()\n layout.addWidget(Color('red'), 0, 0)\n layout.addWidget(Color('green'), 0, 1)\n layout.addWidget(Color('blue'), 1, 0)\n layout.addWidget(Color('purple'), 1, 1)\n widget = QWidget()",
  4570. "detail": "widgets_gridlayout",
  4571. "documentation": {}
  4572. },
  4573. {
  4574. "label": "Color",
  4575. "kind": 6,
  4576. "importPath": "widgets_gridlayout",
  4577. "description": "widgets_gridlayout",
  4578. "peekOfCode": "class Color(QWidget):\n def __init__(self, color, *args, **kwargs):\n super(Color, self).__init__(*args, **kwargs)\n self.setAutoFillBackground(True)\n palette = self.palette()\n palette.setColor(QPalette.Window, QColor(color))\n self.setPalette(palette)\nif __name__ == '__main__':\n app = QApplication(sys.argv)\n window = MainWindow()",
  4579. "detail": "widgets_gridlayout",
  4580. "documentation": {}
  4581. },
  4582. {
  4583. "label": "index_changed",
  4584. "kind": 2,
  4585. "importPath": "widgets_gridlayout",
  4586. "description": "widgets_gridlayout",
  4587. "peekOfCode": "def index_changed(s):\n print(s)\nclass MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\") # 标题\n layout = QGridLayout()\n layout.addWidget(Color('red'), 0, 0)\n layout.addWidget(Color('green'), 0, 1)\n layout.addWidget(Color('blue'), 1, 0)",
  4588. "detail": "widgets_gridlayout",
  4589. "documentation": {}
  4590. },
  4591. {
  4592. "label": "MainWindow",
  4593. "kind": 6,
  4594. "importPath": "widgets_stacklayout",
  4595. "description": "widgets_stacklayout",
  4596. "peekOfCode": "class MainWindow(QMainWindow):\n def __init__(self, *args, **kwargs):\n super(MainWindow, self).__init__(*args, **kwargs)\n self.setWindowTitle(\"My Awesome App\") # 标题\n # pagelayout = QVBoxLayout()\n # button_layout = QHBoxLayout()\n # layout = QStackedLayout()\n #\n # pagelayout.addLayout(button_layout)\n # pagelayout.addLayout(layout)",
  4597. "detail": "widgets_stacklayout",
  4598. "documentation": {}
  4599. },
  4600. {
  4601. "label": "Color",
  4602. "kind": 6,
  4603. "importPath": "widgets_stacklayout",
  4604. "description": "widgets_stacklayout",
  4605. "peekOfCode": "class Color(QWidget):\n def __init__(self, color, *args, **kwargs):\n super(Color, self).__init__(*args, **kwargs)\n self.setAutoFillBackground(True)\n palette = self.palette()\n palette.setColor(QPalette.Window, QColor(color))\n self.setPalette(palette)\nif __name__ == '__main__':\n app = QApplication(sys.argv)\n window = MainWindow()",
  4606. "detail": "widgets_stacklayout",
  4607. "documentation": {}
  4608. }
  4609. ]