PythonImportHelper-v2-Completion.json 158 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270
  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": "QApplication",
  1047. "importPath": "PyQt5.QtWidgets",
  1048. "description": "PyQt5.QtWidgets",
  1049. "isExtraImport": true,
  1050. "detail": "PyQt5.QtWidgets",
  1051. "documentation": {}
  1052. },
  1053. {
  1054. "label": "QMainWindow",
  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": "QApplication",
  1071. "importPath": "PyQt5.QtWidgets",
  1072. "description": "PyQt5.QtWidgets",
  1073. "isExtraImport": true,
  1074. "detail": "PyQt5.QtWidgets",
  1075. "documentation": {}
  1076. },
  1077. {
  1078. "label": "QMainWindow",
  1079. "importPath": "PyQt5.QtWidgets",
  1080. "description": "PyQt5.QtWidgets",
  1081. "isExtraImport": true,
  1082. "detail": "PyQt5.QtWidgets",
  1083. "documentation": {}
  1084. },
  1085. {
  1086. "label": "QTableView",
  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": "QTableView",
  1111. "importPath": "PyQt5.QtWidgets",
  1112. "description": "PyQt5.QtWidgets",
  1113. "isExtraImport": true,
  1114. "detail": "PyQt5.QtWidgets",
  1115. "documentation": {}
  1116. },
  1117. {
  1118. "label": "QWidget",
  1119. "importPath": "PyQt5.QtWidgets",
  1120. "description": "PyQt5.QtWidgets",
  1121. "isExtraImport": true,
  1122. "detail": "PyQt5.QtWidgets",
  1123. "documentation": {}
  1124. },
  1125. {
  1126. "label": "QHBoxLayout",
  1127. "importPath": "PyQt5.QtWidgets",
  1128. "description": "PyQt5.QtWidgets",
  1129. "isExtraImport": true,
  1130. "detail": "PyQt5.QtWidgets",
  1131. "documentation": {}
  1132. },
  1133. {
  1134. "label": "QVBoxLayout",
  1135. "importPath": "PyQt5.QtWidgets",
  1136. "description": "PyQt5.QtWidgets",
  1137. "isExtraImport": true,
  1138. "detail": "PyQt5.QtWidgets",
  1139. "documentation": {}
  1140. },
  1141. {
  1142. "label": "QLineEdit",
  1143. "importPath": "PyQt5.QtWidgets",
  1144. "description": "PyQt5.QtWidgets",
  1145. "isExtraImport": true,
  1146. "detail": "PyQt5.QtWidgets",
  1147. "documentation": {}
  1148. },
  1149. {
  1150. "label": "QApplication",
  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": "QTableView",
  1167. "importPath": "PyQt5.QtWidgets",
  1168. "description": "PyQt5.QtWidgets",
  1169. "isExtraImport": true,
  1170. "detail": "PyQt5.QtWidgets",
  1171. "documentation": {}
  1172. },
  1173. {
  1174. "label": "QApplication",
  1175. "importPath": "PyQt5.QtWidgets",
  1176. "description": "PyQt5.QtWidgets",
  1177. "isExtraImport": true,
  1178. "detail": "PyQt5.QtWidgets",
  1179. "documentation": {}
  1180. },
  1181. {
  1182. "label": "QMainWindow",
  1183. "importPath": "PyQt5.QtWidgets",
  1184. "description": "PyQt5.QtWidgets",
  1185. "isExtraImport": true,
  1186. "detail": "PyQt5.QtWidgets",
  1187. "documentation": {}
  1188. },
  1189. {
  1190. "label": "QTableView",
  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": "QWidget",
  1223. "importPath": "PyQt5.QtWidgets",
  1224. "description": "PyQt5.QtWidgets",
  1225. "isExtraImport": true,
  1226. "detail": "PyQt5.QtWidgets",
  1227. "documentation": {}
  1228. },
  1229. {
  1230. "label": "QVBoxLayout",
  1231. "importPath": "PyQt5.QtWidgets",
  1232. "description": "PyQt5.QtWidgets",
  1233. "isExtraImport": true,
  1234. "detail": "PyQt5.QtWidgets",
  1235. "documentation": {}
  1236. },
  1237. {
  1238. "label": "QLineEdit",
  1239. "importPath": "PyQt5.QtWidgets",
  1240. "description": "PyQt5.QtWidgets",
  1241. "isExtraImport": true,
  1242. "detail": "PyQt5.QtWidgets",
  1243. "documentation": {}
  1244. },
  1245. {
  1246. "label": "QMessageBox",
  1247. "importPath": "PyQt5.QtWidgets",
  1248. "description": "PyQt5.QtWidgets",
  1249. "isExtraImport": true,
  1250. "detail": "PyQt5.QtWidgets",
  1251. "documentation": {}
  1252. },
  1253. {
  1254. "label": "QApplication",
  1255. "importPath": "PyQt5.QtWidgets",
  1256. "description": "PyQt5.QtWidgets",
  1257. "isExtraImport": true,
  1258. "detail": "PyQt5.QtWidgets",
  1259. "documentation": {}
  1260. },
  1261. {
  1262. "label": "QComboBox",
  1263. "importPath": "PyQt5.QtWidgets",
  1264. "description": "PyQt5.QtWidgets",
  1265. "isExtraImport": true,
  1266. "detail": "PyQt5.QtWidgets",
  1267. "documentation": {}
  1268. },
  1269. {
  1270. "label": "QDataWidgetMapper",
  1271. "importPath": "PyQt5.QtWidgets",
  1272. "description": "PyQt5.QtWidgets",
  1273. "isExtraImport": true,
  1274. "detail": "PyQt5.QtWidgets",
  1275. "documentation": {}
  1276. },
  1277. {
  1278. "label": "QDoubleSpinBox",
  1279. "importPath": "PyQt5.QtWidgets",
  1280. "description": "PyQt5.QtWidgets",
  1281. "isExtraImport": true,
  1282. "detail": "PyQt5.QtWidgets",
  1283. "documentation": {}
  1284. },
  1285. {
  1286. "label": "QFormLayout",
  1287. "importPath": "PyQt5.QtWidgets",
  1288. "description": "PyQt5.QtWidgets",
  1289. "isExtraImport": true,
  1290. "detail": "PyQt5.QtWidgets",
  1291. "documentation": {}
  1292. },
  1293. {
  1294. "label": "QLabel",
  1295. "importPath": "PyQt5.QtWidgets",
  1296. "description": "PyQt5.QtWidgets",
  1297. "isExtraImport": true,
  1298. "detail": "PyQt5.QtWidgets",
  1299. "documentation": {}
  1300. },
  1301. {
  1302. "label": "QLineEdit",
  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": "QSpinBox",
  1319. "importPath": "PyQt5.QtWidgets",
  1320. "description": "PyQt5.QtWidgets",
  1321. "isExtraImport": true,
  1322. "detail": "PyQt5.QtWidgets",
  1323. "documentation": {}
  1324. },
  1325. {
  1326. "label": "QWidget",
  1327. "importPath": "PyQt5.QtWidgets",
  1328. "description": "PyQt5.QtWidgets",
  1329. "isExtraImport": true,
  1330. "detail": "PyQt5.QtWidgets",
  1331. "documentation": {}
  1332. },
  1333. {
  1334. "label": "QVBoxLayout",
  1335. "importPath": "PyQt5.QtWidgets",
  1336. "description": "PyQt5.QtWidgets",
  1337. "isExtraImport": true,
  1338. "detail": "PyQt5.QtWidgets",
  1339. "documentation": {}
  1340. },
  1341. {
  1342. "label": "QHBoxLayout",
  1343. "importPath": "PyQt5.QtWidgets",
  1344. "description": "PyQt5.QtWidgets",
  1345. "isExtraImport": true,
  1346. "detail": "PyQt5.QtWidgets",
  1347. "documentation": {}
  1348. },
  1349. {
  1350. "label": "QPushButton",
  1351. "importPath": "PyQt5.QtWidgets",
  1352. "description": "PyQt5.QtWidgets",
  1353. "isExtraImport": true,
  1354. "detail": "PyQt5.QtWidgets",
  1355. "documentation": {}
  1356. },
  1357. {
  1358. "label": "QMessageBox",
  1359. "importPath": "PyQt5.QtWidgets",
  1360. "description": "PyQt5.QtWidgets",
  1361. "isExtraImport": true,
  1362. "detail": "PyQt5.QtWidgets",
  1363. "documentation": {}
  1364. },
  1365. {
  1366. "label": "QStatusBar",
  1367. "importPath": "PyQt5.QtWidgets",
  1368. "description": "PyQt5.QtWidgets",
  1369. "isExtraImport": true,
  1370. "detail": "PyQt5.QtWidgets",
  1371. "documentation": {}
  1372. },
  1373. {
  1374. "label": "QApplication",
  1375. "importPath": "PyQt5.QtWidgets",
  1376. "description": "PyQt5.QtWidgets",
  1377. "isExtraImport": true,
  1378. "detail": "PyQt5.QtWidgets",
  1379. "documentation": {}
  1380. },
  1381. {
  1382. "label": "QMainWindow",
  1383. "importPath": "PyQt5.QtWidgets",
  1384. "description": "PyQt5.QtWidgets",
  1385. "isExtraImport": true,
  1386. "detail": "PyQt5.QtWidgets",
  1387. "documentation": {}
  1388. },
  1389. {
  1390. "label": "QApplication",
  1391. "importPath": "PyQt5.QtWidgets",
  1392. "description": "PyQt5.QtWidgets",
  1393. "isExtraImport": true,
  1394. "detail": "PyQt5.QtWidgets",
  1395. "documentation": {}
  1396. },
  1397. {
  1398. "label": "QMainWindow",
  1399. "importPath": "PyQt5.QtWidgets",
  1400. "description": "PyQt5.QtWidgets",
  1401. "isExtraImport": true,
  1402. "detail": "PyQt5.QtWidgets",
  1403. "documentation": {}
  1404. },
  1405. {
  1406. "label": "QApplication",
  1407. "importPath": "PyQt5.QtWidgets",
  1408. "description": "PyQt5.QtWidgets",
  1409. "isExtraImport": true,
  1410. "detail": "PyQt5.QtWidgets",
  1411. "documentation": {}
  1412. },
  1413. {
  1414. "label": "QMainWindow",
  1415. "importPath": "PyQt5.QtWidgets",
  1416. "description": "PyQt5.QtWidgets",
  1417. "isExtraImport": true,
  1418. "detail": "PyQt5.QtWidgets",
  1419. "documentation": {}
  1420. },
  1421. {
  1422. "label": "QMainWindow",
  1423. "importPath": "PyQt5.QtWidgets",
  1424. "description": "PyQt5.QtWidgets",
  1425. "isExtraImport": true,
  1426. "detail": "PyQt5.QtWidgets",
  1427. "documentation": {}
  1428. },
  1429. {
  1430. "label": "QFormLayout",
  1431. "importPath": "PyQt5.QtWidgets",
  1432. "description": "PyQt5.QtWidgets",
  1433. "isExtraImport": true,
  1434. "detail": "PyQt5.QtWidgets",
  1435. "documentation": {}
  1436. },
  1437. {
  1438. "label": "QLineEdit",
  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": "QComboBox",
  1455. "importPath": "PyQt5.QtWidgets",
  1456. "description": "PyQt5.QtWidgets",
  1457. "isExtraImport": true,
  1458. "detail": "PyQt5.QtWidgets",
  1459. "documentation": {}
  1460. },
  1461. {
  1462. "label": "QPushButton",
  1463. "importPath": "PyQt5.QtWidgets",
  1464. "description": "PyQt5.QtWidgets",
  1465. "isExtraImport": true,
  1466. "detail": "PyQt5.QtWidgets",
  1467. "documentation": {}
  1468. },
  1469. {
  1470. "label": "QApplication",
  1471. "importPath": "PyQt5.QtWidgets",
  1472. "description": "PyQt5.QtWidgets",
  1473. "isExtraImport": true,
  1474. "detail": "PyQt5.QtWidgets",
  1475. "documentation": {}
  1476. },
  1477. {
  1478. "label": "QWidget",
  1479. "importPath": "PyQt5.QtWidgets",
  1480. "description": "PyQt5.QtWidgets",
  1481. "isExtraImport": true,
  1482. "detail": "PyQt5.QtWidgets",
  1483. "documentation": {}
  1484. },
  1485. {
  1486. "label": "QMainWindow",
  1487. "importPath": "PyQt5.QtWidgets",
  1488. "description": "PyQt5.QtWidgets",
  1489. "isExtraImport": true,
  1490. "detail": "PyQt5.QtWidgets",
  1491. "documentation": {}
  1492. },
  1493. {
  1494. "label": "QFormLayout",
  1495. "importPath": "PyQt5.QtWidgets",
  1496. "description": "PyQt5.QtWidgets",
  1497. "isExtraImport": true,
  1498. "detail": "PyQt5.QtWidgets",
  1499. "documentation": {}
  1500. },
  1501. {
  1502. "label": "QLineEdit",
  1503. "importPath": "PyQt5.QtWidgets",
  1504. "description": "PyQt5.QtWidgets",
  1505. "isExtraImport": true,
  1506. "detail": "PyQt5.QtWidgets",
  1507. "documentation": {}
  1508. },
  1509. {
  1510. "label": "QSpinBox",
  1511. "importPath": "PyQt5.QtWidgets",
  1512. "description": "PyQt5.QtWidgets",
  1513. "isExtraImport": true,
  1514. "detail": "PyQt5.QtWidgets",
  1515. "documentation": {}
  1516. },
  1517. {
  1518. "label": "QComboBox",
  1519. "importPath": "PyQt5.QtWidgets",
  1520. "description": "PyQt5.QtWidgets",
  1521. "isExtraImport": true,
  1522. "detail": "PyQt5.QtWidgets",
  1523. "documentation": {}
  1524. },
  1525. {
  1526. "label": "QPushButton",
  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": "\\",
  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": "QApplication",
  1559. "importPath": "PyQt5.QtWidgets",
  1560. "description": "PyQt5.QtWidgets",
  1561. "isExtraImport": true,
  1562. "detail": "PyQt5.QtWidgets",
  1563. "documentation": {}
  1564. },
  1565. {
  1566. "label": "QFormLayout",
  1567. "importPath": "PyQt5.QtWidgets",
  1568. "description": "PyQt5.QtWidgets",
  1569. "isExtraImport": true,
  1570. "detail": "PyQt5.QtWidgets",
  1571. "documentation": {}
  1572. },
  1573. {
  1574. "label": "QLineEdit",
  1575. "importPath": "PyQt5.QtWidgets",
  1576. "description": "PyQt5.QtWidgets",
  1577. "isExtraImport": true,
  1578. "detail": "PyQt5.QtWidgets",
  1579. "documentation": {}
  1580. },
  1581. {
  1582. "label": "QSpinBox",
  1583. "importPath": "PyQt5.QtWidgets",
  1584. "description": "PyQt5.QtWidgets",
  1585. "isExtraImport": true,
  1586. "detail": "PyQt5.QtWidgets",
  1587. "documentation": {}
  1588. },
  1589. {
  1590. "label": "QComboBox",
  1591. "importPath": "PyQt5.QtWidgets",
  1592. "description": "PyQt5.QtWidgets",
  1593. "isExtraImport": true,
  1594. "detail": "PyQt5.QtWidgets",
  1595. "documentation": {}
  1596. },
  1597. {
  1598. "label": "QPushButton",
  1599. "importPath": "PyQt5.QtWidgets",
  1600. "description": "PyQt5.QtWidgets",
  1601. "isExtraImport": true,
  1602. "detail": "PyQt5.QtWidgets",
  1603. "documentation": {}
  1604. },
  1605. {
  1606. "label": "\\",
  1607. "importPath": "PyQt5.QtWidgets",
  1608. "description": "PyQt5.QtWidgets",
  1609. "isExtraImport": true,
  1610. "detail": "PyQt5.QtWidgets",
  1611. "documentation": {}
  1612. },
  1613. {
  1614. "label": "QTableView",
  1615. "importPath": "PyQt5.QtWidgets",
  1616. "description": "PyQt5.QtWidgets",
  1617. "isExtraImport": true,
  1618. "detail": "PyQt5.QtWidgets",
  1619. "documentation": {}
  1620. },
  1621. {
  1622. "label": "QMainWindow",
  1623. "importPath": "PyQt5.QtWidgets",
  1624. "description": "PyQt5.QtWidgets",
  1625. "isExtraImport": true,
  1626. "detail": "PyQt5.QtWidgets",
  1627. "documentation": {}
  1628. },
  1629. {
  1630. "label": "QApplication",
  1631. "importPath": "PyQt5.QtWidgets",
  1632. "description": "PyQt5.QtWidgets",
  1633. "isExtraImport": true,
  1634. "detail": "PyQt5.QtWidgets",
  1635. "documentation": {}
  1636. },
  1637. {
  1638. "label": "QMainWindow",
  1639. "importPath": "PyQt5.QtWidgets",
  1640. "description": "PyQt5.QtWidgets",
  1641. "isExtraImport": true,
  1642. "detail": "PyQt5.QtWidgets",
  1643. "documentation": {}
  1644. },
  1645. {
  1646. "label": "QTableView",
  1647. "importPath": "PyQt5.QtWidgets",
  1648. "description": "PyQt5.QtWidgets",
  1649. "isExtraImport": true,
  1650. "detail": "PyQt5.QtWidgets",
  1651. "documentation": {}
  1652. },
  1653. {
  1654. "label": "QApplication",
  1655. "importPath": "PyQt5.QtWidgets",
  1656. "description": "PyQt5.QtWidgets",
  1657. "isExtraImport": true,
  1658. "detail": "PyQt5.QtWidgets",
  1659. "documentation": {}
  1660. },
  1661. {
  1662. "label": "QMainWindow",
  1663. "importPath": "PyQt5.QtWidgets",
  1664. "description": "PyQt5.QtWidgets",
  1665. "isExtraImport": true,
  1666. "detail": "PyQt5.QtWidgets",
  1667. "documentation": {}
  1668. },
  1669. {
  1670. "label": "QTableView",
  1671. "importPath": "PyQt5.QtWidgets",
  1672. "description": "PyQt5.QtWidgets",
  1673. "isExtraImport": true,
  1674. "detail": "PyQt5.QtWidgets",
  1675. "documentation": {}
  1676. },
  1677. {
  1678. "label": "QApplication",
  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": "QMainWindow",
  1695. "importPath": "PyQt5.QtWidgets",
  1696. "description": "PyQt5.QtWidgets",
  1697. "isExtraImport": true,
  1698. "detail": "PyQt5.QtWidgets",
  1699. "documentation": {}
  1700. },
  1701. {
  1702. "label": "QApplication",
  1703. "importPath": "PyQt5.QtWidgets",
  1704. "description": "PyQt5.QtWidgets",
  1705. "isExtraImport": true,
  1706. "detail": "PyQt5.QtWidgets",
  1707. "documentation": {}
  1708. },
  1709. {
  1710. "label": "QMainWindow",
  1711. "importPath": "PyQt5.QtWidgets",
  1712. "description": "PyQt5.QtWidgets",
  1713. "isExtraImport": true,
  1714. "detail": "PyQt5.QtWidgets",
  1715. "documentation": {}
  1716. },
  1717. {
  1718. "label": "QApplication",
  1719. "importPath": "PyQt5.QtWidgets",
  1720. "description": "PyQt5.QtWidgets",
  1721. "isExtraImport": true,
  1722. "detail": "PyQt5.QtWidgets",
  1723. "documentation": {}
  1724. },
  1725. {
  1726. "label": "QMainWindow",
  1727. "importPath": "PyQt5.QtWidgets",
  1728. "description": "PyQt5.QtWidgets",
  1729. "isExtraImport": true,
  1730. "detail": "PyQt5.QtWidgets",
  1731. "documentation": {}
  1732. },
  1733. {
  1734. "label": "QLabel",
  1735. "importPath": "PyQt5.QtWidgets",
  1736. "description": "PyQt5.QtWidgets",
  1737. "isExtraImport": true,
  1738. "detail": "PyQt5.QtWidgets",
  1739. "documentation": {}
  1740. },
  1741. {
  1742. "label": "*",
  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": "QVBoxLayout",
  1775. "importPath": "PyQt5.QtWidgets",
  1776. "description": "PyQt5.QtWidgets",
  1777. "isExtraImport": true,
  1778. "detail": "PyQt5.QtWidgets",
  1779. "documentation": {}
  1780. },
  1781. {
  1782. "label": "QPushButton",
  1783. "importPath": "PyQt5.QtWidgets",
  1784. "description": "PyQt5.QtWidgets",
  1785. "isExtraImport": true,
  1786. "detail": "PyQt5.QtWidgets",
  1787. "documentation": {}
  1788. },
  1789. {
  1790. "label": "QWidget",
  1791. "importPath": "PyQt5.QtWidgets",
  1792. "description": "PyQt5.QtWidgets",
  1793. "isExtraImport": true,
  1794. "detail": "PyQt5.QtWidgets",
  1795. "documentation": {}
  1796. },
  1797. {
  1798. "label": "*",
  1799. "importPath": "PyQt5.QtWidgets",
  1800. "description": "PyQt5.QtWidgets",
  1801. "isExtraImport": true,
  1802. "detail": "PyQt5.QtWidgets",
  1803. "documentation": {}
  1804. },
  1805. {
  1806. "label": "*",
  1807. "importPath": "PyQt5.QtWidgets",
  1808. "description": "PyQt5.QtWidgets",
  1809. "isExtraImport": true,
  1810. "detail": "PyQt5.QtWidgets",
  1811. "documentation": {}
  1812. },
  1813. {
  1814. "label": "QMainWindow",
  1815. "importPath": "PyQt5.QtWidgets",
  1816. "description": "PyQt5.QtWidgets",
  1817. "isExtraImport": true,
  1818. "detail": "PyQt5.QtWidgets",
  1819. "documentation": {}
  1820. },
  1821. {
  1822. "label": "QGridLayout",
  1823. "importPath": "PyQt5.QtWidgets",
  1824. "description": "PyQt5.QtWidgets",
  1825. "isExtraImport": true,
  1826. "detail": "PyQt5.QtWidgets",
  1827. "documentation": {}
  1828. },
  1829. {
  1830. "label": "QWidget",
  1831. "importPath": "PyQt5.QtWidgets",
  1832. "description": "PyQt5.QtWidgets",
  1833. "isExtraImport": true,
  1834. "detail": "PyQt5.QtWidgets",
  1835. "documentation": {}
  1836. },
  1837. {
  1838. "label": "QApplication",
  1839. "importPath": "PyQt5.QtWidgets",
  1840. "description": "PyQt5.QtWidgets",
  1841. "isExtraImport": true,
  1842. "detail": "PyQt5.QtWidgets",
  1843. "documentation": {}
  1844. },
  1845. {
  1846. "label": "*",
  1847. "importPath": "PyQt5.QtWidgets",
  1848. "description": "PyQt5.QtWidgets",
  1849. "isExtraImport": true,
  1850. "detail": "PyQt5.QtWidgets",
  1851. "documentation": {}
  1852. },
  1853. {
  1854. "label": "QSize",
  1855. "importPath": "PyQt5.QtCore",
  1856. "description": "PyQt5.QtCore",
  1857. "isExtraImport": true,
  1858. "detail": "PyQt5.QtCore",
  1859. "documentation": {}
  1860. },
  1861. {
  1862. "label": "Qt",
  1863. "importPath": "PyQt5.QtCore",
  1864. "description": "PyQt5.QtCore",
  1865. "isExtraImport": true,
  1866. "detail": "PyQt5.QtCore",
  1867. "documentation": {}
  1868. },
  1869. {
  1870. "label": "pyqtSlot",
  1871. "importPath": "PyQt5.QtCore",
  1872. "description": "PyQt5.QtCore",
  1873. "isExtraImport": true,
  1874. "detail": "PyQt5.QtCore",
  1875. "documentation": {}
  1876. },
  1877. {
  1878. "label": "Qt",
  1879. "importPath": "PyQt5.QtCore",
  1880. "description": "PyQt5.QtCore",
  1881. "isExtraImport": true,
  1882. "detail": "PyQt5.QtCore",
  1883. "documentation": {}
  1884. },
  1885. {
  1886. "label": "QSize",
  1887. "importPath": "PyQt5.QtCore",
  1888. "description": "PyQt5.QtCore",
  1889. "isExtraImport": true,
  1890. "detail": "PyQt5.QtCore",
  1891. "documentation": {}
  1892. },
  1893. {
  1894. "label": "QSize",
  1895. "importPath": "PyQt5.QtCore",
  1896. "description": "PyQt5.QtCore",
  1897. "isExtraImport": true,
  1898. "detail": "PyQt5.QtCore",
  1899. "documentation": {}
  1900. },
  1901. {
  1902. "label": "QSize",
  1903. "importPath": "PyQt5.QtCore",
  1904. "description": "PyQt5.QtCore",
  1905. "isExtraImport": true,
  1906. "detail": "PyQt5.QtCore",
  1907. "documentation": {}
  1908. },
  1909. {
  1910. "label": "Qt",
  1911. "importPath": "PyQt5.QtCore",
  1912. "description": "PyQt5.QtCore",
  1913. "isExtraImport": true,
  1914. "detail": "PyQt5.QtCore",
  1915. "documentation": {}
  1916. },
  1917. {
  1918. "label": "QSize",
  1919. "importPath": "PyQt5.QtCore",
  1920. "description": "PyQt5.QtCore",
  1921. "isExtraImport": true,
  1922. "detail": "PyQt5.QtCore",
  1923. "documentation": {}
  1924. },
  1925. {
  1926. "label": "QSize",
  1927. "importPath": "PyQt5.QtCore",
  1928. "description": "PyQt5.QtCore",
  1929. "isExtraImport": true,
  1930. "detail": "PyQt5.QtCore",
  1931. "documentation": {}
  1932. },
  1933. {
  1934. "label": "Qt",
  1935. "importPath": "PyQt5.QtCore",
  1936. "description": "PyQt5.QtCore",
  1937. "isExtraImport": true,
  1938. "detail": "PyQt5.QtCore",
  1939. "documentation": {}
  1940. },
  1941. {
  1942. "label": "Qt",
  1943. "importPath": "PyQt5.QtCore",
  1944. "description": "PyQt5.QtCore",
  1945. "isExtraImport": true,
  1946. "detail": "PyQt5.QtCore",
  1947. "documentation": {}
  1948. },
  1949. {
  1950. "label": "Qt",
  1951. "importPath": "PyQt5.QtCore",
  1952. "description": "PyQt5.QtCore",
  1953. "isExtraImport": true,
  1954. "detail": "PyQt5.QtCore",
  1955. "documentation": {}
  1956. },
  1957. {
  1958. "label": "Qt",
  1959. "importPath": "PyQt5.QtCore",
  1960. "description": "PyQt5.QtCore",
  1961. "isExtraImport": true,
  1962. "detail": "PyQt5.QtCore",
  1963. "documentation": {}
  1964. },
  1965. {
  1966. "label": "QObject",
  1967. "importPath": "PyQt5.QtCore",
  1968. "description": "PyQt5.QtCore",
  1969. "isExtraImport": true,
  1970. "detail": "PyQt5.QtCore",
  1971. "documentation": {}
  1972. },
  1973. {
  1974. "label": "pyqtSignal",
  1975. "importPath": "PyQt5.QtCore",
  1976. "description": "PyQt5.QtCore",
  1977. "isExtraImport": true,
  1978. "detail": "PyQt5.QtCore",
  1979. "documentation": {}
  1980. },
  1981. {
  1982. "label": "Qt",
  1983. "importPath": "PyQt5.QtCore",
  1984. "description": "PyQt5.QtCore",
  1985. "isExtraImport": true,
  1986. "detail": "PyQt5.QtCore",
  1987. "documentation": {}
  1988. },
  1989. {
  1990. "label": "QAbstractTableModel",
  1991. "importPath": "PyQt5.QtCore",
  1992. "description": "PyQt5.QtCore",
  1993. "isExtraImport": true,
  1994. "detail": "PyQt5.QtCore",
  1995. "documentation": {}
  1996. },
  1997. {
  1998. "label": "Qt",
  1999. "importPath": "PyQt5.QtCore",
  2000. "description": "PyQt5.QtCore",
  2001. "isExtraImport": true,
  2002. "detail": "PyQt5.QtCore",
  2003. "documentation": {}
  2004. },
  2005. {
  2006. "label": "QAbstractTableModel",
  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": "QAbstractTableModel",
  2023. "importPath": "PyQt5.QtCore",
  2024. "description": "PyQt5.QtCore",
  2025. "isExtraImport": true,
  2026. "detail": "PyQt5.QtCore",
  2027. "documentation": {}
  2028. },
  2029. {
  2030. "label": "Qt",
  2031. "importPath": "PyQt5.QtCore",
  2032. "description": "PyQt5.QtCore",
  2033. "isExtraImport": true,
  2034. "detail": "PyQt5.QtCore",
  2035. "documentation": {}
  2036. },
  2037. {
  2038. "label": "QAbstractListModel",
  2039. "importPath": "PyQt5.QtCore",
  2040. "description": "PyQt5.QtCore",
  2041. "isExtraImport": true,
  2042. "detail": "PyQt5.QtCore",
  2043. "documentation": {}
  2044. },
  2045. {
  2046. "label": "Qt",
  2047. "importPath": "PyQt5.QtCore",
  2048. "description": "PyQt5.QtCore",
  2049. "isExtraImport": true,
  2050. "detail": "PyQt5.QtCore",
  2051. "documentation": {}
  2052. },
  2053. {
  2054. "label": "Qt",
  2055. "importPath": "PyQt5.QtCore",
  2056. "description": "PyQt5.QtCore",
  2057. "isExtraImport": true,
  2058. "detail": "PyQt5.QtCore",
  2059. "documentation": {}
  2060. },
  2061. {
  2062. "label": "*",
  2063. "importPath": "PyQt5.QtCore",
  2064. "description": "PyQt5.QtCore",
  2065. "isExtraImport": true,
  2066. "detail": "PyQt5.QtCore",
  2067. "documentation": {}
  2068. },
  2069. {
  2070. "label": "Qt",
  2071. "importPath": "PyQt5.QtCore",
  2072. "description": "PyQt5.QtCore",
  2073. "isExtraImport": true,
  2074. "detail": "PyQt5.QtCore",
  2075. "documentation": {}
  2076. },
  2077. {
  2078. "label": "Qt",
  2079. "importPath": "PyQt5.QtCore",
  2080. "description": "PyQt5.QtCore",
  2081. "isExtraImport": true,
  2082. "detail": "PyQt5.QtCore",
  2083. "documentation": {}
  2084. },
  2085. {
  2086. "label": "*",
  2087. "importPath": "PyQt5.QtCore",
  2088. "description": "PyQt5.QtCore",
  2089. "isExtraImport": true,
  2090. "detail": "PyQt5.QtCore",
  2091. "documentation": {}
  2092. },
  2093. {
  2094. "label": "*",
  2095. "importPath": "PyQt5.QtCore",
  2096. "description": "PyQt5.QtCore",
  2097. "isExtraImport": true,
  2098. "detail": "PyQt5.QtCore",
  2099. "documentation": {}
  2100. },
  2101. {
  2102. "label": "CustomDialog",
  2103. "importPath": "dialogs_2a",
  2104. "description": "dialogs_2a",
  2105. "isExtraImport": true,
  2106. "detail": "dialogs_2a",
  2107. "documentation": {}
  2108. },
  2109. {
  2110. "label": "Color",
  2111. "importPath": "layout_colorwidget",
  2112. "description": "layout_colorwidget",
  2113. "isExtraImport": true,
  2114. "detail": "layout_colorwidget",
  2115. "documentation": {}
  2116. },
  2117. {
  2118. "label": "Color",
  2119. "importPath": "layout_colorwidget",
  2120. "description": "layout_colorwidget",
  2121. "isExtraImport": true,
  2122. "detail": "layout_colorwidget",
  2123. "documentation": {}
  2124. },
  2125. {
  2126. "label": "Color",
  2127. "importPath": "layout_colorwidget",
  2128. "description": "layout_colorwidget",
  2129. "isExtraImport": true,
  2130. "detail": "layout_colorwidget",
  2131. "documentation": {}
  2132. },
  2133. {
  2134. "label": "Color",
  2135. "importPath": "layout_colorwidget",
  2136. "description": "layout_colorwidget",
  2137. "isExtraImport": true,
  2138. "detail": "layout_colorwidget",
  2139. "documentation": {}
  2140. },
  2141. {
  2142. "label": "Color",
  2143. "importPath": "layout_colorwidget",
  2144. "description": "layout_colorwidget",
  2145. "isExtraImport": true,
  2146. "detail": "layout_colorwidget",
  2147. "documentation": {}
  2148. },
  2149. {
  2150. "label": "Color",
  2151. "importPath": "layout_colorwidget",
  2152. "description": "layout_colorwidget",
  2153. "isExtraImport": true,
  2154. "detail": "layout_colorwidget",
  2155. "documentation": {}
  2156. },
  2157. {
  2158. "label": "QPalette",
  2159. "importPath": "PyQt5.QtGui",
  2160. "description": "PyQt5.QtGui",
  2161. "isExtraImport": true,
  2162. "detail": "PyQt5.QtGui",
  2163. "documentation": {}
  2164. },
  2165. {
  2166. "label": "QColor",
  2167. "importPath": "PyQt5.QtGui",
  2168. "description": "PyQt5.QtGui",
  2169. "isExtraImport": true,
  2170. "detail": "PyQt5.QtGui",
  2171. "documentation": {}
  2172. },
  2173. {
  2174. "label": "QPixmap",
  2175. "importPath": "PyQt5.QtGui",
  2176. "description": "PyQt5.QtGui",
  2177. "isExtraImport": true,
  2178. "detail": "PyQt5.QtGui",
  2179. "documentation": {}
  2180. },
  2181. {
  2182. "label": "QPainter",
  2183. "importPath": "PyQt5.QtGui",
  2184. "description": "PyQt5.QtGui",
  2185. "isExtraImport": true,
  2186. "detail": "PyQt5.QtGui",
  2187. "documentation": {}
  2188. },
  2189. {
  2190. "label": "QColor",
  2191. "importPath": "PyQt5.QtGui",
  2192. "description": "PyQt5.QtGui",
  2193. "isExtraImport": true,
  2194. "detail": "PyQt5.QtGui",
  2195. "documentation": {}
  2196. },
  2197. {
  2198. "label": "QPen",
  2199. "importPath": "PyQt5.QtGui",
  2200. "description": "PyQt5.QtGui",
  2201. "isExtraImport": true,
  2202. "detail": "PyQt5.QtGui",
  2203. "documentation": {}
  2204. },
  2205. {
  2206. "label": "QColor",
  2207. "importPath": "PyQt5.QtGui",
  2208. "description": "PyQt5.QtGui",
  2209. "isExtraImport": true,
  2210. "detail": "PyQt5.QtGui",
  2211. "documentation": {}
  2212. },
  2213. {
  2214. "label": "QImage",
  2215. "importPath": "PyQt5.QtGui",
  2216. "description": "PyQt5.QtGui",
  2217. "isExtraImport": true,
  2218. "detail": "PyQt5.QtGui",
  2219. "documentation": {}
  2220. },
  2221. {
  2222. "label": "*",
  2223. "importPath": "PyQt5.QtGui",
  2224. "description": "PyQt5.QtGui",
  2225. "isExtraImport": true,
  2226. "detail": "PyQt5.QtGui",
  2227. "documentation": {}
  2228. },
  2229. {
  2230. "label": "QPixmap",
  2231. "importPath": "PyQt5.QtGui",
  2232. "description": "PyQt5.QtGui",
  2233. "isExtraImport": true,
  2234. "detail": "PyQt5.QtGui",
  2235. "documentation": {}
  2236. },
  2237. {
  2238. "label": "QPalette",
  2239. "importPath": "PyQt5.QtGui",
  2240. "description": "PyQt5.QtGui",
  2241. "isExtraImport": true,
  2242. "detail": "PyQt5.QtGui",
  2243. "documentation": {}
  2244. },
  2245. {
  2246. "label": "QColor",
  2247. "importPath": "PyQt5.QtGui",
  2248. "description": "PyQt5.QtGui",
  2249. "isExtraImport": true,
  2250. "detail": "PyQt5.QtGui",
  2251. "documentation": {}
  2252. },
  2253. {
  2254. "label": "QPalette",
  2255. "importPath": "PyQt5.QtGui",
  2256. "description": "PyQt5.QtGui",
  2257. "isExtraImport": true,
  2258. "detail": "PyQt5.QtGui",
  2259. "documentation": {}
  2260. },
  2261. {
  2262. "label": "QColor",
  2263. "importPath": "PyQt5.QtGui",
  2264. "description": "PyQt5.QtGui",
  2265. "isExtraImport": true,
  2266. "detail": "PyQt5.QtGui",
  2267. "documentation": {}
  2268. },
  2269. {
  2270. "label": "QPalette",
  2271. "importPath": "PyQt5.QtGui",
  2272. "description": "PyQt5.QtGui",
  2273. "isExtraImport": true,
  2274. "detail": "PyQt5.QtGui",
  2275. "documentation": {}
  2276. },
  2277. {
  2278. "label": "QColor",
  2279. "importPath": "PyQt5.QtGui",
  2280. "description": "PyQt5.QtGui",
  2281. "isExtraImport": true,
  2282. "detail": "PyQt5.QtGui",
  2283. "documentation": {}
  2284. },
  2285. {
  2286. "label": "random",
  2287. "kind": 6,
  2288. "isExtraImport": true,
  2289. "importPath": "random",
  2290. "description": "random",
  2291. "detail": "random",
  2292. "documentation": {}
  2293. },
  2294. {
  2295. "label": "choice",
  2296. "importPath": "random",
  2297. "description": "random",
  2298. "isExtraImport": true,
  2299. "detail": "random",
  2300. "documentation": {}
  2301. },
  2302. {
  2303. "label": "randint",
  2304. "importPath": "random",
  2305. "description": "random",
  2306. "isExtraImport": true,
  2307. "detail": "random",
  2308. "documentation": {}
  2309. },
  2310. {
  2311. "label": "randint",
  2312. "importPath": "random",
  2313. "description": "random",
  2314. "isExtraImport": true,
  2315. "detail": "random",
  2316. "documentation": {}
  2317. },
  2318. {
  2319. "label": "randint",
  2320. "importPath": "random",
  2321. "description": "random",
  2322. "isExtraImport": true,
  2323. "detail": "random",
  2324. "documentation": {}
  2325. },
  2326. {
  2327. "label": "randint",
  2328. "importPath": "random",
  2329. "description": "random",
  2330. "isExtraImport": true,
  2331. "detail": "random",
  2332. "documentation": {}
  2333. },
  2334. {
  2335. "label": "choice",
  2336. "importPath": "random",
  2337. "description": "random",
  2338. "isExtraImport": true,
  2339. "detail": "random",
  2340. "documentation": {}
  2341. },
  2342. {
  2343. "label": "QSqlDatabase",
  2344. "importPath": "PyQt5.QtSql",
  2345. "description": "PyQt5.QtSql",
  2346. "isExtraImport": true,
  2347. "detail": "PyQt5.QtSql",
  2348. "documentation": {}
  2349. },
  2350. {
  2351. "label": "QSqlQueryModel",
  2352. "importPath": "PyQt5.QtSql",
  2353. "description": "PyQt5.QtSql",
  2354. "isExtraImport": true,
  2355. "detail": "PyQt5.QtSql",
  2356. "documentation": {}
  2357. },
  2358. {
  2359. "label": "QSqlQuery",
  2360. "importPath": "PyQt5.QtSql",
  2361. "description": "PyQt5.QtSql",
  2362. "isExtraImport": true,
  2363. "detail": "PyQt5.QtSql",
  2364. "documentation": {}
  2365. },
  2366. {
  2367. "label": "QSqlDatabase",
  2368. "importPath": "PyQt5.QtSql",
  2369. "description": "PyQt5.QtSql",
  2370. "isExtraImport": true,
  2371. "detail": "PyQt5.QtSql",
  2372. "documentation": {}
  2373. },
  2374. {
  2375. "label": "QSqlRelationalTableModel",
  2376. "importPath": "PyQt5.QtSql",
  2377. "description": "PyQt5.QtSql",
  2378. "isExtraImport": true,
  2379. "detail": "PyQt5.QtSql",
  2380. "documentation": {}
  2381. },
  2382. {
  2383. "label": "QSqlRelation",
  2384. "importPath": "PyQt5.QtSql",
  2385. "description": "PyQt5.QtSql",
  2386. "isExtraImport": true,
  2387. "detail": "PyQt5.QtSql",
  2388. "documentation": {}
  2389. },
  2390. {
  2391. "label": "QSqlRelationalDelegate",
  2392. "importPath": "PyQt5.QtSql",
  2393. "description": "PyQt5.QtSql",
  2394. "isExtraImport": true,
  2395. "detail": "PyQt5.QtSql",
  2396. "documentation": {}
  2397. },
  2398. {
  2399. "label": "QSqlDatabase",
  2400. "importPath": "PyQt5.QtSql",
  2401. "description": "PyQt5.QtSql",
  2402. "isExtraImport": true,
  2403. "detail": "PyQt5.QtSql",
  2404. "documentation": {}
  2405. },
  2406. {
  2407. "label": "QSqlTableModel",
  2408. "importPath": "PyQt5.QtSql",
  2409. "description": "PyQt5.QtSql",
  2410. "isExtraImport": true,
  2411. "detail": "PyQt5.QtSql",
  2412. "documentation": {}
  2413. },
  2414. {
  2415. "label": "QSqlDatabase",
  2416. "importPath": "PyQt5.QtSql",
  2417. "description": "PyQt5.QtSql",
  2418. "isExtraImport": true,
  2419. "detail": "PyQt5.QtSql",
  2420. "documentation": {}
  2421. },
  2422. {
  2423. "label": "QSqlTableModel",
  2424. "importPath": "PyQt5.QtSql",
  2425. "description": "PyQt5.QtSql",
  2426. "isExtraImport": true,
  2427. "detail": "PyQt5.QtSql",
  2428. "documentation": {}
  2429. },
  2430. {
  2431. "label": "QSqlDatabase",
  2432. "importPath": "PyQt5.QtSql",
  2433. "description": "PyQt5.QtSql",
  2434. "isExtraImport": true,
  2435. "detail": "PyQt5.QtSql",
  2436. "documentation": {}
  2437. },
  2438. {
  2439. "label": "QSqlTableModel",
  2440. "importPath": "PyQt5.QtSql",
  2441. "description": "PyQt5.QtSql",
  2442. "isExtraImport": true,
  2443. "detail": "PyQt5.QtSql",
  2444. "documentation": {}
  2445. },
  2446. {
  2447. "label": "QSqlQuery",
  2448. "importPath": "PyQt5.QtSql",
  2449. "description": "PyQt5.QtSql",
  2450. "isExtraImport": true,
  2451. "detail": "PyQt5.QtSql",
  2452. "documentation": {}
  2453. },
  2454. {
  2455. "label": "re",
  2456. "kind": 6,
  2457. "isExtraImport": true,
  2458. "importPath": "re",
  2459. "description": "re",
  2460. "detail": "re",
  2461. "documentation": {}
  2462. },
  2463. {
  2464. "label": "QtCore",
  2465. "importPath": "PyQt5",
  2466. "description": "PyQt5",
  2467. "isExtraImport": true,
  2468. "detail": "PyQt5",
  2469. "documentation": {}
  2470. },
  2471. {
  2472. "label": "QtGui",
  2473. "importPath": "PyQt5",
  2474. "description": "PyQt5",
  2475. "isExtraImport": true,
  2476. "detail": "PyQt5",
  2477. "documentation": {}
  2478. },
  2479. {
  2480. "label": "QtWidgets",
  2481. "importPath": "PyQt5",
  2482. "description": "PyQt5",
  2483. "isExtraImport": true,
  2484. "detail": "PyQt5",
  2485. "documentation": {}
  2486. },
  2487. {
  2488. "label": "uic",
  2489. "importPath": "PyQt5",
  2490. "description": "PyQt5",
  2491. "isExtraImport": true,
  2492. "detail": "PyQt5",
  2493. "documentation": {}
  2494. },
  2495. {
  2496. "label": "uic",
  2497. "importPath": "PyQt5",
  2498. "description": "PyQt5",
  2499. "isExtraImport": true,
  2500. "detail": "PyQt5",
  2501. "documentation": {}
  2502. },
  2503. {
  2504. "label": "QtCore",
  2505. "importPath": "PyQt5",
  2506. "description": "PyQt5",
  2507. "isExtraImport": true,
  2508. "detail": "PyQt5",
  2509. "documentation": {}
  2510. },
  2511. {
  2512. "label": "QtGui",
  2513. "importPath": "PyQt5",
  2514. "description": "PyQt5",
  2515. "isExtraImport": true,
  2516. "detail": "PyQt5",
  2517. "documentation": {}
  2518. },
  2519. {
  2520. "label": "QtWidgets",
  2521. "importPath": "PyQt5",
  2522. "description": "PyQt5",
  2523. "isExtraImport": true,
  2524. "detail": "PyQt5",
  2525. "documentation": {}
  2526. },
  2527. {
  2528. "label": "QtCore",
  2529. "importPath": "PyQt5",
  2530. "description": "PyQt5",
  2531. "isExtraImport": true,
  2532. "detail": "PyQt5",
  2533. "documentation": {}
  2534. },
  2535. {
  2536. "label": "QtWidgets",
  2537. "importPath": "PyQt5",
  2538. "description": "PyQt5",
  2539. "isExtraImport": true,
  2540. "detail": "PyQt5",
  2541. "documentation": {}
  2542. },
  2543. {
  2544. "label": "QtWidgets",
  2545. "importPath": "PyQt5",
  2546. "description": "PyQt5",
  2547. "isExtraImport": true,
  2548. "detail": "PyQt5",
  2549. "documentation": {}
  2550. },
  2551. {
  2552. "label": "QtWidgets",
  2553. "importPath": "PyQt5",
  2554. "description": "PyQt5",
  2555. "isExtraImport": true,
  2556. "detail": "PyQt5",
  2557. "documentation": {}
  2558. },
  2559. {
  2560. "label": "QtGui",
  2561. "importPath": "PyQt5",
  2562. "description": "PyQt5",
  2563. "isExtraImport": true,
  2564. "detail": "PyQt5",
  2565. "documentation": {}
  2566. },
  2567. {
  2568. "label": "QtCore",
  2569. "importPath": "PyQt5",
  2570. "description": "PyQt5",
  2571. "isExtraImport": true,
  2572. "detail": "PyQt5",
  2573. "documentation": {}
  2574. },
  2575. {
  2576. "label": "QtWidgets",
  2577. "importPath": "PyQt5",
  2578. "description": "PyQt5",
  2579. "isExtraImport": true,
  2580. "detail": "PyQt5",
  2581. "documentation": {}
  2582. },
  2583. {
  2584. "label": "QtGui",
  2585. "importPath": "PyQt5",
  2586. "description": "PyQt5",
  2587. "isExtraImport": true,
  2588. "detail": "PyQt5",
  2589. "documentation": {}
  2590. },
  2591. {
  2592. "label": "QtWidgets",
  2593. "importPath": "PyQt5",
  2594. "description": "PyQt5",
  2595. "isExtraImport": true,
  2596. "detail": "PyQt5",
  2597. "documentation": {}
  2598. },
  2599. {
  2600. "label": "QtGui",
  2601. "importPath": "PyQt5",
  2602. "description": "PyQt5",
  2603. "isExtraImport": true,
  2604. "detail": "PyQt5",
  2605. "documentation": {}
  2606. },
  2607. {
  2608. "label": "QtCore",
  2609. "importPath": "PyQt5",
  2610. "description": "PyQt5",
  2611. "isExtraImport": true,
  2612. "detail": "PyQt5",
  2613. "documentation": {}
  2614. },
  2615. {
  2616. "label": "QtWidgets",
  2617. "importPath": "PyQt5",
  2618. "description": "PyQt5",
  2619. "isExtraImport": true,
  2620. "detail": "PyQt5",
  2621. "documentation": {}
  2622. },
  2623. {
  2624. "label": "QtGui",
  2625. "importPath": "PyQt5",
  2626. "description": "PyQt5",
  2627. "isExtraImport": true,
  2628. "detail": "PyQt5",
  2629. "documentation": {}
  2630. },
  2631. {
  2632. "label": "QtCore",
  2633. "importPath": "PyQt5",
  2634. "description": "PyQt5",
  2635. "isExtraImport": true,
  2636. "detail": "PyQt5",
  2637. "documentation": {}
  2638. },
  2639. {
  2640. "label": "os.path",
  2641. "kind": 6,
  2642. "isExtraImport": true,
  2643. "importPath": "os.path",
  2644. "description": "os.path",
  2645. "detail": "os.path",
  2646. "documentation": {}
  2647. },
  2648. {
  2649. "label": "Ui_MainWindow",
  2650. "importPath": "MainWindow",
  2651. "description": "MainWindow",
  2652. "isExtraImport": true,
  2653. "detail": "MainWindow",
  2654. "documentation": {}
  2655. },
  2656. {
  2657. "label": "Ui_MainWindow",
  2658. "importPath": "MainWindow",
  2659. "description": "MainWindow",
  2660. "isExtraImport": true,
  2661. "detail": "MainWindow",
  2662. "documentation": {}
  2663. },
  2664. {
  2665. "label": "Ui_MainWindow",
  2666. "importPath": "MainWindow",
  2667. "description": "MainWindow",
  2668. "isExtraImport": true,
  2669. "detail": "MainWindow",
  2670. "documentation": {}
  2671. },
  2672. {
  2673. "label": "Ui_MainWindow",
  2674. "importPath": "MainWindow",
  2675. "description": "MainWindow",
  2676. "isExtraImport": true,
  2677. "detail": "MainWindow",
  2678. "documentation": {}
  2679. },
  2680. {
  2681. "label": "Ui_MainWindow",
  2682. "importPath": "MainWindow",
  2683. "description": "MainWindow",
  2684. "isExtraImport": true,
  2685. "detail": "MainWindow",
  2686. "documentation": {}
  2687. },
  2688. {
  2689. "label": "UserDict",
  2690. "importPath": "collections",
  2691. "description": "collections",
  2692. "isExtraImport": true,
  2693. "detail": "collections",
  2694. "documentation": {}
  2695. },
  2696. {
  2697. "label": "datetime",
  2698. "importPath": "datetime",
  2699. "description": "datetime",
  2700. "isExtraImport": true,
  2701. "detail": "datetime",
  2702. "documentation": {}
  2703. },
  2704. {
  2705. "label": "numpy",
  2706. "kind": 6,
  2707. "isExtraImport": true,
  2708. "importPath": "numpy",
  2709. "description": "numpy",
  2710. "detail": "numpy",
  2711. "documentation": {}
  2712. },
  2713. {
  2714. "label": "pandas",
  2715. "kind": 6,
  2716. "isExtraImport": true,
  2717. "importPath": "pandas",
  2718. "description": "pandas",
  2719. "detail": "pandas",
  2720. "documentation": {}
  2721. },
  2722. {
  2723. "label": "json",
  2724. "kind": 6,
  2725. "isExtraImport": true,
  2726. "importPath": "json",
  2727. "description": "json",
  2728. "detail": "json",
  2729. "documentation": {}
  2730. },
  2731. {
  2732. "label": "bin_dir",
  2733. "kind": 5,
  2734. "importPath": ".venv.bin.activate_this",
  2735. "description": ".venv.bin.activate_this",
  2736. "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",
  2737. "detail": ".venv.bin.activate_this",
  2738. "documentation": {}
  2739. },
  2740. {
  2741. "label": "base",
  2742. "kind": 5,
  2743. "importPath": ".venv.bin.activate_this",
  2744. "description": ".venv.bin.activate_this",
  2745. "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)",
  2746. "detail": ".venv.bin.activate_this",
  2747. "documentation": {}
  2748. },
  2749. {
  2750. "label": "os.environ[\"PATH\"]",
  2751. "kind": 5,
  2752. "importPath": ".venv.bin.activate_this",
  2753. "description": ".venv.bin.activate_this",
  2754. "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]",
  2755. "detail": ".venv.bin.activate_this",
  2756. "documentation": {}
  2757. },
  2758. {
  2759. "label": "os.environ[\"VIRTUAL_ENV\"]",
  2760. "kind": 5,
  2761. "importPath": ".venv.bin.activate_this",
  2762. "description": ".venv.bin.activate_this",
  2763. "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",
  2764. "detail": ".venv.bin.activate_this",
  2765. "documentation": {}
  2766. },
  2767. {
  2768. "label": "os.environ[\"VIRTUAL_ENV_PROMPT\"]",
  2769. "kind": 5,
  2770. "importPath": ".venv.bin.activate_this",
  2771. "description": ".venv.bin.activate_this",
  2772. "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",
  2773. "detail": ".venv.bin.activate_this",
  2774. "documentation": {}
  2775. },
  2776. {
  2777. "label": "prev_length",
  2778. "kind": 5,
  2779. "importPath": ".venv.bin.activate_this",
  2780. "description": ".venv.bin.activate_this",
  2781. "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",
  2782. "detail": ".venv.bin.activate_this",
  2783. "documentation": {}
  2784. },
  2785. {
  2786. "label": "sys.path[:]",
  2787. "kind": 5,
  2788. "importPath": ".venv.bin.activate_this",
  2789. "description": ".venv.bin.activate_this",
  2790. "peekOfCode": "sys.path[:] = sys.path[prev_length:] + sys.path[0:prev_length]\nsys.real_prefix = sys.prefix\nsys.prefix = base",
  2791. "detail": ".venv.bin.activate_this",
  2792. "documentation": {}
  2793. },
  2794. {
  2795. "label": "sys.real_prefix",
  2796. "kind": 5,
  2797. "importPath": ".venv.bin.activate_this",
  2798. "description": ".venv.bin.activate_this",
  2799. "peekOfCode": "sys.real_prefix = sys.prefix\nsys.prefix = base",
  2800. "detail": ".venv.bin.activate_this",
  2801. "documentation": {}
  2802. },
  2803. {
  2804. "label": "sys.prefix",
  2805. "kind": 5,
  2806. "importPath": ".venv.bin.activate_this",
  2807. "description": ".venv.bin.activate_this",
  2808. "peekOfCode": "sys.prefix = base",
  2809. "detail": ".venv.bin.activate_this",
  2810. "documentation": {}
  2811. },
  2812. {
  2813. "label": "app",
  2814. "kind": 5,
  2815. "importPath": "basic.creating_a_window_1",
  2816. "description": "basic.creating_a_window_1",
  2817. "peekOfCode": "app = QApplication(sys.argv)\nwindow = QWidget()\nwindow.show()\nsys.exit(app.exec_())",
  2818. "detail": "basic.creating_a_window_1",
  2819. "documentation": {}
  2820. },
  2821. {
  2822. "label": "window",
  2823. "kind": 5,
  2824. "importPath": "basic.creating_a_window_1",
  2825. "description": "basic.creating_a_window_1",
  2826. "peekOfCode": "window = QWidget()\nwindow.show()\nsys.exit(app.exec_())",
  2827. "detail": "basic.creating_a_window_1",
  2828. "documentation": {}
  2829. },
  2830. {
  2831. "label": "app",
  2832. "kind": 5,
  2833. "importPath": "basic.creating_a_window_2",
  2834. "description": "basic.creating_a_window_2",
  2835. "peekOfCode": "app = QApplication(sys.argv)\nwindow = QPushButton(\"Push me\")\nwindow.show()\nsys.exit(app.exec_())",
  2836. "detail": "basic.creating_a_window_2",
  2837. "documentation": {}
  2838. },
  2839. {
  2840. "label": "window",
  2841. "kind": 5,
  2842. "importPath": "basic.creating_a_window_2",
  2843. "description": "basic.creating_a_window_2",
  2844. "peekOfCode": "window = QPushButton(\"Push me\")\nwindow.show()\nsys.exit(app.exec_())",
  2845. "detail": "basic.creating_a_window_2",
  2846. "documentation": {}
  2847. },
  2848. {
  2849. "label": "app",
  2850. "kind": 5,
  2851. "importPath": "basic.creating_a_window_3",
  2852. "description": "basic.creating_a_window_3",
  2853. "peekOfCode": "app = QApplication(sys.argv)\nwindow = QMainWindow()\nwindow.show()\n# Start the event loop\nsys.exit(app.exec_())",
  2854. "detail": "basic.creating_a_window_3",
  2855. "documentation": {}
  2856. },
  2857. {
  2858. "label": "window",
  2859. "kind": 5,
  2860. "importPath": "basic.creating_a_window_3",
  2861. "description": "basic.creating_a_window_3",
  2862. "peekOfCode": "window = QMainWindow()\nwindow.show()\n# Start the event loop\nsys.exit(app.exec_())",
  2863. "detail": "basic.creating_a_window_3",
  2864. "documentation": {}
  2865. },
  2866. {
  2867. "label": "MainWindow",
  2868. "kind": 6,
  2869. "importPath": "basic.creating_a_window_4",
  2870. "description": "basic.creating_a_window_4",
  2871. "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()",
  2872. "detail": "basic.creating_a_window_4",
  2873. "documentation": {}
  2874. },
  2875. {
  2876. "label": "app",
  2877. "kind": 5,
  2878. "importPath": "basic.creating_a_window_4",
  2879. "description": "basic.creating_a_window_4",
  2880. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  2881. "detail": "basic.creating_a_window_4",
  2882. "documentation": {}
  2883. },
  2884. {
  2885. "label": "window",
  2886. "kind": 5,
  2887. "importPath": "basic.creating_a_window_4",
  2888. "description": "basic.creating_a_window_4",
  2889. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  2890. "detail": "basic.creating_a_window_4",
  2891. "documentation": {}
  2892. },
  2893. {
  2894. "label": "CustomDialog",
  2895. "kind": 6,
  2896. "importPath": "basic.dialogs_2a",
  2897. "description": "basic.dialogs_2a",
  2898. "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?\")",
  2899. "detail": "basic.dialogs_2a",
  2900. "documentation": {}
  2901. },
  2902. {
  2903. "label": "MainWindow",
  2904. "kind": 6,
  2905. "importPath": "basic.dialogs_3",
  2906. "description": "basic.dialogs_3",
  2907. "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)",
  2908. "detail": "basic.dialogs_3",
  2909. "documentation": {}
  2910. },
  2911. {
  2912. "label": "app",
  2913. "kind": 5,
  2914. "importPath": "basic.dialogs_3",
  2915. "description": "basic.dialogs_3",
  2916. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  2917. "detail": "basic.dialogs_3",
  2918. "documentation": {}
  2919. },
  2920. {
  2921. "label": "window",
  2922. "kind": 5,
  2923. "importPath": "basic.dialogs_3",
  2924. "description": "basic.dialogs_3",
  2925. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  2926. "detail": "basic.dialogs_3",
  2927. "documentation": {}
  2928. },
  2929. {
  2930. "label": "MainWindow",
  2931. "kind": 6,
  2932. "importPath": "basic.dialogs_5",
  2933. "description": "basic.dialogs_5",
  2934. "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\")",
  2935. "detail": "basic.dialogs_5",
  2936. "documentation": {}
  2937. },
  2938. {
  2939. "label": "app",
  2940. "kind": 5,
  2941. "importPath": "basic.dialogs_5",
  2942. "description": "basic.dialogs_5",
  2943. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  2944. "detail": "basic.dialogs_5",
  2945. "documentation": {}
  2946. },
  2947. {
  2948. "label": "window",
  2949. "kind": 5,
  2950. "importPath": "basic.dialogs_5",
  2951. "description": "basic.dialogs_5",
  2952. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  2953. "detail": "basic.dialogs_5",
  2954. "documentation": {}
  2955. },
  2956. {
  2957. "label": "MainWindow",
  2958. "kind": 6,
  2959. "importPath": "basic.dialogs_input_1",
  2960. "description": "basic.dialogs_input_1",
  2961. "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)",
  2962. "detail": "basic.dialogs_input_1",
  2963. "documentation": {}
  2964. },
  2965. {
  2966. "label": "MainWindow",
  2967. "kind": 6,
  2968. "importPath": "basic.dialogs_start",
  2969. "description": "basic.dialogs_start",
  2970. "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)",
  2971. "detail": "basic.dialogs_start",
  2972. "documentation": {}
  2973. },
  2974. {
  2975. "label": "app",
  2976. "kind": 5,
  2977. "importPath": "basic.dialogs_start",
  2978. "description": "basic.dialogs_start",
  2979. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  2980. "detail": "basic.dialogs_start",
  2981. "documentation": {}
  2982. },
  2983. {
  2984. "label": "window",
  2985. "kind": 5,
  2986. "importPath": "basic.dialogs_start",
  2987. "description": "basic.dialogs_start",
  2988. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  2989. "detail": "basic.dialogs_start",
  2990. "documentation": {}
  2991. },
  2992. {
  2993. "label": "MainWindow",
  2994. "kind": 6,
  2995. "importPath": "basic.events_1",
  2996. "description": "basic.events_1",
  2997. "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):",
  2998. "detail": "basic.events_1",
  2999. "documentation": {}
  3000. },
  3001. {
  3002. "label": "app",
  3003. "kind": 5,
  3004. "importPath": "basic.events_1",
  3005. "description": "basic.events_1",
  3006. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3007. "detail": "basic.events_1",
  3008. "documentation": {}
  3009. },
  3010. {
  3011. "label": "window",
  3012. "kind": 5,
  3013. "importPath": "basic.events_1",
  3014. "description": "basic.events_1",
  3015. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3016. "detail": "basic.events_1",
  3017. "documentation": {}
  3018. },
  3019. {
  3020. "label": "MainWindow",
  3021. "kind": 6,
  3022. "importPath": "basic.events_3",
  3023. "description": "basic.events_3",
  3024. "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))",
  3025. "detail": "basic.events_3",
  3026. "documentation": {}
  3027. },
  3028. {
  3029. "label": "app",
  3030. "kind": 5,
  3031. "importPath": "basic.events_3",
  3032. "description": "basic.events_3",
  3033. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3034. "detail": "basic.events_3",
  3035. "documentation": {}
  3036. },
  3037. {
  3038. "label": "window",
  3039. "kind": 5,
  3040. "importPath": "basic.events_3",
  3041. "description": "basic.events_3",
  3042. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3043. "detail": "basic.events_3",
  3044. "documentation": {}
  3045. },
  3046. {
  3047. "label": "MainWindow",
  3048. "kind": 6,
  3049. "importPath": "basic.layout_1",
  3050. "description": "basic.layout_1",
  3051. "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)",
  3052. "detail": "basic.layout_1",
  3053. "documentation": {}
  3054. },
  3055. {
  3056. "label": "MyWindow",
  3057. "kind": 6,
  3058. "importPath": "basic.layout_10",
  3059. "description": "basic.layout_10",
  3060. "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\",",
  3061. "detail": "basic.layout_10",
  3062. "documentation": {}
  3063. },
  3064. {
  3065. "label": "app",
  3066. "kind": 5,
  3067. "importPath": "basic.layout_10",
  3068. "description": "basic.layout_10",
  3069. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MyWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3070. "detail": "basic.layout_10",
  3071. "documentation": {}
  3072. },
  3073. {
  3074. "label": "window",
  3075. "kind": 5,
  3076. "importPath": "basic.layout_10",
  3077. "description": "basic.layout_10",
  3078. "peekOfCode": "window = MyWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3079. "detail": "basic.layout_10",
  3080. "documentation": {}
  3081. },
  3082. {
  3083. "label": "MainWindow",
  3084. "kind": 6,
  3085. "importPath": "basic.layout_3",
  3086. "description": "basic.layout_3",
  3087. "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)",
  3088. "detail": "basic.layout_3",
  3089. "documentation": {}
  3090. },
  3091. {
  3092. "label": "MainWindow",
  3093. "kind": 6,
  3094. "importPath": "basic.layout_4",
  3095. "description": "basic.layout_4",
  3096. "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\"))",
  3097. "detail": "basic.layout_4",
  3098. "documentation": {}
  3099. },
  3100. {
  3101. "label": "MainWindow",
  3102. "kind": 6,
  3103. "importPath": "basic.layout_7",
  3104. "description": "basic.layout_7",
  3105. "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\"))",
  3106. "detail": "basic.layout_7",
  3107. "documentation": {}
  3108. },
  3109. {
  3110. "label": "app",
  3111. "kind": 5,
  3112. "importPath": "basic.layout_7",
  3113. "description": "basic.layout_7",
  3114. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3115. "detail": "basic.layout_7",
  3116. "documentation": {}
  3117. },
  3118. {
  3119. "label": "window",
  3120. "kind": 5,
  3121. "importPath": "basic.layout_7",
  3122. "description": "basic.layout_7",
  3123. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3124. "detail": "basic.layout_7",
  3125. "documentation": {}
  3126. },
  3127. {
  3128. "label": "MainWindow",
  3129. "kind": 6,
  3130. "importPath": "basic.layout_8",
  3131. "description": "basic.layout_8",
  3132. "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\")",
  3133. "detail": "basic.layout_8",
  3134. "documentation": {}
  3135. },
  3136. {
  3137. "label": "app",
  3138. "kind": 5,
  3139. "importPath": "basic.layout_8",
  3140. "description": "basic.layout_8",
  3141. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3142. "detail": "basic.layout_8",
  3143. "documentation": {}
  3144. },
  3145. {
  3146. "label": "window",
  3147. "kind": 5,
  3148. "importPath": "basic.layout_8",
  3149. "description": "basic.layout_8",
  3150. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3151. "detail": "basic.layout_8",
  3152. "documentation": {}
  3153. },
  3154. {
  3155. "label": "MainWindow",
  3156. "kind": 6,
  3157. "importPath": "basic.layout_9",
  3158. "description": "basic.layout_9",
  3159. "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)",
  3160. "detail": "basic.layout_9",
  3161. "documentation": {}
  3162. },
  3163. {
  3164. "label": "app",
  3165. "kind": 5,
  3166. "importPath": "basic.layout_9",
  3167. "description": "basic.layout_9",
  3168. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3169. "detail": "basic.layout_9",
  3170. "documentation": {}
  3171. },
  3172. {
  3173. "label": "window",
  3174. "kind": 5,
  3175. "importPath": "basic.layout_9",
  3176. "description": "basic.layout_9",
  3177. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3178. "detail": "basic.layout_9",
  3179. "documentation": {}
  3180. },
  3181. {
  3182. "label": "Color",
  3183. "kind": 6,
  3184. "importPath": "basic.layout_colorwidget",
  3185. "description": "basic.layout_colorwidget",
  3186. "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)",
  3187. "detail": "basic.layout_colorwidget",
  3188. "documentation": {}
  3189. },
  3190. {
  3191. "label": "MainWindow",
  3192. "kind": 6,
  3193. "importPath": "basic.signals_and_slots_1",
  3194. "description": "basic.signals_and_slots_1",
  3195. "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()",
  3196. "detail": "basic.signals_and_slots_1",
  3197. "documentation": {}
  3198. },
  3199. {
  3200. "label": "the_button_was_clicked",
  3201. "kind": 2,
  3202. "importPath": "basic.signals_and_slots_1",
  3203. "description": "basic.signals_and_slots_1",
  3204. "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)",
  3205. "detail": "basic.signals_and_slots_1",
  3206. "documentation": {}
  3207. },
  3208. {
  3209. "label": "app",
  3210. "kind": 5,
  3211. "importPath": "basic.signals_and_slots_1",
  3212. "description": "basic.signals_and_slots_1",
  3213. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3214. "detail": "basic.signals_and_slots_1",
  3215. "documentation": {}
  3216. },
  3217. {
  3218. "label": "window",
  3219. "kind": 5,
  3220. "importPath": "basic.signals_and_slots_1",
  3221. "description": "basic.signals_and_slots_1",
  3222. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3223. "detail": "basic.signals_and_slots_1",
  3224. "documentation": {}
  3225. },
  3226. {
  3227. "label": "MainWindow",
  3228. "kind": 6,
  3229. "importPath": "basic.signals_and_slots_1b",
  3230. "description": "basic.signals_and_slots_1b",
  3231. "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)",
  3232. "detail": "basic.signals_and_slots_1b",
  3233. "documentation": {}
  3234. },
  3235. {
  3236. "label": "the_button_was_clicked",
  3237. "kind": 2,
  3238. "importPath": "basic.signals_and_slots_1b",
  3239. "description": "basic.signals_and_slots_1b",
  3240. "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)",
  3241. "detail": "basic.signals_and_slots_1b",
  3242. "documentation": {}
  3243. },
  3244. {
  3245. "label": "the_button_was_toggled",
  3246. "kind": 2,
  3247. "importPath": "basic.signals_and_slots_1b",
  3248. "description": "basic.signals_and_slots_1b",
  3249. "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)",
  3250. "detail": "basic.signals_and_slots_1b",
  3251. "documentation": {}
  3252. },
  3253. {
  3254. "label": "app",
  3255. "kind": 5,
  3256. "importPath": "basic.signals_and_slots_1b",
  3257. "description": "basic.signals_and_slots_1b",
  3258. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3259. "detail": "basic.signals_and_slots_1b",
  3260. "documentation": {}
  3261. },
  3262. {
  3263. "label": "window",
  3264. "kind": 5,
  3265. "importPath": "basic.signals_and_slots_1b",
  3266. "description": "basic.signals_and_slots_1b",
  3267. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3268. "detail": "basic.signals_and_slots_1b",
  3269. "documentation": {}
  3270. },
  3271. {
  3272. "label": "MainWindow",
  3273. "kind": 6,
  3274. "importPath": "basic.signals_and_slots_1c",
  3275. "description": "basic.signals_and_slots_1c",
  3276. "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",
  3277. "detail": "basic.signals_and_slots_1c",
  3278. "documentation": {}
  3279. },
  3280. {
  3281. "label": "app",
  3282. "kind": 5,
  3283. "importPath": "basic.signals_and_slots_1c",
  3284. "description": "basic.signals_and_slots_1c",
  3285. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3286. "detail": "basic.signals_and_slots_1c",
  3287. "documentation": {}
  3288. },
  3289. {
  3290. "label": "window",
  3291. "kind": 5,
  3292. "importPath": "basic.signals_and_slots_1c",
  3293. "description": "basic.signals_and_slots_1c",
  3294. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3295. "detail": "basic.signals_and_slots_1c",
  3296. "documentation": {}
  3297. },
  3298. {
  3299. "label": "MainWindow",
  3300. "kind": 6,
  3301. "importPath": "basic.signals_and_slots_1d",
  3302. "description": "basic.signals_and_slots_1d",
  3303. "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",
  3304. "detail": "basic.signals_and_slots_1d",
  3305. "documentation": {}
  3306. },
  3307. {
  3308. "label": "app",
  3309. "kind": 5,
  3310. "importPath": "basic.signals_and_slots_1d",
  3311. "description": "basic.signals_and_slots_1d",
  3312. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3313. "detail": "basic.signals_and_slots_1d",
  3314. "documentation": {}
  3315. },
  3316. {
  3317. "label": "window",
  3318. "kind": 5,
  3319. "importPath": "basic.signals_and_slots_1d",
  3320. "description": "basic.signals_and_slots_1d",
  3321. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3322. "detail": "basic.signals_and_slots_1d",
  3323. "documentation": {}
  3324. },
  3325. {
  3326. "label": "MainWindow",
  3327. "kind": 6,
  3328. "importPath": "basic.signals_and_slots_2",
  3329. "description": "basic.signals_and_slots_2",
  3330. "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.\")",
  3331. "detail": "basic.signals_and_slots_2",
  3332. "documentation": {}
  3333. },
  3334. {
  3335. "label": "app",
  3336. "kind": 5,
  3337. "importPath": "basic.signals_and_slots_2",
  3338. "description": "basic.signals_and_slots_2",
  3339. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3340. "detail": "basic.signals_and_slots_2",
  3341. "documentation": {}
  3342. },
  3343. {
  3344. "label": "window",
  3345. "kind": 5,
  3346. "importPath": "basic.signals_and_slots_2",
  3347. "description": "basic.signals_and_slots_2",
  3348. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3349. "detail": "basic.signals_and_slots_2",
  3350. "documentation": {}
  3351. },
  3352. {
  3353. "label": "MainWindow",
  3354. "kind": 6,
  3355. "importPath": "basic.signals_and_slots_3",
  3356. "description": "basic.signals_and_slots_3",
  3357. "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)",
  3358. "detail": "basic.signals_and_slots_3",
  3359. "documentation": {}
  3360. },
  3361. {
  3362. "label": "window_titles",
  3363. "kind": 5,
  3364. "importPath": "basic.signals_and_slots_3",
  3365. "description": "basic.signals_and_slots_3",
  3366. "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\")",
  3367. "detail": "basic.signals_and_slots_3",
  3368. "documentation": {}
  3369. },
  3370. {
  3371. "label": "app",
  3372. "kind": 5,
  3373. "importPath": "basic.signals_and_slots_3",
  3374. "description": "basic.signals_and_slots_3",
  3375. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3376. "detail": "basic.signals_and_slots_3",
  3377. "documentation": {}
  3378. },
  3379. {
  3380. "label": "window",
  3381. "kind": 5,
  3382. "importPath": "basic.signals_and_slots_3",
  3383. "description": "basic.signals_and_slots_3",
  3384. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3385. "detail": "basic.signals_and_slots_3",
  3386. "documentation": {}
  3387. },
  3388. {
  3389. "label": "MainWindow",
  3390. "kind": 6,
  3391. "importPath": "basic.signals_and_slots_4",
  3392. "description": "basic.signals_and_slots_4",
  3393. "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)",
  3394. "detail": "basic.signals_and_slots_4",
  3395. "documentation": {}
  3396. },
  3397. {
  3398. "label": "app",
  3399. "kind": 5,
  3400. "importPath": "basic.signals_and_slots_4",
  3401. "description": "basic.signals_and_slots_4",
  3402. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3403. "detail": "basic.signals_and_slots_4",
  3404. "documentation": {}
  3405. },
  3406. {
  3407. "label": "window",
  3408. "kind": 5,
  3409. "importPath": "basic.signals_and_slots_4",
  3410. "description": "basic.signals_and_slots_4",
  3411. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3412. "detail": "basic.signals_and_slots_4",
  3413. "documentation": {}
  3414. },
  3415. {
  3416. "label": "AnotherWindow",
  3417. "kind": 6,
  3418. "importPath": "basic.windows_1",
  3419. "description": "basic.windows_1",
  3420. "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)",
  3421. "detail": "basic.windows_1",
  3422. "documentation": {}
  3423. },
  3424. {
  3425. "label": "MainWindow",
  3426. "kind": 6,
  3427. "importPath": "basic.windows_1",
  3428. "description": "basic.windows_1",
  3429. "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()",
  3430. "detail": "basic.windows_1",
  3431. "documentation": {}
  3432. },
  3433. {
  3434. "label": "app",
  3435. "kind": 5,
  3436. "importPath": "basic.windows_1",
  3437. "description": "basic.windows_1",
  3438. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3439. "detail": "basic.windows_1",
  3440. "documentation": {}
  3441. },
  3442. {
  3443. "label": "window",
  3444. "kind": 5,
  3445. "importPath": "basic.windows_1",
  3446. "description": "basic.windows_1",
  3447. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3448. "detail": "basic.windows_1",
  3449. "documentation": {}
  3450. },
  3451. {
  3452. "label": "AnotherWindow",
  3453. "kind": 6,
  3454. "importPath": "basic.windows_5",
  3455. "description": "basic.windows_5",
  3456. "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)",
  3457. "detail": "basic.windows_5",
  3458. "documentation": {}
  3459. },
  3460. {
  3461. "label": "MainWindow",
  3462. "kind": 6,
  3463. "importPath": "basic.windows_5",
  3464. "description": "basic.windows_5",
  3465. "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()",
  3466. "detail": "basic.windows_5",
  3467. "documentation": {}
  3468. },
  3469. {
  3470. "label": "app",
  3471. "kind": 5,
  3472. "importPath": "basic.windows_5",
  3473. "description": "basic.windows_5",
  3474. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3475. "detail": "basic.windows_5",
  3476. "documentation": {}
  3477. },
  3478. {
  3479. "label": "window",
  3480. "kind": 5,
  3481. "importPath": "basic.windows_5",
  3482. "description": "basic.windows_5",
  3483. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3484. "detail": "basic.windows_5",
  3485. "documentation": {}
  3486. },
  3487. {
  3488. "label": "AnotherWindow",
  3489. "kind": 6,
  3490. "importPath": "basic.windows_7",
  3491. "description": "basic.windows_7",
  3492. "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)",
  3493. "detail": "basic.windows_7",
  3494. "documentation": {}
  3495. },
  3496. {
  3497. "label": "MainWindow",
  3498. "kind": 6,
  3499. "importPath": "basic.windows_7",
  3500. "description": "basic.windows_7",
  3501. "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)",
  3502. "detail": "basic.windows_7",
  3503. "documentation": {}
  3504. },
  3505. {
  3506. "label": "app",
  3507. "kind": 5,
  3508. "importPath": "basic.windows_7",
  3509. "description": "basic.windows_7",
  3510. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3511. "detail": "basic.windows_7",
  3512. "documentation": {}
  3513. },
  3514. {
  3515. "label": "window",
  3516. "kind": 5,
  3517. "importPath": "basic.windows_7",
  3518. "description": "basic.windows_7",
  3519. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3520. "detail": "basic.windows_7",
  3521. "documentation": {}
  3522. },
  3523. {
  3524. "label": "MainWindow",
  3525. "kind": 6,
  3526. "importPath": "bitmap.stub",
  3527. "description": "bitmap.stub",
  3528. "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)",
  3529. "detail": "bitmap.stub",
  3530. "documentation": {}
  3531. },
  3532. {
  3533. "label": "MainWindow",
  3534. "kind": 6,
  3535. "importPath": "databases.tableview",
  3536. "description": "databases.tableview",
  3537. "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()",
  3538. "detail": "databases.tableview",
  3539. "documentation": {}
  3540. },
  3541. {
  3542. "label": "app",
  3543. "kind": 5,
  3544. "importPath": "databases.tableview",
  3545. "description": "databases.tableview",
  3546. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3547. "detail": "databases.tableview",
  3548. "documentation": {}
  3549. },
  3550. {
  3551. "label": "window",
  3552. "kind": 5,
  3553. "importPath": "databases.tableview",
  3554. "description": "databases.tableview",
  3555. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3556. "detail": "databases.tableview",
  3557. "documentation": {}
  3558. },
  3559. {
  3560. "label": "MainWindow",
  3561. "kind": 6,
  3562. "importPath": "databases.tableview_querymodel_parameter",
  3563. "description": "databases.tableview_querymodel_parameter",
  3564. "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...\")",
  3565. "detail": "databases.tableview_querymodel_parameter",
  3566. "documentation": {}
  3567. },
  3568. {
  3569. "label": "basedir",
  3570. "kind": 5,
  3571. "importPath": "databases.tableview_querymodel_parameter",
  3572. "description": "databases.tableview_querymodel_parameter",
  3573. "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()",
  3574. "detail": "databases.tableview_querymodel_parameter",
  3575. "documentation": {}
  3576. },
  3577. {
  3578. "label": "MainWindow",
  3579. "kind": 6,
  3580. "importPath": "databases.tableview_relationalmodel",
  3581. "description": "databases.tableview_relationalmodel",
  3582. "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\"))",
  3583. "detail": "databases.tableview_relationalmodel",
  3584. "documentation": {}
  3585. },
  3586. {
  3587. "label": "basedir",
  3588. "kind": 5,
  3589. "importPath": "databases.tableview_relationalmodel",
  3590. "description": "databases.tableview_relationalmodel",
  3591. "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\")",
  3592. "detail": "databases.tableview_relationalmodel",
  3593. "documentation": {}
  3594. },
  3595. {
  3596. "label": "MainWindow",
  3597. "kind": 6,
  3598. "importPath": "databases.tableview_tablemodel",
  3599. "description": "databases.tableview_tablemodel",
  3600. "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\")",
  3601. "detail": "databases.tableview_tablemodel",
  3602. "documentation": {}
  3603. },
  3604. {
  3605. "label": "basedir",
  3606. "kind": 5,
  3607. "importPath": "databases.tableview_tablemodel",
  3608. "description": "databases.tableview_tablemodel",
  3609. "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\")",
  3610. "detail": "databases.tableview_tablemodel",
  3611. "documentation": {}
  3612. },
  3613. {
  3614. "label": "MainWindow",
  3615. "kind": 6,
  3616. "importPath": "databases.tableview_tablemodel_filter",
  3617. "description": "databases.tableview_tablemodel_filter",
  3618. "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)",
  3619. "detail": "databases.tableview_tablemodel_filter",
  3620. "documentation": {}
  3621. },
  3622. {
  3623. "label": "basedir",
  3624. "kind": 5,
  3625. "importPath": "databases.tableview_tablemodel_filter",
  3626. "description": "databases.tableview_tablemodel_filter",
  3627. "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)",
  3628. "detail": "databases.tableview_tablemodel_filter",
  3629. "documentation": {}
  3630. },
  3631. {
  3632. "label": "MainWindow",
  3633. "kind": 6,
  3634. "importPath": "databases.widget_mapper",
  3635. "description": "databases.widget_mapper",
  3636. "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()",
  3637. "detail": "databases.widget_mapper",
  3638. "documentation": {}
  3639. },
  3640. {
  3641. "label": "basedir",
  3642. "kind": 5,
  3643. "importPath": "databases.widget_mapper",
  3644. "description": "databases.widget_mapper",
  3645. "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",
  3646. "detail": "databases.widget_mapper",
  3647. "documentation": {}
  3648. },
  3649. {
  3650. "label": "Ui_MainWindow",
  3651. "kind": 6,
  3652. "importPath": "designer.MainWindow",
  3653. "description": "designer.MainWindow",
  3654. "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\")",
  3655. "detail": "designer.MainWindow",
  3656. "documentation": {}
  3657. },
  3658. {
  3659. "label": "MainWindow",
  3660. "kind": 6,
  3661. "importPath": "designer.compiled_example",
  3662. "description": "designer.compiled_example",
  3663. "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):",
  3664. "detail": "designer.compiled_example",
  3665. "documentation": {}
  3666. },
  3667. {
  3668. "label": "basedir",
  3669. "kind": 5,
  3670. "importPath": "designer.compiled_example",
  3671. "description": "designer.compiled_example",
  3672. "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)",
  3673. "detail": "designer.compiled_example",
  3674. "documentation": {}
  3675. },
  3676. {
  3677. "label": "app",
  3678. "kind": 5,
  3679. "importPath": "designer.compiled_example",
  3680. "description": "designer.compiled_example",
  3681. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3682. "detail": "designer.compiled_example",
  3683. "documentation": {}
  3684. },
  3685. {
  3686. "label": "window",
  3687. "kind": 5,
  3688. "importPath": "designer.compiled_example",
  3689. "description": "designer.compiled_example",
  3690. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3691. "detail": "designer.compiled_example",
  3692. "documentation": {}
  3693. },
  3694. {
  3695. "label": "basedir",
  3696. "kind": 5,
  3697. "importPath": "designer.example_1",
  3698. "description": "designer.example_1",
  3699. "peekOfCode": "basedir = os.path.dirname(__file__)\napp = QApplication(sys.argv)\nwindow = uic.loadUi(os.path.join(basedir, \"mainwindow.ui\"))\nwindow.show()\napp.exec_()",
  3700. "detail": "designer.example_1",
  3701. "documentation": {}
  3702. },
  3703. {
  3704. "label": "app",
  3705. "kind": 5,
  3706. "importPath": "designer.example_1",
  3707. "description": "designer.example_1",
  3708. "peekOfCode": "app = QApplication(sys.argv)\nwindow = uic.loadUi(os.path.join(basedir, \"mainwindow.ui\"))\nwindow.show()\napp.exec_()",
  3709. "detail": "designer.example_1",
  3710. "documentation": {}
  3711. },
  3712. {
  3713. "label": "window",
  3714. "kind": 5,
  3715. "importPath": "designer.example_1",
  3716. "description": "designer.example_1",
  3717. "peekOfCode": "window = uic.loadUi(os.path.join(basedir, \"mainwindow.ui\"))\nwindow.show()\napp.exec_()",
  3718. "detail": "designer.example_1",
  3719. "documentation": {}
  3720. },
  3721. {
  3722. "label": "MainWindow",
  3723. "kind": 6,
  3724. "importPath": "designer.example_2",
  3725. "description": "designer.example_2",
  3726. "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_()",
  3727. "detail": "designer.example_2",
  3728. "documentation": {}
  3729. },
  3730. {
  3731. "label": "basedir",
  3732. "kind": 5,
  3733. "importPath": "designer.example_2",
  3734. "description": "designer.example_2",
  3735. "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_()",
  3736. "detail": "designer.example_2",
  3737. "documentation": {}
  3738. },
  3739. {
  3740. "label": "app",
  3741. "kind": 5,
  3742. "importPath": "designer.example_2",
  3743. "description": "designer.example_2",
  3744. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\napp.exec_()",
  3745. "detail": "designer.example_2",
  3746. "documentation": {}
  3747. },
  3748. {
  3749. "label": "window",
  3750. "kind": 5,
  3751. "importPath": "designer.example_2",
  3752. "description": "designer.example_2",
  3753. "peekOfCode": "window = MainWindow()\nwindow.show()\napp.exec_()",
  3754. "detail": "designer.example_2",
  3755. "documentation": {}
  3756. },
  3757. {
  3758. "label": "MainWindow",
  3759. "kind": 6,
  3760. "importPath": "further.mvc_1",
  3761. "description": "further.mvc_1",
  3762. "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()",
  3763. "detail": "further.mvc_1",
  3764. "documentation": {}
  3765. },
  3766. {
  3767. "label": "model",
  3768. "kind": 5,
  3769. "importPath": "further.mvc_1",
  3770. "description": "further.mvc_1",
  3771. "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()",
  3772. "detail": "further.mvc_1",
  3773. "documentation": {}
  3774. },
  3775. {
  3776. "label": "MainWindow",
  3777. "kind": 6,
  3778. "importPath": "further.mvc_2",
  3779. "description": "further.mvc_2",
  3780. "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)",
  3781. "detail": "further.mvc_2",
  3782. "documentation": {}
  3783. },
  3784. {
  3785. "label": "model",
  3786. "kind": 5,
  3787. "importPath": "further.mvc_2",
  3788. "description": "further.mvc_2",
  3789. "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__()",
  3790. "detail": "further.mvc_2",
  3791. "documentation": {}
  3792. },
  3793. {
  3794. "label": "backups",
  3795. "kind": 5,
  3796. "importPath": "further.mvc_2",
  3797. "description": "further.mvc_2",
  3798. "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()",
  3799. "detail": "further.mvc_2",
  3800. "documentation": {}
  3801. },
  3802. {
  3803. "label": "DataModelSignals",
  3804. "kind": 6,
  3805. "importPath": "further.mvc_5",
  3806. "description": "further.mvc_5",
  3807. "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)",
  3808. "detail": "further.mvc_5",
  3809. "documentation": {}
  3810. },
  3811. {
  3812. "label": "DataModel",
  3813. "kind": 6,
  3814. "importPath": "further.mvc_5",
  3815. "description": "further.mvc_5",
  3816. "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.",
  3817. "detail": "further.mvc_5",
  3818. "documentation": {}
  3819. },
  3820. {
  3821. "label": "Controller",
  3822. "kind": 6,
  3823. "importPath": "further.mvc_5",
  3824. "description": "further.mvc_5",
  3825. "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",
  3826. "detail": "further.mvc_5",
  3827. "documentation": {}
  3828. },
  3829. {
  3830. "label": "MainWindow",
  3831. "kind": 6,
  3832. "importPath": "further.mvc_5",
  3833. "description": "further.mvc_5",
  3834. "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)",
  3835. "detail": "further.mvc_5",
  3836. "documentation": {}
  3837. },
  3838. {
  3839. "label": "model",
  3840. "kind": 5,
  3841. "importPath": "further.mvc_5",
  3842. "description": "further.mvc_5",
  3843. "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):",
  3844. "detail": "further.mvc_5",
  3845. "documentation": {}
  3846. },
  3847. {
  3848. "label": "controller",
  3849. "kind": 5,
  3850. "importPath": "further.mvc_5",
  3851. "description": "further.mvc_5",
  3852. "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()",
  3853. "detail": "further.mvc_5",
  3854. "documentation": {}
  3855. },
  3856. {
  3857. "label": "Ui_MainWindow",
  3858. "kind": 6,
  3859. "importPath": "model-views.MainWindow",
  3860. "description": "model-views.MainWindow",
  3861. "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\")",
  3862. "detail": "model-views.MainWindow",
  3863. "documentation": {}
  3864. },
  3865. {
  3866. "label": "TableModel",
  3867. "kind": 6,
  3868. "importPath": "model-views.tableview_demo",
  3869. "description": "model-views.tableview_demo",
  3870. "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",
  3871. "detail": "model-views.tableview_demo",
  3872. "documentation": {}
  3873. },
  3874. {
  3875. "label": "MainWindow",
  3876. "kind": 6,
  3877. "importPath": "model-views.tableview_demo",
  3878. "description": "model-views.tableview_demo",
  3879. "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],",
  3880. "detail": "model-views.tableview_demo",
  3881. "documentation": {}
  3882. },
  3883. {
  3884. "label": "COLORS",
  3885. "kind": 5,
  3886. "importPath": "model-views.tableview_demo",
  3887. "description": "model-views.tableview_demo",
  3888. "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:",
  3889. "detail": "model-views.tableview_demo",
  3890. "documentation": {}
  3891. },
  3892. {
  3893. "label": "app",
  3894. "kind": 5,
  3895. "importPath": "model-views.tableview_demo",
  3896. "description": "model-views.tableview_demo",
  3897. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3898. "detail": "model-views.tableview_demo",
  3899. "documentation": {}
  3900. },
  3901. {
  3902. "label": "window",
  3903. "kind": 5,
  3904. "importPath": "model-views.tableview_demo",
  3905. "description": "model-views.tableview_demo",
  3906. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3907. "detail": "model-views.tableview_demo",
  3908. "documentation": {}
  3909. },
  3910. {
  3911. "label": "TableModel",
  3912. "kind": 6,
  3913. "importPath": "model-views.tableview_numpy",
  3914. "description": "model-views.tableview_numpy",
  3915. "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]",
  3916. "detail": "model-views.tableview_numpy",
  3917. "documentation": {}
  3918. },
  3919. {
  3920. "label": "MainWindow",
  3921. "kind": 6,
  3922. "importPath": "model-views.tableview_numpy",
  3923. "description": "model-views.tableview_numpy",
  3924. "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],",
  3925. "detail": "model-views.tableview_numpy",
  3926. "documentation": {}
  3927. },
  3928. {
  3929. "label": "app",
  3930. "kind": 5,
  3931. "importPath": "model-views.tableview_numpy",
  3932. "description": "model-views.tableview_numpy",
  3933. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3934. "detail": "model-views.tableview_numpy",
  3935. "documentation": {}
  3936. },
  3937. {
  3938. "label": "window",
  3939. "kind": 5,
  3940. "importPath": "model-views.tableview_numpy",
  3941. "description": "model-views.tableview_numpy",
  3942. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3943. "detail": "model-views.tableview_numpy",
  3944. "documentation": {}
  3945. },
  3946. {
  3947. "label": "TableModel",
  3948. "kind": 6,
  3949. "importPath": "model-views.tableview_pandas",
  3950. "description": "model-views.tableview_pandas",
  3951. "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]",
  3952. "detail": "model-views.tableview_pandas",
  3953. "documentation": {}
  3954. },
  3955. {
  3956. "label": "MainWindow",
  3957. "kind": 6,
  3958. "importPath": "model-views.tableview_pandas",
  3959. "description": "model-views.tableview_pandas",
  3960. "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],",
  3961. "detail": "model-views.tableview_pandas",
  3962. "documentation": {}
  3963. },
  3964. {
  3965. "label": "app",
  3966. "kind": 5,
  3967. "importPath": "model-views.tableview_pandas",
  3968. "description": "model-views.tableview_pandas",
  3969. "peekOfCode": "app = QApplication(sys.argv)\nwindow = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3970. "detail": "model-views.tableview_pandas",
  3971. "documentation": {}
  3972. },
  3973. {
  3974. "label": "window",
  3975. "kind": 5,
  3976. "importPath": "model-views.tableview_pandas",
  3977. "description": "model-views.tableview_pandas",
  3978. "peekOfCode": "window = MainWindow()\nwindow.show()\nsys.exit(app.exec_())",
  3979. "detail": "model-views.tableview_pandas",
  3980. "documentation": {}
  3981. },
  3982. {
  3983. "label": "TodoModel",
  3984. "kind": 6,
  3985. "importPath": "model-views.todo_1",
  3986. "description": "model-views.todo_1",
  3987. "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()]",
  3988. "detail": "model-views.todo_1",
  3989. "documentation": {}
  3990. },
  3991. {
  3992. "label": "MainWindow",
  3993. "kind": 6,
  3994. "importPath": "model-views.todo_1",
  3995. "description": "model-views.todo_1",
  3996. "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)",
  3997. "detail": "model-views.todo_1",
  3998. "documentation": {}
  3999. },
  4000. {
  4001. "label": "basedir",
  4002. "kind": 5,
  4003. "importPath": "model-views.todo_1",
  4004. "description": "model-views.todo_1",
  4005. "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",
  4006. "detail": "model-views.todo_1",
  4007. "documentation": {}
  4008. },
  4009. {
  4010. "label": "flag",
  4011. "kind": 5,
  4012. "importPath": "model-views.todo_1",
  4013. "description": "model-views.todo_1",
  4014. "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:",
  4015. "detail": "model-views.todo_1",
  4016. "documentation": {}
  4017. },
  4018. {
  4019. "label": "MainWindow",
  4020. "kind": 6,
  4021. "importPath": "model-views.todo_skeleton",
  4022. "description": "model-views.todo_skeleton",
  4023. "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_())",
  4024. "detail": "model-views.todo_skeleton",
  4025. "documentation": {}
  4026. },
  4027. {
  4028. "label": "Ui_MainWindow",
  4029. "kind": 6,
  4030. "importPath": "MainWindow",
  4031. "description": "MainWindow",
  4032. "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\")",
  4033. "detail": "MainWindow",
  4034. "documentation": {}
  4035. },
  4036. {
  4037. "label": "MainWindow",
  4038. "kind": 6,
  4039. "importPath": "MyApp",
  4040. "description": "MyApp",
  4041. "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()",
  4042. "detail": "MyApp",
  4043. "documentation": {}
  4044. },
  4045. {
  4046. "label": "MainWindow",
  4047. "kind": 6,
  4048. "importPath": "MyApp_window",
  4049. "description": "MyApp_window",
  4050. "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)",
  4051. "detail": "MyApp_window",
  4052. "documentation": {}
  4053. },
  4054. {
  4055. "label": "MainWindow",
  4056. "kind": 6,
  4057. "importPath": "load_uifile",
  4058. "description": "load_uifile",
  4059. "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)",
  4060. "detail": "load_uifile",
  4061. "documentation": {}
  4062. },
  4063. {
  4064. "label": "mainwindow_setup",
  4065. "kind": 2,
  4066. "importPath": "load_uifile",
  4067. "description": "load_uifile",
  4068. "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()",
  4069. "detail": "load_uifile",
  4070. "documentation": {}
  4071. },
  4072. {
  4073. "label": "Canvas",
  4074. "kind": 6,
  4075. "importPath": "paint_app",
  4076. "description": "paint_app",
  4077. "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):",
  4078. "detail": "paint_app",
  4079. "documentation": {}
  4080. },
  4081. {
  4082. "label": "QPaletteButton",
  4083. "kind": 6,
  4084. "importPath": "paint_app",
  4085. "description": "paint_app",
  4086. "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()",
  4087. "detail": "paint_app",
  4088. "documentation": {}
  4089. },
  4090. {
  4091. "label": "MainWindow",
  4092. "kind": 6,
  4093. "importPath": "paint_app",
  4094. "description": "paint_app",
  4095. "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)",
  4096. "detail": "paint_app",
  4097. "documentation": {}
  4098. },
  4099. {
  4100. "label": "COLORS",
  4101. "kind": 5,
  4102. "importPath": "paint_app",
  4103. "description": "paint_app",
  4104. "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',",
  4105. "detail": "paint_app",
  4106. "documentation": {}
  4107. },
  4108. {
  4109. "label": "SPRAY_PARTICLES",
  4110. "kind": 5,
  4111. "importPath": "paint_app",
  4112. "description": "paint_app",
  4113. "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):",
  4114. "detail": "paint_app",
  4115. "documentation": {}
  4116. },
  4117. {
  4118. "label": "SPRAY_DIAMMETER",
  4119. "kind": 5,
  4120. "importPath": "paint_app",
  4121. "description": "paint_app",
  4122. "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)",
  4123. "detail": "paint_app",
  4124. "documentation": {}
  4125. },
  4126. {
  4127. "label": "MainWindow",
  4128. "kind": 6,
  4129. "importPath": "pixmap",
  4130. "description": "pixmap",
  4131. "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())",
  4132. "detail": "pixmap",
  4133. "documentation": {}
  4134. },
  4135. {
  4136. "label": "_Bar",
  4137. "kind": 6,
  4138. "importPath": "power_bar",
  4139. "description": "power_bar",
  4140. "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()",
  4141. "detail": "power_bar",
  4142. "documentation": {}
  4143. },
  4144. {
  4145. "label": "PowerBar",
  4146. "kind": 6,
  4147. "importPath": "power_bar",
  4148. "description": "power_bar",
  4149. "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)",
  4150. "detail": "power_bar",
  4151. "documentation": {}
  4152. },
  4153. {
  4154. "label": "_Bar",
  4155. "kind": 6,
  4156. "importPath": "power_bar_better",
  4157. "description": "power_bar_better",
  4158. "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",
  4159. "detail": "power_bar_better",
  4160. "documentation": {}
  4161. },
  4162. {
  4163. "label": "PowerBar",
  4164. "kind": 6,
  4165. "importPath": "power_bar_better",
  4166. "description": "power_bar_better",
  4167. "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)",
  4168. "detail": "power_bar_better",
  4169. "documentation": {}
  4170. },
  4171. {
  4172. "label": "MainWindow",
  4173. "kind": 6,
  4174. "importPath": "signal_data",
  4175. "description": "signal_data",
  4176. "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()",
  4177. "detail": "signal_data",
  4178. "documentation": {}
  4179. },
  4180. {
  4181. "label": "my_custom_fn",
  4182. "kind": 2,
  4183. "importPath": "signal_data",
  4184. "description": "signal_data",
  4185. "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))",
  4186. "detail": "signal_data",
  4187. "documentation": {}
  4188. },
  4189. {
  4190. "label": "MainWindow",
  4191. "kind": 6,
  4192. "importPath": "toolbars_and_menus",
  4193. "description": "toolbars_and_menus",
  4194. "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)",
  4195. "detail": "toolbars_and_menus",
  4196. "documentation": {}
  4197. },
  4198. {
  4199. "label": "CustomDialog",
  4200. "kind": 6,
  4201. "importPath": "toolbars_and_menus",
  4202. "description": "toolbars_and_menus",
  4203. "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)",
  4204. "detail": "toolbars_and_menus",
  4205. "documentation": {}
  4206. },
  4207. {
  4208. "label": "MainWindow",
  4209. "kind": 6,
  4210. "importPath": "widgets",
  4211. "description": "widgets",
  4212. "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,",
  4213. "detail": "widgets",
  4214. "documentation": {}
  4215. },
  4216. {
  4217. "label": "Color",
  4218. "kind": 6,
  4219. "importPath": "widgets",
  4220. "description": "widgets",
  4221. "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()",
  4222. "detail": "widgets",
  4223. "documentation": {}
  4224. },
  4225. {
  4226. "label": "MainWindow",
  4227. "kind": 6,
  4228. "importPath": "widgets_gridlayout",
  4229. "description": "widgets_gridlayout",
  4230. "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()",
  4231. "detail": "widgets_gridlayout",
  4232. "documentation": {}
  4233. },
  4234. {
  4235. "label": "Color",
  4236. "kind": 6,
  4237. "importPath": "widgets_gridlayout",
  4238. "description": "widgets_gridlayout",
  4239. "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()",
  4240. "detail": "widgets_gridlayout",
  4241. "documentation": {}
  4242. },
  4243. {
  4244. "label": "index_changed",
  4245. "kind": 2,
  4246. "importPath": "widgets_gridlayout",
  4247. "description": "widgets_gridlayout",
  4248. "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)",
  4249. "detail": "widgets_gridlayout",
  4250. "documentation": {}
  4251. },
  4252. {
  4253. "label": "MainWindow",
  4254. "kind": 6,
  4255. "importPath": "widgets_stacklayout",
  4256. "description": "widgets_stacklayout",
  4257. "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)",
  4258. "detail": "widgets_stacklayout",
  4259. "documentation": {}
  4260. },
  4261. {
  4262. "label": "Color",
  4263. "kind": 6,
  4264. "importPath": "widgets_stacklayout",
  4265. "description": "widgets_stacklayout",
  4266. "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()",
  4267. "detail": "widgets_stacklayout",
  4268. "documentation": {}
  4269. }
  4270. ]