moc_qcustomplot.cpp 310 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'qcustomplot.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include <memory>
  9. #include "../XJKJ_QT/thirdparty/qcustomplot.h"
  10. #include <QtCore/qbytearray.h>
  11. #include <QtCore/qmetatype.h>
  12. #include <QtCore/QSharedPointer>
  13. #include <QtCore/QList>
  14. #include <QtCore/QVector>
  15. #if !defined(Q_MOC_OUTPUT_REVISION)
  16. #error "The header file 'qcustomplot.h' doesn't include <QObject>."
  17. #elif Q_MOC_OUTPUT_REVISION != 67
  18. #error "This file was generated using the moc from 5.15.2. It"
  19. #error "cannot be used with the include files from this version of Qt."
  20. #error "(The moc has changed too much.)"
  21. #endif
  22. QT_BEGIN_MOC_NAMESPACE
  23. QT_WARNING_PUSH
  24. QT_WARNING_DISABLE_DEPRECATED
  25. struct qt_meta_stringdata_QCP_t {
  26. QByteArrayData data[64];
  27. char stringdata0[751];
  28. };
  29. #define QT_MOC_LITERAL(idx, ofs, len) \
  30. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  31. qptrdiff(offsetof(qt_meta_stringdata_QCP_t, stringdata0) + ofs \
  32. - idx * sizeof(QByteArrayData)) \
  33. )
  34. static const qt_meta_stringdata_QCP_t qt_meta_stringdata_QCP = {
  35. {
  36. QT_MOC_LITERAL(0, 0, 3), // "QCP"
  37. QT_MOC_LITERAL(1, 4, 14), // "ResolutionUnit"
  38. QT_MOC_LITERAL(2, 19, 14), // "ruDotsPerMeter"
  39. QT_MOC_LITERAL(3, 34, 19), // "ruDotsPerCentimeter"
  40. QT_MOC_LITERAL(4, 54, 13), // "ruDotsPerInch"
  41. QT_MOC_LITERAL(5, 68, 9), // "ExportPen"
  42. QT_MOC_LITERAL(6, 78, 12), // "epNoCosmetic"
  43. QT_MOC_LITERAL(7, 91, 15), // "epAllowCosmetic"
  44. QT_MOC_LITERAL(8, 107, 10), // "SignDomain"
  45. QT_MOC_LITERAL(9, 118, 10), // "sdNegative"
  46. QT_MOC_LITERAL(10, 129, 6), // "sdBoth"
  47. QT_MOC_LITERAL(11, 136, 10), // "sdPositive"
  48. QT_MOC_LITERAL(12, 147, 10), // "MarginSide"
  49. QT_MOC_LITERAL(13, 158, 6), // "msLeft"
  50. QT_MOC_LITERAL(14, 165, 7), // "msRight"
  51. QT_MOC_LITERAL(15, 173, 5), // "msTop"
  52. QT_MOC_LITERAL(16, 179, 8), // "msBottom"
  53. QT_MOC_LITERAL(17, 188, 5), // "msAll"
  54. QT_MOC_LITERAL(18, 194, 6), // "msNone"
  55. QT_MOC_LITERAL(19, 201, 11), // "MarginSides"
  56. QT_MOC_LITERAL(20, 213, 18), // "AntialiasedElement"
  57. QT_MOC_LITERAL(21, 232, 6), // "aeAxes"
  58. QT_MOC_LITERAL(22, 239, 6), // "aeGrid"
  59. QT_MOC_LITERAL(23, 246, 9), // "aeSubGrid"
  60. QT_MOC_LITERAL(24, 256, 8), // "aeLegend"
  61. QT_MOC_LITERAL(25, 265, 13), // "aeLegendItems"
  62. QT_MOC_LITERAL(26, 279, 12), // "aePlottables"
  63. QT_MOC_LITERAL(27, 292, 7), // "aeItems"
  64. QT_MOC_LITERAL(28, 300, 10), // "aeScatters"
  65. QT_MOC_LITERAL(29, 311, 7), // "aeFills"
  66. QT_MOC_LITERAL(30, 319, 10), // "aeZeroLine"
  67. QT_MOC_LITERAL(31, 330, 7), // "aeOther"
  68. QT_MOC_LITERAL(32, 338, 5), // "aeAll"
  69. QT_MOC_LITERAL(33, 344, 6), // "aeNone"
  70. QT_MOC_LITERAL(34, 351, 19), // "AntialiasedElements"
  71. QT_MOC_LITERAL(35, 371, 12), // "PlottingHint"
  72. QT_MOC_LITERAL(36, 384, 6), // "phNone"
  73. QT_MOC_LITERAL(37, 391, 15), // "phFastPolylines"
  74. QT_MOC_LITERAL(38, 407, 18), // "phImmediateRefresh"
  75. QT_MOC_LITERAL(39, 426, 13), // "phCacheLabels"
  76. QT_MOC_LITERAL(40, 440, 13), // "PlottingHints"
  77. QT_MOC_LITERAL(41, 454, 11), // "Interaction"
  78. QT_MOC_LITERAL(42, 466, 5), // "iNone"
  79. QT_MOC_LITERAL(43, 472, 10), // "iRangeDrag"
  80. QT_MOC_LITERAL(44, 483, 10), // "iRangeZoom"
  81. QT_MOC_LITERAL(45, 494, 12), // "iMultiSelect"
  82. QT_MOC_LITERAL(46, 507, 17), // "iSelectPlottables"
  83. QT_MOC_LITERAL(47, 525, 11), // "iSelectAxes"
  84. QT_MOC_LITERAL(48, 537, 13), // "iSelectLegend"
  85. QT_MOC_LITERAL(49, 551, 12), // "iSelectItems"
  86. QT_MOC_LITERAL(50, 564, 12), // "iSelectOther"
  87. QT_MOC_LITERAL(51, 577, 31), // "iSelectPlottablesBeyondAxisRect"
  88. QT_MOC_LITERAL(52, 609, 12), // "Interactions"
  89. QT_MOC_LITERAL(53, 622, 17), // "SelectionRectMode"
  90. QT_MOC_LITERAL(54, 640, 7), // "srmNone"
  91. QT_MOC_LITERAL(55, 648, 7), // "srmZoom"
  92. QT_MOC_LITERAL(56, 656, 9), // "srmSelect"
  93. QT_MOC_LITERAL(57, 666, 9), // "srmCustom"
  94. QT_MOC_LITERAL(58, 676, 13), // "SelectionType"
  95. QT_MOC_LITERAL(59, 690, 6), // "stNone"
  96. QT_MOC_LITERAL(60, 697, 7), // "stWhole"
  97. QT_MOC_LITERAL(61, 705, 12), // "stSingleData"
  98. QT_MOC_LITERAL(62, 718, 11), // "stDataRange"
  99. QT_MOC_LITERAL(63, 730, 20) // "stMultipleDataRanges"
  100. },
  101. "QCP\0ResolutionUnit\0ruDotsPerMeter\0"
  102. "ruDotsPerCentimeter\0ruDotsPerInch\0"
  103. "ExportPen\0epNoCosmetic\0epAllowCosmetic\0"
  104. "SignDomain\0sdNegative\0sdBoth\0sdPositive\0"
  105. "MarginSide\0msLeft\0msRight\0msTop\0"
  106. "msBottom\0msAll\0msNone\0MarginSides\0"
  107. "AntialiasedElement\0aeAxes\0aeGrid\0"
  108. "aeSubGrid\0aeLegend\0aeLegendItems\0"
  109. "aePlottables\0aeItems\0aeScatters\0aeFills\0"
  110. "aeZeroLine\0aeOther\0aeAll\0aeNone\0"
  111. "AntialiasedElements\0PlottingHint\0"
  112. "phNone\0phFastPolylines\0phImmediateRefresh\0"
  113. "phCacheLabels\0PlottingHints\0Interaction\0"
  114. "iNone\0iRangeDrag\0iRangeZoom\0iMultiSelect\0"
  115. "iSelectPlottables\0iSelectAxes\0"
  116. "iSelectLegend\0iSelectItems\0iSelectOther\0"
  117. "iSelectPlottablesBeyondAxisRect\0"
  118. "Interactions\0SelectionRectMode\0srmNone\0"
  119. "srmZoom\0srmSelect\0srmCustom\0SelectionType\0"
  120. "stNone\0stWhole\0stSingleData\0stDataRange\0"
  121. "stMultipleDataRanges"
  122. };
  123. #undef QT_MOC_LITERAL
  124. static const uint qt_meta_data_QCP[] = {
  125. // content:
  126. 8, // revision
  127. 0, // classname
  128. 0, 0, // classinfo
  129. 0, 0, // methods
  130. 0, 0, // properties
  131. 13, 14, // enums/sets
  132. 0, 0, // constructors
  133. 4, // flags
  134. 0, // signalCount
  135. // enums: name, alias, flags, count, data
  136. 1, 1, 0x0, 3, 79,
  137. 5, 5, 0x0, 2, 85,
  138. 8, 8, 0x0, 3, 89,
  139. 12, 12, 0x0, 6, 95,
  140. 19, 12, 0x1, 6, 107,
  141. 20, 20, 0x0, 13, 119,
  142. 34, 20, 0x1, 13, 145,
  143. 35, 35, 0x0, 4, 171,
  144. 40, 35, 0x1, 4, 179,
  145. 41, 41, 0x0, 10, 187,
  146. 52, 41, 0x1, 10, 207,
  147. 53, 53, 0x0, 4, 227,
  148. 58, 58, 0x0, 5, 235,
  149. // enum data: key, value
  150. 2, uint(QCP::ruDotsPerMeter),
  151. 3, uint(QCP::ruDotsPerCentimeter),
  152. 4, uint(QCP::ruDotsPerInch),
  153. 6, uint(QCP::epNoCosmetic),
  154. 7, uint(QCP::epAllowCosmetic),
  155. 9, uint(QCP::sdNegative),
  156. 10, uint(QCP::sdBoth),
  157. 11, uint(QCP::sdPositive),
  158. 13, uint(QCP::msLeft),
  159. 14, uint(QCP::msRight),
  160. 15, uint(QCP::msTop),
  161. 16, uint(QCP::msBottom),
  162. 17, uint(QCP::msAll),
  163. 18, uint(QCP::msNone),
  164. 13, uint(QCP::msLeft),
  165. 14, uint(QCP::msRight),
  166. 15, uint(QCP::msTop),
  167. 16, uint(QCP::msBottom),
  168. 17, uint(QCP::msAll),
  169. 18, uint(QCP::msNone),
  170. 21, uint(QCP::aeAxes),
  171. 22, uint(QCP::aeGrid),
  172. 23, uint(QCP::aeSubGrid),
  173. 24, uint(QCP::aeLegend),
  174. 25, uint(QCP::aeLegendItems),
  175. 26, uint(QCP::aePlottables),
  176. 27, uint(QCP::aeItems),
  177. 28, uint(QCP::aeScatters),
  178. 29, uint(QCP::aeFills),
  179. 30, uint(QCP::aeZeroLine),
  180. 31, uint(QCP::aeOther),
  181. 32, uint(QCP::aeAll),
  182. 33, uint(QCP::aeNone),
  183. 21, uint(QCP::aeAxes),
  184. 22, uint(QCP::aeGrid),
  185. 23, uint(QCP::aeSubGrid),
  186. 24, uint(QCP::aeLegend),
  187. 25, uint(QCP::aeLegendItems),
  188. 26, uint(QCP::aePlottables),
  189. 27, uint(QCP::aeItems),
  190. 28, uint(QCP::aeScatters),
  191. 29, uint(QCP::aeFills),
  192. 30, uint(QCP::aeZeroLine),
  193. 31, uint(QCP::aeOther),
  194. 32, uint(QCP::aeAll),
  195. 33, uint(QCP::aeNone),
  196. 36, uint(QCP::phNone),
  197. 37, uint(QCP::phFastPolylines),
  198. 38, uint(QCP::phImmediateRefresh),
  199. 39, uint(QCP::phCacheLabels),
  200. 36, uint(QCP::phNone),
  201. 37, uint(QCP::phFastPolylines),
  202. 38, uint(QCP::phImmediateRefresh),
  203. 39, uint(QCP::phCacheLabels),
  204. 42, uint(QCP::iNone),
  205. 43, uint(QCP::iRangeDrag),
  206. 44, uint(QCP::iRangeZoom),
  207. 45, uint(QCP::iMultiSelect),
  208. 46, uint(QCP::iSelectPlottables),
  209. 47, uint(QCP::iSelectAxes),
  210. 48, uint(QCP::iSelectLegend),
  211. 49, uint(QCP::iSelectItems),
  212. 50, uint(QCP::iSelectOther),
  213. 51, uint(QCP::iSelectPlottablesBeyondAxisRect),
  214. 42, uint(QCP::iNone),
  215. 43, uint(QCP::iRangeDrag),
  216. 44, uint(QCP::iRangeZoom),
  217. 45, uint(QCP::iMultiSelect),
  218. 46, uint(QCP::iSelectPlottables),
  219. 47, uint(QCP::iSelectAxes),
  220. 48, uint(QCP::iSelectLegend),
  221. 49, uint(QCP::iSelectItems),
  222. 50, uint(QCP::iSelectOther),
  223. 51, uint(QCP::iSelectPlottablesBeyondAxisRect),
  224. 54, uint(QCP::srmNone),
  225. 55, uint(QCP::srmZoom),
  226. 56, uint(QCP::srmSelect),
  227. 57, uint(QCP::srmCustom),
  228. 59, uint(QCP::stNone),
  229. 60, uint(QCP::stWhole),
  230. 61, uint(QCP::stSingleData),
  231. 62, uint(QCP::stDataRange),
  232. 63, uint(QCP::stMultipleDataRanges),
  233. 0 // eod
  234. };
  235. QT_INIT_METAOBJECT const QMetaObject QCP::staticMetaObject = { {
  236. nullptr,
  237. qt_meta_stringdata_QCP.data,
  238. qt_meta_data_QCP,
  239. nullptr,
  240. nullptr,
  241. nullptr
  242. } };
  243. struct qt_meta_stringdata_QCPPainter_t {
  244. QByteArrayData data[7];
  245. char stringdata0[85];
  246. };
  247. #define QT_MOC_LITERAL(idx, ofs, len) \
  248. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  249. qptrdiff(offsetof(qt_meta_stringdata_QCPPainter_t, stringdata0) + ofs \
  250. - idx * sizeof(QByteArrayData)) \
  251. )
  252. static const qt_meta_stringdata_QCPPainter_t qt_meta_stringdata_QCPPainter = {
  253. {
  254. QT_MOC_LITERAL(0, 0, 10), // "QCPPainter"
  255. QT_MOC_LITERAL(1, 11, 11), // "PainterMode"
  256. QT_MOC_LITERAL(2, 23, 9), // "pmDefault"
  257. QT_MOC_LITERAL(3, 33, 12), // "pmVectorized"
  258. QT_MOC_LITERAL(4, 46, 11), // "pmNoCaching"
  259. QT_MOC_LITERAL(5, 58, 13), // "pmNonCosmetic"
  260. QT_MOC_LITERAL(6, 72, 12) // "PainterModes"
  261. },
  262. "QCPPainter\0PainterMode\0pmDefault\0"
  263. "pmVectorized\0pmNoCaching\0pmNonCosmetic\0"
  264. "PainterModes"
  265. };
  266. #undef QT_MOC_LITERAL
  267. static const uint qt_meta_data_QCPPainter[] = {
  268. // content:
  269. 8, // revision
  270. 0, // classname
  271. 0, 0, // classinfo
  272. 0, 0, // methods
  273. 0, 0, // properties
  274. 2, 14, // enums/sets
  275. 0, 0, // constructors
  276. 4, // flags
  277. 0, // signalCount
  278. // enums: name, alias, flags, count, data
  279. 1, 1, 0x0, 4, 24,
  280. 6, 1, 0x1, 4, 32,
  281. // enum data: key, value
  282. 2, uint(QCPPainter::pmDefault),
  283. 3, uint(QCPPainter::pmVectorized),
  284. 4, uint(QCPPainter::pmNoCaching),
  285. 5, uint(QCPPainter::pmNonCosmetic),
  286. 2, uint(QCPPainter::pmDefault),
  287. 3, uint(QCPPainter::pmVectorized),
  288. 4, uint(QCPPainter::pmNoCaching),
  289. 5, uint(QCPPainter::pmNonCosmetic),
  290. 0 // eod
  291. };
  292. QT_INIT_METAOBJECT const QMetaObject QCPPainter::staticMetaObject = { {
  293. QtPrivate::MetaObjectForType<QPainter>::value(),
  294. qt_meta_stringdata_QCPPainter.data,
  295. qt_meta_data_QCPPainter,
  296. nullptr,
  297. nullptr,
  298. nullptr
  299. } };
  300. struct qt_meta_stringdata_QCPLayer_t {
  301. QByteArrayData data[12];
  302. char stringdata0[118];
  303. };
  304. #define QT_MOC_LITERAL(idx, ofs, len) \
  305. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  306. qptrdiff(offsetof(qt_meta_stringdata_QCPLayer_t, stringdata0) + ofs \
  307. - idx * sizeof(QByteArrayData)) \
  308. )
  309. static const qt_meta_stringdata_QCPLayer_t qt_meta_stringdata_QCPLayer = {
  310. {
  311. QT_MOC_LITERAL(0, 0, 8), // "QCPLayer"
  312. QT_MOC_LITERAL(1, 9, 10), // "parentPlot"
  313. QT_MOC_LITERAL(2, 20, 12), // "QCustomPlot*"
  314. QT_MOC_LITERAL(3, 33, 4), // "name"
  315. QT_MOC_LITERAL(4, 38, 5), // "index"
  316. QT_MOC_LITERAL(5, 44, 8), // "children"
  317. QT_MOC_LITERAL(6, 53, 20), // "QList<QCPLayerable*>"
  318. QT_MOC_LITERAL(7, 74, 7), // "visible"
  319. QT_MOC_LITERAL(8, 82, 4), // "mode"
  320. QT_MOC_LITERAL(9, 87, 9), // "LayerMode"
  321. QT_MOC_LITERAL(10, 97, 9), // "lmLogical"
  322. QT_MOC_LITERAL(11, 107, 10) // "lmBuffered"
  323. },
  324. "QCPLayer\0parentPlot\0QCustomPlot*\0name\0"
  325. "index\0children\0QList<QCPLayerable*>\0"
  326. "visible\0mode\0LayerMode\0lmLogical\0"
  327. "lmBuffered"
  328. };
  329. #undef QT_MOC_LITERAL
  330. static const uint qt_meta_data_QCPLayer[] = {
  331. // content:
  332. 8, // revision
  333. 0, // classname
  334. 0, 0, // classinfo
  335. 0, 0, // methods
  336. 6, 14, // properties
  337. 1, 32, // enums/sets
  338. 0, 0, // constructors
  339. 0, // flags
  340. 0, // signalCount
  341. // properties: name, type, flags
  342. 1, 0x80000000 | 2, 0x00095009,
  343. 3, QMetaType::QString, 0x00095001,
  344. 4, QMetaType::Int, 0x00095001,
  345. 5, 0x80000000 | 6, 0x00095009,
  346. 7, QMetaType::Bool, 0x00095103,
  347. 8, 0x80000000 | 9, 0x0009510b,
  348. // enums: name, alias, flags, count, data
  349. 9, 9, 0x0, 2, 37,
  350. // enum data: key, value
  351. 10, uint(QCPLayer::lmLogical),
  352. 11, uint(QCPLayer::lmBuffered),
  353. 0 // eod
  354. };
  355. void QCPLayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  356. {
  357. if (_c == QMetaObject::RegisterPropertyMetaType) {
  358. switch (_id) {
  359. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  360. case 0:
  361. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCustomPlot* >(); break;
  362. case 3:
  363. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QCPLayerable*> >(); break;
  364. }
  365. }
  366. #ifndef QT_NO_PROPERTIES
  367. else if (_c == QMetaObject::ReadProperty) {
  368. auto *_t = static_cast<QCPLayer *>(_o);
  369. Q_UNUSED(_t)
  370. void *_v = _a[0];
  371. switch (_id) {
  372. case 0: *reinterpret_cast< QCustomPlot**>(_v) = _t->parentPlot(); break;
  373. case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
  374. case 2: *reinterpret_cast< int*>(_v) = _t->index(); break;
  375. case 3: *reinterpret_cast< QList<QCPLayerable*>*>(_v) = _t->children(); break;
  376. case 4: *reinterpret_cast< bool*>(_v) = _t->visible(); break;
  377. case 5: *reinterpret_cast< LayerMode*>(_v) = _t->mode(); break;
  378. default: break;
  379. }
  380. } else if (_c == QMetaObject::WriteProperty) {
  381. auto *_t = static_cast<QCPLayer *>(_o);
  382. Q_UNUSED(_t)
  383. void *_v = _a[0];
  384. switch (_id) {
  385. case 4: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
  386. case 5: _t->setMode(*reinterpret_cast< LayerMode*>(_v)); break;
  387. default: break;
  388. }
  389. } else if (_c == QMetaObject::ResetProperty) {
  390. }
  391. #endif // QT_NO_PROPERTIES
  392. Q_UNUSED(_o);
  393. }
  394. QT_INIT_METAOBJECT const QMetaObject QCPLayer::staticMetaObject = { {
  395. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  396. qt_meta_stringdata_QCPLayer.data,
  397. qt_meta_data_QCPLayer,
  398. qt_static_metacall,
  399. nullptr,
  400. nullptr
  401. } };
  402. const QMetaObject *QCPLayer::metaObject() const
  403. {
  404. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  405. }
  406. void *QCPLayer::qt_metacast(const char *_clname)
  407. {
  408. if (!_clname) return nullptr;
  409. if (!strcmp(_clname, qt_meta_stringdata_QCPLayer.stringdata0))
  410. return static_cast<void*>(this);
  411. return QObject::qt_metacast(_clname);
  412. }
  413. int QCPLayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  414. {
  415. _id = QObject::qt_metacall(_c, _id, _a);
  416. if (_id < 0)
  417. return _id;
  418. #ifndef QT_NO_PROPERTIES
  419. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  420. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  421. qt_static_metacall(this, _c, _id, _a);
  422. _id -= 6;
  423. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  424. _id -= 6;
  425. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  426. _id -= 6;
  427. } else if (_c == QMetaObject::QueryPropertyStored) {
  428. _id -= 6;
  429. } else if (_c == QMetaObject::QueryPropertyEditable) {
  430. _id -= 6;
  431. } else if (_c == QMetaObject::QueryPropertyUser) {
  432. _id -= 6;
  433. }
  434. #endif // QT_NO_PROPERTIES
  435. return _id;
  436. }
  437. struct qt_meta_stringdata_QCPLayerable_t {
  438. QByteArrayData data[13];
  439. char stringdata0[135];
  440. };
  441. #define QT_MOC_LITERAL(idx, ofs, len) \
  442. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  443. qptrdiff(offsetof(qt_meta_stringdata_QCPLayerable_t, stringdata0) + ofs \
  444. - idx * sizeof(QByteArrayData)) \
  445. )
  446. static const qt_meta_stringdata_QCPLayerable_t qt_meta_stringdata_QCPLayerable = {
  447. {
  448. QT_MOC_LITERAL(0, 0, 12), // "QCPLayerable"
  449. QT_MOC_LITERAL(1, 13, 12), // "layerChanged"
  450. QT_MOC_LITERAL(2, 26, 0), // ""
  451. QT_MOC_LITERAL(3, 27, 9), // "QCPLayer*"
  452. QT_MOC_LITERAL(4, 37, 8), // "newLayer"
  453. QT_MOC_LITERAL(5, 46, 8), // "setLayer"
  454. QT_MOC_LITERAL(6, 55, 5), // "layer"
  455. QT_MOC_LITERAL(7, 61, 7), // "visible"
  456. QT_MOC_LITERAL(8, 69, 10), // "parentPlot"
  457. QT_MOC_LITERAL(9, 80, 12), // "QCustomPlot*"
  458. QT_MOC_LITERAL(10, 93, 15), // "parentLayerable"
  459. QT_MOC_LITERAL(11, 109, 13), // "QCPLayerable*"
  460. QT_MOC_LITERAL(12, 123, 11) // "antialiased"
  461. },
  462. "QCPLayerable\0layerChanged\0\0QCPLayer*\0"
  463. "newLayer\0setLayer\0layer\0visible\0"
  464. "parentPlot\0QCustomPlot*\0parentLayerable\0"
  465. "QCPLayerable*\0antialiased"
  466. };
  467. #undef QT_MOC_LITERAL
  468. static const uint qt_meta_data_QCPLayerable[] = {
  469. // content:
  470. 8, // revision
  471. 0, // classname
  472. 0, 0, // classinfo
  473. 2, 14, // methods
  474. 5, 30, // properties
  475. 0, 0, // enums/sets
  476. 0, 0, // constructors
  477. 0, // flags
  478. 1, // signalCount
  479. // signals: name, argc, parameters, tag, flags
  480. 1, 1, 24, 2, 0x06 /* Public */,
  481. // slots: name, argc, parameters, tag, flags
  482. 5, 1, 27, 2, 0x0a /* Public */,
  483. // signals: parameters
  484. QMetaType::Void, 0x80000000 | 3, 4,
  485. // slots: parameters
  486. QMetaType::Bool, 0x80000000 | 3, 6,
  487. // properties: name, type, flags
  488. 7, QMetaType::Bool, 0x00095103,
  489. 8, 0x80000000 | 9, 0x00095009,
  490. 10, 0x80000000 | 11, 0x00095009,
  491. 6, 0x80000000 | 3, 0x0049510b,
  492. 12, QMetaType::Bool, 0x00095103,
  493. // properties: notify_signal_id
  494. 0,
  495. 0,
  496. 0,
  497. 0,
  498. 0,
  499. 0 // eod
  500. };
  501. void QCPLayerable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  502. {
  503. if (_c == QMetaObject::InvokeMetaMethod) {
  504. auto *_t = static_cast<QCPLayerable *>(_o);
  505. Q_UNUSED(_t)
  506. switch (_id) {
  507. case 0: _t->layerChanged((*reinterpret_cast< QCPLayer*(*)>(_a[1]))); break;
  508. case 1: { bool _r = _t->setLayer((*reinterpret_cast< QCPLayer*(*)>(_a[1])));
  509. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
  510. default: ;
  511. }
  512. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  513. switch (_id) {
  514. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  515. case 0:
  516. switch (*reinterpret_cast<int*>(_a[1])) {
  517. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  518. case 0:
  519. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayer* >(); break;
  520. }
  521. break;
  522. case 1:
  523. switch (*reinterpret_cast<int*>(_a[1])) {
  524. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  525. case 0:
  526. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayer* >(); break;
  527. }
  528. break;
  529. }
  530. } else if (_c == QMetaObject::IndexOfMethod) {
  531. int *result = reinterpret_cast<int *>(_a[0]);
  532. {
  533. using _t = void (QCPLayerable::*)(QCPLayer * );
  534. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPLayerable::layerChanged)) {
  535. *result = 0;
  536. return;
  537. }
  538. }
  539. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  540. switch (_id) {
  541. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  542. case 3:
  543. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayer* >(); break;
  544. case 2:
  545. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayerable* >(); break;
  546. case 1:
  547. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCustomPlot* >(); break;
  548. }
  549. }
  550. #ifndef QT_NO_PROPERTIES
  551. else if (_c == QMetaObject::ReadProperty) {
  552. auto *_t = static_cast<QCPLayerable *>(_o);
  553. Q_UNUSED(_t)
  554. void *_v = _a[0];
  555. switch (_id) {
  556. case 0: *reinterpret_cast< bool*>(_v) = _t->visible(); break;
  557. case 1: *reinterpret_cast< QCustomPlot**>(_v) = _t->parentPlot(); break;
  558. case 2: *reinterpret_cast< QCPLayerable**>(_v) = _t->parentLayerable(); break;
  559. case 3: *reinterpret_cast< QCPLayer**>(_v) = _t->layer(); break;
  560. case 4: *reinterpret_cast< bool*>(_v) = _t->antialiased(); break;
  561. default: break;
  562. }
  563. } else if (_c == QMetaObject::WriteProperty) {
  564. auto *_t = static_cast<QCPLayerable *>(_o);
  565. Q_UNUSED(_t)
  566. void *_v = _a[0];
  567. switch (_id) {
  568. case 0: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
  569. case 3: _t->setLayer(*reinterpret_cast< QCPLayer**>(_v)); break;
  570. case 4: _t->setAntialiased(*reinterpret_cast< bool*>(_v)); break;
  571. default: break;
  572. }
  573. } else if (_c == QMetaObject::ResetProperty) {
  574. }
  575. #endif // QT_NO_PROPERTIES
  576. }
  577. QT_INIT_METAOBJECT const QMetaObject QCPLayerable::staticMetaObject = { {
  578. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  579. qt_meta_stringdata_QCPLayerable.data,
  580. qt_meta_data_QCPLayerable,
  581. qt_static_metacall,
  582. nullptr,
  583. nullptr
  584. } };
  585. const QMetaObject *QCPLayerable::metaObject() const
  586. {
  587. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  588. }
  589. void *QCPLayerable::qt_metacast(const char *_clname)
  590. {
  591. if (!_clname) return nullptr;
  592. if (!strcmp(_clname, qt_meta_stringdata_QCPLayerable.stringdata0))
  593. return static_cast<void*>(this);
  594. return QObject::qt_metacast(_clname);
  595. }
  596. int QCPLayerable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  597. {
  598. _id = QObject::qt_metacall(_c, _id, _a);
  599. if (_id < 0)
  600. return _id;
  601. if (_c == QMetaObject::InvokeMetaMethod) {
  602. if (_id < 2)
  603. qt_static_metacall(this, _c, _id, _a);
  604. _id -= 2;
  605. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  606. if (_id < 2)
  607. qt_static_metacall(this, _c, _id, _a);
  608. _id -= 2;
  609. }
  610. #ifndef QT_NO_PROPERTIES
  611. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  612. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  613. qt_static_metacall(this, _c, _id, _a);
  614. _id -= 5;
  615. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  616. _id -= 5;
  617. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  618. _id -= 5;
  619. } else if (_c == QMetaObject::QueryPropertyStored) {
  620. _id -= 5;
  621. } else if (_c == QMetaObject::QueryPropertyEditable) {
  622. _id -= 5;
  623. } else if (_c == QMetaObject::QueryPropertyUser) {
  624. _id -= 5;
  625. }
  626. #endif // QT_NO_PROPERTIES
  627. return _id;
  628. }
  629. // SIGNAL 0
  630. void QCPLayerable::layerChanged(QCPLayer * _t1)
  631. {
  632. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  633. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  634. }
  635. struct qt_meta_stringdata_QCPSelectionRect_t {
  636. QByteArrayData data[11];
  637. char stringdata0[96];
  638. };
  639. #define QT_MOC_LITERAL(idx, ofs, len) \
  640. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  641. qptrdiff(offsetof(qt_meta_stringdata_QCPSelectionRect_t, stringdata0) + ofs \
  642. - idx * sizeof(QByteArrayData)) \
  643. )
  644. static const qt_meta_stringdata_QCPSelectionRect_t qt_meta_stringdata_QCPSelectionRect = {
  645. {
  646. QT_MOC_LITERAL(0, 0, 16), // "QCPSelectionRect"
  647. QT_MOC_LITERAL(1, 17, 7), // "started"
  648. QT_MOC_LITERAL(2, 25, 0), // ""
  649. QT_MOC_LITERAL(3, 26, 12), // "QMouseEvent*"
  650. QT_MOC_LITERAL(4, 39, 5), // "event"
  651. QT_MOC_LITERAL(5, 45, 7), // "changed"
  652. QT_MOC_LITERAL(6, 53, 4), // "rect"
  653. QT_MOC_LITERAL(7, 58, 8), // "canceled"
  654. QT_MOC_LITERAL(8, 67, 12), // "QInputEvent*"
  655. QT_MOC_LITERAL(9, 80, 8), // "accepted"
  656. QT_MOC_LITERAL(10, 89, 6) // "cancel"
  657. },
  658. "QCPSelectionRect\0started\0\0QMouseEvent*\0"
  659. "event\0changed\0rect\0canceled\0QInputEvent*\0"
  660. "accepted\0cancel"
  661. };
  662. #undef QT_MOC_LITERAL
  663. static const uint qt_meta_data_QCPSelectionRect[] = {
  664. // content:
  665. 8, // revision
  666. 0, // classname
  667. 0, 0, // classinfo
  668. 5, 14, // methods
  669. 0, 0, // properties
  670. 0, 0, // enums/sets
  671. 0, 0, // constructors
  672. 0, // flags
  673. 4, // signalCount
  674. // signals: name, argc, parameters, tag, flags
  675. 1, 1, 39, 2, 0x06 /* Public */,
  676. 5, 2, 42, 2, 0x06 /* Public */,
  677. 7, 2, 47, 2, 0x06 /* Public */,
  678. 9, 2, 52, 2, 0x06 /* Public */,
  679. // slots: name, argc, parameters, tag, flags
  680. 10, 0, 57, 2, 0x0a /* Public */,
  681. // signals: parameters
  682. QMetaType::Void, 0x80000000 | 3, 4,
  683. QMetaType::Void, QMetaType::QRect, 0x80000000 | 3, 6, 4,
  684. QMetaType::Void, QMetaType::QRect, 0x80000000 | 8, 6, 4,
  685. QMetaType::Void, QMetaType::QRect, 0x80000000 | 3, 6, 4,
  686. // slots: parameters
  687. QMetaType::Void,
  688. 0 // eod
  689. };
  690. void QCPSelectionRect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  691. {
  692. if (_c == QMetaObject::InvokeMetaMethod) {
  693. auto *_t = static_cast<QCPSelectionRect *>(_o);
  694. Q_UNUSED(_t)
  695. switch (_id) {
  696. case 0: _t->started((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  697. case 1: _t->changed((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  698. case 2: _t->canceled((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< QInputEvent*(*)>(_a[2]))); break;
  699. case 3: _t->accepted((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  700. case 4: _t->cancel(); break;
  701. default: ;
  702. }
  703. } else if (_c == QMetaObject::IndexOfMethod) {
  704. int *result = reinterpret_cast<int *>(_a[0]);
  705. {
  706. using _t = void (QCPSelectionRect::*)(QMouseEvent * );
  707. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPSelectionRect::started)) {
  708. *result = 0;
  709. return;
  710. }
  711. }
  712. {
  713. using _t = void (QCPSelectionRect::*)(const QRect & , QMouseEvent * );
  714. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPSelectionRect::changed)) {
  715. *result = 1;
  716. return;
  717. }
  718. }
  719. {
  720. using _t = void (QCPSelectionRect::*)(const QRect & , QInputEvent * );
  721. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPSelectionRect::canceled)) {
  722. *result = 2;
  723. return;
  724. }
  725. }
  726. {
  727. using _t = void (QCPSelectionRect::*)(const QRect & , QMouseEvent * );
  728. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPSelectionRect::accepted)) {
  729. *result = 3;
  730. return;
  731. }
  732. }
  733. }
  734. }
  735. QT_INIT_METAOBJECT const QMetaObject QCPSelectionRect::staticMetaObject = { {
  736. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  737. qt_meta_stringdata_QCPSelectionRect.data,
  738. qt_meta_data_QCPSelectionRect,
  739. qt_static_metacall,
  740. nullptr,
  741. nullptr
  742. } };
  743. const QMetaObject *QCPSelectionRect::metaObject() const
  744. {
  745. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  746. }
  747. void *QCPSelectionRect::qt_metacast(const char *_clname)
  748. {
  749. if (!_clname) return nullptr;
  750. if (!strcmp(_clname, qt_meta_stringdata_QCPSelectionRect.stringdata0))
  751. return static_cast<void*>(this);
  752. return QCPLayerable::qt_metacast(_clname);
  753. }
  754. int QCPSelectionRect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  755. {
  756. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  757. if (_id < 0)
  758. return _id;
  759. if (_c == QMetaObject::InvokeMetaMethod) {
  760. if (_id < 5)
  761. qt_static_metacall(this, _c, _id, _a);
  762. _id -= 5;
  763. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  764. if (_id < 5)
  765. *reinterpret_cast<int*>(_a[0]) = -1;
  766. _id -= 5;
  767. }
  768. return _id;
  769. }
  770. // SIGNAL 0
  771. void QCPSelectionRect::started(QMouseEvent * _t1)
  772. {
  773. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  774. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  775. }
  776. // SIGNAL 1
  777. void QCPSelectionRect::changed(const QRect & _t1, QMouseEvent * _t2)
  778. {
  779. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  780. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  781. }
  782. // SIGNAL 2
  783. void QCPSelectionRect::canceled(const QRect & _t1, QInputEvent * _t2)
  784. {
  785. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  786. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  787. }
  788. // SIGNAL 3
  789. void QCPSelectionRect::accepted(const QRect & _t1, QMouseEvent * _t2)
  790. {
  791. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  792. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  793. }
  794. struct qt_meta_stringdata_QCPMarginGroup_t {
  795. QByteArrayData data[1];
  796. char stringdata0[15];
  797. };
  798. #define QT_MOC_LITERAL(idx, ofs, len) \
  799. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  800. qptrdiff(offsetof(qt_meta_stringdata_QCPMarginGroup_t, stringdata0) + ofs \
  801. - idx * sizeof(QByteArrayData)) \
  802. )
  803. static const qt_meta_stringdata_QCPMarginGroup_t qt_meta_stringdata_QCPMarginGroup = {
  804. {
  805. QT_MOC_LITERAL(0, 0, 14) // "QCPMarginGroup"
  806. },
  807. "QCPMarginGroup"
  808. };
  809. #undef QT_MOC_LITERAL
  810. static const uint qt_meta_data_QCPMarginGroup[] = {
  811. // content:
  812. 8, // revision
  813. 0, // classname
  814. 0, 0, // classinfo
  815. 0, 0, // methods
  816. 0, 0, // properties
  817. 0, 0, // enums/sets
  818. 0, 0, // constructors
  819. 0, // flags
  820. 0, // signalCount
  821. 0 // eod
  822. };
  823. void QCPMarginGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  824. {
  825. Q_UNUSED(_o);
  826. Q_UNUSED(_id);
  827. Q_UNUSED(_c);
  828. Q_UNUSED(_a);
  829. }
  830. QT_INIT_METAOBJECT const QMetaObject QCPMarginGroup::staticMetaObject = { {
  831. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  832. qt_meta_stringdata_QCPMarginGroup.data,
  833. qt_meta_data_QCPMarginGroup,
  834. qt_static_metacall,
  835. nullptr,
  836. nullptr
  837. } };
  838. const QMetaObject *QCPMarginGroup::metaObject() const
  839. {
  840. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  841. }
  842. void *QCPMarginGroup::qt_metacast(const char *_clname)
  843. {
  844. if (!_clname) return nullptr;
  845. if (!strcmp(_clname, qt_meta_stringdata_QCPMarginGroup.stringdata0))
  846. return static_cast<void*>(this);
  847. return QObject::qt_metacast(_clname);
  848. }
  849. int QCPMarginGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  850. {
  851. _id = QObject::qt_metacall(_c, _id, _a);
  852. return _id;
  853. }
  854. struct qt_meta_stringdata_QCPLayoutElement_t {
  855. QByteArrayData data[18];
  856. char stringdata0[215];
  857. };
  858. #define QT_MOC_LITERAL(idx, ofs, len) \
  859. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  860. qptrdiff(offsetof(qt_meta_stringdata_QCPLayoutElement_t, stringdata0) + ofs \
  861. - idx * sizeof(QByteArrayData)) \
  862. )
  863. static const qt_meta_stringdata_QCPLayoutElement_t qt_meta_stringdata_QCPLayoutElement = {
  864. {
  865. QT_MOC_LITERAL(0, 0, 16), // "QCPLayoutElement"
  866. QT_MOC_LITERAL(1, 17, 6), // "layout"
  867. QT_MOC_LITERAL(2, 24, 10), // "QCPLayout*"
  868. QT_MOC_LITERAL(3, 35, 4), // "rect"
  869. QT_MOC_LITERAL(4, 40, 9), // "outerRect"
  870. QT_MOC_LITERAL(5, 50, 7), // "margins"
  871. QT_MOC_LITERAL(6, 58, 8), // "QMargins"
  872. QT_MOC_LITERAL(7, 67, 14), // "minimumMargins"
  873. QT_MOC_LITERAL(8, 82, 11), // "minimumSize"
  874. QT_MOC_LITERAL(9, 94, 11), // "maximumSize"
  875. QT_MOC_LITERAL(10, 106, 18), // "sizeConstraintRect"
  876. QT_MOC_LITERAL(11, 125, 18), // "SizeConstraintRect"
  877. QT_MOC_LITERAL(12, 144, 11), // "UpdatePhase"
  878. QT_MOC_LITERAL(13, 156, 13), // "upPreparation"
  879. QT_MOC_LITERAL(14, 170, 9), // "upMargins"
  880. QT_MOC_LITERAL(15, 180, 8), // "upLayout"
  881. QT_MOC_LITERAL(16, 189, 12), // "scrInnerRect"
  882. QT_MOC_LITERAL(17, 202, 12) // "scrOuterRect"
  883. },
  884. "QCPLayoutElement\0layout\0QCPLayout*\0"
  885. "rect\0outerRect\0margins\0QMargins\0"
  886. "minimumMargins\0minimumSize\0maximumSize\0"
  887. "sizeConstraintRect\0SizeConstraintRect\0"
  888. "UpdatePhase\0upPreparation\0upMargins\0"
  889. "upLayout\0scrInnerRect\0scrOuterRect"
  890. };
  891. #undef QT_MOC_LITERAL
  892. static const uint qt_meta_data_QCPLayoutElement[] = {
  893. // content:
  894. 8, // revision
  895. 0, // classname
  896. 0, 0, // classinfo
  897. 0, 0, // methods
  898. 8, 14, // properties
  899. 2, 38, // enums/sets
  900. 0, 0, // constructors
  901. 0, // flags
  902. 0, // signalCount
  903. // properties: name, type, flags
  904. 1, 0x80000000 | 2, 0x00095009,
  905. 3, QMetaType::QRect, 0x00095001,
  906. 4, QMetaType::QRect, 0x00095103,
  907. 5, 0x80000000 | 6, 0x0009510b,
  908. 7, 0x80000000 | 6, 0x0009510b,
  909. 8, QMetaType::QSize, 0x00095103,
  910. 9, QMetaType::QSize, 0x00095103,
  911. 10, 0x80000000 | 11, 0x0009510b,
  912. // enums: name, alias, flags, count, data
  913. 12, 12, 0x0, 3, 48,
  914. 11, 11, 0x0, 2, 54,
  915. // enum data: key, value
  916. 13, uint(QCPLayoutElement::upPreparation),
  917. 14, uint(QCPLayoutElement::upMargins),
  918. 15, uint(QCPLayoutElement::upLayout),
  919. 16, uint(QCPLayoutElement::scrInnerRect),
  920. 17, uint(QCPLayoutElement::scrOuterRect),
  921. 0 // eod
  922. };
  923. void QCPLayoutElement::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  924. {
  925. if (_c == QMetaObject::RegisterPropertyMetaType) {
  926. switch (_id) {
  927. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  928. case 0:
  929. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayout* >(); break;
  930. }
  931. }
  932. #ifndef QT_NO_PROPERTIES
  933. else if (_c == QMetaObject::ReadProperty) {
  934. auto *_t = static_cast<QCPLayoutElement *>(_o);
  935. Q_UNUSED(_t)
  936. void *_v = _a[0];
  937. switch (_id) {
  938. case 0: *reinterpret_cast< QCPLayout**>(_v) = _t->layout(); break;
  939. case 1: *reinterpret_cast< QRect*>(_v) = _t->rect(); break;
  940. case 2: *reinterpret_cast< QRect*>(_v) = _t->outerRect(); break;
  941. case 3: *reinterpret_cast< QMargins*>(_v) = _t->margins(); break;
  942. case 4: *reinterpret_cast< QMargins*>(_v) = _t->minimumMargins(); break;
  943. case 5: *reinterpret_cast< QSize*>(_v) = _t->minimumSize(); break;
  944. case 6: *reinterpret_cast< QSize*>(_v) = _t->maximumSize(); break;
  945. case 7: *reinterpret_cast< SizeConstraintRect*>(_v) = _t->sizeConstraintRect(); break;
  946. default: break;
  947. }
  948. } else if (_c == QMetaObject::WriteProperty) {
  949. auto *_t = static_cast<QCPLayoutElement *>(_o);
  950. Q_UNUSED(_t)
  951. void *_v = _a[0];
  952. switch (_id) {
  953. case 2: _t->setOuterRect(*reinterpret_cast< QRect*>(_v)); break;
  954. case 3: _t->setMargins(*reinterpret_cast< QMargins*>(_v)); break;
  955. case 4: _t->setMinimumMargins(*reinterpret_cast< QMargins*>(_v)); break;
  956. case 5: _t->setMinimumSize(*reinterpret_cast< QSize*>(_v)); break;
  957. case 6: _t->setMaximumSize(*reinterpret_cast< QSize*>(_v)); break;
  958. case 7: _t->setSizeConstraintRect(*reinterpret_cast< SizeConstraintRect*>(_v)); break;
  959. default: break;
  960. }
  961. } else if (_c == QMetaObject::ResetProperty) {
  962. }
  963. #endif // QT_NO_PROPERTIES
  964. Q_UNUSED(_o);
  965. }
  966. QT_INIT_METAOBJECT const QMetaObject QCPLayoutElement::staticMetaObject = { {
  967. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  968. qt_meta_stringdata_QCPLayoutElement.data,
  969. qt_meta_data_QCPLayoutElement,
  970. qt_static_metacall,
  971. nullptr,
  972. nullptr
  973. } };
  974. const QMetaObject *QCPLayoutElement::metaObject() const
  975. {
  976. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  977. }
  978. void *QCPLayoutElement::qt_metacast(const char *_clname)
  979. {
  980. if (!_clname) return nullptr;
  981. if (!strcmp(_clname, qt_meta_stringdata_QCPLayoutElement.stringdata0))
  982. return static_cast<void*>(this);
  983. return QCPLayerable::qt_metacast(_clname);
  984. }
  985. int QCPLayoutElement::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  986. {
  987. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  988. if (_id < 0)
  989. return _id;
  990. #ifndef QT_NO_PROPERTIES
  991. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  992. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  993. qt_static_metacall(this, _c, _id, _a);
  994. _id -= 8;
  995. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  996. _id -= 8;
  997. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  998. _id -= 8;
  999. } else if (_c == QMetaObject::QueryPropertyStored) {
  1000. _id -= 8;
  1001. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1002. _id -= 8;
  1003. } else if (_c == QMetaObject::QueryPropertyUser) {
  1004. _id -= 8;
  1005. }
  1006. #endif // QT_NO_PROPERTIES
  1007. return _id;
  1008. }
  1009. struct qt_meta_stringdata_QCPLayout_t {
  1010. QByteArrayData data[1];
  1011. char stringdata0[10];
  1012. };
  1013. #define QT_MOC_LITERAL(idx, ofs, len) \
  1014. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1015. qptrdiff(offsetof(qt_meta_stringdata_QCPLayout_t, stringdata0) + ofs \
  1016. - idx * sizeof(QByteArrayData)) \
  1017. )
  1018. static const qt_meta_stringdata_QCPLayout_t qt_meta_stringdata_QCPLayout = {
  1019. {
  1020. QT_MOC_LITERAL(0, 0, 9) // "QCPLayout"
  1021. },
  1022. "QCPLayout"
  1023. };
  1024. #undef QT_MOC_LITERAL
  1025. static const uint qt_meta_data_QCPLayout[] = {
  1026. // content:
  1027. 8, // revision
  1028. 0, // classname
  1029. 0, 0, // classinfo
  1030. 0, 0, // methods
  1031. 0, 0, // properties
  1032. 0, 0, // enums/sets
  1033. 0, 0, // constructors
  1034. 0, // flags
  1035. 0, // signalCount
  1036. 0 // eod
  1037. };
  1038. void QCPLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1039. {
  1040. Q_UNUSED(_o);
  1041. Q_UNUSED(_id);
  1042. Q_UNUSED(_c);
  1043. Q_UNUSED(_a);
  1044. }
  1045. QT_INIT_METAOBJECT const QMetaObject QCPLayout::staticMetaObject = { {
  1046. QMetaObject::SuperData::link<QCPLayoutElement::staticMetaObject>(),
  1047. qt_meta_stringdata_QCPLayout.data,
  1048. qt_meta_data_QCPLayout,
  1049. qt_static_metacall,
  1050. nullptr,
  1051. nullptr
  1052. } };
  1053. const QMetaObject *QCPLayout::metaObject() const
  1054. {
  1055. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1056. }
  1057. void *QCPLayout::qt_metacast(const char *_clname)
  1058. {
  1059. if (!_clname) return nullptr;
  1060. if (!strcmp(_clname, qt_meta_stringdata_QCPLayout.stringdata0))
  1061. return static_cast<void*>(this);
  1062. return QCPLayoutElement::qt_metacast(_clname);
  1063. }
  1064. int QCPLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1065. {
  1066. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  1067. return _id;
  1068. }
  1069. struct qt_meta_stringdata_QCPLayoutGrid_t {
  1070. QByteArrayData data[13];
  1071. char stringdata0[165];
  1072. };
  1073. #define QT_MOC_LITERAL(idx, ofs, len) \
  1074. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1075. qptrdiff(offsetof(qt_meta_stringdata_QCPLayoutGrid_t, stringdata0) + ofs \
  1076. - idx * sizeof(QByteArrayData)) \
  1077. )
  1078. static const qt_meta_stringdata_QCPLayoutGrid_t qt_meta_stringdata_QCPLayoutGrid = {
  1079. {
  1080. QT_MOC_LITERAL(0, 0, 13), // "QCPLayoutGrid"
  1081. QT_MOC_LITERAL(1, 14, 8), // "rowCount"
  1082. QT_MOC_LITERAL(2, 23, 11), // "columnCount"
  1083. QT_MOC_LITERAL(3, 35, 20), // "columnStretchFactors"
  1084. QT_MOC_LITERAL(4, 56, 13), // "QList<double>"
  1085. QT_MOC_LITERAL(5, 70, 17), // "rowStretchFactors"
  1086. QT_MOC_LITERAL(6, 88, 13), // "columnSpacing"
  1087. QT_MOC_LITERAL(7, 102, 10), // "rowSpacing"
  1088. QT_MOC_LITERAL(8, 113, 9), // "fillOrder"
  1089. QT_MOC_LITERAL(9, 123, 9), // "FillOrder"
  1090. QT_MOC_LITERAL(10, 133, 4), // "wrap"
  1091. QT_MOC_LITERAL(11, 138, 11), // "foRowsFirst"
  1092. QT_MOC_LITERAL(12, 150, 14) // "foColumnsFirst"
  1093. },
  1094. "QCPLayoutGrid\0rowCount\0columnCount\0"
  1095. "columnStretchFactors\0QList<double>\0"
  1096. "rowStretchFactors\0columnSpacing\0"
  1097. "rowSpacing\0fillOrder\0FillOrder\0wrap\0"
  1098. "foRowsFirst\0foColumnsFirst"
  1099. };
  1100. #undef QT_MOC_LITERAL
  1101. static const uint qt_meta_data_QCPLayoutGrid[] = {
  1102. // content:
  1103. 8, // revision
  1104. 0, // classname
  1105. 0, 0, // classinfo
  1106. 0, 0, // methods
  1107. 8, 14, // properties
  1108. 1, 38, // enums/sets
  1109. 0, 0, // constructors
  1110. 0, // flags
  1111. 0, // signalCount
  1112. // properties: name, type, flags
  1113. 1, QMetaType::Int, 0x00095001,
  1114. 2, QMetaType::Int, 0x00095001,
  1115. 3, 0x80000000 | 4, 0x0009510b,
  1116. 5, 0x80000000 | 4, 0x0009510b,
  1117. 6, QMetaType::Int, 0x00095103,
  1118. 7, QMetaType::Int, 0x00095103,
  1119. 8, 0x80000000 | 9, 0x0009510b,
  1120. 10, QMetaType::Int, 0x00095103,
  1121. // enums: name, alias, flags, count, data
  1122. 9, 9, 0x0, 2, 43,
  1123. // enum data: key, value
  1124. 11, uint(QCPLayoutGrid::foRowsFirst),
  1125. 12, uint(QCPLayoutGrid::foColumnsFirst),
  1126. 0 // eod
  1127. };
  1128. void QCPLayoutGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1129. {
  1130. if (_c == QMetaObject::RegisterPropertyMetaType) {
  1131. switch (_id) {
  1132. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  1133. case 3:
  1134. case 2:
  1135. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<double> >(); break;
  1136. }
  1137. }
  1138. #ifndef QT_NO_PROPERTIES
  1139. else if (_c == QMetaObject::ReadProperty) {
  1140. auto *_t = static_cast<QCPLayoutGrid *>(_o);
  1141. Q_UNUSED(_t)
  1142. void *_v = _a[0];
  1143. switch (_id) {
  1144. case 0: *reinterpret_cast< int*>(_v) = _t->rowCount(); break;
  1145. case 1: *reinterpret_cast< int*>(_v) = _t->columnCount(); break;
  1146. case 2: *reinterpret_cast< QList<double>*>(_v) = _t->columnStretchFactors(); break;
  1147. case 3: *reinterpret_cast< QList<double>*>(_v) = _t->rowStretchFactors(); break;
  1148. case 4: *reinterpret_cast< int*>(_v) = _t->columnSpacing(); break;
  1149. case 5: *reinterpret_cast< int*>(_v) = _t->rowSpacing(); break;
  1150. case 6: *reinterpret_cast< FillOrder*>(_v) = _t->fillOrder(); break;
  1151. case 7: *reinterpret_cast< int*>(_v) = _t->wrap(); break;
  1152. default: break;
  1153. }
  1154. } else if (_c == QMetaObject::WriteProperty) {
  1155. auto *_t = static_cast<QCPLayoutGrid *>(_o);
  1156. Q_UNUSED(_t)
  1157. void *_v = _a[0];
  1158. switch (_id) {
  1159. case 2: _t->setColumnStretchFactors(*reinterpret_cast< QList<double>*>(_v)); break;
  1160. case 3: _t->setRowStretchFactors(*reinterpret_cast< QList<double>*>(_v)); break;
  1161. case 4: _t->setColumnSpacing(*reinterpret_cast< int*>(_v)); break;
  1162. case 5: _t->setRowSpacing(*reinterpret_cast< int*>(_v)); break;
  1163. case 6: _t->setFillOrder(*reinterpret_cast< FillOrder*>(_v)); break;
  1164. case 7: _t->setWrap(*reinterpret_cast< int*>(_v)); break;
  1165. default: break;
  1166. }
  1167. } else if (_c == QMetaObject::ResetProperty) {
  1168. }
  1169. #endif // QT_NO_PROPERTIES
  1170. Q_UNUSED(_o);
  1171. }
  1172. QT_INIT_METAOBJECT const QMetaObject QCPLayoutGrid::staticMetaObject = { {
  1173. QMetaObject::SuperData::link<QCPLayout::staticMetaObject>(),
  1174. qt_meta_stringdata_QCPLayoutGrid.data,
  1175. qt_meta_data_QCPLayoutGrid,
  1176. qt_static_metacall,
  1177. nullptr,
  1178. nullptr
  1179. } };
  1180. const QMetaObject *QCPLayoutGrid::metaObject() const
  1181. {
  1182. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1183. }
  1184. void *QCPLayoutGrid::qt_metacast(const char *_clname)
  1185. {
  1186. if (!_clname) return nullptr;
  1187. if (!strcmp(_clname, qt_meta_stringdata_QCPLayoutGrid.stringdata0))
  1188. return static_cast<void*>(this);
  1189. return QCPLayout::qt_metacast(_clname);
  1190. }
  1191. int QCPLayoutGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1192. {
  1193. _id = QCPLayout::qt_metacall(_c, _id, _a);
  1194. if (_id < 0)
  1195. return _id;
  1196. #ifndef QT_NO_PROPERTIES
  1197. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  1198. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  1199. qt_static_metacall(this, _c, _id, _a);
  1200. _id -= 8;
  1201. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1202. _id -= 8;
  1203. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1204. _id -= 8;
  1205. } else if (_c == QMetaObject::QueryPropertyStored) {
  1206. _id -= 8;
  1207. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1208. _id -= 8;
  1209. } else if (_c == QMetaObject::QueryPropertyUser) {
  1210. _id -= 8;
  1211. }
  1212. #endif // QT_NO_PROPERTIES
  1213. return _id;
  1214. }
  1215. struct qt_meta_stringdata_QCPLayoutInset_t {
  1216. QByteArrayData data[4];
  1217. char stringdata0[53];
  1218. };
  1219. #define QT_MOC_LITERAL(idx, ofs, len) \
  1220. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1221. qptrdiff(offsetof(qt_meta_stringdata_QCPLayoutInset_t, stringdata0) + ofs \
  1222. - idx * sizeof(QByteArrayData)) \
  1223. )
  1224. static const qt_meta_stringdata_QCPLayoutInset_t qt_meta_stringdata_QCPLayoutInset = {
  1225. {
  1226. QT_MOC_LITERAL(0, 0, 14), // "QCPLayoutInset"
  1227. QT_MOC_LITERAL(1, 15, 14), // "InsetPlacement"
  1228. QT_MOC_LITERAL(2, 30, 6), // "ipFree"
  1229. QT_MOC_LITERAL(3, 37, 15) // "ipBorderAligned"
  1230. },
  1231. "QCPLayoutInset\0InsetPlacement\0ipFree\0"
  1232. "ipBorderAligned"
  1233. };
  1234. #undef QT_MOC_LITERAL
  1235. static const uint qt_meta_data_QCPLayoutInset[] = {
  1236. // content:
  1237. 8, // revision
  1238. 0, // classname
  1239. 0, 0, // classinfo
  1240. 0, 0, // methods
  1241. 0, 0, // properties
  1242. 1, 14, // enums/sets
  1243. 0, 0, // constructors
  1244. 0, // flags
  1245. 0, // signalCount
  1246. // enums: name, alias, flags, count, data
  1247. 1, 1, 0x0, 2, 19,
  1248. // enum data: key, value
  1249. 2, uint(QCPLayoutInset::ipFree),
  1250. 3, uint(QCPLayoutInset::ipBorderAligned),
  1251. 0 // eod
  1252. };
  1253. void QCPLayoutInset::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1254. {
  1255. Q_UNUSED(_o);
  1256. Q_UNUSED(_id);
  1257. Q_UNUSED(_c);
  1258. Q_UNUSED(_a);
  1259. }
  1260. QT_INIT_METAOBJECT const QMetaObject QCPLayoutInset::staticMetaObject = { {
  1261. QMetaObject::SuperData::link<QCPLayout::staticMetaObject>(),
  1262. qt_meta_stringdata_QCPLayoutInset.data,
  1263. qt_meta_data_QCPLayoutInset,
  1264. qt_static_metacall,
  1265. nullptr,
  1266. nullptr
  1267. } };
  1268. const QMetaObject *QCPLayoutInset::metaObject() const
  1269. {
  1270. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1271. }
  1272. void *QCPLayoutInset::qt_metacast(const char *_clname)
  1273. {
  1274. if (!_clname) return nullptr;
  1275. if (!strcmp(_clname, qt_meta_stringdata_QCPLayoutInset.stringdata0))
  1276. return static_cast<void*>(this);
  1277. return QCPLayout::qt_metacast(_clname);
  1278. }
  1279. int QCPLayoutInset::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1280. {
  1281. _id = QCPLayout::qt_metacall(_c, _id, _a);
  1282. return _id;
  1283. }
  1284. struct qt_meta_stringdata_QCPLineEnding_t {
  1285. QByteArrayData data[12];
  1286. char stringdata0[124];
  1287. };
  1288. #define QT_MOC_LITERAL(idx, ofs, len) \
  1289. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1290. qptrdiff(offsetof(qt_meta_stringdata_QCPLineEnding_t, stringdata0) + ofs \
  1291. - idx * sizeof(QByteArrayData)) \
  1292. )
  1293. static const qt_meta_stringdata_QCPLineEnding_t qt_meta_stringdata_QCPLineEnding = {
  1294. {
  1295. QT_MOC_LITERAL(0, 0, 13), // "QCPLineEnding"
  1296. QT_MOC_LITERAL(1, 14, 11), // "EndingStyle"
  1297. QT_MOC_LITERAL(2, 26, 6), // "esNone"
  1298. QT_MOC_LITERAL(3, 33, 11), // "esFlatArrow"
  1299. QT_MOC_LITERAL(4, 45, 12), // "esSpikeArrow"
  1300. QT_MOC_LITERAL(5, 58, 11), // "esLineArrow"
  1301. QT_MOC_LITERAL(6, 70, 6), // "esDisc"
  1302. QT_MOC_LITERAL(7, 77, 8), // "esSquare"
  1303. QT_MOC_LITERAL(8, 86, 9), // "esDiamond"
  1304. QT_MOC_LITERAL(9, 96, 5), // "esBar"
  1305. QT_MOC_LITERAL(10, 102, 9), // "esHalfBar"
  1306. QT_MOC_LITERAL(11, 112, 11) // "esSkewedBar"
  1307. },
  1308. "QCPLineEnding\0EndingStyle\0esNone\0"
  1309. "esFlatArrow\0esSpikeArrow\0esLineArrow\0"
  1310. "esDisc\0esSquare\0esDiamond\0esBar\0"
  1311. "esHalfBar\0esSkewedBar"
  1312. };
  1313. #undef QT_MOC_LITERAL
  1314. static const uint qt_meta_data_QCPLineEnding[] = {
  1315. // content:
  1316. 8, // revision
  1317. 0, // classname
  1318. 0, 0, // classinfo
  1319. 0, 0, // methods
  1320. 0, 0, // properties
  1321. 1, 14, // enums/sets
  1322. 0, 0, // constructors
  1323. 4, // flags
  1324. 0, // signalCount
  1325. // enums: name, alias, flags, count, data
  1326. 1, 1, 0x0, 10, 19,
  1327. // enum data: key, value
  1328. 2, uint(QCPLineEnding::esNone),
  1329. 3, uint(QCPLineEnding::esFlatArrow),
  1330. 4, uint(QCPLineEnding::esSpikeArrow),
  1331. 5, uint(QCPLineEnding::esLineArrow),
  1332. 6, uint(QCPLineEnding::esDisc),
  1333. 7, uint(QCPLineEnding::esSquare),
  1334. 8, uint(QCPLineEnding::esDiamond),
  1335. 9, uint(QCPLineEnding::esBar),
  1336. 10, uint(QCPLineEnding::esHalfBar),
  1337. 11, uint(QCPLineEnding::esSkewedBar),
  1338. 0 // eod
  1339. };
  1340. QT_INIT_METAOBJECT const QMetaObject QCPLineEnding::staticMetaObject = { {
  1341. nullptr,
  1342. qt_meta_stringdata_QCPLineEnding.data,
  1343. qt_meta_data_QCPLineEnding,
  1344. nullptr,
  1345. nullptr,
  1346. nullptr
  1347. } };
  1348. struct qt_meta_stringdata_QCPLabelPainterPrivate_t {
  1349. QByteArrayData data[17];
  1350. char stringdata0[210];
  1351. };
  1352. #define QT_MOC_LITERAL(idx, ofs, len) \
  1353. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1354. qptrdiff(offsetof(qt_meta_stringdata_QCPLabelPainterPrivate_t, stringdata0) + ofs \
  1355. - idx * sizeof(QByteArrayData)) \
  1356. )
  1357. static const qt_meta_stringdata_QCPLabelPainterPrivate_t qt_meta_stringdata_QCPLabelPainterPrivate = {
  1358. {
  1359. QT_MOC_LITERAL(0, 0, 22), // "QCPLabelPainterPrivate"
  1360. QT_MOC_LITERAL(1, 23, 10), // "AnchorMode"
  1361. QT_MOC_LITERAL(2, 34, 13), // "amRectangular"
  1362. QT_MOC_LITERAL(3, 48, 15), // "amSkewedUpright"
  1363. QT_MOC_LITERAL(4, 64, 15), // "amSkewedRotated"
  1364. QT_MOC_LITERAL(5, 80, 19), // "AnchorReferenceType"
  1365. QT_MOC_LITERAL(6, 100, 9), // "artNormal"
  1366. QT_MOC_LITERAL(7, 110, 10), // "artTangent"
  1367. QT_MOC_LITERAL(8, 121, 10), // "AnchorSide"
  1368. QT_MOC_LITERAL(9, 132, 6), // "asLeft"
  1369. QT_MOC_LITERAL(10, 139, 7), // "asRight"
  1370. QT_MOC_LITERAL(11, 147, 5), // "asTop"
  1371. QT_MOC_LITERAL(12, 153, 8), // "asBottom"
  1372. QT_MOC_LITERAL(13, 162, 9), // "asTopLeft"
  1373. QT_MOC_LITERAL(14, 172, 10), // "asTopRight"
  1374. QT_MOC_LITERAL(15, 183, 13), // "asBottomRight"
  1375. QT_MOC_LITERAL(16, 197, 12) // "asBottomLeft"
  1376. },
  1377. "QCPLabelPainterPrivate\0AnchorMode\0"
  1378. "amRectangular\0amSkewedUpright\0"
  1379. "amSkewedRotated\0AnchorReferenceType\0"
  1380. "artNormal\0artTangent\0AnchorSide\0asLeft\0"
  1381. "asRight\0asTop\0asBottom\0asTopLeft\0"
  1382. "asTopRight\0asBottomRight\0asBottomLeft"
  1383. };
  1384. #undef QT_MOC_LITERAL
  1385. static const uint qt_meta_data_QCPLabelPainterPrivate[] = {
  1386. // content:
  1387. 8, // revision
  1388. 0, // classname
  1389. 0, 0, // classinfo
  1390. 0, 0, // methods
  1391. 0, 0, // properties
  1392. 3, 14, // enums/sets
  1393. 0, 0, // constructors
  1394. 4, // flags
  1395. 0, // signalCount
  1396. // enums: name, alias, flags, count, data
  1397. 1, 1, 0x0, 3, 29,
  1398. 5, 5, 0x0, 2, 35,
  1399. 8, 8, 0x0, 8, 39,
  1400. // enum data: key, value
  1401. 2, uint(QCPLabelPainterPrivate::amRectangular),
  1402. 3, uint(QCPLabelPainterPrivate::amSkewedUpright),
  1403. 4, uint(QCPLabelPainterPrivate::amSkewedRotated),
  1404. 6, uint(QCPLabelPainterPrivate::artNormal),
  1405. 7, uint(QCPLabelPainterPrivate::artTangent),
  1406. 9, uint(QCPLabelPainterPrivate::asLeft),
  1407. 10, uint(QCPLabelPainterPrivate::asRight),
  1408. 11, uint(QCPLabelPainterPrivate::asTop),
  1409. 12, uint(QCPLabelPainterPrivate::asBottom),
  1410. 13, uint(QCPLabelPainterPrivate::asTopLeft),
  1411. 14, uint(QCPLabelPainterPrivate::asTopRight),
  1412. 15, uint(QCPLabelPainterPrivate::asBottomRight),
  1413. 16, uint(QCPLabelPainterPrivate::asBottomLeft),
  1414. 0 // eod
  1415. };
  1416. QT_INIT_METAOBJECT const QMetaObject QCPLabelPainterPrivate::staticMetaObject = { {
  1417. nullptr,
  1418. qt_meta_stringdata_QCPLabelPainterPrivate.data,
  1419. qt_meta_data_QCPLabelPainterPrivate,
  1420. nullptr,
  1421. nullptr,
  1422. nullptr
  1423. } };
  1424. struct qt_meta_stringdata_QCPAxisTicker_t {
  1425. QByteArrayData data[4];
  1426. char stringdata0[63];
  1427. };
  1428. #define QT_MOC_LITERAL(idx, ofs, len) \
  1429. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1430. qptrdiff(offsetof(qt_meta_stringdata_QCPAxisTicker_t, stringdata0) + ofs \
  1431. - idx * sizeof(QByteArrayData)) \
  1432. )
  1433. static const qt_meta_stringdata_QCPAxisTicker_t qt_meta_stringdata_QCPAxisTicker = {
  1434. {
  1435. QT_MOC_LITERAL(0, 0, 13), // "QCPAxisTicker"
  1436. QT_MOC_LITERAL(1, 14, 16), // "TickStepStrategy"
  1437. QT_MOC_LITERAL(2, 31, 14), // "tssReadability"
  1438. QT_MOC_LITERAL(3, 46, 16) // "tssMeetTickCount"
  1439. },
  1440. "QCPAxisTicker\0TickStepStrategy\0"
  1441. "tssReadability\0tssMeetTickCount"
  1442. };
  1443. #undef QT_MOC_LITERAL
  1444. static const uint qt_meta_data_QCPAxisTicker[] = {
  1445. // content:
  1446. 8, // revision
  1447. 0, // classname
  1448. 0, 0, // classinfo
  1449. 0, 0, // methods
  1450. 0, 0, // properties
  1451. 1, 14, // enums/sets
  1452. 0, 0, // constructors
  1453. 4, // flags
  1454. 0, // signalCount
  1455. // enums: name, alias, flags, count, data
  1456. 1, 1, 0x0, 2, 19,
  1457. // enum data: key, value
  1458. 2, uint(QCPAxisTicker::tssReadability),
  1459. 3, uint(QCPAxisTicker::tssMeetTickCount),
  1460. 0 // eod
  1461. };
  1462. QT_INIT_METAOBJECT const QMetaObject QCPAxisTicker::staticMetaObject = { {
  1463. nullptr,
  1464. qt_meta_stringdata_QCPAxisTicker.data,
  1465. qt_meta_data_QCPAxisTicker,
  1466. nullptr,
  1467. nullptr,
  1468. nullptr
  1469. } };
  1470. struct qt_meta_stringdata_QCPAxisTickerTime_t {
  1471. QByteArrayData data[7];
  1472. char stringdata0[77];
  1473. };
  1474. #define QT_MOC_LITERAL(idx, ofs, len) \
  1475. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1476. qptrdiff(offsetof(qt_meta_stringdata_QCPAxisTickerTime_t, stringdata0) + ofs \
  1477. - idx * sizeof(QByteArrayData)) \
  1478. )
  1479. static const qt_meta_stringdata_QCPAxisTickerTime_t qt_meta_stringdata_QCPAxisTickerTime = {
  1480. {
  1481. QT_MOC_LITERAL(0, 0, 17), // "QCPAxisTickerTime"
  1482. QT_MOC_LITERAL(1, 18, 8), // "TimeUnit"
  1483. QT_MOC_LITERAL(2, 27, 14), // "tuMilliseconds"
  1484. QT_MOC_LITERAL(3, 42, 9), // "tuSeconds"
  1485. QT_MOC_LITERAL(4, 52, 9), // "tuMinutes"
  1486. QT_MOC_LITERAL(5, 62, 7), // "tuHours"
  1487. QT_MOC_LITERAL(6, 70, 6) // "tuDays"
  1488. },
  1489. "QCPAxisTickerTime\0TimeUnit\0tuMilliseconds\0"
  1490. "tuSeconds\0tuMinutes\0tuHours\0tuDays"
  1491. };
  1492. #undef QT_MOC_LITERAL
  1493. static const uint qt_meta_data_QCPAxisTickerTime[] = {
  1494. // content:
  1495. 8, // revision
  1496. 0, // classname
  1497. 0, 0, // classinfo
  1498. 0, 0, // methods
  1499. 0, 0, // properties
  1500. 1, 14, // enums/sets
  1501. 0, 0, // constructors
  1502. 4, // flags
  1503. 0, // signalCount
  1504. // enums: name, alias, flags, count, data
  1505. 1, 1, 0x0, 5, 19,
  1506. // enum data: key, value
  1507. 2, uint(QCPAxisTickerTime::tuMilliseconds),
  1508. 3, uint(QCPAxisTickerTime::tuSeconds),
  1509. 4, uint(QCPAxisTickerTime::tuMinutes),
  1510. 5, uint(QCPAxisTickerTime::tuHours),
  1511. 6, uint(QCPAxisTickerTime::tuDays),
  1512. 0 // eod
  1513. };
  1514. QT_INIT_METAOBJECT const QMetaObject QCPAxisTickerTime::staticMetaObject = { {
  1515. QtPrivate::MetaObjectForType<QCPAxisTicker>::value(),
  1516. qt_meta_stringdata_QCPAxisTickerTime.data,
  1517. qt_meta_data_QCPAxisTickerTime,
  1518. nullptr,
  1519. nullptr,
  1520. nullptr
  1521. } };
  1522. struct qt_meta_stringdata_QCPAxisTickerFixed_t {
  1523. QByteArrayData data[5];
  1524. char stringdata0[61];
  1525. };
  1526. #define QT_MOC_LITERAL(idx, ofs, len) \
  1527. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1528. qptrdiff(offsetof(qt_meta_stringdata_QCPAxisTickerFixed_t, stringdata0) + ofs \
  1529. - idx * sizeof(QByteArrayData)) \
  1530. )
  1531. static const qt_meta_stringdata_QCPAxisTickerFixed_t qt_meta_stringdata_QCPAxisTickerFixed = {
  1532. {
  1533. QT_MOC_LITERAL(0, 0, 18), // "QCPAxisTickerFixed"
  1534. QT_MOC_LITERAL(1, 19, 13), // "ScaleStrategy"
  1535. QT_MOC_LITERAL(2, 33, 6), // "ssNone"
  1536. QT_MOC_LITERAL(3, 40, 11), // "ssMultiples"
  1537. QT_MOC_LITERAL(4, 52, 8) // "ssPowers"
  1538. },
  1539. "QCPAxisTickerFixed\0ScaleStrategy\0"
  1540. "ssNone\0ssMultiples\0ssPowers"
  1541. };
  1542. #undef QT_MOC_LITERAL
  1543. static const uint qt_meta_data_QCPAxisTickerFixed[] = {
  1544. // content:
  1545. 8, // revision
  1546. 0, // classname
  1547. 0, 0, // classinfo
  1548. 0, 0, // methods
  1549. 0, 0, // properties
  1550. 1, 14, // enums/sets
  1551. 0, 0, // constructors
  1552. 4, // flags
  1553. 0, // signalCount
  1554. // enums: name, alias, flags, count, data
  1555. 1, 1, 0x0, 3, 19,
  1556. // enum data: key, value
  1557. 2, uint(QCPAxisTickerFixed::ssNone),
  1558. 3, uint(QCPAxisTickerFixed::ssMultiples),
  1559. 4, uint(QCPAxisTickerFixed::ssPowers),
  1560. 0 // eod
  1561. };
  1562. QT_INIT_METAOBJECT const QMetaObject QCPAxisTickerFixed::staticMetaObject = { {
  1563. QtPrivate::MetaObjectForType<QCPAxisTicker>::value(),
  1564. qt_meta_stringdata_QCPAxisTickerFixed.data,
  1565. qt_meta_data_QCPAxisTickerFixed,
  1566. nullptr,
  1567. nullptr,
  1568. nullptr
  1569. } };
  1570. struct qt_meta_stringdata_QCPAxisTickerPi_t {
  1571. QByteArrayData data[5];
  1572. char stringdata0[82];
  1573. };
  1574. #define QT_MOC_LITERAL(idx, ofs, len) \
  1575. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1576. qptrdiff(offsetof(qt_meta_stringdata_QCPAxisTickerPi_t, stringdata0) + ofs \
  1577. - idx * sizeof(QByteArrayData)) \
  1578. )
  1579. static const qt_meta_stringdata_QCPAxisTickerPi_t qt_meta_stringdata_QCPAxisTickerPi = {
  1580. {
  1581. QT_MOC_LITERAL(0, 0, 15), // "QCPAxisTickerPi"
  1582. QT_MOC_LITERAL(1, 16, 13), // "FractionStyle"
  1583. QT_MOC_LITERAL(2, 30, 15), // "fsFloatingPoint"
  1584. QT_MOC_LITERAL(3, 46, 16), // "fsAsciiFractions"
  1585. QT_MOC_LITERAL(4, 63, 18) // "fsUnicodeFractions"
  1586. },
  1587. "QCPAxisTickerPi\0FractionStyle\0"
  1588. "fsFloatingPoint\0fsAsciiFractions\0"
  1589. "fsUnicodeFractions"
  1590. };
  1591. #undef QT_MOC_LITERAL
  1592. static const uint qt_meta_data_QCPAxisTickerPi[] = {
  1593. // content:
  1594. 8, // revision
  1595. 0, // classname
  1596. 0, 0, // classinfo
  1597. 0, 0, // methods
  1598. 0, 0, // properties
  1599. 1, 14, // enums/sets
  1600. 0, 0, // constructors
  1601. 4, // flags
  1602. 0, // signalCount
  1603. // enums: name, alias, flags, count, data
  1604. 1, 1, 0x0, 3, 19,
  1605. // enum data: key, value
  1606. 2, uint(QCPAxisTickerPi::fsFloatingPoint),
  1607. 3, uint(QCPAxisTickerPi::fsAsciiFractions),
  1608. 4, uint(QCPAxisTickerPi::fsUnicodeFractions),
  1609. 0 // eod
  1610. };
  1611. QT_INIT_METAOBJECT const QMetaObject QCPAxisTickerPi::staticMetaObject = { {
  1612. QtPrivate::MetaObjectForType<QCPAxisTicker>::value(),
  1613. qt_meta_stringdata_QCPAxisTickerPi.data,
  1614. qt_meta_data_QCPAxisTickerPi,
  1615. nullptr,
  1616. nullptr,
  1617. nullptr
  1618. } };
  1619. struct qt_meta_stringdata_QCPGrid_t {
  1620. QByteArrayData data[7];
  1621. char stringdata0[89];
  1622. };
  1623. #define QT_MOC_LITERAL(idx, ofs, len) \
  1624. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1625. qptrdiff(offsetof(qt_meta_stringdata_QCPGrid_t, stringdata0) + ofs \
  1626. - idx * sizeof(QByteArrayData)) \
  1627. )
  1628. static const qt_meta_stringdata_QCPGrid_t qt_meta_stringdata_QCPGrid = {
  1629. {
  1630. QT_MOC_LITERAL(0, 0, 7), // "QCPGrid"
  1631. QT_MOC_LITERAL(1, 8, 14), // "subGridVisible"
  1632. QT_MOC_LITERAL(2, 23, 18), // "antialiasedSubGrid"
  1633. QT_MOC_LITERAL(3, 42, 19), // "antialiasedZeroLine"
  1634. QT_MOC_LITERAL(4, 62, 3), // "pen"
  1635. QT_MOC_LITERAL(5, 66, 10), // "subGridPen"
  1636. QT_MOC_LITERAL(6, 77, 11) // "zeroLinePen"
  1637. },
  1638. "QCPGrid\0subGridVisible\0antialiasedSubGrid\0"
  1639. "antialiasedZeroLine\0pen\0subGridPen\0"
  1640. "zeroLinePen"
  1641. };
  1642. #undef QT_MOC_LITERAL
  1643. static const uint qt_meta_data_QCPGrid[] = {
  1644. // content:
  1645. 8, // revision
  1646. 0, // classname
  1647. 0, 0, // classinfo
  1648. 0, 0, // methods
  1649. 6, 14, // properties
  1650. 0, 0, // enums/sets
  1651. 0, 0, // constructors
  1652. 0, // flags
  1653. 0, // signalCount
  1654. // properties: name, type, flags
  1655. 1, QMetaType::Bool, 0x00095103,
  1656. 2, QMetaType::Bool, 0x00095103,
  1657. 3, QMetaType::Bool, 0x00095103,
  1658. 4, QMetaType::QPen, 0x00095103,
  1659. 5, QMetaType::QPen, 0x00095103,
  1660. 6, QMetaType::QPen, 0x00095103,
  1661. 0 // eod
  1662. };
  1663. void QCPGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1664. {
  1665. #ifndef QT_NO_PROPERTIES
  1666. if (_c == QMetaObject::ReadProperty) {
  1667. auto *_t = static_cast<QCPGrid *>(_o);
  1668. Q_UNUSED(_t)
  1669. void *_v = _a[0];
  1670. switch (_id) {
  1671. case 0: *reinterpret_cast< bool*>(_v) = _t->subGridVisible(); break;
  1672. case 1: *reinterpret_cast< bool*>(_v) = _t->antialiasedSubGrid(); break;
  1673. case 2: *reinterpret_cast< bool*>(_v) = _t->antialiasedZeroLine(); break;
  1674. case 3: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  1675. case 4: *reinterpret_cast< QPen*>(_v) = _t->subGridPen(); break;
  1676. case 5: *reinterpret_cast< QPen*>(_v) = _t->zeroLinePen(); break;
  1677. default: break;
  1678. }
  1679. } else if (_c == QMetaObject::WriteProperty) {
  1680. auto *_t = static_cast<QCPGrid *>(_o);
  1681. Q_UNUSED(_t)
  1682. void *_v = _a[0];
  1683. switch (_id) {
  1684. case 0: _t->setSubGridVisible(*reinterpret_cast< bool*>(_v)); break;
  1685. case 1: _t->setAntialiasedSubGrid(*reinterpret_cast< bool*>(_v)); break;
  1686. case 2: _t->setAntialiasedZeroLine(*reinterpret_cast< bool*>(_v)); break;
  1687. case 3: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  1688. case 4: _t->setSubGridPen(*reinterpret_cast< QPen*>(_v)); break;
  1689. case 5: _t->setZeroLinePen(*reinterpret_cast< QPen*>(_v)); break;
  1690. default: break;
  1691. }
  1692. } else if (_c == QMetaObject::ResetProperty) {
  1693. }
  1694. #endif // QT_NO_PROPERTIES
  1695. Q_UNUSED(_o);
  1696. Q_UNUSED(_id);
  1697. Q_UNUSED(_c);
  1698. Q_UNUSED(_a);
  1699. }
  1700. QT_INIT_METAOBJECT const QMetaObject QCPGrid::staticMetaObject = { {
  1701. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  1702. qt_meta_stringdata_QCPGrid.data,
  1703. qt_meta_data_QCPGrid,
  1704. qt_static_metacall,
  1705. nullptr,
  1706. nullptr
  1707. } };
  1708. const QMetaObject *QCPGrid::metaObject() const
  1709. {
  1710. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1711. }
  1712. void *QCPGrid::qt_metacast(const char *_clname)
  1713. {
  1714. if (!_clname) return nullptr;
  1715. if (!strcmp(_clname, qt_meta_stringdata_QCPGrid.stringdata0))
  1716. return static_cast<void*>(this);
  1717. return QCPLayerable::qt_metacast(_clname);
  1718. }
  1719. int QCPGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1720. {
  1721. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  1722. if (_id < 0)
  1723. return _id;
  1724. #ifndef QT_NO_PROPERTIES
  1725. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  1726. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  1727. qt_static_metacall(this, _c, _id, _a);
  1728. _id -= 6;
  1729. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1730. _id -= 6;
  1731. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1732. _id -= 6;
  1733. } else if (_c == QMetaObject::QueryPropertyStored) {
  1734. _id -= 6;
  1735. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1736. _id -= 6;
  1737. } else if (_c == QMetaObject::QueryPropertyUser) {
  1738. _id -= 6;
  1739. }
  1740. #endif // QT_NO_PROPERTIES
  1741. return _id;
  1742. }
  1743. struct qt_meta_stringdata_QCPAxis_t {
  1744. QByteArrayData data[84];
  1745. char stringdata0[1044];
  1746. };
  1747. #define QT_MOC_LITERAL(idx, ofs, len) \
  1748. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1749. qptrdiff(offsetof(qt_meta_stringdata_QCPAxis_t, stringdata0) + ofs \
  1750. - idx * sizeof(QByteArrayData)) \
  1751. )
  1752. static const qt_meta_stringdata_QCPAxis_t qt_meta_stringdata_QCPAxis = {
  1753. {
  1754. QT_MOC_LITERAL(0, 0, 7), // "QCPAxis"
  1755. QT_MOC_LITERAL(1, 8, 12), // "rangeChanged"
  1756. QT_MOC_LITERAL(2, 21, 0), // ""
  1757. QT_MOC_LITERAL(3, 22, 8), // "QCPRange"
  1758. QT_MOC_LITERAL(4, 31, 8), // "newRange"
  1759. QT_MOC_LITERAL(5, 40, 8), // "oldRange"
  1760. QT_MOC_LITERAL(6, 49, 16), // "scaleTypeChanged"
  1761. QT_MOC_LITERAL(7, 66, 18), // "QCPAxis::ScaleType"
  1762. QT_MOC_LITERAL(8, 85, 9), // "scaleType"
  1763. QT_MOC_LITERAL(9, 95, 16), // "selectionChanged"
  1764. QT_MOC_LITERAL(10, 112, 24), // "QCPAxis::SelectableParts"
  1765. QT_MOC_LITERAL(11, 137, 5), // "parts"
  1766. QT_MOC_LITERAL(12, 143, 17), // "selectableChanged"
  1767. QT_MOC_LITERAL(13, 161, 12), // "setScaleType"
  1768. QT_MOC_LITERAL(14, 174, 4), // "type"
  1769. QT_MOC_LITERAL(15, 179, 8), // "setRange"
  1770. QT_MOC_LITERAL(16, 188, 5), // "range"
  1771. QT_MOC_LITERAL(17, 194, 18), // "setSelectableParts"
  1772. QT_MOC_LITERAL(18, 213, 15), // "selectableParts"
  1773. QT_MOC_LITERAL(19, 229, 16), // "setSelectedParts"
  1774. QT_MOC_LITERAL(20, 246, 13), // "selectedParts"
  1775. QT_MOC_LITERAL(21, 260, 8), // "axisType"
  1776. QT_MOC_LITERAL(22, 269, 8), // "AxisType"
  1777. QT_MOC_LITERAL(23, 278, 8), // "axisRect"
  1778. QT_MOC_LITERAL(24, 287, 12), // "QCPAxisRect*"
  1779. QT_MOC_LITERAL(25, 300, 9), // "ScaleType"
  1780. QT_MOC_LITERAL(26, 310, 13), // "rangeReversed"
  1781. QT_MOC_LITERAL(27, 324, 6), // "ticker"
  1782. QT_MOC_LITERAL(28, 331, 29), // "QSharedPointer<QCPAxisTicker>"
  1783. QT_MOC_LITERAL(29, 361, 5), // "ticks"
  1784. QT_MOC_LITERAL(30, 367, 10), // "tickLabels"
  1785. QT_MOC_LITERAL(31, 378, 16), // "tickLabelPadding"
  1786. QT_MOC_LITERAL(32, 395, 13), // "tickLabelFont"
  1787. QT_MOC_LITERAL(33, 409, 14), // "tickLabelColor"
  1788. QT_MOC_LITERAL(34, 424, 17), // "tickLabelRotation"
  1789. QT_MOC_LITERAL(35, 442, 13), // "tickLabelSide"
  1790. QT_MOC_LITERAL(36, 456, 9), // "LabelSide"
  1791. QT_MOC_LITERAL(37, 466, 12), // "numberFormat"
  1792. QT_MOC_LITERAL(38, 479, 15), // "numberPrecision"
  1793. QT_MOC_LITERAL(39, 495, 10), // "tickVector"
  1794. QT_MOC_LITERAL(40, 506, 15), // "QVector<double>"
  1795. QT_MOC_LITERAL(41, 522, 16), // "tickVectorLabels"
  1796. QT_MOC_LITERAL(42, 539, 16), // "QVector<QString>"
  1797. QT_MOC_LITERAL(43, 556, 12), // "tickLengthIn"
  1798. QT_MOC_LITERAL(44, 569, 13), // "tickLengthOut"
  1799. QT_MOC_LITERAL(45, 583, 8), // "subTicks"
  1800. QT_MOC_LITERAL(46, 592, 15), // "subTickLengthIn"
  1801. QT_MOC_LITERAL(47, 608, 16), // "subTickLengthOut"
  1802. QT_MOC_LITERAL(48, 625, 7), // "basePen"
  1803. QT_MOC_LITERAL(49, 633, 7), // "tickPen"
  1804. QT_MOC_LITERAL(50, 641, 10), // "subTickPen"
  1805. QT_MOC_LITERAL(51, 652, 9), // "labelFont"
  1806. QT_MOC_LITERAL(52, 662, 10), // "labelColor"
  1807. QT_MOC_LITERAL(53, 673, 5), // "label"
  1808. QT_MOC_LITERAL(54, 679, 12), // "labelPadding"
  1809. QT_MOC_LITERAL(55, 692, 7), // "padding"
  1810. QT_MOC_LITERAL(56, 700, 6), // "offset"
  1811. QT_MOC_LITERAL(57, 707, 15), // "SelectableParts"
  1812. QT_MOC_LITERAL(58, 723, 21), // "selectedTickLabelFont"
  1813. QT_MOC_LITERAL(59, 745, 17), // "selectedLabelFont"
  1814. QT_MOC_LITERAL(60, 763, 22), // "selectedTickLabelColor"
  1815. QT_MOC_LITERAL(61, 786, 18), // "selectedLabelColor"
  1816. QT_MOC_LITERAL(62, 805, 15), // "selectedBasePen"
  1817. QT_MOC_LITERAL(63, 821, 15), // "selectedTickPen"
  1818. QT_MOC_LITERAL(64, 837, 18), // "selectedSubTickPen"
  1819. QT_MOC_LITERAL(65, 856, 11), // "lowerEnding"
  1820. QT_MOC_LITERAL(66, 868, 13), // "QCPLineEnding"
  1821. QT_MOC_LITERAL(67, 882, 11), // "upperEnding"
  1822. QT_MOC_LITERAL(68, 894, 4), // "grid"
  1823. QT_MOC_LITERAL(69, 899, 8), // "QCPGrid*"
  1824. QT_MOC_LITERAL(70, 908, 6), // "atLeft"
  1825. QT_MOC_LITERAL(71, 915, 7), // "atRight"
  1826. QT_MOC_LITERAL(72, 923, 5), // "atTop"
  1827. QT_MOC_LITERAL(73, 929, 8), // "atBottom"
  1828. QT_MOC_LITERAL(74, 938, 9), // "AxisTypes"
  1829. QT_MOC_LITERAL(75, 948, 8), // "lsInside"
  1830. QT_MOC_LITERAL(76, 957, 9), // "lsOutside"
  1831. QT_MOC_LITERAL(77, 967, 8), // "stLinear"
  1832. QT_MOC_LITERAL(78, 976, 13), // "stLogarithmic"
  1833. QT_MOC_LITERAL(79, 990, 14), // "SelectablePart"
  1834. QT_MOC_LITERAL(80, 1005, 6), // "spNone"
  1835. QT_MOC_LITERAL(81, 1012, 6), // "spAxis"
  1836. QT_MOC_LITERAL(82, 1019, 12), // "spTickLabels"
  1837. QT_MOC_LITERAL(83, 1032, 11) // "spAxisLabel"
  1838. },
  1839. "QCPAxis\0rangeChanged\0\0QCPRange\0newRange\0"
  1840. "oldRange\0scaleTypeChanged\0QCPAxis::ScaleType\0"
  1841. "scaleType\0selectionChanged\0"
  1842. "QCPAxis::SelectableParts\0parts\0"
  1843. "selectableChanged\0setScaleType\0type\0"
  1844. "setRange\0range\0setSelectableParts\0"
  1845. "selectableParts\0setSelectedParts\0"
  1846. "selectedParts\0axisType\0AxisType\0"
  1847. "axisRect\0QCPAxisRect*\0ScaleType\0"
  1848. "rangeReversed\0ticker\0QSharedPointer<QCPAxisTicker>\0"
  1849. "ticks\0tickLabels\0tickLabelPadding\0"
  1850. "tickLabelFont\0tickLabelColor\0"
  1851. "tickLabelRotation\0tickLabelSide\0"
  1852. "LabelSide\0numberFormat\0numberPrecision\0"
  1853. "tickVector\0QVector<double>\0tickVectorLabels\0"
  1854. "QVector<QString>\0tickLengthIn\0"
  1855. "tickLengthOut\0subTicks\0subTickLengthIn\0"
  1856. "subTickLengthOut\0basePen\0tickPen\0"
  1857. "subTickPen\0labelFont\0labelColor\0label\0"
  1858. "labelPadding\0padding\0offset\0SelectableParts\0"
  1859. "selectedTickLabelFont\0selectedLabelFont\0"
  1860. "selectedTickLabelColor\0selectedLabelColor\0"
  1861. "selectedBasePen\0selectedTickPen\0"
  1862. "selectedSubTickPen\0lowerEnding\0"
  1863. "QCPLineEnding\0upperEnding\0grid\0QCPGrid*\0"
  1864. "atLeft\0atRight\0atTop\0atBottom\0AxisTypes\0"
  1865. "lsInside\0lsOutside\0stLinear\0stLogarithmic\0"
  1866. "SelectablePart\0spNone\0spAxis\0spTickLabels\0"
  1867. "spAxisLabel"
  1868. };
  1869. #undef QT_MOC_LITERAL
  1870. static const uint qt_meta_data_QCPAxis[] = {
  1871. // content:
  1872. 8, // revision
  1873. 0, // classname
  1874. 0, 0, // classinfo
  1875. 9, 14, // methods
  1876. 43, 88, // properties
  1877. 6, 260, // enums/sets
  1878. 0, 0, // constructors
  1879. 0, // flags
  1880. 5, // signalCount
  1881. // signals: name, argc, parameters, tag, flags
  1882. 1, 1, 59, 2, 0x06 /* Public */,
  1883. 1, 2, 62, 2, 0x06 /* Public */,
  1884. 6, 1, 67, 2, 0x06 /* Public */,
  1885. 9, 1, 70, 2, 0x06 /* Public */,
  1886. 12, 1, 73, 2, 0x06 /* Public */,
  1887. // slots: name, argc, parameters, tag, flags
  1888. 13, 1, 76, 2, 0x0a /* Public */,
  1889. 15, 1, 79, 2, 0x0a /* Public */,
  1890. 17, 1, 82, 2, 0x0a /* Public */,
  1891. 19, 1, 85, 2, 0x0a /* Public */,
  1892. // signals: parameters
  1893. QMetaType::Void, 0x80000000 | 3, 4,
  1894. QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
  1895. QMetaType::Void, 0x80000000 | 7, 8,
  1896. QMetaType::Void, 0x80000000 | 10, 11,
  1897. QMetaType::Void, 0x80000000 | 10, 11,
  1898. // slots: parameters
  1899. QMetaType::Void, 0x80000000 | 7, 14,
  1900. QMetaType::Void, 0x80000000 | 3, 16,
  1901. QMetaType::Void, 0x80000000 | 10, 18,
  1902. QMetaType::Void, 0x80000000 | 10, 20,
  1903. // properties: name, type, flags
  1904. 21, 0x80000000 | 22, 0x00095009,
  1905. 23, 0x80000000 | 24, 0x00095009,
  1906. 8, 0x80000000 | 25, 0x0049510b,
  1907. 16, 0x80000000 | 3, 0x0049510b,
  1908. 26, QMetaType::Bool, 0x00095103,
  1909. 27, 0x80000000 | 28, 0x0009510b,
  1910. 29, QMetaType::Bool, 0x00095103,
  1911. 30, QMetaType::Bool, 0x00095103,
  1912. 31, QMetaType::Int, 0x00095103,
  1913. 32, QMetaType::QFont, 0x00095103,
  1914. 33, QMetaType::QColor, 0x00095103,
  1915. 34, QMetaType::Double, 0x00095103,
  1916. 35, 0x80000000 | 36, 0x0009510b,
  1917. 37, QMetaType::QString, 0x00095103,
  1918. 38, QMetaType::Int, 0x00095103,
  1919. 39, 0x80000000 | 40, 0x00095009,
  1920. 41, 0x80000000 | 42, 0x00095009,
  1921. 43, QMetaType::Int, 0x00095103,
  1922. 44, QMetaType::Int, 0x00095103,
  1923. 45, QMetaType::Bool, 0x00095103,
  1924. 46, QMetaType::Int, 0x00095103,
  1925. 47, QMetaType::Int, 0x00095103,
  1926. 48, QMetaType::QPen, 0x00095103,
  1927. 49, QMetaType::QPen, 0x00095103,
  1928. 50, QMetaType::QPen, 0x00095103,
  1929. 51, QMetaType::QFont, 0x00095103,
  1930. 52, QMetaType::QColor, 0x00095103,
  1931. 53, QMetaType::QString, 0x00095103,
  1932. 54, QMetaType::Int, 0x00095103,
  1933. 55, QMetaType::Int, 0x00095103,
  1934. 56, QMetaType::Int, 0x00095103,
  1935. 20, 0x80000000 | 57, 0x0049510b,
  1936. 18, 0x80000000 | 57, 0x0049510b,
  1937. 58, QMetaType::QFont, 0x00095103,
  1938. 59, QMetaType::QFont, 0x00095103,
  1939. 60, QMetaType::QColor, 0x00095103,
  1940. 61, QMetaType::QColor, 0x00095103,
  1941. 62, QMetaType::QPen, 0x00095103,
  1942. 63, QMetaType::QPen, 0x00095103,
  1943. 64, QMetaType::QPen, 0x00095103,
  1944. 65, 0x80000000 | 66, 0x0009510b,
  1945. 67, 0x80000000 | 66, 0x0009510b,
  1946. 68, 0x80000000 | 69, 0x00095009,
  1947. // properties: notify_signal_id
  1948. 0,
  1949. 0,
  1950. 2,
  1951. 0,
  1952. 0,
  1953. 0,
  1954. 0,
  1955. 0,
  1956. 0,
  1957. 0,
  1958. 0,
  1959. 0,
  1960. 0,
  1961. 0,
  1962. 0,
  1963. 0,
  1964. 0,
  1965. 0,
  1966. 0,
  1967. 0,
  1968. 0,
  1969. 0,
  1970. 0,
  1971. 0,
  1972. 0,
  1973. 0,
  1974. 0,
  1975. 0,
  1976. 0,
  1977. 0,
  1978. 0,
  1979. 3,
  1980. 4,
  1981. 0,
  1982. 0,
  1983. 0,
  1984. 0,
  1985. 0,
  1986. 0,
  1987. 0,
  1988. 0,
  1989. 0,
  1990. 0,
  1991. // enums: name, alias, flags, count, data
  1992. 22, 22, 0x0, 4, 290,
  1993. 74, 22, 0x1, 4, 298,
  1994. 36, 36, 0x0, 2, 306,
  1995. 25, 25, 0x0, 2, 310,
  1996. 79, 79, 0x0, 4, 314,
  1997. 57, 79, 0x1, 4, 322,
  1998. // enum data: key, value
  1999. 70, uint(QCPAxis::atLeft),
  2000. 71, uint(QCPAxis::atRight),
  2001. 72, uint(QCPAxis::atTop),
  2002. 73, uint(QCPAxis::atBottom),
  2003. 70, uint(QCPAxis::atLeft),
  2004. 71, uint(QCPAxis::atRight),
  2005. 72, uint(QCPAxis::atTop),
  2006. 73, uint(QCPAxis::atBottom),
  2007. 75, uint(QCPAxis::lsInside),
  2008. 76, uint(QCPAxis::lsOutside),
  2009. 77, uint(QCPAxis::stLinear),
  2010. 78, uint(QCPAxis::stLogarithmic),
  2011. 80, uint(QCPAxis::spNone),
  2012. 81, uint(QCPAxis::spAxis),
  2013. 82, uint(QCPAxis::spTickLabels),
  2014. 83, uint(QCPAxis::spAxisLabel),
  2015. 80, uint(QCPAxis::spNone),
  2016. 81, uint(QCPAxis::spAxis),
  2017. 82, uint(QCPAxis::spTickLabels),
  2018. 83, uint(QCPAxis::spAxisLabel),
  2019. 0 // eod
  2020. };
  2021. void QCPAxis::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2022. {
  2023. if (_c == QMetaObject::InvokeMetaMethod) {
  2024. auto *_t = static_cast<QCPAxis *>(_o);
  2025. Q_UNUSED(_t)
  2026. switch (_id) {
  2027. case 0: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  2028. case 1: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1])),(*reinterpret_cast< const QCPRange(*)>(_a[2]))); break;
  2029. case 2: _t->scaleTypeChanged((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  2030. case 3: _t->selectionChanged((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  2031. case 4: _t->selectableChanged((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  2032. case 5: _t->setScaleType((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  2033. case 6: _t->setRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  2034. case 7: _t->setSelectableParts((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  2035. case 8: _t->setSelectedParts((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  2036. default: ;
  2037. }
  2038. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2039. switch (_id) {
  2040. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2041. case 2:
  2042. switch (*reinterpret_cast<int*>(_a[1])) {
  2043. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2044. case 0:
  2045. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  2046. }
  2047. break;
  2048. case 5:
  2049. switch (*reinterpret_cast<int*>(_a[1])) {
  2050. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2051. case 0:
  2052. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  2053. }
  2054. break;
  2055. }
  2056. } else if (_c == QMetaObject::IndexOfMethod) {
  2057. int *result = reinterpret_cast<int *>(_a[0]);
  2058. {
  2059. using _t = void (QCPAxis::*)(const QCPRange & );
  2060. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAxis::rangeChanged)) {
  2061. *result = 0;
  2062. return;
  2063. }
  2064. }
  2065. {
  2066. using _t = void (QCPAxis::*)(const QCPRange & , const QCPRange & );
  2067. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAxis::rangeChanged)) {
  2068. *result = 1;
  2069. return;
  2070. }
  2071. }
  2072. {
  2073. using _t = void (QCPAxis::*)(QCPAxis::ScaleType );
  2074. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAxis::scaleTypeChanged)) {
  2075. *result = 2;
  2076. return;
  2077. }
  2078. }
  2079. {
  2080. using _t = void (QCPAxis::*)(const QCPAxis::SelectableParts & );
  2081. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAxis::selectionChanged)) {
  2082. *result = 3;
  2083. return;
  2084. }
  2085. }
  2086. {
  2087. using _t = void (QCPAxis::*)(const QCPAxis::SelectableParts & );
  2088. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAxis::selectableChanged)) {
  2089. *result = 4;
  2090. return;
  2091. }
  2092. }
  2093. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2094. switch (_id) {
  2095. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2096. case 1:
  2097. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxisRect* >(); break;
  2098. case 42:
  2099. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPGrid* >(); break;
  2100. case 5:
  2101. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSharedPointer<QCPAxisTicker> >(); break;
  2102. case 16:
  2103. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QString> >(); break;
  2104. case 15:
  2105. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<double> >(); break;
  2106. }
  2107. }
  2108. #ifndef QT_NO_PROPERTIES
  2109. else if (_c == QMetaObject::ReadProperty) {
  2110. auto *_t = static_cast<QCPAxis *>(_o);
  2111. Q_UNUSED(_t)
  2112. void *_v = _a[0];
  2113. switch (_id) {
  2114. case 0: *reinterpret_cast< AxisType*>(_v) = _t->axisType(); break;
  2115. case 1: *reinterpret_cast< QCPAxisRect**>(_v) = _t->axisRect(); break;
  2116. case 2: *reinterpret_cast< ScaleType*>(_v) = _t->scaleType(); break;
  2117. case 3: *reinterpret_cast< QCPRange*>(_v) = _t->range(); break;
  2118. case 4: *reinterpret_cast< bool*>(_v) = _t->rangeReversed(); break;
  2119. case 5: *reinterpret_cast< QSharedPointer<QCPAxisTicker>*>(_v) = _t->ticker(); break;
  2120. case 6: *reinterpret_cast< bool*>(_v) = _t->ticks(); break;
  2121. case 7: *reinterpret_cast< bool*>(_v) = _t->tickLabels(); break;
  2122. case 8: *reinterpret_cast< int*>(_v) = _t->tickLabelPadding(); break;
  2123. case 9: *reinterpret_cast< QFont*>(_v) = _t->tickLabelFont(); break;
  2124. case 10: *reinterpret_cast< QColor*>(_v) = _t->tickLabelColor(); break;
  2125. case 11: *reinterpret_cast< double*>(_v) = _t->tickLabelRotation(); break;
  2126. case 12: *reinterpret_cast< LabelSide*>(_v) = _t->tickLabelSide(); break;
  2127. case 13: *reinterpret_cast< QString*>(_v) = _t->numberFormat(); break;
  2128. case 14: *reinterpret_cast< int*>(_v) = _t->numberPrecision(); break;
  2129. case 15: *reinterpret_cast< QVector<double>*>(_v) = _t->tickVector(); break;
  2130. case 16: *reinterpret_cast< QVector<QString>*>(_v) = _t->tickVectorLabels(); break;
  2131. case 17: *reinterpret_cast< int*>(_v) = _t->tickLengthIn(); break;
  2132. case 18: *reinterpret_cast< int*>(_v) = _t->tickLengthOut(); break;
  2133. case 19: *reinterpret_cast< bool*>(_v) = _t->subTicks(); break;
  2134. case 20: *reinterpret_cast< int*>(_v) = _t->subTickLengthIn(); break;
  2135. case 21: *reinterpret_cast< int*>(_v) = _t->subTickLengthOut(); break;
  2136. case 22: *reinterpret_cast< QPen*>(_v) = _t->basePen(); break;
  2137. case 23: *reinterpret_cast< QPen*>(_v) = _t->tickPen(); break;
  2138. case 24: *reinterpret_cast< QPen*>(_v) = _t->subTickPen(); break;
  2139. case 25: *reinterpret_cast< QFont*>(_v) = _t->labelFont(); break;
  2140. case 26: *reinterpret_cast< QColor*>(_v) = _t->labelColor(); break;
  2141. case 27: *reinterpret_cast< QString*>(_v) = _t->label(); break;
  2142. case 28: *reinterpret_cast< int*>(_v) = _t->labelPadding(); break;
  2143. case 29: *reinterpret_cast< int*>(_v) = _t->padding(); break;
  2144. case 30: *reinterpret_cast< int*>(_v) = _t->offset(); break;
  2145. case 31: *reinterpret_cast<int*>(_v) = QFlag(_t->selectedParts()); break;
  2146. case 32: *reinterpret_cast<int*>(_v) = QFlag(_t->selectableParts()); break;
  2147. case 33: *reinterpret_cast< QFont*>(_v) = _t->selectedTickLabelFont(); break;
  2148. case 34: *reinterpret_cast< QFont*>(_v) = _t->selectedLabelFont(); break;
  2149. case 35: *reinterpret_cast< QColor*>(_v) = _t->selectedTickLabelColor(); break;
  2150. case 36: *reinterpret_cast< QColor*>(_v) = _t->selectedLabelColor(); break;
  2151. case 37: *reinterpret_cast< QPen*>(_v) = _t->selectedBasePen(); break;
  2152. case 38: *reinterpret_cast< QPen*>(_v) = _t->selectedTickPen(); break;
  2153. case 39: *reinterpret_cast< QPen*>(_v) = _t->selectedSubTickPen(); break;
  2154. case 40: *reinterpret_cast< QCPLineEnding*>(_v) = _t->lowerEnding(); break;
  2155. case 41: *reinterpret_cast< QCPLineEnding*>(_v) = _t->upperEnding(); break;
  2156. case 42: *reinterpret_cast< QCPGrid**>(_v) = _t->grid(); break;
  2157. default: break;
  2158. }
  2159. } else if (_c == QMetaObject::WriteProperty) {
  2160. auto *_t = static_cast<QCPAxis *>(_o);
  2161. Q_UNUSED(_t)
  2162. void *_v = _a[0];
  2163. switch (_id) {
  2164. case 2: _t->setScaleType(*reinterpret_cast< ScaleType*>(_v)); break;
  2165. case 3: _t->setRange(*reinterpret_cast< QCPRange*>(_v)); break;
  2166. case 4: _t->setRangeReversed(*reinterpret_cast< bool*>(_v)); break;
  2167. case 5: _t->setTicker(*reinterpret_cast< QSharedPointer<QCPAxisTicker>*>(_v)); break;
  2168. case 6: _t->setTicks(*reinterpret_cast< bool*>(_v)); break;
  2169. case 7: _t->setTickLabels(*reinterpret_cast< bool*>(_v)); break;
  2170. case 8: _t->setTickLabelPadding(*reinterpret_cast< int*>(_v)); break;
  2171. case 9: _t->setTickLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  2172. case 10: _t->setTickLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  2173. case 11: _t->setTickLabelRotation(*reinterpret_cast< double*>(_v)); break;
  2174. case 12: _t->setTickLabelSide(*reinterpret_cast< LabelSide*>(_v)); break;
  2175. case 13: _t->setNumberFormat(*reinterpret_cast< QString*>(_v)); break;
  2176. case 14: _t->setNumberPrecision(*reinterpret_cast< int*>(_v)); break;
  2177. case 17: _t->setTickLengthIn(*reinterpret_cast< int*>(_v)); break;
  2178. case 18: _t->setTickLengthOut(*reinterpret_cast< int*>(_v)); break;
  2179. case 19: _t->setSubTicks(*reinterpret_cast< bool*>(_v)); break;
  2180. case 20: _t->setSubTickLengthIn(*reinterpret_cast< int*>(_v)); break;
  2181. case 21: _t->setSubTickLengthOut(*reinterpret_cast< int*>(_v)); break;
  2182. case 22: _t->setBasePen(*reinterpret_cast< QPen*>(_v)); break;
  2183. case 23: _t->setTickPen(*reinterpret_cast< QPen*>(_v)); break;
  2184. case 24: _t->setSubTickPen(*reinterpret_cast< QPen*>(_v)); break;
  2185. case 25: _t->setLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  2186. case 26: _t->setLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  2187. case 27: _t->setLabel(*reinterpret_cast< QString*>(_v)); break;
  2188. case 28: _t->setLabelPadding(*reinterpret_cast< int*>(_v)); break;
  2189. case 29: _t->setPadding(*reinterpret_cast< int*>(_v)); break;
  2190. case 30: _t->setOffset(*reinterpret_cast< int*>(_v)); break;
  2191. case 31: _t->setSelectedParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  2192. case 32: _t->setSelectableParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  2193. case 33: _t->setSelectedTickLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  2194. case 34: _t->setSelectedLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  2195. case 35: _t->setSelectedTickLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  2196. case 36: _t->setSelectedLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  2197. case 37: _t->setSelectedBasePen(*reinterpret_cast< QPen*>(_v)); break;
  2198. case 38: _t->setSelectedTickPen(*reinterpret_cast< QPen*>(_v)); break;
  2199. case 39: _t->setSelectedSubTickPen(*reinterpret_cast< QPen*>(_v)); break;
  2200. case 40: _t->setLowerEnding(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  2201. case 41: _t->setUpperEnding(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  2202. default: break;
  2203. }
  2204. } else if (_c == QMetaObject::ResetProperty) {
  2205. }
  2206. #endif // QT_NO_PROPERTIES
  2207. }
  2208. QT_INIT_METAOBJECT const QMetaObject QCPAxis::staticMetaObject = { {
  2209. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  2210. qt_meta_stringdata_QCPAxis.data,
  2211. qt_meta_data_QCPAxis,
  2212. qt_static_metacall,
  2213. nullptr,
  2214. nullptr
  2215. } };
  2216. const QMetaObject *QCPAxis::metaObject() const
  2217. {
  2218. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  2219. }
  2220. void *QCPAxis::qt_metacast(const char *_clname)
  2221. {
  2222. if (!_clname) return nullptr;
  2223. if (!strcmp(_clname, qt_meta_stringdata_QCPAxis.stringdata0))
  2224. return static_cast<void*>(this);
  2225. return QCPLayerable::qt_metacast(_clname);
  2226. }
  2227. int QCPAxis::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2228. {
  2229. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  2230. if (_id < 0)
  2231. return _id;
  2232. if (_c == QMetaObject::InvokeMetaMethod) {
  2233. if (_id < 9)
  2234. qt_static_metacall(this, _c, _id, _a);
  2235. _id -= 9;
  2236. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2237. if (_id < 9)
  2238. qt_static_metacall(this, _c, _id, _a);
  2239. _id -= 9;
  2240. }
  2241. #ifndef QT_NO_PROPERTIES
  2242. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  2243. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  2244. qt_static_metacall(this, _c, _id, _a);
  2245. _id -= 43;
  2246. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2247. _id -= 43;
  2248. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2249. _id -= 43;
  2250. } else if (_c == QMetaObject::QueryPropertyStored) {
  2251. _id -= 43;
  2252. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2253. _id -= 43;
  2254. } else if (_c == QMetaObject::QueryPropertyUser) {
  2255. _id -= 43;
  2256. }
  2257. #endif // QT_NO_PROPERTIES
  2258. return _id;
  2259. }
  2260. // SIGNAL 0
  2261. void QCPAxis::rangeChanged(const QCPRange & _t1)
  2262. {
  2263. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2264. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2265. }
  2266. // SIGNAL 1
  2267. void QCPAxis::rangeChanged(const QCPRange & _t1, const QCPRange & _t2)
  2268. {
  2269. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  2270. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2271. }
  2272. // SIGNAL 2
  2273. void QCPAxis::scaleTypeChanged(QCPAxis::ScaleType _t1)
  2274. {
  2275. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2276. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  2277. }
  2278. // SIGNAL 3
  2279. void QCPAxis::selectionChanged(const QCPAxis::SelectableParts & _t1)
  2280. {
  2281. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2282. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  2283. }
  2284. // SIGNAL 4
  2285. void QCPAxis::selectableChanged(const QCPAxis::SelectableParts & _t1)
  2286. {
  2287. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2288. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  2289. }
  2290. struct qt_meta_stringdata_QCPScatterStyle_t {
  2291. QByteArrayData data[28];
  2292. char stringdata0[285];
  2293. };
  2294. #define QT_MOC_LITERAL(idx, ofs, len) \
  2295. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2296. qptrdiff(offsetof(qt_meta_stringdata_QCPScatterStyle_t, stringdata0) + ofs \
  2297. - idx * sizeof(QByteArrayData)) \
  2298. )
  2299. static const qt_meta_stringdata_QCPScatterStyle_t qt_meta_stringdata_QCPScatterStyle = {
  2300. {
  2301. QT_MOC_LITERAL(0, 0, 15), // "QCPScatterStyle"
  2302. QT_MOC_LITERAL(1, 16, 15), // "ScatterProperty"
  2303. QT_MOC_LITERAL(2, 32, 6), // "spNone"
  2304. QT_MOC_LITERAL(3, 39, 5), // "spPen"
  2305. QT_MOC_LITERAL(4, 45, 7), // "spBrush"
  2306. QT_MOC_LITERAL(5, 53, 6), // "spSize"
  2307. QT_MOC_LITERAL(6, 60, 7), // "spShape"
  2308. QT_MOC_LITERAL(7, 68, 5), // "spAll"
  2309. QT_MOC_LITERAL(8, 74, 17), // "ScatterProperties"
  2310. QT_MOC_LITERAL(9, 92, 12), // "ScatterShape"
  2311. QT_MOC_LITERAL(10, 105, 6), // "ssNone"
  2312. QT_MOC_LITERAL(11, 112, 5), // "ssDot"
  2313. QT_MOC_LITERAL(12, 118, 7), // "ssCross"
  2314. QT_MOC_LITERAL(13, 126, 6), // "ssPlus"
  2315. QT_MOC_LITERAL(14, 133, 8), // "ssCircle"
  2316. QT_MOC_LITERAL(15, 142, 6), // "ssDisc"
  2317. QT_MOC_LITERAL(16, 149, 8), // "ssSquare"
  2318. QT_MOC_LITERAL(17, 158, 9), // "ssDiamond"
  2319. QT_MOC_LITERAL(18, 168, 6), // "ssStar"
  2320. QT_MOC_LITERAL(19, 175, 10), // "ssTriangle"
  2321. QT_MOC_LITERAL(20, 186, 18), // "ssTriangleInverted"
  2322. QT_MOC_LITERAL(21, 205, 13), // "ssCrossSquare"
  2323. QT_MOC_LITERAL(22, 219, 12), // "ssPlusSquare"
  2324. QT_MOC_LITERAL(23, 232, 13), // "ssCrossCircle"
  2325. QT_MOC_LITERAL(24, 246, 12), // "ssPlusCircle"
  2326. QT_MOC_LITERAL(25, 259, 7), // "ssPeace"
  2327. QT_MOC_LITERAL(26, 267, 8), // "ssPixmap"
  2328. QT_MOC_LITERAL(27, 276, 8) // "ssCustom"
  2329. },
  2330. "QCPScatterStyle\0ScatterProperty\0spNone\0"
  2331. "spPen\0spBrush\0spSize\0spShape\0spAll\0"
  2332. "ScatterProperties\0ScatterShape\0ssNone\0"
  2333. "ssDot\0ssCross\0ssPlus\0ssCircle\0ssDisc\0"
  2334. "ssSquare\0ssDiamond\0ssStar\0ssTriangle\0"
  2335. "ssTriangleInverted\0ssCrossSquare\0"
  2336. "ssPlusSquare\0ssCrossCircle\0ssPlusCircle\0"
  2337. "ssPeace\0ssPixmap\0ssCustom"
  2338. };
  2339. #undef QT_MOC_LITERAL
  2340. static const uint qt_meta_data_QCPScatterStyle[] = {
  2341. // content:
  2342. 8, // revision
  2343. 0, // classname
  2344. 0, 0, // classinfo
  2345. 0, 0, // methods
  2346. 0, 0, // properties
  2347. 3, 14, // enums/sets
  2348. 0, 0, // constructors
  2349. 4, // flags
  2350. 0, // signalCount
  2351. // enums: name, alias, flags, count, data
  2352. 1, 1, 0x0, 6, 29,
  2353. 8, 1, 0x1, 6, 41,
  2354. 9, 9, 0x0, 18, 53,
  2355. // enum data: key, value
  2356. 2, uint(QCPScatterStyle::spNone),
  2357. 3, uint(QCPScatterStyle::spPen),
  2358. 4, uint(QCPScatterStyle::spBrush),
  2359. 5, uint(QCPScatterStyle::spSize),
  2360. 6, uint(QCPScatterStyle::spShape),
  2361. 7, uint(QCPScatterStyle::spAll),
  2362. 2, uint(QCPScatterStyle::spNone),
  2363. 3, uint(QCPScatterStyle::spPen),
  2364. 4, uint(QCPScatterStyle::spBrush),
  2365. 5, uint(QCPScatterStyle::spSize),
  2366. 6, uint(QCPScatterStyle::spShape),
  2367. 7, uint(QCPScatterStyle::spAll),
  2368. 10, uint(QCPScatterStyle::ssNone),
  2369. 11, uint(QCPScatterStyle::ssDot),
  2370. 12, uint(QCPScatterStyle::ssCross),
  2371. 13, uint(QCPScatterStyle::ssPlus),
  2372. 14, uint(QCPScatterStyle::ssCircle),
  2373. 15, uint(QCPScatterStyle::ssDisc),
  2374. 16, uint(QCPScatterStyle::ssSquare),
  2375. 17, uint(QCPScatterStyle::ssDiamond),
  2376. 18, uint(QCPScatterStyle::ssStar),
  2377. 19, uint(QCPScatterStyle::ssTriangle),
  2378. 20, uint(QCPScatterStyle::ssTriangleInverted),
  2379. 21, uint(QCPScatterStyle::ssCrossSquare),
  2380. 22, uint(QCPScatterStyle::ssPlusSquare),
  2381. 23, uint(QCPScatterStyle::ssCrossCircle),
  2382. 24, uint(QCPScatterStyle::ssPlusCircle),
  2383. 25, uint(QCPScatterStyle::ssPeace),
  2384. 26, uint(QCPScatterStyle::ssPixmap),
  2385. 27, uint(QCPScatterStyle::ssCustom),
  2386. 0 // eod
  2387. };
  2388. QT_INIT_METAOBJECT const QMetaObject QCPScatterStyle::staticMetaObject = { {
  2389. nullptr,
  2390. qt_meta_stringdata_QCPScatterStyle.data,
  2391. qt_meta_data_QCPScatterStyle,
  2392. nullptr,
  2393. nullptr,
  2394. nullptr
  2395. } };
  2396. struct qt_meta_stringdata_QCPSelectionDecorator_t {
  2397. QByteArrayData data[1];
  2398. char stringdata0[22];
  2399. };
  2400. #define QT_MOC_LITERAL(idx, ofs, len) \
  2401. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2402. qptrdiff(offsetof(qt_meta_stringdata_QCPSelectionDecorator_t, stringdata0) + ofs \
  2403. - idx * sizeof(QByteArrayData)) \
  2404. )
  2405. static const qt_meta_stringdata_QCPSelectionDecorator_t qt_meta_stringdata_QCPSelectionDecorator = {
  2406. {
  2407. QT_MOC_LITERAL(0, 0, 21) // "QCPSelectionDecorator"
  2408. },
  2409. "QCPSelectionDecorator"
  2410. };
  2411. #undef QT_MOC_LITERAL
  2412. static const uint qt_meta_data_QCPSelectionDecorator[] = {
  2413. // content:
  2414. 8, // revision
  2415. 0, // classname
  2416. 0, 0, // classinfo
  2417. 0, 0, // methods
  2418. 0, 0, // properties
  2419. 0, 0, // enums/sets
  2420. 0, 0, // constructors
  2421. 4, // flags
  2422. 0, // signalCount
  2423. 0 // eod
  2424. };
  2425. QT_INIT_METAOBJECT const QMetaObject QCPSelectionDecorator::staticMetaObject = { {
  2426. nullptr,
  2427. qt_meta_stringdata_QCPSelectionDecorator.data,
  2428. qt_meta_data_QCPSelectionDecorator,
  2429. nullptr,
  2430. nullptr,
  2431. nullptr
  2432. } };
  2433. struct qt_meta_stringdata_QCPAbstractPlottable_t {
  2434. QByteArrayData data[21];
  2435. char stringdata0[270];
  2436. };
  2437. #define QT_MOC_LITERAL(idx, ofs, len) \
  2438. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2439. qptrdiff(offsetof(qt_meta_stringdata_QCPAbstractPlottable_t, stringdata0) + ofs \
  2440. - idx * sizeof(QByteArrayData)) \
  2441. )
  2442. static const qt_meta_stringdata_QCPAbstractPlottable_t qt_meta_stringdata_QCPAbstractPlottable = {
  2443. {
  2444. QT_MOC_LITERAL(0, 0, 20), // "QCPAbstractPlottable"
  2445. QT_MOC_LITERAL(1, 21, 16), // "selectionChanged"
  2446. QT_MOC_LITERAL(2, 38, 0), // ""
  2447. QT_MOC_LITERAL(3, 39, 8), // "selected"
  2448. QT_MOC_LITERAL(4, 48, 16), // "QCPDataSelection"
  2449. QT_MOC_LITERAL(5, 65, 9), // "selection"
  2450. QT_MOC_LITERAL(6, 75, 17), // "selectableChanged"
  2451. QT_MOC_LITERAL(7, 93, 18), // "QCP::SelectionType"
  2452. QT_MOC_LITERAL(8, 112, 10), // "selectable"
  2453. QT_MOC_LITERAL(9, 123, 13), // "setSelectable"
  2454. QT_MOC_LITERAL(10, 137, 12), // "setSelection"
  2455. QT_MOC_LITERAL(11, 150, 4), // "name"
  2456. QT_MOC_LITERAL(12, 155, 15), // "antialiasedFill"
  2457. QT_MOC_LITERAL(13, 171, 19), // "antialiasedScatters"
  2458. QT_MOC_LITERAL(14, 191, 3), // "pen"
  2459. QT_MOC_LITERAL(15, 195, 5), // "brush"
  2460. QT_MOC_LITERAL(16, 201, 7), // "keyAxis"
  2461. QT_MOC_LITERAL(17, 209, 8), // "QCPAxis*"
  2462. QT_MOC_LITERAL(18, 218, 9), // "valueAxis"
  2463. QT_MOC_LITERAL(19, 228, 18), // "selectionDecorator"
  2464. QT_MOC_LITERAL(20, 247, 22) // "QCPSelectionDecorator*"
  2465. },
  2466. "QCPAbstractPlottable\0selectionChanged\0"
  2467. "\0selected\0QCPDataSelection\0selection\0"
  2468. "selectableChanged\0QCP::SelectionType\0"
  2469. "selectable\0setSelectable\0setSelection\0"
  2470. "name\0antialiasedFill\0antialiasedScatters\0"
  2471. "pen\0brush\0keyAxis\0QCPAxis*\0valueAxis\0"
  2472. "selectionDecorator\0QCPSelectionDecorator*"
  2473. };
  2474. #undef QT_MOC_LITERAL
  2475. static const uint qt_meta_data_QCPAbstractPlottable[] = {
  2476. // content:
  2477. 8, // revision
  2478. 0, // classname
  2479. 0, 0, // classinfo
  2480. 5, 14, // methods
  2481. 10, 54, // properties
  2482. 0, 0, // enums/sets
  2483. 0, 0, // constructors
  2484. 0, // flags
  2485. 3, // signalCount
  2486. // signals: name, argc, parameters, tag, flags
  2487. 1, 1, 39, 2, 0x06 /* Public */,
  2488. 1, 1, 42, 2, 0x06 /* Public */,
  2489. 6, 1, 45, 2, 0x06 /* Public */,
  2490. // slots: name, argc, parameters, tag, flags
  2491. 9, 1, 48, 2, 0x0a /* Public */,
  2492. 10, 1, 51, 2, 0x0a /* Public */,
  2493. // signals: parameters
  2494. QMetaType::Void, QMetaType::Bool, 3,
  2495. QMetaType::Void, 0x80000000 | 4, 5,
  2496. QMetaType::Void, 0x80000000 | 7, 8,
  2497. // slots: parameters
  2498. QMetaType::Void, 0x80000000 | 7, 8,
  2499. QMetaType::Void, 0x80000000 | 4, 5,
  2500. // properties: name, type, flags
  2501. 11, QMetaType::QString, 0x00095103,
  2502. 12, QMetaType::Bool, 0x00095103,
  2503. 13, QMetaType::Bool, 0x00095103,
  2504. 14, QMetaType::QPen, 0x00095103,
  2505. 15, QMetaType::QBrush, 0x00095103,
  2506. 16, 0x80000000 | 17, 0x0009510b,
  2507. 18, 0x80000000 | 17, 0x0009510b,
  2508. 8, 0x80000000 | 7, 0x0049510b,
  2509. 5, 0x80000000 | 4, 0x0049510b,
  2510. 19, 0x80000000 | 20, 0x0009510b,
  2511. // properties: notify_signal_id
  2512. 0,
  2513. 0,
  2514. 0,
  2515. 0,
  2516. 0,
  2517. 0,
  2518. 0,
  2519. 2,
  2520. 0,
  2521. 0,
  2522. 0 // eod
  2523. };
  2524. void QCPAbstractPlottable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2525. {
  2526. if (_c == QMetaObject::InvokeMetaMethod) {
  2527. auto *_t = static_cast<QCPAbstractPlottable *>(_o);
  2528. Q_UNUSED(_t)
  2529. switch (_id) {
  2530. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2531. case 1: _t->selectionChanged((*reinterpret_cast< const QCPDataSelection(*)>(_a[1]))); break;
  2532. case 2: _t->selectableChanged((*reinterpret_cast< QCP::SelectionType(*)>(_a[1]))); break;
  2533. case 3: _t->setSelectable((*reinterpret_cast< QCP::SelectionType(*)>(_a[1]))); break;
  2534. case 4: _t->setSelection((*reinterpret_cast< QCPDataSelection(*)>(_a[1]))); break;
  2535. default: ;
  2536. }
  2537. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2538. switch (_id) {
  2539. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2540. case 1:
  2541. switch (*reinterpret_cast<int*>(_a[1])) {
  2542. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2543. case 0:
  2544. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPDataSelection >(); break;
  2545. }
  2546. break;
  2547. case 2:
  2548. switch (*reinterpret_cast<int*>(_a[1])) {
  2549. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2550. case 0:
  2551. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCP::SelectionType >(); break;
  2552. }
  2553. break;
  2554. case 3:
  2555. switch (*reinterpret_cast<int*>(_a[1])) {
  2556. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2557. case 0:
  2558. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCP::SelectionType >(); break;
  2559. }
  2560. break;
  2561. case 4:
  2562. switch (*reinterpret_cast<int*>(_a[1])) {
  2563. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2564. case 0:
  2565. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPDataSelection >(); break;
  2566. }
  2567. break;
  2568. }
  2569. } else if (_c == QMetaObject::IndexOfMethod) {
  2570. int *result = reinterpret_cast<int *>(_a[0]);
  2571. {
  2572. using _t = void (QCPAbstractPlottable::*)(bool );
  2573. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractPlottable::selectionChanged)) {
  2574. *result = 0;
  2575. return;
  2576. }
  2577. }
  2578. {
  2579. using _t = void (QCPAbstractPlottable::*)(const QCPDataSelection & );
  2580. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractPlottable::selectionChanged)) {
  2581. *result = 1;
  2582. return;
  2583. }
  2584. }
  2585. {
  2586. using _t = void (QCPAbstractPlottable::*)(QCP::SelectionType );
  2587. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractPlottable::selectableChanged)) {
  2588. *result = 2;
  2589. return;
  2590. }
  2591. }
  2592. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2593. switch (_id) {
  2594. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2595. case 7:
  2596. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCP::SelectionType >(); break;
  2597. case 6:
  2598. case 5:
  2599. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis* >(); break;
  2600. case 8:
  2601. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPDataSelection >(); break;
  2602. case 9:
  2603. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPSelectionDecorator* >(); break;
  2604. }
  2605. }
  2606. #ifndef QT_NO_PROPERTIES
  2607. else if (_c == QMetaObject::ReadProperty) {
  2608. auto *_t = static_cast<QCPAbstractPlottable *>(_o);
  2609. Q_UNUSED(_t)
  2610. void *_v = _a[0];
  2611. switch (_id) {
  2612. case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
  2613. case 1: *reinterpret_cast< bool*>(_v) = _t->antialiasedFill(); break;
  2614. case 2: *reinterpret_cast< bool*>(_v) = _t->antialiasedScatters(); break;
  2615. case 3: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  2616. case 4: *reinterpret_cast< QBrush*>(_v) = _t->brush(); break;
  2617. case 5: *reinterpret_cast< QCPAxis**>(_v) = _t->keyAxis(); break;
  2618. case 6: *reinterpret_cast< QCPAxis**>(_v) = _t->valueAxis(); break;
  2619. case 7: *reinterpret_cast< QCP::SelectionType*>(_v) = _t->selectable(); break;
  2620. case 8: *reinterpret_cast< QCPDataSelection*>(_v) = _t->selection(); break;
  2621. case 9: *reinterpret_cast< QCPSelectionDecorator**>(_v) = _t->selectionDecorator(); break;
  2622. default: break;
  2623. }
  2624. } else if (_c == QMetaObject::WriteProperty) {
  2625. auto *_t = static_cast<QCPAbstractPlottable *>(_o);
  2626. Q_UNUSED(_t)
  2627. void *_v = _a[0];
  2628. switch (_id) {
  2629. case 0: _t->setName(*reinterpret_cast< QString*>(_v)); break;
  2630. case 1: _t->setAntialiasedFill(*reinterpret_cast< bool*>(_v)); break;
  2631. case 2: _t->setAntialiasedScatters(*reinterpret_cast< bool*>(_v)); break;
  2632. case 3: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  2633. case 4: _t->setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  2634. case 5: _t->setKeyAxis(*reinterpret_cast< QCPAxis**>(_v)); break;
  2635. case 6: _t->setValueAxis(*reinterpret_cast< QCPAxis**>(_v)); break;
  2636. case 7: _t->setSelectable(*reinterpret_cast< QCP::SelectionType*>(_v)); break;
  2637. case 8: _t->setSelection(*reinterpret_cast< QCPDataSelection*>(_v)); break;
  2638. case 9: _t->setSelectionDecorator(*reinterpret_cast< QCPSelectionDecorator**>(_v)); break;
  2639. default: break;
  2640. }
  2641. } else if (_c == QMetaObject::ResetProperty) {
  2642. }
  2643. #endif // QT_NO_PROPERTIES
  2644. }
  2645. static const QMetaObject::SuperData qt_meta_extradata_QCPAbstractPlottable[] = {
  2646. QMetaObject::SuperData::link<QCP::staticMetaObject>(),
  2647. nullptr
  2648. };
  2649. QT_INIT_METAOBJECT const QMetaObject QCPAbstractPlottable::staticMetaObject = { {
  2650. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  2651. qt_meta_stringdata_QCPAbstractPlottable.data,
  2652. qt_meta_data_QCPAbstractPlottable,
  2653. qt_static_metacall,
  2654. qt_meta_extradata_QCPAbstractPlottable,
  2655. nullptr
  2656. } };
  2657. const QMetaObject *QCPAbstractPlottable::metaObject() const
  2658. {
  2659. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  2660. }
  2661. void *QCPAbstractPlottable::qt_metacast(const char *_clname)
  2662. {
  2663. if (!_clname) return nullptr;
  2664. if (!strcmp(_clname, qt_meta_stringdata_QCPAbstractPlottable.stringdata0))
  2665. return static_cast<void*>(this);
  2666. return QCPLayerable::qt_metacast(_clname);
  2667. }
  2668. int QCPAbstractPlottable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2669. {
  2670. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  2671. if (_id < 0)
  2672. return _id;
  2673. if (_c == QMetaObject::InvokeMetaMethod) {
  2674. if (_id < 5)
  2675. qt_static_metacall(this, _c, _id, _a);
  2676. _id -= 5;
  2677. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2678. if (_id < 5)
  2679. qt_static_metacall(this, _c, _id, _a);
  2680. _id -= 5;
  2681. }
  2682. #ifndef QT_NO_PROPERTIES
  2683. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  2684. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  2685. qt_static_metacall(this, _c, _id, _a);
  2686. _id -= 10;
  2687. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2688. _id -= 10;
  2689. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2690. _id -= 10;
  2691. } else if (_c == QMetaObject::QueryPropertyStored) {
  2692. _id -= 10;
  2693. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2694. _id -= 10;
  2695. } else if (_c == QMetaObject::QueryPropertyUser) {
  2696. _id -= 10;
  2697. }
  2698. #endif // QT_NO_PROPERTIES
  2699. return _id;
  2700. }
  2701. // SIGNAL 0
  2702. void QCPAbstractPlottable::selectionChanged(bool _t1)
  2703. {
  2704. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2705. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2706. }
  2707. // SIGNAL 1
  2708. void QCPAbstractPlottable::selectionChanged(const QCPDataSelection & _t1)
  2709. {
  2710. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2711. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2712. }
  2713. // SIGNAL 2
  2714. void QCPAbstractPlottable::selectableChanged(QCP::SelectionType _t1)
  2715. {
  2716. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2717. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  2718. }
  2719. struct qt_meta_stringdata_QCPItemAnchor_t {
  2720. QByteArrayData data[1];
  2721. char stringdata0[14];
  2722. };
  2723. #define QT_MOC_LITERAL(idx, ofs, len) \
  2724. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2725. qptrdiff(offsetof(qt_meta_stringdata_QCPItemAnchor_t, stringdata0) + ofs \
  2726. - idx * sizeof(QByteArrayData)) \
  2727. )
  2728. static const qt_meta_stringdata_QCPItemAnchor_t qt_meta_stringdata_QCPItemAnchor = {
  2729. {
  2730. QT_MOC_LITERAL(0, 0, 13) // "QCPItemAnchor"
  2731. },
  2732. "QCPItemAnchor"
  2733. };
  2734. #undef QT_MOC_LITERAL
  2735. static const uint qt_meta_data_QCPItemAnchor[] = {
  2736. // content:
  2737. 8, // revision
  2738. 0, // classname
  2739. 0, 0, // classinfo
  2740. 0, 0, // methods
  2741. 0, 0, // properties
  2742. 0, 0, // enums/sets
  2743. 0, 0, // constructors
  2744. 4, // flags
  2745. 0, // signalCount
  2746. 0 // eod
  2747. };
  2748. QT_INIT_METAOBJECT const QMetaObject QCPItemAnchor::staticMetaObject = { {
  2749. nullptr,
  2750. qt_meta_stringdata_QCPItemAnchor.data,
  2751. qt_meta_data_QCPItemAnchor,
  2752. nullptr,
  2753. nullptr,
  2754. nullptr
  2755. } };
  2756. struct qt_meta_stringdata_QCPItemPosition_t {
  2757. QByteArrayData data[6];
  2758. char stringdata0[85];
  2759. };
  2760. #define QT_MOC_LITERAL(idx, ofs, len) \
  2761. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2762. qptrdiff(offsetof(qt_meta_stringdata_QCPItemPosition_t, stringdata0) + ofs \
  2763. - idx * sizeof(QByteArrayData)) \
  2764. )
  2765. static const qt_meta_stringdata_QCPItemPosition_t qt_meta_stringdata_QCPItemPosition = {
  2766. {
  2767. QT_MOC_LITERAL(0, 0, 15), // "QCPItemPosition"
  2768. QT_MOC_LITERAL(1, 16, 12), // "PositionType"
  2769. QT_MOC_LITERAL(2, 29, 10), // "ptAbsolute"
  2770. QT_MOC_LITERAL(3, 40, 15), // "ptViewportRatio"
  2771. QT_MOC_LITERAL(4, 56, 15), // "ptAxisRectRatio"
  2772. QT_MOC_LITERAL(5, 72, 12) // "ptPlotCoords"
  2773. },
  2774. "QCPItemPosition\0PositionType\0ptAbsolute\0"
  2775. "ptViewportRatio\0ptAxisRectRatio\0"
  2776. "ptPlotCoords"
  2777. };
  2778. #undef QT_MOC_LITERAL
  2779. static const uint qt_meta_data_QCPItemPosition[] = {
  2780. // content:
  2781. 8, // revision
  2782. 0, // classname
  2783. 0, 0, // classinfo
  2784. 0, 0, // methods
  2785. 0, 0, // properties
  2786. 1, 14, // enums/sets
  2787. 0, 0, // constructors
  2788. 4, // flags
  2789. 0, // signalCount
  2790. // enums: name, alias, flags, count, data
  2791. 1, 1, 0x0, 4, 19,
  2792. // enum data: key, value
  2793. 2, uint(QCPItemPosition::ptAbsolute),
  2794. 3, uint(QCPItemPosition::ptViewportRatio),
  2795. 4, uint(QCPItemPosition::ptAxisRectRatio),
  2796. 5, uint(QCPItemPosition::ptPlotCoords),
  2797. 0 // eod
  2798. };
  2799. QT_INIT_METAOBJECT const QMetaObject QCPItemPosition::staticMetaObject = { {
  2800. QtPrivate::MetaObjectForType<QCPItemAnchor>::value(),
  2801. qt_meta_stringdata_QCPItemPosition.data,
  2802. qt_meta_data_QCPItemPosition,
  2803. nullptr,
  2804. nullptr,
  2805. nullptr
  2806. } };
  2807. struct qt_meta_stringdata_QCPAbstractItem_t {
  2808. QByteArrayData data[11];
  2809. char stringdata0[139];
  2810. };
  2811. #define QT_MOC_LITERAL(idx, ofs, len) \
  2812. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2813. qptrdiff(offsetof(qt_meta_stringdata_QCPAbstractItem_t, stringdata0) + ofs \
  2814. - idx * sizeof(QByteArrayData)) \
  2815. )
  2816. static const qt_meta_stringdata_QCPAbstractItem_t qt_meta_stringdata_QCPAbstractItem = {
  2817. {
  2818. QT_MOC_LITERAL(0, 0, 15), // "QCPAbstractItem"
  2819. QT_MOC_LITERAL(1, 16, 16), // "selectionChanged"
  2820. QT_MOC_LITERAL(2, 33, 0), // ""
  2821. QT_MOC_LITERAL(3, 34, 8), // "selected"
  2822. QT_MOC_LITERAL(4, 43, 17), // "selectableChanged"
  2823. QT_MOC_LITERAL(5, 61, 10), // "selectable"
  2824. QT_MOC_LITERAL(6, 72, 13), // "setSelectable"
  2825. QT_MOC_LITERAL(7, 86, 11), // "setSelected"
  2826. QT_MOC_LITERAL(8, 98, 14), // "clipToAxisRect"
  2827. QT_MOC_LITERAL(9, 113, 12), // "clipAxisRect"
  2828. QT_MOC_LITERAL(10, 126, 12) // "QCPAxisRect*"
  2829. },
  2830. "QCPAbstractItem\0selectionChanged\0\0"
  2831. "selected\0selectableChanged\0selectable\0"
  2832. "setSelectable\0setSelected\0clipToAxisRect\0"
  2833. "clipAxisRect\0QCPAxisRect*"
  2834. };
  2835. #undef QT_MOC_LITERAL
  2836. static const uint qt_meta_data_QCPAbstractItem[] = {
  2837. // content:
  2838. 8, // revision
  2839. 0, // classname
  2840. 0, 0, // classinfo
  2841. 4, 14, // methods
  2842. 4, 46, // properties
  2843. 0, 0, // enums/sets
  2844. 0, 0, // constructors
  2845. 0, // flags
  2846. 2, // signalCount
  2847. // signals: name, argc, parameters, tag, flags
  2848. 1, 1, 34, 2, 0x06 /* Public */,
  2849. 4, 1, 37, 2, 0x06 /* Public */,
  2850. // slots: name, argc, parameters, tag, flags
  2851. 6, 1, 40, 2, 0x0a /* Public */,
  2852. 7, 1, 43, 2, 0x0a /* Public */,
  2853. // signals: parameters
  2854. QMetaType::Void, QMetaType::Bool, 3,
  2855. QMetaType::Void, QMetaType::Bool, 5,
  2856. // slots: parameters
  2857. QMetaType::Void, QMetaType::Bool, 5,
  2858. QMetaType::Void, QMetaType::Bool, 3,
  2859. // properties: name, type, flags
  2860. 8, QMetaType::Bool, 0x00095103,
  2861. 9, 0x80000000 | 10, 0x0009510b,
  2862. 5, QMetaType::Bool, 0x00495103,
  2863. 3, QMetaType::Bool, 0x00495103,
  2864. // properties: notify_signal_id
  2865. 0,
  2866. 0,
  2867. 1,
  2868. 0,
  2869. 0 // eod
  2870. };
  2871. void QCPAbstractItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2872. {
  2873. if (_c == QMetaObject::InvokeMetaMethod) {
  2874. auto *_t = static_cast<QCPAbstractItem *>(_o);
  2875. Q_UNUSED(_t)
  2876. switch (_id) {
  2877. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2878. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2879. case 2: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2880. case 3: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2881. default: ;
  2882. }
  2883. } else if (_c == QMetaObject::IndexOfMethod) {
  2884. int *result = reinterpret_cast<int *>(_a[0]);
  2885. {
  2886. using _t = void (QCPAbstractItem::*)(bool );
  2887. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractItem::selectionChanged)) {
  2888. *result = 0;
  2889. return;
  2890. }
  2891. }
  2892. {
  2893. using _t = void (QCPAbstractItem::*)(bool );
  2894. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractItem::selectableChanged)) {
  2895. *result = 1;
  2896. return;
  2897. }
  2898. }
  2899. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2900. switch (_id) {
  2901. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2902. case 1:
  2903. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxisRect* >(); break;
  2904. }
  2905. }
  2906. #ifndef QT_NO_PROPERTIES
  2907. else if (_c == QMetaObject::ReadProperty) {
  2908. auto *_t = static_cast<QCPAbstractItem *>(_o);
  2909. Q_UNUSED(_t)
  2910. void *_v = _a[0];
  2911. switch (_id) {
  2912. case 0: *reinterpret_cast< bool*>(_v) = _t->clipToAxisRect(); break;
  2913. case 1: *reinterpret_cast< QCPAxisRect**>(_v) = _t->clipAxisRect(); break;
  2914. case 2: *reinterpret_cast< bool*>(_v) = _t->selectable(); break;
  2915. case 3: *reinterpret_cast< bool*>(_v) = _t->selected(); break;
  2916. default: break;
  2917. }
  2918. } else if (_c == QMetaObject::WriteProperty) {
  2919. auto *_t = static_cast<QCPAbstractItem *>(_o);
  2920. Q_UNUSED(_t)
  2921. void *_v = _a[0];
  2922. switch (_id) {
  2923. case 0: _t->setClipToAxisRect(*reinterpret_cast< bool*>(_v)); break;
  2924. case 1: _t->setClipAxisRect(*reinterpret_cast< QCPAxisRect**>(_v)); break;
  2925. case 2: _t->setSelectable(*reinterpret_cast< bool*>(_v)); break;
  2926. case 3: _t->setSelected(*reinterpret_cast< bool*>(_v)); break;
  2927. default: break;
  2928. }
  2929. } else if (_c == QMetaObject::ResetProperty) {
  2930. }
  2931. #endif // QT_NO_PROPERTIES
  2932. }
  2933. QT_INIT_METAOBJECT const QMetaObject QCPAbstractItem::staticMetaObject = { {
  2934. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  2935. qt_meta_stringdata_QCPAbstractItem.data,
  2936. qt_meta_data_QCPAbstractItem,
  2937. qt_static_metacall,
  2938. nullptr,
  2939. nullptr
  2940. } };
  2941. const QMetaObject *QCPAbstractItem::metaObject() const
  2942. {
  2943. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  2944. }
  2945. void *QCPAbstractItem::qt_metacast(const char *_clname)
  2946. {
  2947. if (!_clname) return nullptr;
  2948. if (!strcmp(_clname, qt_meta_stringdata_QCPAbstractItem.stringdata0))
  2949. return static_cast<void*>(this);
  2950. return QCPLayerable::qt_metacast(_clname);
  2951. }
  2952. int QCPAbstractItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2953. {
  2954. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  2955. if (_id < 0)
  2956. return _id;
  2957. if (_c == QMetaObject::InvokeMetaMethod) {
  2958. if (_id < 4)
  2959. qt_static_metacall(this, _c, _id, _a);
  2960. _id -= 4;
  2961. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2962. if (_id < 4)
  2963. *reinterpret_cast<int*>(_a[0]) = -1;
  2964. _id -= 4;
  2965. }
  2966. #ifndef QT_NO_PROPERTIES
  2967. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  2968. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  2969. qt_static_metacall(this, _c, _id, _a);
  2970. _id -= 4;
  2971. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2972. _id -= 4;
  2973. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2974. _id -= 4;
  2975. } else if (_c == QMetaObject::QueryPropertyStored) {
  2976. _id -= 4;
  2977. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2978. _id -= 4;
  2979. } else if (_c == QMetaObject::QueryPropertyUser) {
  2980. _id -= 4;
  2981. }
  2982. #endif // QT_NO_PROPERTIES
  2983. return _id;
  2984. }
  2985. // SIGNAL 0
  2986. void QCPAbstractItem::selectionChanged(bool _t1)
  2987. {
  2988. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2989. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2990. }
  2991. // SIGNAL 1
  2992. void QCPAbstractItem::selectableChanged(bool _t1)
  2993. {
  2994. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  2995. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2996. }
  2997. struct qt_meta_stringdata_QCustomPlot_t {
  2998. QByteArrayData data[65];
  2999. char stringdata0[926];
  3000. };
  3001. #define QT_MOC_LITERAL(idx, ofs, len) \
  3002. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3003. qptrdiff(offsetof(qt_meta_stringdata_QCustomPlot_t, stringdata0) + ofs \
  3004. - idx * sizeof(QByteArrayData)) \
  3005. )
  3006. static const qt_meta_stringdata_QCustomPlot_t qt_meta_stringdata_QCustomPlot = {
  3007. {
  3008. QT_MOC_LITERAL(0, 0, 11), // "QCustomPlot"
  3009. QT_MOC_LITERAL(1, 12, 16), // "mouseDoubleClick"
  3010. QT_MOC_LITERAL(2, 29, 0), // ""
  3011. QT_MOC_LITERAL(3, 30, 12), // "QMouseEvent*"
  3012. QT_MOC_LITERAL(4, 43, 5), // "event"
  3013. QT_MOC_LITERAL(5, 49, 10), // "mousePress"
  3014. QT_MOC_LITERAL(6, 60, 9), // "mouseMove"
  3015. QT_MOC_LITERAL(7, 70, 12), // "mouseRelease"
  3016. QT_MOC_LITERAL(8, 83, 10), // "mouseWheel"
  3017. QT_MOC_LITERAL(9, 94, 12), // "QWheelEvent*"
  3018. QT_MOC_LITERAL(10, 107, 14), // "plottableClick"
  3019. QT_MOC_LITERAL(11, 122, 21), // "QCPAbstractPlottable*"
  3020. QT_MOC_LITERAL(12, 144, 9), // "plottable"
  3021. QT_MOC_LITERAL(13, 154, 9), // "dataIndex"
  3022. QT_MOC_LITERAL(14, 164, 20), // "plottableDoubleClick"
  3023. QT_MOC_LITERAL(15, 185, 9), // "itemClick"
  3024. QT_MOC_LITERAL(16, 195, 16), // "QCPAbstractItem*"
  3025. QT_MOC_LITERAL(17, 212, 4), // "item"
  3026. QT_MOC_LITERAL(18, 217, 15), // "itemDoubleClick"
  3027. QT_MOC_LITERAL(19, 233, 9), // "axisClick"
  3028. QT_MOC_LITERAL(20, 243, 8), // "QCPAxis*"
  3029. QT_MOC_LITERAL(21, 252, 4), // "axis"
  3030. QT_MOC_LITERAL(22, 257, 23), // "QCPAxis::SelectablePart"
  3031. QT_MOC_LITERAL(23, 281, 4), // "part"
  3032. QT_MOC_LITERAL(24, 286, 15), // "axisDoubleClick"
  3033. QT_MOC_LITERAL(25, 302, 11), // "legendClick"
  3034. QT_MOC_LITERAL(26, 314, 10), // "QCPLegend*"
  3035. QT_MOC_LITERAL(27, 325, 6), // "legend"
  3036. QT_MOC_LITERAL(28, 332, 22), // "QCPAbstractLegendItem*"
  3037. QT_MOC_LITERAL(29, 355, 17), // "legendDoubleClick"
  3038. QT_MOC_LITERAL(30, 373, 22), // "selectionChangedByUser"
  3039. QT_MOC_LITERAL(31, 396, 12), // "beforeReplot"
  3040. QT_MOC_LITERAL(32, 409, 11), // "afterLayout"
  3041. QT_MOC_LITERAL(33, 421, 11), // "afterReplot"
  3042. QT_MOC_LITERAL(34, 433, 11), // "rescaleAxes"
  3043. QT_MOC_LITERAL(35, 445, 21), // "onlyVisiblePlottables"
  3044. QT_MOC_LITERAL(36, 467, 11), // "deselectAll"
  3045. QT_MOC_LITERAL(37, 479, 6), // "replot"
  3046. QT_MOC_LITERAL(38, 486, 28), // "QCustomPlot::RefreshPriority"
  3047. QT_MOC_LITERAL(39, 515, 15), // "refreshPriority"
  3048. QT_MOC_LITERAL(40, 531, 20), // "processRectSelection"
  3049. QT_MOC_LITERAL(41, 552, 4), // "rect"
  3050. QT_MOC_LITERAL(42, 557, 15), // "processRectZoom"
  3051. QT_MOC_LITERAL(43, 573, 21), // "processPointSelection"
  3052. QT_MOC_LITERAL(44, 595, 8), // "viewport"
  3053. QT_MOC_LITERAL(45, 604, 10), // "background"
  3054. QT_MOC_LITERAL(46, 615, 16), // "backgroundScaled"
  3055. QT_MOC_LITERAL(47, 632, 20), // "backgroundScaledMode"
  3056. QT_MOC_LITERAL(48, 653, 19), // "Qt::AspectRatioMode"
  3057. QT_MOC_LITERAL(49, 673, 10), // "plotLayout"
  3058. QT_MOC_LITERAL(50, 684, 14), // "QCPLayoutGrid*"
  3059. QT_MOC_LITERAL(51, 699, 24), // "autoAddPlottableToLegend"
  3060. QT_MOC_LITERAL(52, 724, 18), // "selectionTolerance"
  3061. QT_MOC_LITERAL(53, 743, 20), // "noAntialiasingOnDrag"
  3062. QT_MOC_LITERAL(54, 764, 19), // "multiSelectModifier"
  3063. QT_MOC_LITERAL(55, 784, 20), // "Qt::KeyboardModifier"
  3064. QT_MOC_LITERAL(56, 805, 6), // "openGl"
  3065. QT_MOC_LITERAL(57, 812, 15), // "LayerInsertMode"
  3066. QT_MOC_LITERAL(58, 828, 8), // "limBelow"
  3067. QT_MOC_LITERAL(59, 837, 8), // "limAbove"
  3068. QT_MOC_LITERAL(60, 846, 15), // "RefreshPriority"
  3069. QT_MOC_LITERAL(61, 862, 18), // "rpImmediateRefresh"
  3070. QT_MOC_LITERAL(62, 881, 15), // "rpQueuedRefresh"
  3071. QT_MOC_LITERAL(63, 897, 13), // "rpRefreshHint"
  3072. QT_MOC_LITERAL(64, 911, 14) // "rpQueuedReplot"
  3073. },
  3074. "QCustomPlot\0mouseDoubleClick\0\0"
  3075. "QMouseEvent*\0event\0mousePress\0mouseMove\0"
  3076. "mouseRelease\0mouseWheel\0QWheelEvent*\0"
  3077. "plottableClick\0QCPAbstractPlottable*\0"
  3078. "plottable\0dataIndex\0plottableDoubleClick\0"
  3079. "itemClick\0QCPAbstractItem*\0item\0"
  3080. "itemDoubleClick\0axisClick\0QCPAxis*\0"
  3081. "axis\0QCPAxis::SelectablePart\0part\0"
  3082. "axisDoubleClick\0legendClick\0QCPLegend*\0"
  3083. "legend\0QCPAbstractLegendItem*\0"
  3084. "legendDoubleClick\0selectionChangedByUser\0"
  3085. "beforeReplot\0afterLayout\0afterReplot\0"
  3086. "rescaleAxes\0onlyVisiblePlottables\0"
  3087. "deselectAll\0replot\0QCustomPlot::RefreshPriority\0"
  3088. "refreshPriority\0processRectSelection\0"
  3089. "rect\0processRectZoom\0processPointSelection\0"
  3090. "viewport\0background\0backgroundScaled\0"
  3091. "backgroundScaledMode\0Qt::AspectRatioMode\0"
  3092. "plotLayout\0QCPLayoutGrid*\0"
  3093. "autoAddPlottableToLegend\0selectionTolerance\0"
  3094. "noAntialiasingOnDrag\0multiSelectModifier\0"
  3095. "Qt::KeyboardModifier\0openGl\0LayerInsertMode\0"
  3096. "limBelow\0limAbove\0RefreshPriority\0"
  3097. "rpImmediateRefresh\0rpQueuedRefresh\0"
  3098. "rpRefreshHint\0rpQueuedReplot"
  3099. };
  3100. #undef QT_MOC_LITERAL
  3101. static const uint qt_meta_data_QCustomPlot[] = {
  3102. // content:
  3103. 8, // revision
  3104. 0, // classname
  3105. 0, 0, // classinfo
  3106. 25, 14, // methods
  3107. 10, 232, // properties
  3108. 2, 262, // enums/sets
  3109. 0, 0, // constructors
  3110. 0, // flags
  3111. 17, // signalCount
  3112. // signals: name, argc, parameters, tag, flags
  3113. 1, 1, 139, 2, 0x06 /* Public */,
  3114. 5, 1, 142, 2, 0x06 /* Public */,
  3115. 6, 1, 145, 2, 0x06 /* Public */,
  3116. 7, 1, 148, 2, 0x06 /* Public */,
  3117. 8, 1, 151, 2, 0x06 /* Public */,
  3118. 10, 3, 154, 2, 0x06 /* Public */,
  3119. 14, 3, 161, 2, 0x06 /* Public */,
  3120. 15, 2, 168, 2, 0x06 /* Public */,
  3121. 18, 2, 173, 2, 0x06 /* Public */,
  3122. 19, 3, 178, 2, 0x06 /* Public */,
  3123. 24, 3, 185, 2, 0x06 /* Public */,
  3124. 25, 3, 192, 2, 0x06 /* Public */,
  3125. 29, 3, 199, 2, 0x06 /* Public */,
  3126. 30, 0, 206, 2, 0x06 /* Public */,
  3127. 31, 0, 207, 2, 0x06 /* Public */,
  3128. 32, 0, 208, 2, 0x06 /* Public */,
  3129. 33, 0, 209, 2, 0x06 /* Public */,
  3130. // slots: name, argc, parameters, tag, flags
  3131. 34, 1, 210, 2, 0x0a /* Public */,
  3132. 34, 0, 213, 2, 0x2a /* Public | MethodCloned */,
  3133. 36, 0, 214, 2, 0x0a /* Public */,
  3134. 37, 1, 215, 2, 0x0a /* Public */,
  3135. 37, 0, 218, 2, 0x2a /* Public | MethodCloned */,
  3136. 40, 2, 219, 2, 0x09 /* Protected */,
  3137. 42, 2, 224, 2, 0x09 /* Protected */,
  3138. 43, 1, 229, 2, 0x09 /* Protected */,
  3139. // signals: parameters
  3140. QMetaType::Void, 0x80000000 | 3, 4,
  3141. QMetaType::Void, 0x80000000 | 3, 4,
  3142. QMetaType::Void, 0x80000000 | 3, 4,
  3143. QMetaType::Void, 0x80000000 | 3, 4,
  3144. QMetaType::Void, 0x80000000 | 9, 4,
  3145. QMetaType::Void, 0x80000000 | 11, QMetaType::Int, 0x80000000 | 3, 12, 13, 4,
  3146. QMetaType::Void, 0x80000000 | 11, QMetaType::Int, 0x80000000 | 3, 12, 13, 4,
  3147. QMetaType::Void, 0x80000000 | 16, 0x80000000 | 3, 17, 4,
  3148. QMetaType::Void, 0x80000000 | 16, 0x80000000 | 3, 17, 4,
  3149. QMetaType::Void, 0x80000000 | 20, 0x80000000 | 22, 0x80000000 | 3, 21, 23, 4,
  3150. QMetaType::Void, 0x80000000 | 20, 0x80000000 | 22, 0x80000000 | 3, 21, 23, 4,
  3151. QMetaType::Void, 0x80000000 | 26, 0x80000000 | 28, 0x80000000 | 3, 27, 17, 4,
  3152. QMetaType::Void, 0x80000000 | 26, 0x80000000 | 28, 0x80000000 | 3, 27, 17, 4,
  3153. QMetaType::Void,
  3154. QMetaType::Void,
  3155. QMetaType::Void,
  3156. QMetaType::Void,
  3157. // slots: parameters
  3158. QMetaType::Void, QMetaType::Bool, 35,
  3159. QMetaType::Void,
  3160. QMetaType::Void,
  3161. QMetaType::Void, 0x80000000 | 38, 39,
  3162. QMetaType::Void,
  3163. QMetaType::Void, QMetaType::QRect, 0x80000000 | 3, 41, 4,
  3164. QMetaType::Void, QMetaType::QRect, 0x80000000 | 3, 41, 4,
  3165. QMetaType::Void, 0x80000000 | 3, 4,
  3166. // properties: name, type, flags
  3167. 44, QMetaType::QRect, 0x00095103,
  3168. 45, QMetaType::QPixmap, 0x00095103,
  3169. 46, QMetaType::Bool, 0x00095103,
  3170. 47, 0x80000000 | 48, 0x0009510b,
  3171. 49, 0x80000000 | 50, 0x00095009,
  3172. 51, QMetaType::Bool, 0x00095103,
  3173. 52, QMetaType::Int, 0x00095103,
  3174. 53, QMetaType::Bool, 0x00095103,
  3175. 54, 0x80000000 | 55, 0x0009510b,
  3176. 56, QMetaType::Bool, 0x00095103,
  3177. // enums: name, alias, flags, count, data
  3178. 57, 57, 0x0, 2, 272,
  3179. 60, 60, 0x0, 4, 276,
  3180. // enum data: key, value
  3181. 58, uint(QCustomPlot::limBelow),
  3182. 59, uint(QCustomPlot::limAbove),
  3183. 61, uint(QCustomPlot::rpImmediateRefresh),
  3184. 62, uint(QCustomPlot::rpQueuedRefresh),
  3185. 63, uint(QCustomPlot::rpRefreshHint),
  3186. 64, uint(QCustomPlot::rpQueuedReplot),
  3187. 0 // eod
  3188. };
  3189. void QCustomPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3190. {
  3191. if (_c == QMetaObject::InvokeMetaMethod) {
  3192. auto *_t = static_cast<QCustomPlot *>(_o);
  3193. Q_UNUSED(_t)
  3194. switch (_id) {
  3195. case 0: _t->mouseDoubleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  3196. case 1: _t->mousePress((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  3197. case 2: _t->mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  3198. case 3: _t->mouseRelease((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  3199. case 4: _t->mouseWheel((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
  3200. case 5: _t->plottableClick((*reinterpret_cast< QCPAbstractPlottable*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  3201. case 6: _t->plottableDoubleClick((*reinterpret_cast< QCPAbstractPlottable*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  3202. case 7: _t->itemClick((*reinterpret_cast< QCPAbstractItem*(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  3203. case 8: _t->itemDoubleClick((*reinterpret_cast< QCPAbstractItem*(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  3204. case 9: _t->axisClick((*reinterpret_cast< QCPAxis*(*)>(_a[1])),(*reinterpret_cast< QCPAxis::SelectablePart(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  3205. case 10: _t->axisDoubleClick((*reinterpret_cast< QCPAxis*(*)>(_a[1])),(*reinterpret_cast< QCPAxis::SelectablePart(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  3206. case 11: _t->legendClick((*reinterpret_cast< QCPLegend*(*)>(_a[1])),(*reinterpret_cast< QCPAbstractLegendItem*(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  3207. case 12: _t->legendDoubleClick((*reinterpret_cast< QCPLegend*(*)>(_a[1])),(*reinterpret_cast< QCPAbstractLegendItem*(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  3208. case 13: _t->selectionChangedByUser(); break;
  3209. case 14: _t->beforeReplot(); break;
  3210. case 15: _t->afterLayout(); break;
  3211. case 16: _t->afterReplot(); break;
  3212. case 17: _t->rescaleAxes((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3213. case 18: _t->rescaleAxes(); break;
  3214. case 19: _t->deselectAll(); break;
  3215. case 20: _t->replot((*reinterpret_cast< QCustomPlot::RefreshPriority(*)>(_a[1]))); break;
  3216. case 21: _t->replot(); break;
  3217. case 22: _t->processRectSelection((*reinterpret_cast< QRect(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  3218. case 23: _t->processRectZoom((*reinterpret_cast< QRect(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  3219. case 24: _t->processPointSelection((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  3220. default: ;
  3221. }
  3222. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  3223. switch (_id) {
  3224. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3225. case 5:
  3226. switch (*reinterpret_cast<int*>(_a[1])) {
  3227. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3228. case 0:
  3229. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractPlottable* >(); break;
  3230. }
  3231. break;
  3232. case 6:
  3233. switch (*reinterpret_cast<int*>(_a[1])) {
  3234. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3235. case 0:
  3236. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractPlottable* >(); break;
  3237. }
  3238. break;
  3239. case 7:
  3240. switch (*reinterpret_cast<int*>(_a[1])) {
  3241. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3242. case 0:
  3243. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractItem* >(); break;
  3244. }
  3245. break;
  3246. case 8:
  3247. switch (*reinterpret_cast<int*>(_a[1])) {
  3248. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3249. case 0:
  3250. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractItem* >(); break;
  3251. }
  3252. break;
  3253. case 9:
  3254. switch (*reinterpret_cast<int*>(_a[1])) {
  3255. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3256. case 0:
  3257. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis* >(); break;
  3258. case 1:
  3259. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::SelectablePart >(); break;
  3260. }
  3261. break;
  3262. case 10:
  3263. switch (*reinterpret_cast<int*>(_a[1])) {
  3264. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3265. case 0:
  3266. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis* >(); break;
  3267. case 1:
  3268. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::SelectablePart >(); break;
  3269. }
  3270. break;
  3271. case 11:
  3272. switch (*reinterpret_cast<int*>(_a[1])) {
  3273. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3274. case 1:
  3275. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractLegendItem* >(); break;
  3276. case 0:
  3277. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLegend* >(); break;
  3278. }
  3279. break;
  3280. case 12:
  3281. switch (*reinterpret_cast<int*>(_a[1])) {
  3282. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3283. case 1:
  3284. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractLegendItem* >(); break;
  3285. case 0:
  3286. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLegend* >(); break;
  3287. }
  3288. break;
  3289. case 20:
  3290. switch (*reinterpret_cast<int*>(_a[1])) {
  3291. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3292. case 0:
  3293. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCustomPlot::RefreshPriority >(); break;
  3294. }
  3295. break;
  3296. }
  3297. } else if (_c == QMetaObject::IndexOfMethod) {
  3298. int *result = reinterpret_cast<int *>(_a[0]);
  3299. {
  3300. using _t = void (QCustomPlot::*)(QMouseEvent * );
  3301. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::mouseDoubleClick)) {
  3302. *result = 0;
  3303. return;
  3304. }
  3305. }
  3306. {
  3307. using _t = void (QCustomPlot::*)(QMouseEvent * );
  3308. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::mousePress)) {
  3309. *result = 1;
  3310. return;
  3311. }
  3312. }
  3313. {
  3314. using _t = void (QCustomPlot::*)(QMouseEvent * );
  3315. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::mouseMove)) {
  3316. *result = 2;
  3317. return;
  3318. }
  3319. }
  3320. {
  3321. using _t = void (QCustomPlot::*)(QMouseEvent * );
  3322. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::mouseRelease)) {
  3323. *result = 3;
  3324. return;
  3325. }
  3326. }
  3327. {
  3328. using _t = void (QCustomPlot::*)(QWheelEvent * );
  3329. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::mouseWheel)) {
  3330. *result = 4;
  3331. return;
  3332. }
  3333. }
  3334. {
  3335. using _t = void (QCustomPlot::*)(QCPAbstractPlottable * , int , QMouseEvent * );
  3336. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::plottableClick)) {
  3337. *result = 5;
  3338. return;
  3339. }
  3340. }
  3341. {
  3342. using _t = void (QCustomPlot::*)(QCPAbstractPlottable * , int , QMouseEvent * );
  3343. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::plottableDoubleClick)) {
  3344. *result = 6;
  3345. return;
  3346. }
  3347. }
  3348. {
  3349. using _t = void (QCustomPlot::*)(QCPAbstractItem * , QMouseEvent * );
  3350. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::itemClick)) {
  3351. *result = 7;
  3352. return;
  3353. }
  3354. }
  3355. {
  3356. using _t = void (QCustomPlot::*)(QCPAbstractItem * , QMouseEvent * );
  3357. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::itemDoubleClick)) {
  3358. *result = 8;
  3359. return;
  3360. }
  3361. }
  3362. {
  3363. using _t = void (QCustomPlot::*)(QCPAxis * , QCPAxis::SelectablePart , QMouseEvent * );
  3364. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::axisClick)) {
  3365. *result = 9;
  3366. return;
  3367. }
  3368. }
  3369. {
  3370. using _t = void (QCustomPlot::*)(QCPAxis * , QCPAxis::SelectablePart , QMouseEvent * );
  3371. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::axisDoubleClick)) {
  3372. *result = 10;
  3373. return;
  3374. }
  3375. }
  3376. {
  3377. using _t = void (QCustomPlot::*)(QCPLegend * , QCPAbstractLegendItem * , QMouseEvent * );
  3378. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::legendClick)) {
  3379. *result = 11;
  3380. return;
  3381. }
  3382. }
  3383. {
  3384. using _t = void (QCustomPlot::*)(QCPLegend * , QCPAbstractLegendItem * , QMouseEvent * );
  3385. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::legendDoubleClick)) {
  3386. *result = 12;
  3387. return;
  3388. }
  3389. }
  3390. {
  3391. using _t = void (QCustomPlot::*)();
  3392. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::selectionChangedByUser)) {
  3393. *result = 13;
  3394. return;
  3395. }
  3396. }
  3397. {
  3398. using _t = void (QCustomPlot::*)();
  3399. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::beforeReplot)) {
  3400. *result = 14;
  3401. return;
  3402. }
  3403. }
  3404. {
  3405. using _t = void (QCustomPlot::*)();
  3406. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::afterLayout)) {
  3407. *result = 15;
  3408. return;
  3409. }
  3410. }
  3411. {
  3412. using _t = void (QCustomPlot::*)();
  3413. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCustomPlot::afterReplot)) {
  3414. *result = 16;
  3415. return;
  3416. }
  3417. }
  3418. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3419. switch (_id) {
  3420. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3421. case 4:
  3422. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayoutGrid* >(); break;
  3423. }
  3424. }
  3425. #ifndef QT_NO_PROPERTIES
  3426. else if (_c == QMetaObject::ReadProperty) {
  3427. auto *_t = static_cast<QCustomPlot *>(_o);
  3428. Q_UNUSED(_t)
  3429. void *_v = _a[0];
  3430. switch (_id) {
  3431. case 0: *reinterpret_cast< QRect*>(_v) = _t->viewport(); break;
  3432. case 1: *reinterpret_cast< QPixmap*>(_v) = _t->background(); break;
  3433. case 2: *reinterpret_cast< bool*>(_v) = _t->backgroundScaled(); break;
  3434. case 3: *reinterpret_cast< Qt::AspectRatioMode*>(_v) = _t->backgroundScaledMode(); break;
  3435. case 4: *reinterpret_cast< QCPLayoutGrid**>(_v) = _t->plotLayout(); break;
  3436. case 5: *reinterpret_cast< bool*>(_v) = _t->autoAddPlottableToLegend(); break;
  3437. case 6: *reinterpret_cast< int*>(_v) = _t->selectionTolerance(); break;
  3438. case 7: *reinterpret_cast< bool*>(_v) = _t->noAntialiasingOnDrag(); break;
  3439. case 8: *reinterpret_cast< Qt::KeyboardModifier*>(_v) = _t->multiSelectModifier(); break;
  3440. case 9: *reinterpret_cast< bool*>(_v) = _t->openGl(); break;
  3441. default: break;
  3442. }
  3443. } else if (_c == QMetaObject::WriteProperty) {
  3444. auto *_t = static_cast<QCustomPlot *>(_o);
  3445. Q_UNUSED(_t)
  3446. void *_v = _a[0];
  3447. switch (_id) {
  3448. case 0: _t->setViewport(*reinterpret_cast< QRect*>(_v)); break;
  3449. case 1: _t->setBackground(*reinterpret_cast< QPixmap*>(_v)); break;
  3450. case 2: _t->setBackgroundScaled(*reinterpret_cast< bool*>(_v)); break;
  3451. case 3: _t->setBackgroundScaledMode(*reinterpret_cast< Qt::AspectRatioMode*>(_v)); break;
  3452. case 5: _t->setAutoAddPlottableToLegend(*reinterpret_cast< bool*>(_v)); break;
  3453. case 6: _t->setSelectionTolerance(*reinterpret_cast< int*>(_v)); break;
  3454. case 7: _t->setNoAntialiasingOnDrag(*reinterpret_cast< bool*>(_v)); break;
  3455. case 8: _t->setMultiSelectModifier(*reinterpret_cast< Qt::KeyboardModifier*>(_v)); break;
  3456. case 9: _t->setOpenGl(*reinterpret_cast< bool*>(_v)); break;
  3457. default: break;
  3458. }
  3459. } else if (_c == QMetaObject::ResetProperty) {
  3460. }
  3461. #endif // QT_NO_PROPERTIES
  3462. }
  3463. QT_INIT_METAOBJECT const QMetaObject QCustomPlot::staticMetaObject = { {
  3464. QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
  3465. qt_meta_stringdata_QCustomPlot.data,
  3466. qt_meta_data_QCustomPlot,
  3467. qt_static_metacall,
  3468. nullptr,
  3469. nullptr
  3470. } };
  3471. const QMetaObject *QCustomPlot::metaObject() const
  3472. {
  3473. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3474. }
  3475. void *QCustomPlot::qt_metacast(const char *_clname)
  3476. {
  3477. if (!_clname) return nullptr;
  3478. if (!strcmp(_clname, qt_meta_stringdata_QCustomPlot.stringdata0))
  3479. return static_cast<void*>(this);
  3480. return QWidget::qt_metacast(_clname);
  3481. }
  3482. int QCustomPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3483. {
  3484. _id = QWidget::qt_metacall(_c, _id, _a);
  3485. if (_id < 0)
  3486. return _id;
  3487. if (_c == QMetaObject::InvokeMetaMethod) {
  3488. if (_id < 25)
  3489. qt_static_metacall(this, _c, _id, _a);
  3490. _id -= 25;
  3491. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  3492. if (_id < 25)
  3493. qt_static_metacall(this, _c, _id, _a);
  3494. _id -= 25;
  3495. }
  3496. #ifndef QT_NO_PROPERTIES
  3497. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  3498. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  3499. qt_static_metacall(this, _c, _id, _a);
  3500. _id -= 10;
  3501. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  3502. _id -= 10;
  3503. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  3504. _id -= 10;
  3505. } else if (_c == QMetaObject::QueryPropertyStored) {
  3506. _id -= 10;
  3507. } else if (_c == QMetaObject::QueryPropertyEditable) {
  3508. _id -= 10;
  3509. } else if (_c == QMetaObject::QueryPropertyUser) {
  3510. _id -= 10;
  3511. }
  3512. #endif // QT_NO_PROPERTIES
  3513. return _id;
  3514. }
  3515. // SIGNAL 0
  3516. void QCustomPlot::mouseDoubleClick(QMouseEvent * _t1)
  3517. {
  3518. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  3519. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  3520. }
  3521. // SIGNAL 1
  3522. void QCustomPlot::mousePress(QMouseEvent * _t1)
  3523. {
  3524. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  3525. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  3526. }
  3527. // SIGNAL 2
  3528. void QCustomPlot::mouseMove(QMouseEvent * _t1)
  3529. {
  3530. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  3531. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  3532. }
  3533. // SIGNAL 3
  3534. void QCustomPlot::mouseRelease(QMouseEvent * _t1)
  3535. {
  3536. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  3537. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  3538. }
  3539. // SIGNAL 4
  3540. void QCustomPlot::mouseWheel(QWheelEvent * _t1)
  3541. {
  3542. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  3543. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  3544. }
  3545. // SIGNAL 5
  3546. void QCustomPlot::plottableClick(QCPAbstractPlottable * _t1, int _t2, QMouseEvent * _t3)
  3547. {
  3548. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
  3549. QMetaObject::activate(this, &staticMetaObject, 5, _a);
  3550. }
  3551. // SIGNAL 6
  3552. void QCustomPlot::plottableDoubleClick(QCPAbstractPlottable * _t1, int _t2, QMouseEvent * _t3)
  3553. {
  3554. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
  3555. QMetaObject::activate(this, &staticMetaObject, 6, _a);
  3556. }
  3557. // SIGNAL 7
  3558. void QCustomPlot::itemClick(QCPAbstractItem * _t1, QMouseEvent * _t2)
  3559. {
  3560. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  3561. QMetaObject::activate(this, &staticMetaObject, 7, _a);
  3562. }
  3563. // SIGNAL 8
  3564. void QCustomPlot::itemDoubleClick(QCPAbstractItem * _t1, QMouseEvent * _t2)
  3565. {
  3566. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  3567. QMetaObject::activate(this, &staticMetaObject, 8, _a);
  3568. }
  3569. // SIGNAL 9
  3570. void QCustomPlot::axisClick(QCPAxis * _t1, QCPAxis::SelectablePart _t2, QMouseEvent * _t3)
  3571. {
  3572. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
  3573. QMetaObject::activate(this, &staticMetaObject, 9, _a);
  3574. }
  3575. // SIGNAL 10
  3576. void QCustomPlot::axisDoubleClick(QCPAxis * _t1, QCPAxis::SelectablePart _t2, QMouseEvent * _t3)
  3577. {
  3578. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
  3579. QMetaObject::activate(this, &staticMetaObject, 10, _a);
  3580. }
  3581. // SIGNAL 11
  3582. void QCustomPlot::legendClick(QCPLegend * _t1, QCPAbstractLegendItem * _t2, QMouseEvent * _t3)
  3583. {
  3584. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
  3585. QMetaObject::activate(this, &staticMetaObject, 11, _a);
  3586. }
  3587. // SIGNAL 12
  3588. void QCustomPlot::legendDoubleClick(QCPLegend * _t1, QCPAbstractLegendItem * _t2, QMouseEvent * _t3)
  3589. {
  3590. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
  3591. QMetaObject::activate(this, &staticMetaObject, 12, _a);
  3592. }
  3593. // SIGNAL 13
  3594. void QCustomPlot::selectionChangedByUser()
  3595. {
  3596. QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
  3597. }
  3598. // SIGNAL 14
  3599. void QCustomPlot::beforeReplot()
  3600. {
  3601. QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
  3602. }
  3603. // SIGNAL 15
  3604. void QCustomPlot::afterLayout()
  3605. {
  3606. QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
  3607. }
  3608. // SIGNAL 16
  3609. void QCustomPlot::afterReplot()
  3610. {
  3611. QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
  3612. }
  3613. struct qt_meta_stringdata_QCPColorGradient_t {
  3614. QByteArrayData data[23];
  3615. char stringdata0[237];
  3616. };
  3617. #define QT_MOC_LITERAL(idx, ofs, len) \
  3618. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3619. qptrdiff(offsetof(qt_meta_stringdata_QCPColorGradient_t, stringdata0) + ofs \
  3620. - idx * sizeof(QByteArrayData)) \
  3621. )
  3622. static const qt_meta_stringdata_QCPColorGradient_t qt_meta_stringdata_QCPColorGradient = {
  3623. {
  3624. QT_MOC_LITERAL(0, 0, 16), // "QCPColorGradient"
  3625. QT_MOC_LITERAL(1, 17, 18), // "ColorInterpolation"
  3626. QT_MOC_LITERAL(2, 36, 5), // "ciRGB"
  3627. QT_MOC_LITERAL(3, 42, 5), // "ciHSV"
  3628. QT_MOC_LITERAL(4, 48, 11), // "NanHandling"
  3629. QT_MOC_LITERAL(5, 60, 6), // "nhNone"
  3630. QT_MOC_LITERAL(6, 67, 13), // "nhLowestColor"
  3631. QT_MOC_LITERAL(7, 81, 14), // "nhHighestColor"
  3632. QT_MOC_LITERAL(8, 96, 13), // "nhTransparent"
  3633. QT_MOC_LITERAL(9, 110, 10), // "nhNanColor"
  3634. QT_MOC_LITERAL(10, 121, 14), // "GradientPreset"
  3635. QT_MOC_LITERAL(11, 136, 11), // "gpGrayscale"
  3636. QT_MOC_LITERAL(12, 148, 5), // "gpHot"
  3637. QT_MOC_LITERAL(13, 154, 6), // "gpCold"
  3638. QT_MOC_LITERAL(14, 161, 7), // "gpNight"
  3639. QT_MOC_LITERAL(15, 169, 7), // "gpCandy"
  3640. QT_MOC_LITERAL(16, 177, 11), // "gpGeography"
  3641. QT_MOC_LITERAL(17, 189, 5), // "gpIon"
  3642. QT_MOC_LITERAL(18, 195, 9), // "gpThermal"
  3643. QT_MOC_LITERAL(19, 205, 7), // "gpPolar"
  3644. QT_MOC_LITERAL(20, 213, 10), // "gpSpectrum"
  3645. QT_MOC_LITERAL(21, 224, 5), // "gpJet"
  3646. QT_MOC_LITERAL(22, 230, 6) // "gpHues"
  3647. },
  3648. "QCPColorGradient\0ColorInterpolation\0"
  3649. "ciRGB\0ciHSV\0NanHandling\0nhNone\0"
  3650. "nhLowestColor\0nhHighestColor\0nhTransparent\0"
  3651. "nhNanColor\0GradientPreset\0gpGrayscale\0"
  3652. "gpHot\0gpCold\0gpNight\0gpCandy\0gpGeography\0"
  3653. "gpIon\0gpThermal\0gpPolar\0gpSpectrum\0"
  3654. "gpJet\0gpHues"
  3655. };
  3656. #undef QT_MOC_LITERAL
  3657. static const uint qt_meta_data_QCPColorGradient[] = {
  3658. // content:
  3659. 8, // revision
  3660. 0, // classname
  3661. 0, 0, // classinfo
  3662. 0, 0, // methods
  3663. 0, 0, // properties
  3664. 3, 14, // enums/sets
  3665. 0, 0, // constructors
  3666. 4, // flags
  3667. 0, // signalCount
  3668. // enums: name, alias, flags, count, data
  3669. 1, 1, 0x0, 2, 29,
  3670. 4, 4, 0x0, 5, 33,
  3671. 10, 10, 0x0, 12, 43,
  3672. // enum data: key, value
  3673. 2, uint(QCPColorGradient::ciRGB),
  3674. 3, uint(QCPColorGradient::ciHSV),
  3675. 5, uint(QCPColorGradient::nhNone),
  3676. 6, uint(QCPColorGradient::nhLowestColor),
  3677. 7, uint(QCPColorGradient::nhHighestColor),
  3678. 8, uint(QCPColorGradient::nhTransparent),
  3679. 9, uint(QCPColorGradient::nhNanColor),
  3680. 11, uint(QCPColorGradient::gpGrayscale),
  3681. 12, uint(QCPColorGradient::gpHot),
  3682. 13, uint(QCPColorGradient::gpCold),
  3683. 14, uint(QCPColorGradient::gpNight),
  3684. 15, uint(QCPColorGradient::gpCandy),
  3685. 16, uint(QCPColorGradient::gpGeography),
  3686. 17, uint(QCPColorGradient::gpIon),
  3687. 18, uint(QCPColorGradient::gpThermal),
  3688. 19, uint(QCPColorGradient::gpPolar),
  3689. 20, uint(QCPColorGradient::gpSpectrum),
  3690. 21, uint(QCPColorGradient::gpJet),
  3691. 22, uint(QCPColorGradient::gpHues),
  3692. 0 // eod
  3693. };
  3694. QT_INIT_METAOBJECT const QMetaObject QCPColorGradient::staticMetaObject = { {
  3695. nullptr,
  3696. qt_meta_stringdata_QCPColorGradient.data,
  3697. qt_meta_data_QCPColorGradient,
  3698. nullptr,
  3699. nullptr,
  3700. nullptr
  3701. } };
  3702. struct qt_meta_stringdata_QCPSelectionDecoratorBracket_t {
  3703. QByteArrayData data[7];
  3704. char stringdata0[101];
  3705. };
  3706. #define QT_MOC_LITERAL(idx, ofs, len) \
  3707. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3708. qptrdiff(offsetof(qt_meta_stringdata_QCPSelectionDecoratorBracket_t, stringdata0) + ofs \
  3709. - idx * sizeof(QByteArrayData)) \
  3710. )
  3711. static const qt_meta_stringdata_QCPSelectionDecoratorBracket_t qt_meta_stringdata_QCPSelectionDecoratorBracket = {
  3712. {
  3713. QT_MOC_LITERAL(0, 0, 28), // "QCPSelectionDecoratorBracket"
  3714. QT_MOC_LITERAL(1, 29, 12), // "BracketStyle"
  3715. QT_MOC_LITERAL(2, 42, 15), // "bsSquareBracket"
  3716. QT_MOC_LITERAL(3, 58, 13), // "bsHalfEllipse"
  3717. QT_MOC_LITERAL(4, 72, 9), // "bsEllipse"
  3718. QT_MOC_LITERAL(5, 82, 6), // "bsPlus"
  3719. QT_MOC_LITERAL(6, 89, 11) // "bsUserStyle"
  3720. },
  3721. "QCPSelectionDecoratorBracket\0BracketStyle\0"
  3722. "bsSquareBracket\0bsHalfEllipse\0bsEllipse\0"
  3723. "bsPlus\0bsUserStyle"
  3724. };
  3725. #undef QT_MOC_LITERAL
  3726. static const uint qt_meta_data_QCPSelectionDecoratorBracket[] = {
  3727. // content:
  3728. 8, // revision
  3729. 0, // classname
  3730. 0, 0, // classinfo
  3731. 0, 0, // methods
  3732. 0, 0, // properties
  3733. 1, 14, // enums/sets
  3734. 0, 0, // constructors
  3735. 4, // flags
  3736. 0, // signalCount
  3737. // enums: name, alias, flags, count, data
  3738. 1, 1, 0x0, 5, 19,
  3739. // enum data: key, value
  3740. 2, uint(QCPSelectionDecoratorBracket::bsSquareBracket),
  3741. 3, uint(QCPSelectionDecoratorBracket::bsHalfEllipse),
  3742. 4, uint(QCPSelectionDecoratorBracket::bsEllipse),
  3743. 5, uint(QCPSelectionDecoratorBracket::bsPlus),
  3744. 6, uint(QCPSelectionDecoratorBracket::bsUserStyle),
  3745. 0 // eod
  3746. };
  3747. QT_INIT_METAOBJECT const QMetaObject QCPSelectionDecoratorBracket::staticMetaObject = { {
  3748. QtPrivate::MetaObjectForType<QCPSelectionDecorator>::value(),
  3749. qt_meta_stringdata_QCPSelectionDecoratorBracket.data,
  3750. qt_meta_data_QCPSelectionDecoratorBracket,
  3751. nullptr,
  3752. nullptr,
  3753. nullptr
  3754. } };
  3755. struct qt_meta_stringdata_QCPAxisRect_t {
  3756. QByteArrayData data[8];
  3757. char stringdata0[118];
  3758. };
  3759. #define QT_MOC_LITERAL(idx, ofs, len) \
  3760. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3761. qptrdiff(offsetof(qt_meta_stringdata_QCPAxisRect_t, stringdata0) + ofs \
  3762. - idx * sizeof(QByteArrayData)) \
  3763. )
  3764. static const qt_meta_stringdata_QCPAxisRect_t qt_meta_stringdata_QCPAxisRect = {
  3765. {
  3766. QT_MOC_LITERAL(0, 0, 11), // "QCPAxisRect"
  3767. QT_MOC_LITERAL(1, 12, 10), // "background"
  3768. QT_MOC_LITERAL(2, 23, 16), // "backgroundScaled"
  3769. QT_MOC_LITERAL(3, 40, 20), // "backgroundScaledMode"
  3770. QT_MOC_LITERAL(4, 61, 19), // "Qt::AspectRatioMode"
  3771. QT_MOC_LITERAL(5, 81, 9), // "rangeDrag"
  3772. QT_MOC_LITERAL(6, 91, 16), // "Qt::Orientations"
  3773. QT_MOC_LITERAL(7, 108, 9) // "rangeZoom"
  3774. },
  3775. "QCPAxisRect\0background\0backgroundScaled\0"
  3776. "backgroundScaledMode\0Qt::AspectRatioMode\0"
  3777. "rangeDrag\0Qt::Orientations\0rangeZoom"
  3778. };
  3779. #undef QT_MOC_LITERAL
  3780. static const uint qt_meta_data_QCPAxisRect[] = {
  3781. // content:
  3782. 8, // revision
  3783. 0, // classname
  3784. 0, 0, // classinfo
  3785. 0, 0, // methods
  3786. 5, 14, // properties
  3787. 0, 0, // enums/sets
  3788. 0, 0, // constructors
  3789. 0, // flags
  3790. 0, // signalCount
  3791. // properties: name, type, flags
  3792. 1, QMetaType::QPixmap, 0x00095103,
  3793. 2, QMetaType::Bool, 0x00095103,
  3794. 3, 0x80000000 | 4, 0x0009510b,
  3795. 5, 0x80000000 | 6, 0x0009510b,
  3796. 7, 0x80000000 | 6, 0x0009510b,
  3797. 0 // eod
  3798. };
  3799. void QCPAxisRect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3800. {
  3801. #ifndef QT_NO_PROPERTIES
  3802. if (_c == QMetaObject::ReadProperty) {
  3803. auto *_t = static_cast<QCPAxisRect *>(_o);
  3804. Q_UNUSED(_t)
  3805. void *_v = _a[0];
  3806. switch (_id) {
  3807. case 0: *reinterpret_cast< QPixmap*>(_v) = _t->background(); break;
  3808. case 1: *reinterpret_cast< bool*>(_v) = _t->backgroundScaled(); break;
  3809. case 2: *reinterpret_cast< Qt::AspectRatioMode*>(_v) = _t->backgroundScaledMode(); break;
  3810. case 3: *reinterpret_cast< Qt::Orientations*>(_v) = _t->rangeDrag(); break;
  3811. case 4: *reinterpret_cast< Qt::Orientations*>(_v) = _t->rangeZoom(); break;
  3812. default: break;
  3813. }
  3814. } else if (_c == QMetaObject::WriteProperty) {
  3815. auto *_t = static_cast<QCPAxisRect *>(_o);
  3816. Q_UNUSED(_t)
  3817. void *_v = _a[0];
  3818. switch (_id) {
  3819. case 0: _t->setBackground(*reinterpret_cast< QPixmap*>(_v)); break;
  3820. case 1: _t->setBackgroundScaled(*reinterpret_cast< bool*>(_v)); break;
  3821. case 2: _t->setBackgroundScaledMode(*reinterpret_cast< Qt::AspectRatioMode*>(_v)); break;
  3822. case 3: _t->setRangeDrag(*reinterpret_cast< Qt::Orientations*>(_v)); break;
  3823. case 4: _t->setRangeZoom(*reinterpret_cast< Qt::Orientations*>(_v)); break;
  3824. default: break;
  3825. }
  3826. } else if (_c == QMetaObject::ResetProperty) {
  3827. }
  3828. #endif // QT_NO_PROPERTIES
  3829. Q_UNUSED(_o);
  3830. Q_UNUSED(_id);
  3831. Q_UNUSED(_c);
  3832. Q_UNUSED(_a);
  3833. }
  3834. QT_INIT_METAOBJECT const QMetaObject QCPAxisRect::staticMetaObject = { {
  3835. QMetaObject::SuperData::link<QCPLayoutElement::staticMetaObject>(),
  3836. qt_meta_stringdata_QCPAxisRect.data,
  3837. qt_meta_data_QCPAxisRect,
  3838. qt_static_metacall,
  3839. nullptr,
  3840. nullptr
  3841. } };
  3842. const QMetaObject *QCPAxisRect::metaObject() const
  3843. {
  3844. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3845. }
  3846. void *QCPAxisRect::qt_metacast(const char *_clname)
  3847. {
  3848. if (!_clname) return nullptr;
  3849. if (!strcmp(_clname, qt_meta_stringdata_QCPAxisRect.stringdata0))
  3850. return static_cast<void*>(this);
  3851. return QCPLayoutElement::qt_metacast(_clname);
  3852. }
  3853. int QCPAxisRect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3854. {
  3855. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  3856. if (_id < 0)
  3857. return _id;
  3858. #ifndef QT_NO_PROPERTIES
  3859. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  3860. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  3861. qt_static_metacall(this, _c, _id, _a);
  3862. _id -= 5;
  3863. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  3864. _id -= 5;
  3865. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  3866. _id -= 5;
  3867. } else if (_c == QMetaObject::QueryPropertyStored) {
  3868. _id -= 5;
  3869. } else if (_c == QMetaObject::QueryPropertyEditable) {
  3870. _id -= 5;
  3871. } else if (_c == QMetaObject::QueryPropertyUser) {
  3872. _id -= 5;
  3873. }
  3874. #endif // QT_NO_PROPERTIES
  3875. return _id;
  3876. }
  3877. struct qt_meta_stringdata_QCPAbstractLegendItem_t {
  3878. QByteArrayData data[14];
  3879. char stringdata0[174];
  3880. };
  3881. #define QT_MOC_LITERAL(idx, ofs, len) \
  3882. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3883. qptrdiff(offsetof(qt_meta_stringdata_QCPAbstractLegendItem_t, stringdata0) + ofs \
  3884. - idx * sizeof(QByteArrayData)) \
  3885. )
  3886. static const qt_meta_stringdata_QCPAbstractLegendItem_t qt_meta_stringdata_QCPAbstractLegendItem = {
  3887. {
  3888. QT_MOC_LITERAL(0, 0, 21), // "QCPAbstractLegendItem"
  3889. QT_MOC_LITERAL(1, 22, 16), // "selectionChanged"
  3890. QT_MOC_LITERAL(2, 39, 0), // ""
  3891. QT_MOC_LITERAL(3, 40, 8), // "selected"
  3892. QT_MOC_LITERAL(4, 49, 17), // "selectableChanged"
  3893. QT_MOC_LITERAL(5, 67, 10), // "selectable"
  3894. QT_MOC_LITERAL(6, 78, 13), // "setSelectable"
  3895. QT_MOC_LITERAL(7, 92, 11), // "setSelected"
  3896. QT_MOC_LITERAL(8, 104, 12), // "parentLegend"
  3897. QT_MOC_LITERAL(9, 117, 10), // "QCPLegend*"
  3898. QT_MOC_LITERAL(10, 128, 4), // "font"
  3899. QT_MOC_LITERAL(11, 133, 9), // "textColor"
  3900. QT_MOC_LITERAL(12, 143, 12), // "selectedFont"
  3901. QT_MOC_LITERAL(13, 156, 17) // "selectedTextColor"
  3902. },
  3903. "QCPAbstractLegendItem\0selectionChanged\0"
  3904. "\0selected\0selectableChanged\0selectable\0"
  3905. "setSelectable\0setSelected\0parentLegend\0"
  3906. "QCPLegend*\0font\0textColor\0selectedFont\0"
  3907. "selectedTextColor"
  3908. };
  3909. #undef QT_MOC_LITERAL
  3910. static const uint qt_meta_data_QCPAbstractLegendItem[] = {
  3911. // content:
  3912. 8, // revision
  3913. 0, // classname
  3914. 0, 0, // classinfo
  3915. 4, 14, // methods
  3916. 7, 46, // properties
  3917. 0, 0, // enums/sets
  3918. 0, 0, // constructors
  3919. 0, // flags
  3920. 2, // signalCount
  3921. // signals: name, argc, parameters, tag, flags
  3922. 1, 1, 34, 2, 0x06 /* Public */,
  3923. 4, 1, 37, 2, 0x06 /* Public */,
  3924. // slots: name, argc, parameters, tag, flags
  3925. 6, 1, 40, 2, 0x0a /* Public */,
  3926. 7, 1, 43, 2, 0x0a /* Public */,
  3927. // signals: parameters
  3928. QMetaType::Void, QMetaType::Bool, 3,
  3929. QMetaType::Void, QMetaType::Bool, 5,
  3930. // slots: parameters
  3931. QMetaType::Void, QMetaType::Bool, 5,
  3932. QMetaType::Void, QMetaType::Bool, 3,
  3933. // properties: name, type, flags
  3934. 8, 0x80000000 | 9, 0x00095009,
  3935. 10, QMetaType::QFont, 0x00095103,
  3936. 11, QMetaType::QColor, 0x00095103,
  3937. 12, QMetaType::QFont, 0x00095103,
  3938. 13, QMetaType::QColor, 0x00095103,
  3939. 5, QMetaType::Bool, 0x00495103,
  3940. 3, QMetaType::Bool, 0x00495103,
  3941. // properties: notify_signal_id
  3942. 0,
  3943. 0,
  3944. 0,
  3945. 0,
  3946. 0,
  3947. 0,
  3948. 1,
  3949. 0 // eod
  3950. };
  3951. void QCPAbstractLegendItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3952. {
  3953. if (_c == QMetaObject::InvokeMetaMethod) {
  3954. auto *_t = static_cast<QCPAbstractLegendItem *>(_o);
  3955. Q_UNUSED(_t)
  3956. switch (_id) {
  3957. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3958. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3959. case 2: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3960. case 3: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3961. default: ;
  3962. }
  3963. } else if (_c == QMetaObject::IndexOfMethod) {
  3964. int *result = reinterpret_cast<int *>(_a[0]);
  3965. {
  3966. using _t = void (QCPAbstractLegendItem::*)(bool );
  3967. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractLegendItem::selectionChanged)) {
  3968. *result = 0;
  3969. return;
  3970. }
  3971. }
  3972. {
  3973. using _t = void (QCPAbstractLegendItem::*)(bool );
  3974. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPAbstractLegendItem::selectableChanged)) {
  3975. *result = 1;
  3976. return;
  3977. }
  3978. }
  3979. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3980. switch (_id) {
  3981. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3982. case 0:
  3983. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLegend* >(); break;
  3984. }
  3985. }
  3986. #ifndef QT_NO_PROPERTIES
  3987. else if (_c == QMetaObject::ReadProperty) {
  3988. auto *_t = static_cast<QCPAbstractLegendItem *>(_o);
  3989. Q_UNUSED(_t)
  3990. void *_v = _a[0];
  3991. switch (_id) {
  3992. case 0: *reinterpret_cast< QCPLegend**>(_v) = _t->parentLegend(); break;
  3993. case 1: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
  3994. case 2: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
  3995. case 3: *reinterpret_cast< QFont*>(_v) = _t->selectedFont(); break;
  3996. case 4: *reinterpret_cast< QColor*>(_v) = _t->selectedTextColor(); break;
  3997. case 5: *reinterpret_cast< bool*>(_v) = _t->selectable(); break;
  3998. case 6: *reinterpret_cast< bool*>(_v) = _t->selected(); break;
  3999. default: break;
  4000. }
  4001. } else if (_c == QMetaObject::WriteProperty) {
  4002. auto *_t = static_cast<QCPAbstractLegendItem *>(_o);
  4003. Q_UNUSED(_t)
  4004. void *_v = _a[0];
  4005. switch (_id) {
  4006. case 1: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
  4007. case 2: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
  4008. case 3: _t->setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  4009. case 4: _t->setSelectedTextColor(*reinterpret_cast< QColor*>(_v)); break;
  4010. case 5: _t->setSelectable(*reinterpret_cast< bool*>(_v)); break;
  4011. case 6: _t->setSelected(*reinterpret_cast< bool*>(_v)); break;
  4012. default: break;
  4013. }
  4014. } else if (_c == QMetaObject::ResetProperty) {
  4015. }
  4016. #endif // QT_NO_PROPERTIES
  4017. }
  4018. QT_INIT_METAOBJECT const QMetaObject QCPAbstractLegendItem::staticMetaObject = { {
  4019. QMetaObject::SuperData::link<QCPLayoutElement::staticMetaObject>(),
  4020. qt_meta_stringdata_QCPAbstractLegendItem.data,
  4021. qt_meta_data_QCPAbstractLegendItem,
  4022. qt_static_metacall,
  4023. nullptr,
  4024. nullptr
  4025. } };
  4026. const QMetaObject *QCPAbstractLegendItem::metaObject() const
  4027. {
  4028. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4029. }
  4030. void *QCPAbstractLegendItem::qt_metacast(const char *_clname)
  4031. {
  4032. if (!_clname) return nullptr;
  4033. if (!strcmp(_clname, qt_meta_stringdata_QCPAbstractLegendItem.stringdata0))
  4034. return static_cast<void*>(this);
  4035. return QCPLayoutElement::qt_metacast(_clname);
  4036. }
  4037. int QCPAbstractLegendItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4038. {
  4039. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  4040. if (_id < 0)
  4041. return _id;
  4042. if (_c == QMetaObject::InvokeMetaMethod) {
  4043. if (_id < 4)
  4044. qt_static_metacall(this, _c, _id, _a);
  4045. _id -= 4;
  4046. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4047. if (_id < 4)
  4048. *reinterpret_cast<int*>(_a[0]) = -1;
  4049. _id -= 4;
  4050. }
  4051. #ifndef QT_NO_PROPERTIES
  4052. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  4053. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  4054. qt_static_metacall(this, _c, _id, _a);
  4055. _id -= 7;
  4056. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4057. _id -= 7;
  4058. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4059. _id -= 7;
  4060. } else if (_c == QMetaObject::QueryPropertyStored) {
  4061. _id -= 7;
  4062. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4063. _id -= 7;
  4064. } else if (_c == QMetaObject::QueryPropertyUser) {
  4065. _id -= 7;
  4066. }
  4067. #endif // QT_NO_PROPERTIES
  4068. return _id;
  4069. }
  4070. // SIGNAL 0
  4071. void QCPAbstractLegendItem::selectionChanged(bool _t1)
  4072. {
  4073. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4074. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  4075. }
  4076. // SIGNAL 1
  4077. void QCPAbstractLegendItem::selectableChanged(bool _t1)
  4078. {
  4079. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4080. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  4081. }
  4082. struct qt_meta_stringdata_QCPPlottableLegendItem_t {
  4083. QByteArrayData data[1];
  4084. char stringdata0[23];
  4085. };
  4086. #define QT_MOC_LITERAL(idx, ofs, len) \
  4087. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4088. qptrdiff(offsetof(qt_meta_stringdata_QCPPlottableLegendItem_t, stringdata0) + ofs \
  4089. - idx * sizeof(QByteArrayData)) \
  4090. )
  4091. static const qt_meta_stringdata_QCPPlottableLegendItem_t qt_meta_stringdata_QCPPlottableLegendItem = {
  4092. {
  4093. QT_MOC_LITERAL(0, 0, 22) // "QCPPlottableLegendItem"
  4094. },
  4095. "QCPPlottableLegendItem"
  4096. };
  4097. #undef QT_MOC_LITERAL
  4098. static const uint qt_meta_data_QCPPlottableLegendItem[] = {
  4099. // content:
  4100. 8, // revision
  4101. 0, // classname
  4102. 0, 0, // classinfo
  4103. 0, 0, // methods
  4104. 0, 0, // properties
  4105. 0, 0, // enums/sets
  4106. 0, 0, // constructors
  4107. 0, // flags
  4108. 0, // signalCount
  4109. 0 // eod
  4110. };
  4111. void QCPPlottableLegendItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4112. {
  4113. Q_UNUSED(_o);
  4114. Q_UNUSED(_id);
  4115. Q_UNUSED(_c);
  4116. Q_UNUSED(_a);
  4117. }
  4118. QT_INIT_METAOBJECT const QMetaObject QCPPlottableLegendItem::staticMetaObject = { {
  4119. QMetaObject::SuperData::link<QCPAbstractLegendItem::staticMetaObject>(),
  4120. qt_meta_stringdata_QCPPlottableLegendItem.data,
  4121. qt_meta_data_QCPPlottableLegendItem,
  4122. qt_static_metacall,
  4123. nullptr,
  4124. nullptr
  4125. } };
  4126. const QMetaObject *QCPPlottableLegendItem::metaObject() const
  4127. {
  4128. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4129. }
  4130. void *QCPPlottableLegendItem::qt_metacast(const char *_clname)
  4131. {
  4132. if (!_clname) return nullptr;
  4133. if (!strcmp(_clname, qt_meta_stringdata_QCPPlottableLegendItem.stringdata0))
  4134. return static_cast<void*>(this);
  4135. return QCPAbstractLegendItem::qt_metacast(_clname);
  4136. }
  4137. int QCPPlottableLegendItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4138. {
  4139. _id = QCPAbstractLegendItem::qt_metacall(_c, _id, _a);
  4140. return _id;
  4141. }
  4142. struct qt_meta_stringdata_QCPLegend_t {
  4143. QByteArrayData data[27];
  4144. char stringdata0[358];
  4145. };
  4146. #define QT_MOC_LITERAL(idx, ofs, len) \
  4147. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4148. qptrdiff(offsetof(qt_meta_stringdata_QCPLegend_t, stringdata0) + ofs \
  4149. - idx * sizeof(QByteArrayData)) \
  4150. )
  4151. static const qt_meta_stringdata_QCPLegend_t qt_meta_stringdata_QCPLegend = {
  4152. {
  4153. QT_MOC_LITERAL(0, 0, 9), // "QCPLegend"
  4154. QT_MOC_LITERAL(1, 10, 16), // "selectionChanged"
  4155. QT_MOC_LITERAL(2, 27, 0), // ""
  4156. QT_MOC_LITERAL(3, 28, 26), // "QCPLegend::SelectableParts"
  4157. QT_MOC_LITERAL(4, 55, 5), // "parts"
  4158. QT_MOC_LITERAL(5, 61, 17), // "selectableChanged"
  4159. QT_MOC_LITERAL(6, 79, 18), // "setSelectableParts"
  4160. QT_MOC_LITERAL(7, 98, 15), // "SelectableParts"
  4161. QT_MOC_LITERAL(8, 114, 15), // "selectableParts"
  4162. QT_MOC_LITERAL(9, 130, 16), // "setSelectedParts"
  4163. QT_MOC_LITERAL(10, 147, 13), // "selectedParts"
  4164. QT_MOC_LITERAL(11, 161, 9), // "borderPen"
  4165. QT_MOC_LITERAL(12, 171, 5), // "brush"
  4166. QT_MOC_LITERAL(13, 177, 4), // "font"
  4167. QT_MOC_LITERAL(14, 182, 9), // "textColor"
  4168. QT_MOC_LITERAL(15, 192, 8), // "iconSize"
  4169. QT_MOC_LITERAL(16, 201, 15), // "iconTextPadding"
  4170. QT_MOC_LITERAL(17, 217, 13), // "iconBorderPen"
  4171. QT_MOC_LITERAL(18, 231, 17), // "selectedBorderPen"
  4172. QT_MOC_LITERAL(19, 249, 21), // "selectedIconBorderPen"
  4173. QT_MOC_LITERAL(20, 271, 13), // "selectedBrush"
  4174. QT_MOC_LITERAL(21, 285, 12), // "selectedFont"
  4175. QT_MOC_LITERAL(22, 298, 17), // "selectedTextColor"
  4176. QT_MOC_LITERAL(23, 316, 14), // "SelectablePart"
  4177. QT_MOC_LITERAL(24, 331, 6), // "spNone"
  4178. QT_MOC_LITERAL(25, 338, 11), // "spLegendBox"
  4179. QT_MOC_LITERAL(26, 350, 7) // "spItems"
  4180. },
  4181. "QCPLegend\0selectionChanged\0\0"
  4182. "QCPLegend::SelectableParts\0parts\0"
  4183. "selectableChanged\0setSelectableParts\0"
  4184. "SelectableParts\0selectableParts\0"
  4185. "setSelectedParts\0selectedParts\0borderPen\0"
  4186. "brush\0font\0textColor\0iconSize\0"
  4187. "iconTextPadding\0iconBorderPen\0"
  4188. "selectedBorderPen\0selectedIconBorderPen\0"
  4189. "selectedBrush\0selectedFont\0selectedTextColor\0"
  4190. "SelectablePart\0spNone\0spLegendBox\0"
  4191. "spItems"
  4192. };
  4193. #undef QT_MOC_LITERAL
  4194. static const uint qt_meta_data_QCPLegend[] = {
  4195. // content:
  4196. 8, // revision
  4197. 0, // classname
  4198. 0, 0, // classinfo
  4199. 4, 14, // methods
  4200. 14, 46, // properties
  4201. 2, 102, // enums/sets
  4202. 0, 0, // constructors
  4203. 0, // flags
  4204. 2, // signalCount
  4205. // signals: name, argc, parameters, tag, flags
  4206. 1, 1, 34, 2, 0x06 /* Public */,
  4207. 5, 1, 37, 2, 0x06 /* Public */,
  4208. // slots: name, argc, parameters, tag, flags
  4209. 6, 1, 40, 2, 0x0a /* Public */,
  4210. 9, 1, 43, 2, 0x0a /* Public */,
  4211. // signals: parameters
  4212. QMetaType::Void, 0x80000000 | 3, 4,
  4213. QMetaType::Void, 0x80000000 | 3, 4,
  4214. // slots: parameters
  4215. QMetaType::Void, 0x80000000 | 7, 8,
  4216. QMetaType::Void, 0x80000000 | 7, 10,
  4217. // properties: name, type, flags
  4218. 11, QMetaType::QPen, 0x00095103,
  4219. 12, QMetaType::QBrush, 0x00095103,
  4220. 13, QMetaType::QFont, 0x00095103,
  4221. 14, QMetaType::QColor, 0x00095103,
  4222. 15, QMetaType::QSize, 0x00095103,
  4223. 16, QMetaType::Int, 0x00095103,
  4224. 17, QMetaType::QPen, 0x00095103,
  4225. 8, 0x80000000 | 7, 0x0049510b,
  4226. 10, 0x80000000 | 7, 0x0049510b,
  4227. 18, QMetaType::QPen, 0x00095103,
  4228. 19, QMetaType::QPen, 0x00095103,
  4229. 20, QMetaType::QBrush, 0x00095103,
  4230. 21, QMetaType::QFont, 0x00095103,
  4231. 22, QMetaType::QColor, 0x00095103,
  4232. // properties: notify_signal_id
  4233. 0,
  4234. 0,
  4235. 0,
  4236. 0,
  4237. 0,
  4238. 0,
  4239. 0,
  4240. 0,
  4241. 1,
  4242. 0,
  4243. 0,
  4244. 0,
  4245. 0,
  4246. 0,
  4247. // enums: name, alias, flags, count, data
  4248. 23, 23, 0x0, 3, 112,
  4249. 7, 23, 0x1, 3, 118,
  4250. // enum data: key, value
  4251. 24, uint(QCPLegend::spNone),
  4252. 25, uint(QCPLegend::spLegendBox),
  4253. 26, uint(QCPLegend::spItems),
  4254. 24, uint(QCPLegend::spNone),
  4255. 25, uint(QCPLegend::spLegendBox),
  4256. 26, uint(QCPLegend::spItems),
  4257. 0 // eod
  4258. };
  4259. void QCPLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4260. {
  4261. if (_c == QMetaObject::InvokeMetaMethod) {
  4262. auto *_t = static_cast<QCPLegend *>(_o);
  4263. Q_UNUSED(_t)
  4264. switch (_id) {
  4265. case 0: _t->selectionChanged((*reinterpret_cast< QCPLegend::SelectableParts(*)>(_a[1]))); break;
  4266. case 1: _t->selectableChanged((*reinterpret_cast< QCPLegend::SelectableParts(*)>(_a[1]))); break;
  4267. case 2: _t->setSelectableParts((*reinterpret_cast< const SelectableParts(*)>(_a[1]))); break;
  4268. case 3: _t->setSelectedParts((*reinterpret_cast< const SelectableParts(*)>(_a[1]))); break;
  4269. default: ;
  4270. }
  4271. } else if (_c == QMetaObject::IndexOfMethod) {
  4272. int *result = reinterpret_cast<int *>(_a[0]);
  4273. {
  4274. using _t = void (QCPLegend::*)(QCPLegend::SelectableParts );
  4275. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPLegend::selectionChanged)) {
  4276. *result = 0;
  4277. return;
  4278. }
  4279. }
  4280. {
  4281. using _t = void (QCPLegend::*)(QCPLegend::SelectableParts );
  4282. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPLegend::selectableChanged)) {
  4283. *result = 1;
  4284. return;
  4285. }
  4286. }
  4287. }
  4288. #ifndef QT_NO_PROPERTIES
  4289. else if (_c == QMetaObject::ReadProperty) {
  4290. auto *_t = static_cast<QCPLegend *>(_o);
  4291. Q_UNUSED(_t)
  4292. void *_v = _a[0];
  4293. switch (_id) {
  4294. case 0: *reinterpret_cast< QPen*>(_v) = _t->borderPen(); break;
  4295. case 1: *reinterpret_cast< QBrush*>(_v) = _t->brush(); break;
  4296. case 2: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
  4297. case 3: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
  4298. case 4: *reinterpret_cast< QSize*>(_v) = _t->iconSize(); break;
  4299. case 5: *reinterpret_cast< int*>(_v) = _t->iconTextPadding(); break;
  4300. case 6: *reinterpret_cast< QPen*>(_v) = _t->iconBorderPen(); break;
  4301. case 7: *reinterpret_cast<int*>(_v) = QFlag(_t->selectableParts()); break;
  4302. case 8: *reinterpret_cast<int*>(_v) = QFlag(_t->selectedParts()); break;
  4303. case 9: *reinterpret_cast< QPen*>(_v) = _t->selectedBorderPen(); break;
  4304. case 10: *reinterpret_cast< QPen*>(_v) = _t->selectedIconBorderPen(); break;
  4305. case 11: *reinterpret_cast< QBrush*>(_v) = _t->selectedBrush(); break;
  4306. case 12: *reinterpret_cast< QFont*>(_v) = _t->selectedFont(); break;
  4307. case 13: *reinterpret_cast< QColor*>(_v) = _t->selectedTextColor(); break;
  4308. default: break;
  4309. }
  4310. } else if (_c == QMetaObject::WriteProperty) {
  4311. auto *_t = static_cast<QCPLegend *>(_o);
  4312. Q_UNUSED(_t)
  4313. void *_v = _a[0];
  4314. switch (_id) {
  4315. case 0: _t->setBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  4316. case 1: _t->setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  4317. case 2: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
  4318. case 3: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
  4319. case 4: _t->setIconSize(*reinterpret_cast< QSize*>(_v)); break;
  4320. case 5: _t->setIconTextPadding(*reinterpret_cast< int*>(_v)); break;
  4321. case 6: _t->setIconBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  4322. case 7: _t->setSelectableParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  4323. case 8: _t->setSelectedParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  4324. case 9: _t->setSelectedBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  4325. case 10: _t->setSelectedIconBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  4326. case 11: _t->setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  4327. case 12: _t->setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  4328. case 13: _t->setSelectedTextColor(*reinterpret_cast< QColor*>(_v)); break;
  4329. default: break;
  4330. }
  4331. } else if (_c == QMetaObject::ResetProperty) {
  4332. }
  4333. #endif // QT_NO_PROPERTIES
  4334. }
  4335. QT_INIT_METAOBJECT const QMetaObject QCPLegend::staticMetaObject = { {
  4336. QMetaObject::SuperData::link<QCPLayoutGrid::staticMetaObject>(),
  4337. qt_meta_stringdata_QCPLegend.data,
  4338. qt_meta_data_QCPLegend,
  4339. qt_static_metacall,
  4340. nullptr,
  4341. nullptr
  4342. } };
  4343. const QMetaObject *QCPLegend::metaObject() const
  4344. {
  4345. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4346. }
  4347. void *QCPLegend::qt_metacast(const char *_clname)
  4348. {
  4349. if (!_clname) return nullptr;
  4350. if (!strcmp(_clname, qt_meta_stringdata_QCPLegend.stringdata0))
  4351. return static_cast<void*>(this);
  4352. return QCPLayoutGrid::qt_metacast(_clname);
  4353. }
  4354. int QCPLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4355. {
  4356. _id = QCPLayoutGrid::qt_metacall(_c, _id, _a);
  4357. if (_id < 0)
  4358. return _id;
  4359. if (_c == QMetaObject::InvokeMetaMethod) {
  4360. if (_id < 4)
  4361. qt_static_metacall(this, _c, _id, _a);
  4362. _id -= 4;
  4363. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4364. if (_id < 4)
  4365. *reinterpret_cast<int*>(_a[0]) = -1;
  4366. _id -= 4;
  4367. }
  4368. #ifndef QT_NO_PROPERTIES
  4369. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  4370. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  4371. qt_static_metacall(this, _c, _id, _a);
  4372. _id -= 14;
  4373. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4374. _id -= 14;
  4375. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4376. _id -= 14;
  4377. } else if (_c == QMetaObject::QueryPropertyStored) {
  4378. _id -= 14;
  4379. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4380. _id -= 14;
  4381. } else if (_c == QMetaObject::QueryPropertyUser) {
  4382. _id -= 14;
  4383. }
  4384. #endif // QT_NO_PROPERTIES
  4385. return _id;
  4386. }
  4387. // SIGNAL 0
  4388. void QCPLegend::selectionChanged(QCPLegend::SelectableParts _t1)
  4389. {
  4390. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4391. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  4392. }
  4393. // SIGNAL 1
  4394. void QCPLegend::selectableChanged(QCPLegend::SelectableParts _t1)
  4395. {
  4396. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4397. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  4398. }
  4399. struct qt_meta_stringdata_QCPTextElement_t {
  4400. QByteArrayData data[17];
  4401. char stringdata0[189];
  4402. };
  4403. #define QT_MOC_LITERAL(idx, ofs, len) \
  4404. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4405. qptrdiff(offsetof(qt_meta_stringdata_QCPTextElement_t, stringdata0) + ofs \
  4406. - idx * sizeof(QByteArrayData)) \
  4407. )
  4408. static const qt_meta_stringdata_QCPTextElement_t qt_meta_stringdata_QCPTextElement = {
  4409. {
  4410. QT_MOC_LITERAL(0, 0, 14), // "QCPTextElement"
  4411. QT_MOC_LITERAL(1, 15, 16), // "selectionChanged"
  4412. QT_MOC_LITERAL(2, 32, 0), // ""
  4413. QT_MOC_LITERAL(3, 33, 8), // "selected"
  4414. QT_MOC_LITERAL(4, 42, 17), // "selectableChanged"
  4415. QT_MOC_LITERAL(5, 60, 10), // "selectable"
  4416. QT_MOC_LITERAL(6, 71, 7), // "clicked"
  4417. QT_MOC_LITERAL(7, 79, 12), // "QMouseEvent*"
  4418. QT_MOC_LITERAL(8, 92, 5), // "event"
  4419. QT_MOC_LITERAL(9, 98, 13), // "doubleClicked"
  4420. QT_MOC_LITERAL(10, 112, 13), // "setSelectable"
  4421. QT_MOC_LITERAL(11, 126, 11), // "setSelected"
  4422. QT_MOC_LITERAL(12, 138, 4), // "text"
  4423. QT_MOC_LITERAL(13, 143, 4), // "font"
  4424. QT_MOC_LITERAL(14, 148, 9), // "textColor"
  4425. QT_MOC_LITERAL(15, 158, 12), // "selectedFont"
  4426. QT_MOC_LITERAL(16, 171, 17) // "selectedTextColor"
  4427. },
  4428. "QCPTextElement\0selectionChanged\0\0"
  4429. "selected\0selectableChanged\0selectable\0"
  4430. "clicked\0QMouseEvent*\0event\0doubleClicked\0"
  4431. "setSelectable\0setSelected\0text\0font\0"
  4432. "textColor\0selectedFont\0selectedTextColor"
  4433. };
  4434. #undef QT_MOC_LITERAL
  4435. static const uint qt_meta_data_QCPTextElement[] = {
  4436. // content:
  4437. 8, // revision
  4438. 0, // classname
  4439. 0, 0, // classinfo
  4440. 6, 14, // methods
  4441. 7, 62, // properties
  4442. 0, 0, // enums/sets
  4443. 0, 0, // constructors
  4444. 0, // flags
  4445. 4, // signalCount
  4446. // signals: name, argc, parameters, tag, flags
  4447. 1, 1, 44, 2, 0x06 /* Public */,
  4448. 4, 1, 47, 2, 0x06 /* Public */,
  4449. 6, 1, 50, 2, 0x06 /* Public */,
  4450. 9, 1, 53, 2, 0x06 /* Public */,
  4451. // slots: name, argc, parameters, tag, flags
  4452. 10, 1, 56, 2, 0x0a /* Public */,
  4453. 11, 1, 59, 2, 0x0a /* Public */,
  4454. // signals: parameters
  4455. QMetaType::Void, QMetaType::Bool, 3,
  4456. QMetaType::Void, QMetaType::Bool, 5,
  4457. QMetaType::Void, 0x80000000 | 7, 8,
  4458. QMetaType::Void, 0x80000000 | 7, 8,
  4459. // slots: parameters
  4460. QMetaType::Void, QMetaType::Bool, 5,
  4461. QMetaType::Void, QMetaType::Bool, 3,
  4462. // properties: name, type, flags
  4463. 12, QMetaType::QString, 0x00095103,
  4464. 13, QMetaType::QFont, 0x00095103,
  4465. 14, QMetaType::QColor, 0x00095103,
  4466. 15, QMetaType::QFont, 0x00095103,
  4467. 16, QMetaType::QColor, 0x00095103,
  4468. 5, QMetaType::Bool, 0x00495103,
  4469. 3, QMetaType::Bool, 0x00495103,
  4470. // properties: notify_signal_id
  4471. 0,
  4472. 0,
  4473. 0,
  4474. 0,
  4475. 0,
  4476. 1,
  4477. 0,
  4478. 0 // eod
  4479. };
  4480. void QCPTextElement::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4481. {
  4482. if (_c == QMetaObject::InvokeMetaMethod) {
  4483. auto *_t = static_cast<QCPTextElement *>(_o);
  4484. Q_UNUSED(_t)
  4485. switch (_id) {
  4486. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4487. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4488. case 2: _t->clicked((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  4489. case 3: _t->doubleClicked((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  4490. case 4: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4491. case 5: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  4492. default: ;
  4493. }
  4494. } else if (_c == QMetaObject::IndexOfMethod) {
  4495. int *result = reinterpret_cast<int *>(_a[0]);
  4496. {
  4497. using _t = void (QCPTextElement::*)(bool );
  4498. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPTextElement::selectionChanged)) {
  4499. *result = 0;
  4500. return;
  4501. }
  4502. }
  4503. {
  4504. using _t = void (QCPTextElement::*)(bool );
  4505. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPTextElement::selectableChanged)) {
  4506. *result = 1;
  4507. return;
  4508. }
  4509. }
  4510. {
  4511. using _t = void (QCPTextElement::*)(QMouseEvent * );
  4512. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPTextElement::clicked)) {
  4513. *result = 2;
  4514. return;
  4515. }
  4516. }
  4517. {
  4518. using _t = void (QCPTextElement::*)(QMouseEvent * );
  4519. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPTextElement::doubleClicked)) {
  4520. *result = 3;
  4521. return;
  4522. }
  4523. }
  4524. }
  4525. #ifndef QT_NO_PROPERTIES
  4526. else if (_c == QMetaObject::ReadProperty) {
  4527. auto *_t = static_cast<QCPTextElement *>(_o);
  4528. Q_UNUSED(_t)
  4529. void *_v = _a[0];
  4530. switch (_id) {
  4531. case 0: *reinterpret_cast< QString*>(_v) = _t->text(); break;
  4532. case 1: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
  4533. case 2: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
  4534. case 3: *reinterpret_cast< QFont*>(_v) = _t->selectedFont(); break;
  4535. case 4: *reinterpret_cast< QColor*>(_v) = _t->selectedTextColor(); break;
  4536. case 5: *reinterpret_cast< bool*>(_v) = _t->selectable(); break;
  4537. case 6: *reinterpret_cast< bool*>(_v) = _t->selected(); break;
  4538. default: break;
  4539. }
  4540. } else if (_c == QMetaObject::WriteProperty) {
  4541. auto *_t = static_cast<QCPTextElement *>(_o);
  4542. Q_UNUSED(_t)
  4543. void *_v = _a[0];
  4544. switch (_id) {
  4545. case 0: _t->setText(*reinterpret_cast< QString*>(_v)); break;
  4546. case 1: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
  4547. case 2: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
  4548. case 3: _t->setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  4549. case 4: _t->setSelectedTextColor(*reinterpret_cast< QColor*>(_v)); break;
  4550. case 5: _t->setSelectable(*reinterpret_cast< bool*>(_v)); break;
  4551. case 6: _t->setSelected(*reinterpret_cast< bool*>(_v)); break;
  4552. default: break;
  4553. }
  4554. } else if (_c == QMetaObject::ResetProperty) {
  4555. }
  4556. #endif // QT_NO_PROPERTIES
  4557. }
  4558. QT_INIT_METAOBJECT const QMetaObject QCPTextElement::staticMetaObject = { {
  4559. QMetaObject::SuperData::link<QCPLayoutElement::staticMetaObject>(),
  4560. qt_meta_stringdata_QCPTextElement.data,
  4561. qt_meta_data_QCPTextElement,
  4562. qt_static_metacall,
  4563. nullptr,
  4564. nullptr
  4565. } };
  4566. const QMetaObject *QCPTextElement::metaObject() const
  4567. {
  4568. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4569. }
  4570. void *QCPTextElement::qt_metacast(const char *_clname)
  4571. {
  4572. if (!_clname) return nullptr;
  4573. if (!strcmp(_clname, qt_meta_stringdata_QCPTextElement.stringdata0))
  4574. return static_cast<void*>(this);
  4575. return QCPLayoutElement::qt_metacast(_clname);
  4576. }
  4577. int QCPTextElement::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4578. {
  4579. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  4580. if (_id < 0)
  4581. return _id;
  4582. if (_c == QMetaObject::InvokeMetaMethod) {
  4583. if (_id < 6)
  4584. qt_static_metacall(this, _c, _id, _a);
  4585. _id -= 6;
  4586. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4587. if (_id < 6)
  4588. *reinterpret_cast<int*>(_a[0]) = -1;
  4589. _id -= 6;
  4590. }
  4591. #ifndef QT_NO_PROPERTIES
  4592. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  4593. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  4594. qt_static_metacall(this, _c, _id, _a);
  4595. _id -= 7;
  4596. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4597. _id -= 7;
  4598. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4599. _id -= 7;
  4600. } else if (_c == QMetaObject::QueryPropertyStored) {
  4601. _id -= 7;
  4602. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4603. _id -= 7;
  4604. } else if (_c == QMetaObject::QueryPropertyUser) {
  4605. _id -= 7;
  4606. }
  4607. #endif // QT_NO_PROPERTIES
  4608. return _id;
  4609. }
  4610. // SIGNAL 0
  4611. void QCPTextElement::selectionChanged(bool _t1)
  4612. {
  4613. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4614. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  4615. }
  4616. // SIGNAL 1
  4617. void QCPTextElement::selectableChanged(bool _t1)
  4618. {
  4619. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4620. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  4621. }
  4622. // SIGNAL 2
  4623. void QCPTextElement::clicked(QMouseEvent * _t1)
  4624. {
  4625. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4626. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  4627. }
  4628. // SIGNAL 3
  4629. void QCPTextElement::doubleClicked(QMouseEvent * _t1)
  4630. {
  4631. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4632. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  4633. }
  4634. struct qt_meta_stringdata_QCPColorScaleAxisRectPrivate_t {
  4635. QByteArrayData data[7];
  4636. char stringdata0[128];
  4637. };
  4638. #define QT_MOC_LITERAL(idx, ofs, len) \
  4639. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4640. qptrdiff(offsetof(qt_meta_stringdata_QCPColorScaleAxisRectPrivate_t, stringdata0) + ofs \
  4641. - idx * sizeof(QByteArrayData)) \
  4642. )
  4643. static const qt_meta_stringdata_QCPColorScaleAxisRectPrivate_t qt_meta_stringdata_QCPColorScaleAxisRectPrivate = {
  4644. {
  4645. QT_MOC_LITERAL(0, 0, 28), // "QCPColorScaleAxisRectPrivate"
  4646. QT_MOC_LITERAL(1, 29, 20), // "axisSelectionChanged"
  4647. QT_MOC_LITERAL(2, 50, 0), // ""
  4648. QT_MOC_LITERAL(3, 51, 24), // "QCPAxis::SelectableParts"
  4649. QT_MOC_LITERAL(4, 76, 13), // "selectedParts"
  4650. QT_MOC_LITERAL(5, 90, 21), // "axisSelectableChanged"
  4651. QT_MOC_LITERAL(6, 112, 15) // "selectableParts"
  4652. },
  4653. "QCPColorScaleAxisRectPrivate\0"
  4654. "axisSelectionChanged\0\0QCPAxis::SelectableParts\0"
  4655. "selectedParts\0axisSelectableChanged\0"
  4656. "selectableParts"
  4657. };
  4658. #undef QT_MOC_LITERAL
  4659. static const uint qt_meta_data_QCPColorScaleAxisRectPrivate[] = {
  4660. // content:
  4661. 8, // revision
  4662. 0, // classname
  4663. 0, 0, // classinfo
  4664. 2, 14, // methods
  4665. 0, 0, // properties
  4666. 0, 0, // enums/sets
  4667. 0, 0, // constructors
  4668. 0, // flags
  4669. 0, // signalCount
  4670. // slots: name, argc, parameters, tag, flags
  4671. 1, 1, 24, 2, 0x09 /* Protected */,
  4672. 5, 1, 27, 2, 0x09 /* Protected */,
  4673. // slots: parameters
  4674. QMetaType::Void, 0x80000000 | 3, 4,
  4675. QMetaType::Void, 0x80000000 | 3, 6,
  4676. 0 // eod
  4677. };
  4678. void QCPColorScaleAxisRectPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4679. {
  4680. if (_c == QMetaObject::InvokeMetaMethod) {
  4681. auto *_t = static_cast<QCPColorScaleAxisRectPrivate *>(_o);
  4682. Q_UNUSED(_t)
  4683. switch (_id) {
  4684. case 0: _t->axisSelectionChanged((*reinterpret_cast< QCPAxis::SelectableParts(*)>(_a[1]))); break;
  4685. case 1: _t->axisSelectableChanged((*reinterpret_cast< QCPAxis::SelectableParts(*)>(_a[1]))); break;
  4686. default: ;
  4687. }
  4688. }
  4689. }
  4690. QT_INIT_METAOBJECT const QMetaObject QCPColorScaleAxisRectPrivate::staticMetaObject = { {
  4691. QMetaObject::SuperData::link<QCPAxisRect::staticMetaObject>(),
  4692. qt_meta_stringdata_QCPColorScaleAxisRectPrivate.data,
  4693. qt_meta_data_QCPColorScaleAxisRectPrivate,
  4694. qt_static_metacall,
  4695. nullptr,
  4696. nullptr
  4697. } };
  4698. const QMetaObject *QCPColorScaleAxisRectPrivate::metaObject() const
  4699. {
  4700. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4701. }
  4702. void *QCPColorScaleAxisRectPrivate::qt_metacast(const char *_clname)
  4703. {
  4704. if (!_clname) return nullptr;
  4705. if (!strcmp(_clname, qt_meta_stringdata_QCPColorScaleAxisRectPrivate.stringdata0))
  4706. return static_cast<void*>(this);
  4707. return QCPAxisRect::qt_metacast(_clname);
  4708. }
  4709. int QCPColorScaleAxisRectPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4710. {
  4711. _id = QCPAxisRect::qt_metacall(_c, _id, _a);
  4712. if (_id < 0)
  4713. return _id;
  4714. if (_c == QMetaObject::InvokeMetaMethod) {
  4715. if (_id < 2)
  4716. qt_static_metacall(this, _c, _id, _a);
  4717. _id -= 2;
  4718. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4719. if (_id < 2)
  4720. *reinterpret_cast<int*>(_a[0]) = -1;
  4721. _id -= 2;
  4722. }
  4723. return _id;
  4724. }
  4725. struct qt_meta_stringdata_QCPColorScale_t {
  4726. QByteArrayData data[23];
  4727. char stringdata0[278];
  4728. };
  4729. #define QT_MOC_LITERAL(idx, ofs, len) \
  4730. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4731. qptrdiff(offsetof(qt_meta_stringdata_QCPColorScale_t, stringdata0) + ofs \
  4732. - idx * sizeof(QByteArrayData)) \
  4733. )
  4734. static const qt_meta_stringdata_QCPColorScale_t qt_meta_stringdata_QCPColorScale = {
  4735. {
  4736. QT_MOC_LITERAL(0, 0, 13), // "QCPColorScale"
  4737. QT_MOC_LITERAL(1, 14, 16), // "dataRangeChanged"
  4738. QT_MOC_LITERAL(2, 31, 0), // ""
  4739. QT_MOC_LITERAL(3, 32, 8), // "QCPRange"
  4740. QT_MOC_LITERAL(4, 41, 8), // "newRange"
  4741. QT_MOC_LITERAL(5, 50, 20), // "dataScaleTypeChanged"
  4742. QT_MOC_LITERAL(6, 71, 18), // "QCPAxis::ScaleType"
  4743. QT_MOC_LITERAL(7, 90, 9), // "scaleType"
  4744. QT_MOC_LITERAL(8, 100, 15), // "gradientChanged"
  4745. QT_MOC_LITERAL(9, 116, 16), // "QCPColorGradient"
  4746. QT_MOC_LITERAL(10, 133, 11), // "newGradient"
  4747. QT_MOC_LITERAL(11, 145, 12), // "setDataRange"
  4748. QT_MOC_LITERAL(12, 158, 9), // "dataRange"
  4749. QT_MOC_LITERAL(13, 168, 16), // "setDataScaleType"
  4750. QT_MOC_LITERAL(14, 185, 11), // "setGradient"
  4751. QT_MOC_LITERAL(15, 197, 8), // "gradient"
  4752. QT_MOC_LITERAL(16, 206, 4), // "type"
  4753. QT_MOC_LITERAL(17, 211, 17), // "QCPAxis::AxisType"
  4754. QT_MOC_LITERAL(18, 229, 13), // "dataScaleType"
  4755. QT_MOC_LITERAL(19, 243, 5), // "label"
  4756. QT_MOC_LITERAL(20, 249, 8), // "barWidth"
  4757. QT_MOC_LITERAL(21, 258, 9), // "rangeDrag"
  4758. QT_MOC_LITERAL(22, 268, 9) // "rangeZoom"
  4759. },
  4760. "QCPColorScale\0dataRangeChanged\0\0"
  4761. "QCPRange\0newRange\0dataScaleTypeChanged\0"
  4762. "QCPAxis::ScaleType\0scaleType\0"
  4763. "gradientChanged\0QCPColorGradient\0"
  4764. "newGradient\0setDataRange\0dataRange\0"
  4765. "setDataScaleType\0setGradient\0gradient\0"
  4766. "type\0QCPAxis::AxisType\0dataScaleType\0"
  4767. "label\0barWidth\0rangeDrag\0rangeZoom"
  4768. };
  4769. #undef QT_MOC_LITERAL
  4770. static const uint qt_meta_data_QCPColorScale[] = {
  4771. // content:
  4772. 8, // revision
  4773. 0, // classname
  4774. 0, 0, // classinfo
  4775. 6, 14, // methods
  4776. 8, 62, // properties
  4777. 0, 0, // enums/sets
  4778. 0, 0, // constructors
  4779. 0, // flags
  4780. 3, // signalCount
  4781. // signals: name, argc, parameters, tag, flags
  4782. 1, 1, 44, 2, 0x06 /* Public */,
  4783. 5, 1, 47, 2, 0x06 /* Public */,
  4784. 8, 1, 50, 2, 0x06 /* Public */,
  4785. // slots: name, argc, parameters, tag, flags
  4786. 11, 1, 53, 2, 0x0a /* Public */,
  4787. 13, 1, 56, 2, 0x0a /* Public */,
  4788. 14, 1, 59, 2, 0x0a /* Public */,
  4789. // signals: parameters
  4790. QMetaType::Void, 0x80000000 | 3, 4,
  4791. QMetaType::Void, 0x80000000 | 6, 7,
  4792. QMetaType::Void, 0x80000000 | 9, 10,
  4793. // slots: parameters
  4794. QMetaType::Void, 0x80000000 | 3, 12,
  4795. QMetaType::Void, 0x80000000 | 6, 7,
  4796. QMetaType::Void, 0x80000000 | 9, 15,
  4797. // properties: name, type, flags
  4798. 16, 0x80000000 | 17, 0x0009510b,
  4799. 12, 0x80000000 | 3, 0x0049510b,
  4800. 18, 0x80000000 | 6, 0x0049510b,
  4801. 15, 0x80000000 | 9, 0x0049510b,
  4802. 19, QMetaType::QString, 0x00095103,
  4803. 20, QMetaType::Int, 0x00095103,
  4804. 21, QMetaType::Bool, 0x00095103,
  4805. 22, QMetaType::Bool, 0x00095103,
  4806. // properties: notify_signal_id
  4807. 0,
  4808. 0,
  4809. 1,
  4810. 2,
  4811. 0,
  4812. 0,
  4813. 0,
  4814. 0,
  4815. 0 // eod
  4816. };
  4817. void QCPColorScale::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4818. {
  4819. if (_c == QMetaObject::InvokeMetaMethod) {
  4820. auto *_t = static_cast<QCPColorScale *>(_o);
  4821. Q_UNUSED(_t)
  4822. switch (_id) {
  4823. case 0: _t->dataRangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  4824. case 1: _t->dataScaleTypeChanged((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  4825. case 2: _t->gradientChanged((*reinterpret_cast< const QCPColorGradient(*)>(_a[1]))); break;
  4826. case 3: _t->setDataRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  4827. case 4: _t->setDataScaleType((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  4828. case 5: _t->setGradient((*reinterpret_cast< const QCPColorGradient(*)>(_a[1]))); break;
  4829. default: ;
  4830. }
  4831. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4832. switch (_id) {
  4833. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4834. case 1:
  4835. switch (*reinterpret_cast<int*>(_a[1])) {
  4836. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4837. case 0:
  4838. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  4839. }
  4840. break;
  4841. case 4:
  4842. switch (*reinterpret_cast<int*>(_a[1])) {
  4843. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4844. case 0:
  4845. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  4846. }
  4847. break;
  4848. }
  4849. } else if (_c == QMetaObject::IndexOfMethod) {
  4850. int *result = reinterpret_cast<int *>(_a[0]);
  4851. {
  4852. using _t = void (QCPColorScale::*)(const QCPRange & );
  4853. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPColorScale::dataRangeChanged)) {
  4854. *result = 0;
  4855. return;
  4856. }
  4857. }
  4858. {
  4859. using _t = void (QCPColorScale::*)(QCPAxis::ScaleType );
  4860. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPColorScale::dataScaleTypeChanged)) {
  4861. *result = 1;
  4862. return;
  4863. }
  4864. }
  4865. {
  4866. using _t = void (QCPColorScale::*)(const QCPColorGradient & );
  4867. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPColorScale::gradientChanged)) {
  4868. *result = 2;
  4869. return;
  4870. }
  4871. }
  4872. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4873. switch (_id) {
  4874. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4875. case 0:
  4876. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::AxisType >(); break;
  4877. case 2:
  4878. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  4879. }
  4880. }
  4881. #ifndef QT_NO_PROPERTIES
  4882. else if (_c == QMetaObject::ReadProperty) {
  4883. auto *_t = static_cast<QCPColorScale *>(_o);
  4884. Q_UNUSED(_t)
  4885. void *_v = _a[0];
  4886. switch (_id) {
  4887. case 0: *reinterpret_cast< QCPAxis::AxisType*>(_v) = _t->type(); break;
  4888. case 1: *reinterpret_cast< QCPRange*>(_v) = _t->dataRange(); break;
  4889. case 2: *reinterpret_cast< QCPAxis::ScaleType*>(_v) = _t->dataScaleType(); break;
  4890. case 3: *reinterpret_cast< QCPColorGradient*>(_v) = _t->gradient(); break;
  4891. case 4: *reinterpret_cast< QString*>(_v) = _t->label(); break;
  4892. case 5: *reinterpret_cast< int*>(_v) = _t->barWidth(); break;
  4893. case 6: *reinterpret_cast< bool*>(_v) = _t->rangeDrag(); break;
  4894. case 7: *reinterpret_cast< bool*>(_v) = _t->rangeZoom(); break;
  4895. default: break;
  4896. }
  4897. } else if (_c == QMetaObject::WriteProperty) {
  4898. auto *_t = static_cast<QCPColorScale *>(_o);
  4899. Q_UNUSED(_t)
  4900. void *_v = _a[0];
  4901. switch (_id) {
  4902. case 0: _t->setType(*reinterpret_cast< QCPAxis::AxisType*>(_v)); break;
  4903. case 1: _t->setDataRange(*reinterpret_cast< QCPRange*>(_v)); break;
  4904. case 2: _t->setDataScaleType(*reinterpret_cast< QCPAxis::ScaleType*>(_v)); break;
  4905. case 3: _t->setGradient(*reinterpret_cast< QCPColorGradient*>(_v)); break;
  4906. case 4: _t->setLabel(*reinterpret_cast< QString*>(_v)); break;
  4907. case 5: _t->setBarWidth(*reinterpret_cast< int*>(_v)); break;
  4908. case 6: _t->setRangeDrag(*reinterpret_cast< bool*>(_v)); break;
  4909. case 7: _t->setRangeZoom(*reinterpret_cast< bool*>(_v)); break;
  4910. default: break;
  4911. }
  4912. } else if (_c == QMetaObject::ResetProperty) {
  4913. }
  4914. #endif // QT_NO_PROPERTIES
  4915. }
  4916. static const QMetaObject::SuperData qt_meta_extradata_QCPColorScale[] = {
  4917. QMetaObject::SuperData::link<QCPAxis::staticMetaObject>(),
  4918. nullptr
  4919. };
  4920. QT_INIT_METAOBJECT const QMetaObject QCPColorScale::staticMetaObject = { {
  4921. QMetaObject::SuperData::link<QCPLayoutElement::staticMetaObject>(),
  4922. qt_meta_stringdata_QCPColorScale.data,
  4923. qt_meta_data_QCPColorScale,
  4924. qt_static_metacall,
  4925. qt_meta_extradata_QCPColorScale,
  4926. nullptr
  4927. } };
  4928. const QMetaObject *QCPColorScale::metaObject() const
  4929. {
  4930. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4931. }
  4932. void *QCPColorScale::qt_metacast(const char *_clname)
  4933. {
  4934. if (!_clname) return nullptr;
  4935. if (!strcmp(_clname, qt_meta_stringdata_QCPColorScale.stringdata0))
  4936. return static_cast<void*>(this);
  4937. return QCPLayoutElement::qt_metacast(_clname);
  4938. }
  4939. int QCPColorScale::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4940. {
  4941. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  4942. if (_id < 0)
  4943. return _id;
  4944. if (_c == QMetaObject::InvokeMetaMethod) {
  4945. if (_id < 6)
  4946. qt_static_metacall(this, _c, _id, _a);
  4947. _id -= 6;
  4948. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4949. if (_id < 6)
  4950. qt_static_metacall(this, _c, _id, _a);
  4951. _id -= 6;
  4952. }
  4953. #ifndef QT_NO_PROPERTIES
  4954. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  4955. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  4956. qt_static_metacall(this, _c, _id, _a);
  4957. _id -= 8;
  4958. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4959. _id -= 8;
  4960. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4961. _id -= 8;
  4962. } else if (_c == QMetaObject::QueryPropertyStored) {
  4963. _id -= 8;
  4964. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4965. _id -= 8;
  4966. } else if (_c == QMetaObject::QueryPropertyUser) {
  4967. _id -= 8;
  4968. }
  4969. #endif // QT_NO_PROPERTIES
  4970. return _id;
  4971. }
  4972. // SIGNAL 0
  4973. void QCPColorScale::dataRangeChanged(const QCPRange & _t1)
  4974. {
  4975. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4976. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  4977. }
  4978. // SIGNAL 1
  4979. void QCPColorScale::dataScaleTypeChanged(QCPAxis::ScaleType _t1)
  4980. {
  4981. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4982. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  4983. }
  4984. // SIGNAL 2
  4985. void QCPColorScale::gradientChanged(const QCPColorGradient & _t1)
  4986. {
  4987. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  4988. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  4989. }
  4990. struct qt_meta_stringdata_QCPGraph_t {
  4991. QByteArrayData data[15];
  4992. char stringdata0[174];
  4993. };
  4994. #define QT_MOC_LITERAL(idx, ofs, len) \
  4995. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4996. qptrdiff(offsetof(qt_meta_stringdata_QCPGraph_t, stringdata0) + ofs \
  4997. - idx * sizeof(QByteArrayData)) \
  4998. )
  4999. static const qt_meta_stringdata_QCPGraph_t qt_meta_stringdata_QCPGraph = {
  5000. {
  5001. QT_MOC_LITERAL(0, 0, 8), // "QCPGraph"
  5002. QT_MOC_LITERAL(1, 9, 9), // "lineStyle"
  5003. QT_MOC_LITERAL(2, 19, 9), // "LineStyle"
  5004. QT_MOC_LITERAL(3, 29, 12), // "scatterStyle"
  5005. QT_MOC_LITERAL(4, 42, 15), // "QCPScatterStyle"
  5006. QT_MOC_LITERAL(5, 58, 11), // "scatterSkip"
  5007. QT_MOC_LITERAL(6, 70, 16), // "channelFillGraph"
  5008. QT_MOC_LITERAL(7, 87, 9), // "QCPGraph*"
  5009. QT_MOC_LITERAL(8, 97, 16), // "adaptiveSampling"
  5010. QT_MOC_LITERAL(9, 114, 6), // "lsNone"
  5011. QT_MOC_LITERAL(10, 121, 6), // "lsLine"
  5012. QT_MOC_LITERAL(11, 128, 10), // "lsStepLeft"
  5013. QT_MOC_LITERAL(12, 139, 11), // "lsStepRight"
  5014. QT_MOC_LITERAL(13, 151, 12), // "lsStepCenter"
  5015. QT_MOC_LITERAL(14, 164, 9) // "lsImpulse"
  5016. },
  5017. "QCPGraph\0lineStyle\0LineStyle\0scatterStyle\0"
  5018. "QCPScatterStyle\0scatterSkip\0"
  5019. "channelFillGraph\0QCPGraph*\0adaptiveSampling\0"
  5020. "lsNone\0lsLine\0lsStepLeft\0lsStepRight\0"
  5021. "lsStepCenter\0lsImpulse"
  5022. };
  5023. #undef QT_MOC_LITERAL
  5024. static const uint qt_meta_data_QCPGraph[] = {
  5025. // content:
  5026. 8, // revision
  5027. 0, // classname
  5028. 0, 0, // classinfo
  5029. 0, 0, // methods
  5030. 5, 14, // properties
  5031. 1, 29, // enums/sets
  5032. 0, 0, // constructors
  5033. 0, // flags
  5034. 0, // signalCount
  5035. // properties: name, type, flags
  5036. 1, 0x80000000 | 2, 0x0009510b,
  5037. 3, 0x80000000 | 4, 0x0009510b,
  5038. 5, QMetaType::Int, 0x00095103,
  5039. 6, 0x80000000 | 7, 0x0009510b,
  5040. 8, QMetaType::Bool, 0x00095103,
  5041. // enums: name, alias, flags, count, data
  5042. 2, 2, 0x0, 6, 34,
  5043. // enum data: key, value
  5044. 9, uint(QCPGraph::lsNone),
  5045. 10, uint(QCPGraph::lsLine),
  5046. 11, uint(QCPGraph::lsStepLeft),
  5047. 12, uint(QCPGraph::lsStepRight),
  5048. 13, uint(QCPGraph::lsStepCenter),
  5049. 14, uint(QCPGraph::lsImpulse),
  5050. 0 // eod
  5051. };
  5052. void QCPGraph::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5053. {
  5054. if (_c == QMetaObject::RegisterPropertyMetaType) {
  5055. switch (_id) {
  5056. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5057. case 3:
  5058. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPGraph* >(); break;
  5059. }
  5060. }
  5061. #ifndef QT_NO_PROPERTIES
  5062. else if (_c == QMetaObject::ReadProperty) {
  5063. auto *_t = static_cast<QCPGraph *>(_o);
  5064. Q_UNUSED(_t)
  5065. void *_v = _a[0];
  5066. switch (_id) {
  5067. case 0: *reinterpret_cast< LineStyle*>(_v) = _t->lineStyle(); break;
  5068. case 1: *reinterpret_cast< QCPScatterStyle*>(_v) = _t->scatterStyle(); break;
  5069. case 2: *reinterpret_cast< int*>(_v) = _t->scatterSkip(); break;
  5070. case 3: *reinterpret_cast< QCPGraph**>(_v) = _t->channelFillGraph(); break;
  5071. case 4: *reinterpret_cast< bool*>(_v) = _t->adaptiveSampling(); break;
  5072. default: break;
  5073. }
  5074. } else if (_c == QMetaObject::WriteProperty) {
  5075. auto *_t = static_cast<QCPGraph *>(_o);
  5076. Q_UNUSED(_t)
  5077. void *_v = _a[0];
  5078. switch (_id) {
  5079. case 0: _t->setLineStyle(*reinterpret_cast< LineStyle*>(_v)); break;
  5080. case 1: _t->setScatterStyle(*reinterpret_cast< QCPScatterStyle*>(_v)); break;
  5081. case 2: _t->setScatterSkip(*reinterpret_cast< int*>(_v)); break;
  5082. case 3: _t->setChannelFillGraph(*reinterpret_cast< QCPGraph**>(_v)); break;
  5083. case 4: _t->setAdaptiveSampling(*reinterpret_cast< bool*>(_v)); break;
  5084. default: break;
  5085. }
  5086. } else if (_c == QMetaObject::ResetProperty) {
  5087. }
  5088. #endif // QT_NO_PROPERTIES
  5089. Q_UNUSED(_o);
  5090. }
  5091. QT_INIT_METAOBJECT const QMetaObject QCPGraph::staticMetaObject = { {
  5092. QMetaObject::SuperData::link<QCPAbstractPlottable1D<QCPGraphData>::staticMetaObject>(),
  5093. qt_meta_stringdata_QCPGraph.data,
  5094. qt_meta_data_QCPGraph,
  5095. qt_static_metacall,
  5096. nullptr,
  5097. nullptr
  5098. } };
  5099. const QMetaObject *QCPGraph::metaObject() const
  5100. {
  5101. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5102. }
  5103. void *QCPGraph::qt_metacast(const char *_clname)
  5104. {
  5105. if (!_clname) return nullptr;
  5106. if (!strcmp(_clname, qt_meta_stringdata_QCPGraph.stringdata0))
  5107. return static_cast<void*>(this);
  5108. return QCPAbstractPlottable1D<QCPGraphData>::qt_metacast(_clname);
  5109. }
  5110. int QCPGraph::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5111. {
  5112. _id = QCPAbstractPlottable1D<QCPGraphData>::qt_metacall(_c, _id, _a);
  5113. if (_id < 0)
  5114. return _id;
  5115. #ifndef QT_NO_PROPERTIES
  5116. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  5117. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  5118. qt_static_metacall(this, _c, _id, _a);
  5119. _id -= 5;
  5120. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5121. _id -= 5;
  5122. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5123. _id -= 5;
  5124. } else if (_c == QMetaObject::QueryPropertyStored) {
  5125. _id -= 5;
  5126. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5127. _id -= 5;
  5128. } else if (_c == QMetaObject::QueryPropertyUser) {
  5129. _id -= 5;
  5130. }
  5131. #endif // QT_NO_PROPERTIES
  5132. return _id;
  5133. }
  5134. struct qt_meta_stringdata_QCPCurve_t {
  5135. QByteArrayData data[8];
  5136. char stringdata0[84];
  5137. };
  5138. #define QT_MOC_LITERAL(idx, ofs, len) \
  5139. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5140. qptrdiff(offsetof(qt_meta_stringdata_QCPCurve_t, stringdata0) + ofs \
  5141. - idx * sizeof(QByteArrayData)) \
  5142. )
  5143. static const qt_meta_stringdata_QCPCurve_t qt_meta_stringdata_QCPCurve = {
  5144. {
  5145. QT_MOC_LITERAL(0, 0, 8), // "QCPCurve"
  5146. QT_MOC_LITERAL(1, 9, 12), // "scatterStyle"
  5147. QT_MOC_LITERAL(2, 22, 15), // "QCPScatterStyle"
  5148. QT_MOC_LITERAL(3, 38, 11), // "scatterSkip"
  5149. QT_MOC_LITERAL(4, 50, 9), // "lineStyle"
  5150. QT_MOC_LITERAL(5, 60, 9), // "LineStyle"
  5151. QT_MOC_LITERAL(6, 70, 6), // "lsNone"
  5152. QT_MOC_LITERAL(7, 77, 6) // "lsLine"
  5153. },
  5154. "QCPCurve\0scatterStyle\0QCPScatterStyle\0"
  5155. "scatterSkip\0lineStyle\0LineStyle\0lsNone\0"
  5156. "lsLine"
  5157. };
  5158. #undef QT_MOC_LITERAL
  5159. static const uint qt_meta_data_QCPCurve[] = {
  5160. // content:
  5161. 8, // revision
  5162. 0, // classname
  5163. 0, 0, // classinfo
  5164. 0, 0, // methods
  5165. 3, 14, // properties
  5166. 1, 23, // enums/sets
  5167. 0, 0, // constructors
  5168. 0, // flags
  5169. 0, // signalCount
  5170. // properties: name, type, flags
  5171. 1, 0x80000000 | 2, 0x0009510b,
  5172. 3, QMetaType::Int, 0x00095103,
  5173. 4, 0x80000000 | 5, 0x0009510b,
  5174. // enums: name, alias, flags, count, data
  5175. 5, 5, 0x0, 2, 28,
  5176. // enum data: key, value
  5177. 6, uint(QCPCurve::lsNone),
  5178. 7, uint(QCPCurve::lsLine),
  5179. 0 // eod
  5180. };
  5181. void QCPCurve::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5182. {
  5183. #ifndef QT_NO_PROPERTIES
  5184. if (_c == QMetaObject::ReadProperty) {
  5185. auto *_t = static_cast<QCPCurve *>(_o);
  5186. Q_UNUSED(_t)
  5187. void *_v = _a[0];
  5188. switch (_id) {
  5189. case 0: *reinterpret_cast< QCPScatterStyle*>(_v) = _t->scatterStyle(); break;
  5190. case 1: *reinterpret_cast< int*>(_v) = _t->scatterSkip(); break;
  5191. case 2: *reinterpret_cast< LineStyle*>(_v) = _t->lineStyle(); break;
  5192. default: break;
  5193. }
  5194. } else if (_c == QMetaObject::WriteProperty) {
  5195. auto *_t = static_cast<QCPCurve *>(_o);
  5196. Q_UNUSED(_t)
  5197. void *_v = _a[0];
  5198. switch (_id) {
  5199. case 0: _t->setScatterStyle(*reinterpret_cast< QCPScatterStyle*>(_v)); break;
  5200. case 1: _t->setScatterSkip(*reinterpret_cast< int*>(_v)); break;
  5201. case 2: _t->setLineStyle(*reinterpret_cast< LineStyle*>(_v)); break;
  5202. default: break;
  5203. }
  5204. } else if (_c == QMetaObject::ResetProperty) {
  5205. }
  5206. #endif // QT_NO_PROPERTIES
  5207. Q_UNUSED(_o);
  5208. Q_UNUSED(_id);
  5209. Q_UNUSED(_c);
  5210. Q_UNUSED(_a);
  5211. }
  5212. QT_INIT_METAOBJECT const QMetaObject QCPCurve::staticMetaObject = { {
  5213. QMetaObject::SuperData::link<QCPAbstractPlottable1D<QCPCurveData>::staticMetaObject>(),
  5214. qt_meta_stringdata_QCPCurve.data,
  5215. qt_meta_data_QCPCurve,
  5216. qt_static_metacall,
  5217. nullptr,
  5218. nullptr
  5219. } };
  5220. const QMetaObject *QCPCurve::metaObject() const
  5221. {
  5222. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5223. }
  5224. void *QCPCurve::qt_metacast(const char *_clname)
  5225. {
  5226. if (!_clname) return nullptr;
  5227. if (!strcmp(_clname, qt_meta_stringdata_QCPCurve.stringdata0))
  5228. return static_cast<void*>(this);
  5229. return QCPAbstractPlottable1D<QCPCurveData>::qt_metacast(_clname);
  5230. }
  5231. int QCPCurve::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5232. {
  5233. _id = QCPAbstractPlottable1D<QCPCurveData>::qt_metacall(_c, _id, _a);
  5234. if (_id < 0)
  5235. return _id;
  5236. #ifndef QT_NO_PROPERTIES
  5237. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  5238. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  5239. qt_static_metacall(this, _c, _id, _a);
  5240. _id -= 3;
  5241. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5242. _id -= 3;
  5243. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5244. _id -= 3;
  5245. } else if (_c == QMetaObject::QueryPropertyStored) {
  5246. _id -= 3;
  5247. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5248. _id -= 3;
  5249. } else if (_c == QMetaObject::QueryPropertyUser) {
  5250. _id -= 3;
  5251. }
  5252. #endif // QT_NO_PROPERTIES
  5253. return _id;
  5254. }
  5255. struct qt_meta_stringdata_QCPBarsGroup_t {
  5256. QByteArrayData data[7];
  5257. char stringdata0[85];
  5258. };
  5259. #define QT_MOC_LITERAL(idx, ofs, len) \
  5260. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5261. qptrdiff(offsetof(qt_meta_stringdata_QCPBarsGroup_t, stringdata0) + ofs \
  5262. - idx * sizeof(QByteArrayData)) \
  5263. )
  5264. static const qt_meta_stringdata_QCPBarsGroup_t qt_meta_stringdata_QCPBarsGroup = {
  5265. {
  5266. QT_MOC_LITERAL(0, 0, 12), // "QCPBarsGroup"
  5267. QT_MOC_LITERAL(1, 13, 11), // "spacingType"
  5268. QT_MOC_LITERAL(2, 25, 11), // "SpacingType"
  5269. QT_MOC_LITERAL(3, 37, 7), // "spacing"
  5270. QT_MOC_LITERAL(4, 45, 10), // "stAbsolute"
  5271. QT_MOC_LITERAL(5, 56, 15), // "stAxisRectRatio"
  5272. QT_MOC_LITERAL(6, 72, 12) // "stPlotCoords"
  5273. },
  5274. "QCPBarsGroup\0spacingType\0SpacingType\0"
  5275. "spacing\0stAbsolute\0stAxisRectRatio\0"
  5276. "stPlotCoords"
  5277. };
  5278. #undef QT_MOC_LITERAL
  5279. static const uint qt_meta_data_QCPBarsGroup[] = {
  5280. // content:
  5281. 8, // revision
  5282. 0, // classname
  5283. 0, 0, // classinfo
  5284. 0, 0, // methods
  5285. 2, 14, // properties
  5286. 1, 20, // enums/sets
  5287. 0, 0, // constructors
  5288. 0, // flags
  5289. 0, // signalCount
  5290. // properties: name, type, flags
  5291. 1, 0x80000000 | 2, 0x0009510b,
  5292. 3, QMetaType::Double, 0x00095103,
  5293. // enums: name, alias, flags, count, data
  5294. 2, 2, 0x0, 3, 25,
  5295. // enum data: key, value
  5296. 4, uint(QCPBarsGroup::stAbsolute),
  5297. 5, uint(QCPBarsGroup::stAxisRectRatio),
  5298. 6, uint(QCPBarsGroup::stPlotCoords),
  5299. 0 // eod
  5300. };
  5301. void QCPBarsGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5302. {
  5303. #ifndef QT_NO_PROPERTIES
  5304. if (_c == QMetaObject::ReadProperty) {
  5305. auto *_t = static_cast<QCPBarsGroup *>(_o);
  5306. Q_UNUSED(_t)
  5307. void *_v = _a[0];
  5308. switch (_id) {
  5309. case 0: *reinterpret_cast< SpacingType*>(_v) = _t->spacingType(); break;
  5310. case 1: *reinterpret_cast< double*>(_v) = _t->spacing(); break;
  5311. default: break;
  5312. }
  5313. } else if (_c == QMetaObject::WriteProperty) {
  5314. auto *_t = static_cast<QCPBarsGroup *>(_o);
  5315. Q_UNUSED(_t)
  5316. void *_v = _a[0];
  5317. switch (_id) {
  5318. case 0: _t->setSpacingType(*reinterpret_cast< SpacingType*>(_v)); break;
  5319. case 1: _t->setSpacing(*reinterpret_cast< double*>(_v)); break;
  5320. default: break;
  5321. }
  5322. } else if (_c == QMetaObject::ResetProperty) {
  5323. }
  5324. #endif // QT_NO_PROPERTIES
  5325. Q_UNUSED(_o);
  5326. Q_UNUSED(_id);
  5327. Q_UNUSED(_c);
  5328. Q_UNUSED(_a);
  5329. }
  5330. QT_INIT_METAOBJECT const QMetaObject QCPBarsGroup::staticMetaObject = { {
  5331. QMetaObject::SuperData::link<QObject::staticMetaObject>(),
  5332. qt_meta_stringdata_QCPBarsGroup.data,
  5333. qt_meta_data_QCPBarsGroup,
  5334. qt_static_metacall,
  5335. nullptr,
  5336. nullptr
  5337. } };
  5338. const QMetaObject *QCPBarsGroup::metaObject() const
  5339. {
  5340. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5341. }
  5342. void *QCPBarsGroup::qt_metacast(const char *_clname)
  5343. {
  5344. if (!_clname) return nullptr;
  5345. if (!strcmp(_clname, qt_meta_stringdata_QCPBarsGroup.stringdata0))
  5346. return static_cast<void*>(this);
  5347. return QObject::qt_metacast(_clname);
  5348. }
  5349. int QCPBarsGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5350. {
  5351. _id = QObject::qt_metacall(_c, _id, _a);
  5352. if (_id < 0)
  5353. return _id;
  5354. #ifndef QT_NO_PROPERTIES
  5355. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  5356. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  5357. qt_static_metacall(this, _c, _id, _a);
  5358. _id -= 2;
  5359. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5360. _id -= 2;
  5361. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5362. _id -= 2;
  5363. } else if (_c == QMetaObject::QueryPropertyStored) {
  5364. _id -= 2;
  5365. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5366. _id -= 2;
  5367. } else if (_c == QMetaObject::QueryPropertyUser) {
  5368. _id -= 2;
  5369. }
  5370. #endif // QT_NO_PROPERTIES
  5371. return _id;
  5372. }
  5373. struct qt_meta_stringdata_QCPBars_t {
  5374. QByteArrayData data[14];
  5375. char stringdata0[147];
  5376. };
  5377. #define QT_MOC_LITERAL(idx, ofs, len) \
  5378. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5379. qptrdiff(offsetof(qt_meta_stringdata_QCPBars_t, stringdata0) + ofs \
  5380. - idx * sizeof(QByteArrayData)) \
  5381. )
  5382. static const qt_meta_stringdata_QCPBars_t qt_meta_stringdata_QCPBars = {
  5383. {
  5384. QT_MOC_LITERAL(0, 0, 7), // "QCPBars"
  5385. QT_MOC_LITERAL(1, 8, 5), // "width"
  5386. QT_MOC_LITERAL(2, 14, 9), // "widthType"
  5387. QT_MOC_LITERAL(3, 24, 9), // "WidthType"
  5388. QT_MOC_LITERAL(4, 34, 9), // "barsGroup"
  5389. QT_MOC_LITERAL(5, 44, 13), // "QCPBarsGroup*"
  5390. QT_MOC_LITERAL(6, 58, 9), // "baseValue"
  5391. QT_MOC_LITERAL(7, 68, 11), // "stackingGap"
  5392. QT_MOC_LITERAL(8, 80, 8), // "barBelow"
  5393. QT_MOC_LITERAL(9, 89, 8), // "QCPBars*"
  5394. QT_MOC_LITERAL(10, 98, 8), // "barAbove"
  5395. QT_MOC_LITERAL(11, 107, 10), // "wtAbsolute"
  5396. QT_MOC_LITERAL(12, 118, 15), // "wtAxisRectRatio"
  5397. QT_MOC_LITERAL(13, 134, 12) // "wtPlotCoords"
  5398. },
  5399. "QCPBars\0width\0widthType\0WidthType\0"
  5400. "barsGroup\0QCPBarsGroup*\0baseValue\0"
  5401. "stackingGap\0barBelow\0QCPBars*\0barAbove\0"
  5402. "wtAbsolute\0wtAxisRectRatio\0wtPlotCoords"
  5403. };
  5404. #undef QT_MOC_LITERAL
  5405. static const uint qt_meta_data_QCPBars[] = {
  5406. // content:
  5407. 8, // revision
  5408. 0, // classname
  5409. 0, 0, // classinfo
  5410. 0, 0, // methods
  5411. 7, 14, // properties
  5412. 1, 35, // enums/sets
  5413. 0, 0, // constructors
  5414. 0, // flags
  5415. 0, // signalCount
  5416. // properties: name, type, flags
  5417. 1, QMetaType::Double, 0x00095103,
  5418. 2, 0x80000000 | 3, 0x0009510b,
  5419. 4, 0x80000000 | 5, 0x0009510b,
  5420. 6, QMetaType::Double, 0x00095103,
  5421. 7, QMetaType::Double, 0x00095103,
  5422. 8, 0x80000000 | 9, 0x00095009,
  5423. 10, 0x80000000 | 9, 0x00095009,
  5424. // enums: name, alias, flags, count, data
  5425. 3, 3, 0x0, 3, 40,
  5426. // enum data: key, value
  5427. 11, uint(QCPBars::wtAbsolute),
  5428. 12, uint(QCPBars::wtAxisRectRatio),
  5429. 13, uint(QCPBars::wtPlotCoords),
  5430. 0 // eod
  5431. };
  5432. void QCPBars::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5433. {
  5434. if (_c == QMetaObject::RegisterPropertyMetaType) {
  5435. switch (_id) {
  5436. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5437. case 6:
  5438. case 5:
  5439. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPBars* >(); break;
  5440. case 2:
  5441. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPBarsGroup* >(); break;
  5442. }
  5443. }
  5444. #ifndef QT_NO_PROPERTIES
  5445. else if (_c == QMetaObject::ReadProperty) {
  5446. auto *_t = static_cast<QCPBars *>(_o);
  5447. Q_UNUSED(_t)
  5448. void *_v = _a[0];
  5449. switch (_id) {
  5450. case 0: *reinterpret_cast< double*>(_v) = _t->width(); break;
  5451. case 1: *reinterpret_cast< WidthType*>(_v) = _t->widthType(); break;
  5452. case 2: *reinterpret_cast< QCPBarsGroup**>(_v) = _t->barsGroup(); break;
  5453. case 3: *reinterpret_cast< double*>(_v) = _t->baseValue(); break;
  5454. case 4: *reinterpret_cast< double*>(_v) = _t->stackingGap(); break;
  5455. case 5: *reinterpret_cast< QCPBars**>(_v) = _t->barBelow(); break;
  5456. case 6: *reinterpret_cast< QCPBars**>(_v) = _t->barAbove(); break;
  5457. default: break;
  5458. }
  5459. } else if (_c == QMetaObject::WriteProperty) {
  5460. auto *_t = static_cast<QCPBars *>(_o);
  5461. Q_UNUSED(_t)
  5462. void *_v = _a[0];
  5463. switch (_id) {
  5464. case 0: _t->setWidth(*reinterpret_cast< double*>(_v)); break;
  5465. case 1: _t->setWidthType(*reinterpret_cast< WidthType*>(_v)); break;
  5466. case 2: _t->setBarsGroup(*reinterpret_cast< QCPBarsGroup**>(_v)); break;
  5467. case 3: _t->setBaseValue(*reinterpret_cast< double*>(_v)); break;
  5468. case 4: _t->setStackingGap(*reinterpret_cast< double*>(_v)); break;
  5469. default: break;
  5470. }
  5471. } else if (_c == QMetaObject::ResetProperty) {
  5472. }
  5473. #endif // QT_NO_PROPERTIES
  5474. Q_UNUSED(_o);
  5475. }
  5476. QT_INIT_METAOBJECT const QMetaObject QCPBars::staticMetaObject = { {
  5477. QMetaObject::SuperData::link<QCPAbstractPlottable1D<QCPBarsData>::staticMetaObject>(),
  5478. qt_meta_stringdata_QCPBars.data,
  5479. qt_meta_data_QCPBars,
  5480. qt_static_metacall,
  5481. nullptr,
  5482. nullptr
  5483. } };
  5484. const QMetaObject *QCPBars::metaObject() const
  5485. {
  5486. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5487. }
  5488. void *QCPBars::qt_metacast(const char *_clname)
  5489. {
  5490. if (!_clname) return nullptr;
  5491. if (!strcmp(_clname, qt_meta_stringdata_QCPBars.stringdata0))
  5492. return static_cast<void*>(this);
  5493. return QCPAbstractPlottable1D<QCPBarsData>::qt_metacast(_clname);
  5494. }
  5495. int QCPBars::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5496. {
  5497. _id = QCPAbstractPlottable1D<QCPBarsData>::qt_metacall(_c, _id, _a);
  5498. if (_id < 0)
  5499. return _id;
  5500. #ifndef QT_NO_PROPERTIES
  5501. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  5502. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  5503. qt_static_metacall(this, _c, _id, _a);
  5504. _id -= 7;
  5505. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5506. _id -= 7;
  5507. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5508. _id -= 7;
  5509. } else if (_c == QMetaObject::QueryPropertyStored) {
  5510. _id -= 7;
  5511. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5512. _id -= 7;
  5513. } else if (_c == QMetaObject::QueryPropertyUser) {
  5514. _id -= 7;
  5515. }
  5516. #endif // QT_NO_PROPERTIES
  5517. return _id;
  5518. }
  5519. struct qt_meta_stringdata_QCPStatisticalBox_t {
  5520. QByteArrayData data[9];
  5521. char stringdata0[120];
  5522. };
  5523. #define QT_MOC_LITERAL(idx, ofs, len) \
  5524. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5525. qptrdiff(offsetof(qt_meta_stringdata_QCPStatisticalBox_t, stringdata0) + ofs \
  5526. - idx * sizeof(QByteArrayData)) \
  5527. )
  5528. static const qt_meta_stringdata_QCPStatisticalBox_t qt_meta_stringdata_QCPStatisticalBox = {
  5529. {
  5530. QT_MOC_LITERAL(0, 0, 17), // "QCPStatisticalBox"
  5531. QT_MOC_LITERAL(1, 18, 5), // "width"
  5532. QT_MOC_LITERAL(2, 24, 12), // "whiskerWidth"
  5533. QT_MOC_LITERAL(3, 37, 10), // "whiskerPen"
  5534. QT_MOC_LITERAL(4, 48, 13), // "whiskerBarPen"
  5535. QT_MOC_LITERAL(5, 62, 18), // "whiskerAntialiased"
  5536. QT_MOC_LITERAL(6, 81, 9), // "medianPen"
  5537. QT_MOC_LITERAL(7, 91, 12), // "outlierStyle"
  5538. QT_MOC_LITERAL(8, 104, 15) // "QCPScatterStyle"
  5539. },
  5540. "QCPStatisticalBox\0width\0whiskerWidth\0"
  5541. "whiskerPen\0whiskerBarPen\0whiskerAntialiased\0"
  5542. "medianPen\0outlierStyle\0QCPScatterStyle"
  5543. };
  5544. #undef QT_MOC_LITERAL
  5545. static const uint qt_meta_data_QCPStatisticalBox[] = {
  5546. // content:
  5547. 8, // revision
  5548. 0, // classname
  5549. 0, 0, // classinfo
  5550. 0, 0, // methods
  5551. 7, 14, // properties
  5552. 0, 0, // enums/sets
  5553. 0, 0, // constructors
  5554. 0, // flags
  5555. 0, // signalCount
  5556. // properties: name, type, flags
  5557. 1, QMetaType::Double, 0x00095103,
  5558. 2, QMetaType::Double, 0x00095103,
  5559. 3, QMetaType::QPen, 0x00095103,
  5560. 4, QMetaType::QPen, 0x00095103,
  5561. 5, QMetaType::Bool, 0x00095103,
  5562. 6, QMetaType::QPen, 0x00095103,
  5563. 7, 0x80000000 | 8, 0x0009510b,
  5564. 0 // eod
  5565. };
  5566. void QCPStatisticalBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5567. {
  5568. #ifndef QT_NO_PROPERTIES
  5569. if (_c == QMetaObject::ReadProperty) {
  5570. auto *_t = static_cast<QCPStatisticalBox *>(_o);
  5571. Q_UNUSED(_t)
  5572. void *_v = _a[0];
  5573. switch (_id) {
  5574. case 0: *reinterpret_cast< double*>(_v) = _t->width(); break;
  5575. case 1: *reinterpret_cast< double*>(_v) = _t->whiskerWidth(); break;
  5576. case 2: *reinterpret_cast< QPen*>(_v) = _t->whiskerPen(); break;
  5577. case 3: *reinterpret_cast< QPen*>(_v) = _t->whiskerBarPen(); break;
  5578. case 4: *reinterpret_cast< bool*>(_v) = _t->whiskerAntialiased(); break;
  5579. case 5: *reinterpret_cast< QPen*>(_v) = _t->medianPen(); break;
  5580. case 6: *reinterpret_cast< QCPScatterStyle*>(_v) = _t->outlierStyle(); break;
  5581. default: break;
  5582. }
  5583. } else if (_c == QMetaObject::WriteProperty) {
  5584. auto *_t = static_cast<QCPStatisticalBox *>(_o);
  5585. Q_UNUSED(_t)
  5586. void *_v = _a[0];
  5587. switch (_id) {
  5588. case 0: _t->setWidth(*reinterpret_cast< double*>(_v)); break;
  5589. case 1: _t->setWhiskerWidth(*reinterpret_cast< double*>(_v)); break;
  5590. case 2: _t->setWhiskerPen(*reinterpret_cast< QPen*>(_v)); break;
  5591. case 3: _t->setWhiskerBarPen(*reinterpret_cast< QPen*>(_v)); break;
  5592. case 4: _t->setWhiskerAntialiased(*reinterpret_cast< bool*>(_v)); break;
  5593. case 5: _t->setMedianPen(*reinterpret_cast< QPen*>(_v)); break;
  5594. case 6: _t->setOutlierStyle(*reinterpret_cast< QCPScatterStyle*>(_v)); break;
  5595. default: break;
  5596. }
  5597. } else if (_c == QMetaObject::ResetProperty) {
  5598. }
  5599. #endif // QT_NO_PROPERTIES
  5600. Q_UNUSED(_o);
  5601. Q_UNUSED(_id);
  5602. Q_UNUSED(_c);
  5603. Q_UNUSED(_a);
  5604. }
  5605. QT_INIT_METAOBJECT const QMetaObject QCPStatisticalBox::staticMetaObject = { {
  5606. QMetaObject::SuperData::link<QCPAbstractPlottable1D<QCPStatisticalBoxData>::staticMetaObject>(),
  5607. qt_meta_stringdata_QCPStatisticalBox.data,
  5608. qt_meta_data_QCPStatisticalBox,
  5609. qt_static_metacall,
  5610. nullptr,
  5611. nullptr
  5612. } };
  5613. const QMetaObject *QCPStatisticalBox::metaObject() const
  5614. {
  5615. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5616. }
  5617. void *QCPStatisticalBox::qt_metacast(const char *_clname)
  5618. {
  5619. if (!_clname) return nullptr;
  5620. if (!strcmp(_clname, qt_meta_stringdata_QCPStatisticalBox.stringdata0))
  5621. return static_cast<void*>(this);
  5622. return QCPAbstractPlottable1D<QCPStatisticalBoxData>::qt_metacast(_clname);
  5623. }
  5624. int QCPStatisticalBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5625. {
  5626. _id = QCPAbstractPlottable1D<QCPStatisticalBoxData>::qt_metacall(_c, _id, _a);
  5627. if (_id < 0)
  5628. return _id;
  5629. #ifndef QT_NO_PROPERTIES
  5630. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  5631. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  5632. qt_static_metacall(this, _c, _id, _a);
  5633. _id -= 7;
  5634. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5635. _id -= 7;
  5636. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5637. _id -= 7;
  5638. } else if (_c == QMetaObject::QueryPropertyStored) {
  5639. _id -= 7;
  5640. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5641. _id -= 7;
  5642. } else if (_c == QMetaObject::QueryPropertyUser) {
  5643. _id -= 7;
  5644. }
  5645. #endif // QT_NO_PROPERTIES
  5646. return _id;
  5647. }
  5648. struct qt_meta_stringdata_QCPColorMap_t {
  5649. QByteArrayData data[25];
  5650. char stringdata0[334];
  5651. };
  5652. #define QT_MOC_LITERAL(idx, ofs, len) \
  5653. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5654. qptrdiff(offsetof(qt_meta_stringdata_QCPColorMap_t, stringdata0) + ofs \
  5655. - idx * sizeof(QByteArrayData)) \
  5656. )
  5657. static const qt_meta_stringdata_QCPColorMap_t qt_meta_stringdata_QCPColorMap = {
  5658. {
  5659. QT_MOC_LITERAL(0, 0, 11), // "QCPColorMap"
  5660. QT_MOC_LITERAL(1, 12, 16), // "dataRangeChanged"
  5661. QT_MOC_LITERAL(2, 29, 0), // ""
  5662. QT_MOC_LITERAL(3, 30, 8), // "QCPRange"
  5663. QT_MOC_LITERAL(4, 39, 8), // "newRange"
  5664. QT_MOC_LITERAL(5, 48, 20), // "dataScaleTypeChanged"
  5665. QT_MOC_LITERAL(6, 69, 18), // "QCPAxis::ScaleType"
  5666. QT_MOC_LITERAL(7, 88, 9), // "scaleType"
  5667. QT_MOC_LITERAL(8, 98, 15), // "gradientChanged"
  5668. QT_MOC_LITERAL(9, 114, 16), // "QCPColorGradient"
  5669. QT_MOC_LITERAL(10, 131, 11), // "newGradient"
  5670. QT_MOC_LITERAL(11, 143, 12), // "setDataRange"
  5671. QT_MOC_LITERAL(12, 156, 9), // "dataRange"
  5672. QT_MOC_LITERAL(13, 166, 16), // "setDataScaleType"
  5673. QT_MOC_LITERAL(14, 183, 11), // "setGradient"
  5674. QT_MOC_LITERAL(15, 195, 8), // "gradient"
  5675. QT_MOC_LITERAL(16, 204, 16), // "updateLegendIcon"
  5676. QT_MOC_LITERAL(17, 221, 22), // "Qt::TransformationMode"
  5677. QT_MOC_LITERAL(18, 244, 13), // "transformMode"
  5678. QT_MOC_LITERAL(19, 258, 9), // "thumbSize"
  5679. QT_MOC_LITERAL(20, 268, 13), // "dataScaleType"
  5680. QT_MOC_LITERAL(21, 282, 11), // "interpolate"
  5681. QT_MOC_LITERAL(22, 294, 13), // "tightBoundary"
  5682. QT_MOC_LITERAL(23, 308, 10), // "colorScale"
  5683. QT_MOC_LITERAL(24, 319, 14) // "QCPColorScale*"
  5684. },
  5685. "QCPColorMap\0dataRangeChanged\0\0QCPRange\0"
  5686. "newRange\0dataScaleTypeChanged\0"
  5687. "QCPAxis::ScaleType\0scaleType\0"
  5688. "gradientChanged\0QCPColorGradient\0"
  5689. "newGradient\0setDataRange\0dataRange\0"
  5690. "setDataScaleType\0setGradient\0gradient\0"
  5691. "updateLegendIcon\0Qt::TransformationMode\0"
  5692. "transformMode\0thumbSize\0dataScaleType\0"
  5693. "interpolate\0tightBoundary\0colorScale\0"
  5694. "QCPColorScale*"
  5695. };
  5696. #undef QT_MOC_LITERAL
  5697. static const uint qt_meta_data_QCPColorMap[] = {
  5698. // content:
  5699. 8, // revision
  5700. 0, // classname
  5701. 0, 0, // classinfo
  5702. 9, 14, // methods
  5703. 6, 86, // properties
  5704. 0, 0, // enums/sets
  5705. 0, 0, // constructors
  5706. 0, // flags
  5707. 3, // signalCount
  5708. // signals: name, argc, parameters, tag, flags
  5709. 1, 1, 59, 2, 0x06 /* Public */,
  5710. 5, 1, 62, 2, 0x06 /* Public */,
  5711. 8, 1, 65, 2, 0x06 /* Public */,
  5712. // slots: name, argc, parameters, tag, flags
  5713. 11, 1, 68, 2, 0x0a /* Public */,
  5714. 13, 1, 71, 2, 0x0a /* Public */,
  5715. 14, 1, 74, 2, 0x0a /* Public */,
  5716. 16, 2, 77, 2, 0x0a /* Public */,
  5717. 16, 1, 82, 2, 0x2a /* Public | MethodCloned */,
  5718. 16, 0, 85, 2, 0x2a /* Public | MethodCloned */,
  5719. // signals: parameters
  5720. QMetaType::Void, 0x80000000 | 3, 4,
  5721. QMetaType::Void, 0x80000000 | 6, 7,
  5722. QMetaType::Void, 0x80000000 | 9, 10,
  5723. // slots: parameters
  5724. QMetaType::Void, 0x80000000 | 3, 12,
  5725. QMetaType::Void, 0x80000000 | 6, 7,
  5726. QMetaType::Void, 0x80000000 | 9, 15,
  5727. QMetaType::Void, 0x80000000 | 17, QMetaType::QSize, 18, 19,
  5728. QMetaType::Void, 0x80000000 | 17, 18,
  5729. QMetaType::Void,
  5730. // properties: name, type, flags
  5731. 12, 0x80000000 | 3, 0x0049510b,
  5732. 20, 0x80000000 | 6, 0x0049510b,
  5733. 15, 0x80000000 | 9, 0x0049510b,
  5734. 21, QMetaType::Bool, 0x00095103,
  5735. 22, QMetaType::Bool, 0x00095103,
  5736. 23, 0x80000000 | 24, 0x0009510b,
  5737. // properties: notify_signal_id
  5738. 0,
  5739. 1,
  5740. 2,
  5741. 0,
  5742. 0,
  5743. 0,
  5744. 0 // eod
  5745. };
  5746. void QCPColorMap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5747. {
  5748. if (_c == QMetaObject::InvokeMetaMethod) {
  5749. auto *_t = static_cast<QCPColorMap *>(_o);
  5750. Q_UNUSED(_t)
  5751. switch (_id) {
  5752. case 0: _t->dataRangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  5753. case 1: _t->dataScaleTypeChanged((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  5754. case 2: _t->gradientChanged((*reinterpret_cast< const QCPColorGradient(*)>(_a[1]))); break;
  5755. case 3: _t->setDataRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  5756. case 4: _t->setDataScaleType((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  5757. case 5: _t->setGradient((*reinterpret_cast< const QCPColorGradient(*)>(_a[1]))); break;
  5758. case 6: _t->updateLegendIcon((*reinterpret_cast< Qt::TransformationMode(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2]))); break;
  5759. case 7: _t->updateLegendIcon((*reinterpret_cast< Qt::TransformationMode(*)>(_a[1]))); break;
  5760. case 8: _t->updateLegendIcon(); break;
  5761. default: ;
  5762. }
  5763. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  5764. switch (_id) {
  5765. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5766. case 1:
  5767. switch (*reinterpret_cast<int*>(_a[1])) {
  5768. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5769. case 0:
  5770. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  5771. }
  5772. break;
  5773. case 4:
  5774. switch (*reinterpret_cast<int*>(_a[1])) {
  5775. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5776. case 0:
  5777. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  5778. }
  5779. break;
  5780. }
  5781. } else if (_c == QMetaObject::IndexOfMethod) {
  5782. int *result = reinterpret_cast<int *>(_a[0]);
  5783. {
  5784. using _t = void (QCPColorMap::*)(const QCPRange & );
  5785. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPColorMap::dataRangeChanged)) {
  5786. *result = 0;
  5787. return;
  5788. }
  5789. }
  5790. {
  5791. using _t = void (QCPColorMap::*)(QCPAxis::ScaleType );
  5792. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPColorMap::dataScaleTypeChanged)) {
  5793. *result = 1;
  5794. return;
  5795. }
  5796. }
  5797. {
  5798. using _t = void (QCPColorMap::*)(const QCPColorGradient & );
  5799. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPColorMap::gradientChanged)) {
  5800. *result = 2;
  5801. return;
  5802. }
  5803. }
  5804. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5805. switch (_id) {
  5806. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5807. case 1:
  5808. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::ScaleType >(); break;
  5809. case 5:
  5810. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPColorScale* >(); break;
  5811. }
  5812. }
  5813. #ifndef QT_NO_PROPERTIES
  5814. else if (_c == QMetaObject::ReadProperty) {
  5815. auto *_t = static_cast<QCPColorMap *>(_o);
  5816. Q_UNUSED(_t)
  5817. void *_v = _a[0];
  5818. switch (_id) {
  5819. case 0: *reinterpret_cast< QCPRange*>(_v) = _t->dataRange(); break;
  5820. case 1: *reinterpret_cast< QCPAxis::ScaleType*>(_v) = _t->dataScaleType(); break;
  5821. case 2: *reinterpret_cast< QCPColorGradient*>(_v) = _t->gradient(); break;
  5822. case 3: *reinterpret_cast< bool*>(_v) = _t->interpolate(); break;
  5823. case 4: *reinterpret_cast< bool*>(_v) = _t->tightBoundary(); break;
  5824. case 5: *reinterpret_cast< QCPColorScale**>(_v) = _t->colorScale(); break;
  5825. default: break;
  5826. }
  5827. } else if (_c == QMetaObject::WriteProperty) {
  5828. auto *_t = static_cast<QCPColorMap *>(_o);
  5829. Q_UNUSED(_t)
  5830. void *_v = _a[0];
  5831. switch (_id) {
  5832. case 0: _t->setDataRange(*reinterpret_cast< QCPRange*>(_v)); break;
  5833. case 1: _t->setDataScaleType(*reinterpret_cast< QCPAxis::ScaleType*>(_v)); break;
  5834. case 2: _t->setGradient(*reinterpret_cast< QCPColorGradient*>(_v)); break;
  5835. case 3: _t->setInterpolate(*reinterpret_cast< bool*>(_v)); break;
  5836. case 4: _t->setTightBoundary(*reinterpret_cast< bool*>(_v)); break;
  5837. case 5: _t->setColorScale(*reinterpret_cast< QCPColorScale**>(_v)); break;
  5838. default: break;
  5839. }
  5840. } else if (_c == QMetaObject::ResetProperty) {
  5841. }
  5842. #endif // QT_NO_PROPERTIES
  5843. }
  5844. static const QMetaObject::SuperData qt_meta_extradata_QCPColorMap[] = {
  5845. QMetaObject::SuperData::link<QCPAxis::staticMetaObject>(),
  5846. nullptr
  5847. };
  5848. QT_INIT_METAOBJECT const QMetaObject QCPColorMap::staticMetaObject = { {
  5849. QMetaObject::SuperData::link<QCPAbstractPlottable::staticMetaObject>(),
  5850. qt_meta_stringdata_QCPColorMap.data,
  5851. qt_meta_data_QCPColorMap,
  5852. qt_static_metacall,
  5853. qt_meta_extradata_QCPColorMap,
  5854. nullptr
  5855. } };
  5856. const QMetaObject *QCPColorMap::metaObject() const
  5857. {
  5858. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5859. }
  5860. void *QCPColorMap::qt_metacast(const char *_clname)
  5861. {
  5862. if (!_clname) return nullptr;
  5863. if (!strcmp(_clname, qt_meta_stringdata_QCPColorMap.stringdata0))
  5864. return static_cast<void*>(this);
  5865. return QCPAbstractPlottable::qt_metacast(_clname);
  5866. }
  5867. int QCPColorMap::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5868. {
  5869. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  5870. if (_id < 0)
  5871. return _id;
  5872. if (_c == QMetaObject::InvokeMetaMethod) {
  5873. if (_id < 9)
  5874. qt_static_metacall(this, _c, _id, _a);
  5875. _id -= 9;
  5876. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  5877. if (_id < 9)
  5878. qt_static_metacall(this, _c, _id, _a);
  5879. _id -= 9;
  5880. }
  5881. #ifndef QT_NO_PROPERTIES
  5882. else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  5883. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  5884. qt_static_metacall(this, _c, _id, _a);
  5885. _id -= 6;
  5886. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5887. _id -= 6;
  5888. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5889. _id -= 6;
  5890. } else if (_c == QMetaObject::QueryPropertyStored) {
  5891. _id -= 6;
  5892. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5893. _id -= 6;
  5894. } else if (_c == QMetaObject::QueryPropertyUser) {
  5895. _id -= 6;
  5896. }
  5897. #endif // QT_NO_PROPERTIES
  5898. return _id;
  5899. }
  5900. // SIGNAL 0
  5901. void QCPColorMap::dataRangeChanged(const QCPRange & _t1)
  5902. {
  5903. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  5904. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  5905. }
  5906. // SIGNAL 1
  5907. void QCPColorMap::dataScaleTypeChanged(QCPAxis::ScaleType _t1)
  5908. {
  5909. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  5910. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  5911. }
  5912. // SIGNAL 2
  5913. void QCPColorMap::gradientChanged(const QCPColorGradient & _t1)
  5914. {
  5915. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  5916. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  5917. }
  5918. struct qt_meta_stringdata_QCPFinancial_t {
  5919. QByteArrayData data[16];
  5920. char stringdata0[185];
  5921. };
  5922. #define QT_MOC_LITERAL(idx, ofs, len) \
  5923. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5924. qptrdiff(offsetof(qt_meta_stringdata_QCPFinancial_t, stringdata0) + ofs \
  5925. - idx * sizeof(QByteArrayData)) \
  5926. )
  5927. static const qt_meta_stringdata_QCPFinancial_t qt_meta_stringdata_QCPFinancial = {
  5928. {
  5929. QT_MOC_LITERAL(0, 0, 12), // "QCPFinancial"
  5930. QT_MOC_LITERAL(1, 13, 10), // "chartStyle"
  5931. QT_MOC_LITERAL(2, 24, 10), // "ChartStyle"
  5932. QT_MOC_LITERAL(3, 35, 5), // "width"
  5933. QT_MOC_LITERAL(4, 41, 9), // "widthType"
  5934. QT_MOC_LITERAL(5, 51, 9), // "WidthType"
  5935. QT_MOC_LITERAL(6, 61, 10), // "twoColored"
  5936. QT_MOC_LITERAL(7, 72, 13), // "brushPositive"
  5937. QT_MOC_LITERAL(8, 86, 13), // "brushNegative"
  5938. QT_MOC_LITERAL(9, 100, 11), // "penPositive"
  5939. QT_MOC_LITERAL(10, 112, 11), // "penNegative"
  5940. QT_MOC_LITERAL(11, 124, 10), // "wtAbsolute"
  5941. QT_MOC_LITERAL(12, 135, 15), // "wtAxisRectRatio"
  5942. QT_MOC_LITERAL(13, 151, 12), // "wtPlotCoords"
  5943. QT_MOC_LITERAL(14, 164, 6), // "csOhlc"
  5944. QT_MOC_LITERAL(15, 171, 13) // "csCandlestick"
  5945. },
  5946. "QCPFinancial\0chartStyle\0ChartStyle\0"
  5947. "width\0widthType\0WidthType\0twoColored\0"
  5948. "brushPositive\0brushNegative\0penPositive\0"
  5949. "penNegative\0wtAbsolute\0wtAxisRectRatio\0"
  5950. "wtPlotCoords\0csOhlc\0csCandlestick"
  5951. };
  5952. #undef QT_MOC_LITERAL
  5953. static const uint qt_meta_data_QCPFinancial[] = {
  5954. // content:
  5955. 8, // revision
  5956. 0, // classname
  5957. 0, 0, // classinfo
  5958. 0, 0, // methods
  5959. 8, 14, // properties
  5960. 2, 38, // enums/sets
  5961. 0, 0, // constructors
  5962. 0, // flags
  5963. 0, // signalCount
  5964. // properties: name, type, flags
  5965. 1, 0x80000000 | 2, 0x0009510b,
  5966. 3, QMetaType::Double, 0x00095103,
  5967. 4, 0x80000000 | 5, 0x0009510b,
  5968. 6, QMetaType::Bool, 0x00095103,
  5969. 7, QMetaType::QBrush, 0x00095103,
  5970. 8, QMetaType::QBrush, 0x00095103,
  5971. 9, QMetaType::QPen, 0x00095103,
  5972. 10, QMetaType::QPen, 0x00095103,
  5973. // enums: name, alias, flags, count, data
  5974. 5, 5, 0x0, 3, 48,
  5975. 2, 2, 0x0, 2, 54,
  5976. // enum data: key, value
  5977. 11, uint(QCPFinancial::wtAbsolute),
  5978. 12, uint(QCPFinancial::wtAxisRectRatio),
  5979. 13, uint(QCPFinancial::wtPlotCoords),
  5980. 14, uint(QCPFinancial::csOhlc),
  5981. 15, uint(QCPFinancial::csCandlestick),
  5982. 0 // eod
  5983. };
  5984. void QCPFinancial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5985. {
  5986. #ifndef QT_NO_PROPERTIES
  5987. if (_c == QMetaObject::ReadProperty) {
  5988. auto *_t = static_cast<QCPFinancial *>(_o);
  5989. Q_UNUSED(_t)
  5990. void *_v = _a[0];
  5991. switch (_id) {
  5992. case 0: *reinterpret_cast< ChartStyle*>(_v) = _t->chartStyle(); break;
  5993. case 1: *reinterpret_cast< double*>(_v) = _t->width(); break;
  5994. case 2: *reinterpret_cast< WidthType*>(_v) = _t->widthType(); break;
  5995. case 3: *reinterpret_cast< bool*>(_v) = _t->twoColored(); break;
  5996. case 4: *reinterpret_cast< QBrush*>(_v) = _t->brushPositive(); break;
  5997. case 5: *reinterpret_cast< QBrush*>(_v) = _t->brushNegative(); break;
  5998. case 6: *reinterpret_cast< QPen*>(_v) = _t->penPositive(); break;
  5999. case 7: *reinterpret_cast< QPen*>(_v) = _t->penNegative(); break;
  6000. default: break;
  6001. }
  6002. } else if (_c == QMetaObject::WriteProperty) {
  6003. auto *_t = static_cast<QCPFinancial *>(_o);
  6004. Q_UNUSED(_t)
  6005. void *_v = _a[0];
  6006. switch (_id) {
  6007. case 0: _t->setChartStyle(*reinterpret_cast< ChartStyle*>(_v)); break;
  6008. case 1: _t->setWidth(*reinterpret_cast< double*>(_v)); break;
  6009. case 2: _t->setWidthType(*reinterpret_cast< WidthType*>(_v)); break;
  6010. case 3: _t->setTwoColored(*reinterpret_cast< bool*>(_v)); break;
  6011. case 4: _t->setBrushPositive(*reinterpret_cast< QBrush*>(_v)); break;
  6012. case 5: _t->setBrushNegative(*reinterpret_cast< QBrush*>(_v)); break;
  6013. case 6: _t->setPenPositive(*reinterpret_cast< QPen*>(_v)); break;
  6014. case 7: _t->setPenNegative(*reinterpret_cast< QPen*>(_v)); break;
  6015. default: break;
  6016. }
  6017. } else if (_c == QMetaObject::ResetProperty) {
  6018. }
  6019. #endif // QT_NO_PROPERTIES
  6020. Q_UNUSED(_o);
  6021. Q_UNUSED(_id);
  6022. Q_UNUSED(_c);
  6023. Q_UNUSED(_a);
  6024. }
  6025. QT_INIT_METAOBJECT const QMetaObject QCPFinancial::staticMetaObject = { {
  6026. QMetaObject::SuperData::link<QCPAbstractPlottable1D<QCPFinancialData>::staticMetaObject>(),
  6027. qt_meta_stringdata_QCPFinancial.data,
  6028. qt_meta_data_QCPFinancial,
  6029. qt_static_metacall,
  6030. nullptr,
  6031. nullptr
  6032. } };
  6033. const QMetaObject *QCPFinancial::metaObject() const
  6034. {
  6035. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6036. }
  6037. void *QCPFinancial::qt_metacast(const char *_clname)
  6038. {
  6039. if (!_clname) return nullptr;
  6040. if (!strcmp(_clname, qt_meta_stringdata_QCPFinancial.stringdata0))
  6041. return static_cast<void*>(this);
  6042. return QCPAbstractPlottable1D<QCPFinancialData>::qt_metacast(_clname);
  6043. }
  6044. int QCPFinancial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6045. {
  6046. _id = QCPAbstractPlottable1D<QCPFinancialData>::qt_metacall(_c, _id, _a);
  6047. if (_id < 0)
  6048. return _id;
  6049. #ifndef QT_NO_PROPERTIES
  6050. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6051. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6052. qt_static_metacall(this, _c, _id, _a);
  6053. _id -= 8;
  6054. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6055. _id -= 8;
  6056. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6057. _id -= 8;
  6058. } else if (_c == QMetaObject::QueryPropertyStored) {
  6059. _id -= 8;
  6060. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6061. _id -= 8;
  6062. } else if (_c == QMetaObject::QueryPropertyUser) {
  6063. _id -= 8;
  6064. }
  6065. #endif // QT_NO_PROPERTIES
  6066. return _id;
  6067. }
  6068. struct qt_meta_stringdata_QCPErrorBars_t {
  6069. QByteArrayData data[11];
  6070. char stringdata0[163];
  6071. };
  6072. #define QT_MOC_LITERAL(idx, ofs, len) \
  6073. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6074. qptrdiff(offsetof(qt_meta_stringdata_QCPErrorBars_t, stringdata0) + ofs \
  6075. - idx * sizeof(QByteArrayData)) \
  6076. )
  6077. static const qt_meta_stringdata_QCPErrorBars_t qt_meta_stringdata_QCPErrorBars = {
  6078. {
  6079. QT_MOC_LITERAL(0, 0, 12), // "QCPErrorBars"
  6080. QT_MOC_LITERAL(1, 13, 4), // "data"
  6081. QT_MOC_LITERAL(2, 18, 41), // "QSharedPointer<QCPErrorBarsDa..."
  6082. QT_MOC_LITERAL(3, 60, 13), // "dataPlottable"
  6083. QT_MOC_LITERAL(4, 74, 21), // "QCPAbstractPlottable*"
  6084. QT_MOC_LITERAL(5, 96, 9), // "errorType"
  6085. QT_MOC_LITERAL(6, 106, 9), // "ErrorType"
  6086. QT_MOC_LITERAL(7, 116, 12), // "whiskerWidth"
  6087. QT_MOC_LITERAL(8, 129, 9), // "symbolGap"
  6088. QT_MOC_LITERAL(9, 139, 10), // "etKeyError"
  6089. QT_MOC_LITERAL(10, 150, 12) // "etValueError"
  6090. },
  6091. "QCPErrorBars\0data\0"
  6092. "QSharedPointer<QCPErrorBarsDataContainer>\0"
  6093. "dataPlottable\0QCPAbstractPlottable*\0"
  6094. "errorType\0ErrorType\0whiskerWidth\0"
  6095. "symbolGap\0etKeyError\0etValueError"
  6096. };
  6097. #undef QT_MOC_LITERAL
  6098. static const uint qt_meta_data_QCPErrorBars[] = {
  6099. // content:
  6100. 8, // revision
  6101. 0, // classname
  6102. 0, 0, // classinfo
  6103. 0, 0, // methods
  6104. 5, 14, // properties
  6105. 1, 29, // enums/sets
  6106. 0, 0, // constructors
  6107. 0, // flags
  6108. 0, // signalCount
  6109. // properties: name, type, flags
  6110. 1, 0x80000000 | 2, 0x0009510b,
  6111. 3, 0x80000000 | 4, 0x0009510b,
  6112. 5, 0x80000000 | 6, 0x0009510b,
  6113. 7, QMetaType::Double, 0x00095103,
  6114. 8, QMetaType::Double, 0x00095103,
  6115. // enums: name, alias, flags, count, data
  6116. 6, 6, 0x0, 2, 34,
  6117. // enum data: key, value
  6118. 9, uint(QCPErrorBars::etKeyError),
  6119. 10, uint(QCPErrorBars::etValueError),
  6120. 0 // eod
  6121. };
  6122. void QCPErrorBars::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6123. {
  6124. if (_c == QMetaObject::RegisterPropertyMetaType) {
  6125. switch (_id) {
  6126. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  6127. case 1:
  6128. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractPlottable* >(); break;
  6129. }
  6130. }
  6131. #ifndef QT_NO_PROPERTIES
  6132. else if (_c == QMetaObject::ReadProperty) {
  6133. auto *_t = static_cast<QCPErrorBars *>(_o);
  6134. Q_UNUSED(_t)
  6135. void *_v = _a[0];
  6136. switch (_id) {
  6137. case 0: *reinterpret_cast< QSharedPointer<QCPErrorBarsDataContainer>*>(_v) = _t->data(); break;
  6138. case 1: *reinterpret_cast< QCPAbstractPlottable**>(_v) = _t->dataPlottable(); break;
  6139. case 2: *reinterpret_cast< ErrorType*>(_v) = _t->errorType(); break;
  6140. case 3: *reinterpret_cast< double*>(_v) = _t->whiskerWidth(); break;
  6141. case 4: *reinterpret_cast< double*>(_v) = _t->symbolGap(); break;
  6142. default: break;
  6143. }
  6144. } else if (_c == QMetaObject::WriteProperty) {
  6145. auto *_t = static_cast<QCPErrorBars *>(_o);
  6146. Q_UNUSED(_t)
  6147. void *_v = _a[0];
  6148. switch (_id) {
  6149. case 0: _t->setData(*reinterpret_cast< QSharedPointer<QCPErrorBarsDataContainer>*>(_v)); break;
  6150. case 1: _t->setDataPlottable(*reinterpret_cast< QCPAbstractPlottable**>(_v)); break;
  6151. case 2: _t->setErrorType(*reinterpret_cast< ErrorType*>(_v)); break;
  6152. case 3: _t->setWhiskerWidth(*reinterpret_cast< double*>(_v)); break;
  6153. case 4: _t->setSymbolGap(*reinterpret_cast< double*>(_v)); break;
  6154. default: break;
  6155. }
  6156. } else if (_c == QMetaObject::ResetProperty) {
  6157. }
  6158. #endif // QT_NO_PROPERTIES
  6159. Q_UNUSED(_o);
  6160. }
  6161. QT_INIT_METAOBJECT const QMetaObject QCPErrorBars::staticMetaObject = { {
  6162. QMetaObject::SuperData::link<QCPAbstractPlottable::staticMetaObject>(),
  6163. qt_meta_stringdata_QCPErrorBars.data,
  6164. qt_meta_data_QCPErrorBars,
  6165. qt_static_metacall,
  6166. nullptr,
  6167. nullptr
  6168. } };
  6169. const QMetaObject *QCPErrorBars::metaObject() const
  6170. {
  6171. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6172. }
  6173. void *QCPErrorBars::qt_metacast(const char *_clname)
  6174. {
  6175. if (!_clname) return nullptr;
  6176. if (!strcmp(_clname, qt_meta_stringdata_QCPErrorBars.stringdata0))
  6177. return static_cast<void*>(this);
  6178. if (!strcmp(_clname, "QCPPlottableInterface1D"))
  6179. return static_cast< QCPPlottableInterface1D*>(this);
  6180. return QCPAbstractPlottable::qt_metacast(_clname);
  6181. }
  6182. int QCPErrorBars::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6183. {
  6184. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  6185. if (_id < 0)
  6186. return _id;
  6187. #ifndef QT_NO_PROPERTIES
  6188. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6189. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6190. qt_static_metacall(this, _c, _id, _a);
  6191. _id -= 5;
  6192. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6193. _id -= 5;
  6194. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6195. _id -= 5;
  6196. } else if (_c == QMetaObject::QueryPropertyStored) {
  6197. _id -= 5;
  6198. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6199. _id -= 5;
  6200. } else if (_c == QMetaObject::QueryPropertyUser) {
  6201. _id -= 5;
  6202. }
  6203. #endif // QT_NO_PROPERTIES
  6204. return _id;
  6205. }
  6206. struct qt_meta_stringdata_QCPItemStraightLine_t {
  6207. QByteArrayData data[3];
  6208. char stringdata0[36];
  6209. };
  6210. #define QT_MOC_LITERAL(idx, ofs, len) \
  6211. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6212. qptrdiff(offsetof(qt_meta_stringdata_QCPItemStraightLine_t, stringdata0) + ofs \
  6213. - idx * sizeof(QByteArrayData)) \
  6214. )
  6215. static const qt_meta_stringdata_QCPItemStraightLine_t qt_meta_stringdata_QCPItemStraightLine = {
  6216. {
  6217. QT_MOC_LITERAL(0, 0, 19), // "QCPItemStraightLine"
  6218. QT_MOC_LITERAL(1, 20, 3), // "pen"
  6219. QT_MOC_LITERAL(2, 24, 11) // "selectedPen"
  6220. },
  6221. "QCPItemStraightLine\0pen\0selectedPen"
  6222. };
  6223. #undef QT_MOC_LITERAL
  6224. static const uint qt_meta_data_QCPItemStraightLine[] = {
  6225. // content:
  6226. 8, // revision
  6227. 0, // classname
  6228. 0, 0, // classinfo
  6229. 0, 0, // methods
  6230. 2, 14, // properties
  6231. 0, 0, // enums/sets
  6232. 0, 0, // constructors
  6233. 0, // flags
  6234. 0, // signalCount
  6235. // properties: name, type, flags
  6236. 1, QMetaType::QPen, 0x00095103,
  6237. 2, QMetaType::QPen, 0x00095103,
  6238. 0 // eod
  6239. };
  6240. void QCPItemStraightLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6241. {
  6242. #ifndef QT_NO_PROPERTIES
  6243. if (_c == QMetaObject::ReadProperty) {
  6244. auto *_t = static_cast<QCPItemStraightLine *>(_o);
  6245. Q_UNUSED(_t)
  6246. void *_v = _a[0];
  6247. switch (_id) {
  6248. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6249. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6250. default: break;
  6251. }
  6252. } else if (_c == QMetaObject::WriteProperty) {
  6253. auto *_t = static_cast<QCPItemStraightLine *>(_o);
  6254. Q_UNUSED(_t)
  6255. void *_v = _a[0];
  6256. switch (_id) {
  6257. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  6258. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  6259. default: break;
  6260. }
  6261. } else if (_c == QMetaObject::ResetProperty) {
  6262. }
  6263. #endif // QT_NO_PROPERTIES
  6264. Q_UNUSED(_o);
  6265. Q_UNUSED(_id);
  6266. Q_UNUSED(_c);
  6267. Q_UNUSED(_a);
  6268. }
  6269. QT_INIT_METAOBJECT const QMetaObject QCPItemStraightLine::staticMetaObject = { {
  6270. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  6271. qt_meta_stringdata_QCPItemStraightLine.data,
  6272. qt_meta_data_QCPItemStraightLine,
  6273. qt_static_metacall,
  6274. nullptr,
  6275. nullptr
  6276. } };
  6277. const QMetaObject *QCPItemStraightLine::metaObject() const
  6278. {
  6279. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6280. }
  6281. void *QCPItemStraightLine::qt_metacast(const char *_clname)
  6282. {
  6283. if (!_clname) return nullptr;
  6284. if (!strcmp(_clname, qt_meta_stringdata_QCPItemStraightLine.stringdata0))
  6285. return static_cast<void*>(this);
  6286. return QCPAbstractItem::qt_metacast(_clname);
  6287. }
  6288. int QCPItemStraightLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6289. {
  6290. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  6291. if (_id < 0)
  6292. return _id;
  6293. #ifndef QT_NO_PROPERTIES
  6294. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6295. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6296. qt_static_metacall(this, _c, _id, _a);
  6297. _id -= 2;
  6298. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6299. _id -= 2;
  6300. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6301. _id -= 2;
  6302. } else if (_c == QMetaObject::QueryPropertyStored) {
  6303. _id -= 2;
  6304. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6305. _id -= 2;
  6306. } else if (_c == QMetaObject::QueryPropertyUser) {
  6307. _id -= 2;
  6308. }
  6309. #endif // QT_NO_PROPERTIES
  6310. return _id;
  6311. }
  6312. struct qt_meta_stringdata_QCPItemLine_t {
  6313. QByteArrayData data[6];
  6314. char stringdata0[52];
  6315. };
  6316. #define QT_MOC_LITERAL(idx, ofs, len) \
  6317. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6318. qptrdiff(offsetof(qt_meta_stringdata_QCPItemLine_t, stringdata0) + ofs \
  6319. - idx * sizeof(QByteArrayData)) \
  6320. )
  6321. static const qt_meta_stringdata_QCPItemLine_t qt_meta_stringdata_QCPItemLine = {
  6322. {
  6323. QT_MOC_LITERAL(0, 0, 11), // "QCPItemLine"
  6324. QT_MOC_LITERAL(1, 12, 3), // "pen"
  6325. QT_MOC_LITERAL(2, 16, 11), // "selectedPen"
  6326. QT_MOC_LITERAL(3, 28, 4), // "head"
  6327. QT_MOC_LITERAL(4, 33, 13), // "QCPLineEnding"
  6328. QT_MOC_LITERAL(5, 47, 4) // "tail"
  6329. },
  6330. "QCPItemLine\0pen\0selectedPen\0head\0"
  6331. "QCPLineEnding\0tail"
  6332. };
  6333. #undef QT_MOC_LITERAL
  6334. static const uint qt_meta_data_QCPItemLine[] = {
  6335. // content:
  6336. 8, // revision
  6337. 0, // classname
  6338. 0, 0, // classinfo
  6339. 0, 0, // methods
  6340. 4, 14, // properties
  6341. 0, 0, // enums/sets
  6342. 0, 0, // constructors
  6343. 0, // flags
  6344. 0, // signalCount
  6345. // properties: name, type, flags
  6346. 1, QMetaType::QPen, 0x00095103,
  6347. 2, QMetaType::QPen, 0x00095103,
  6348. 3, 0x80000000 | 4, 0x0009510b,
  6349. 5, 0x80000000 | 4, 0x0009510b,
  6350. 0 // eod
  6351. };
  6352. void QCPItemLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6353. {
  6354. #ifndef QT_NO_PROPERTIES
  6355. if (_c == QMetaObject::ReadProperty) {
  6356. auto *_t = static_cast<QCPItemLine *>(_o);
  6357. Q_UNUSED(_t)
  6358. void *_v = _a[0];
  6359. switch (_id) {
  6360. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6361. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6362. case 2: *reinterpret_cast< QCPLineEnding*>(_v) = _t->head(); break;
  6363. case 3: *reinterpret_cast< QCPLineEnding*>(_v) = _t->tail(); break;
  6364. default: break;
  6365. }
  6366. } else if (_c == QMetaObject::WriteProperty) {
  6367. auto *_t = static_cast<QCPItemLine *>(_o);
  6368. Q_UNUSED(_t)
  6369. void *_v = _a[0];
  6370. switch (_id) {
  6371. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  6372. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  6373. case 2: _t->setHead(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  6374. case 3: _t->setTail(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  6375. default: break;
  6376. }
  6377. } else if (_c == QMetaObject::ResetProperty) {
  6378. }
  6379. #endif // QT_NO_PROPERTIES
  6380. Q_UNUSED(_o);
  6381. Q_UNUSED(_id);
  6382. Q_UNUSED(_c);
  6383. Q_UNUSED(_a);
  6384. }
  6385. QT_INIT_METAOBJECT const QMetaObject QCPItemLine::staticMetaObject = { {
  6386. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  6387. qt_meta_stringdata_QCPItemLine.data,
  6388. qt_meta_data_QCPItemLine,
  6389. qt_static_metacall,
  6390. nullptr,
  6391. nullptr
  6392. } };
  6393. const QMetaObject *QCPItemLine::metaObject() const
  6394. {
  6395. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6396. }
  6397. void *QCPItemLine::qt_metacast(const char *_clname)
  6398. {
  6399. if (!_clname) return nullptr;
  6400. if (!strcmp(_clname, qt_meta_stringdata_QCPItemLine.stringdata0))
  6401. return static_cast<void*>(this);
  6402. return QCPAbstractItem::qt_metacast(_clname);
  6403. }
  6404. int QCPItemLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6405. {
  6406. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  6407. if (_id < 0)
  6408. return _id;
  6409. #ifndef QT_NO_PROPERTIES
  6410. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6411. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6412. qt_static_metacall(this, _c, _id, _a);
  6413. _id -= 4;
  6414. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6415. _id -= 4;
  6416. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6417. _id -= 4;
  6418. } else if (_c == QMetaObject::QueryPropertyStored) {
  6419. _id -= 4;
  6420. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6421. _id -= 4;
  6422. } else if (_c == QMetaObject::QueryPropertyUser) {
  6423. _id -= 4;
  6424. }
  6425. #endif // QT_NO_PROPERTIES
  6426. return _id;
  6427. }
  6428. struct qt_meta_stringdata_QCPItemCurve_t {
  6429. QByteArrayData data[6];
  6430. char stringdata0[53];
  6431. };
  6432. #define QT_MOC_LITERAL(idx, ofs, len) \
  6433. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6434. qptrdiff(offsetof(qt_meta_stringdata_QCPItemCurve_t, stringdata0) + ofs \
  6435. - idx * sizeof(QByteArrayData)) \
  6436. )
  6437. static const qt_meta_stringdata_QCPItemCurve_t qt_meta_stringdata_QCPItemCurve = {
  6438. {
  6439. QT_MOC_LITERAL(0, 0, 12), // "QCPItemCurve"
  6440. QT_MOC_LITERAL(1, 13, 3), // "pen"
  6441. QT_MOC_LITERAL(2, 17, 11), // "selectedPen"
  6442. QT_MOC_LITERAL(3, 29, 4), // "head"
  6443. QT_MOC_LITERAL(4, 34, 13), // "QCPLineEnding"
  6444. QT_MOC_LITERAL(5, 48, 4) // "tail"
  6445. },
  6446. "QCPItemCurve\0pen\0selectedPen\0head\0"
  6447. "QCPLineEnding\0tail"
  6448. };
  6449. #undef QT_MOC_LITERAL
  6450. static const uint qt_meta_data_QCPItemCurve[] = {
  6451. // content:
  6452. 8, // revision
  6453. 0, // classname
  6454. 0, 0, // classinfo
  6455. 0, 0, // methods
  6456. 4, 14, // properties
  6457. 0, 0, // enums/sets
  6458. 0, 0, // constructors
  6459. 0, // flags
  6460. 0, // signalCount
  6461. // properties: name, type, flags
  6462. 1, QMetaType::QPen, 0x00095103,
  6463. 2, QMetaType::QPen, 0x00095103,
  6464. 3, 0x80000000 | 4, 0x0009510b,
  6465. 5, 0x80000000 | 4, 0x0009510b,
  6466. 0 // eod
  6467. };
  6468. void QCPItemCurve::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6469. {
  6470. #ifndef QT_NO_PROPERTIES
  6471. if (_c == QMetaObject::ReadProperty) {
  6472. auto *_t = static_cast<QCPItemCurve *>(_o);
  6473. Q_UNUSED(_t)
  6474. void *_v = _a[0];
  6475. switch (_id) {
  6476. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6477. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6478. case 2: *reinterpret_cast< QCPLineEnding*>(_v) = _t->head(); break;
  6479. case 3: *reinterpret_cast< QCPLineEnding*>(_v) = _t->tail(); break;
  6480. default: break;
  6481. }
  6482. } else if (_c == QMetaObject::WriteProperty) {
  6483. auto *_t = static_cast<QCPItemCurve *>(_o);
  6484. Q_UNUSED(_t)
  6485. void *_v = _a[0];
  6486. switch (_id) {
  6487. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  6488. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  6489. case 2: _t->setHead(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  6490. case 3: _t->setTail(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  6491. default: break;
  6492. }
  6493. } else if (_c == QMetaObject::ResetProperty) {
  6494. }
  6495. #endif // QT_NO_PROPERTIES
  6496. Q_UNUSED(_o);
  6497. Q_UNUSED(_id);
  6498. Q_UNUSED(_c);
  6499. Q_UNUSED(_a);
  6500. }
  6501. QT_INIT_METAOBJECT const QMetaObject QCPItemCurve::staticMetaObject = { {
  6502. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  6503. qt_meta_stringdata_QCPItemCurve.data,
  6504. qt_meta_data_QCPItemCurve,
  6505. qt_static_metacall,
  6506. nullptr,
  6507. nullptr
  6508. } };
  6509. const QMetaObject *QCPItemCurve::metaObject() const
  6510. {
  6511. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6512. }
  6513. void *QCPItemCurve::qt_metacast(const char *_clname)
  6514. {
  6515. if (!_clname) return nullptr;
  6516. if (!strcmp(_clname, qt_meta_stringdata_QCPItemCurve.stringdata0))
  6517. return static_cast<void*>(this);
  6518. return QCPAbstractItem::qt_metacast(_clname);
  6519. }
  6520. int QCPItemCurve::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6521. {
  6522. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  6523. if (_id < 0)
  6524. return _id;
  6525. #ifndef QT_NO_PROPERTIES
  6526. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6527. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6528. qt_static_metacall(this, _c, _id, _a);
  6529. _id -= 4;
  6530. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6531. _id -= 4;
  6532. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6533. _id -= 4;
  6534. } else if (_c == QMetaObject::QueryPropertyStored) {
  6535. _id -= 4;
  6536. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6537. _id -= 4;
  6538. } else if (_c == QMetaObject::QueryPropertyUser) {
  6539. _id -= 4;
  6540. }
  6541. #endif // QT_NO_PROPERTIES
  6542. return _id;
  6543. }
  6544. struct qt_meta_stringdata_QCPItemRect_t {
  6545. QByteArrayData data[5];
  6546. char stringdata0[48];
  6547. };
  6548. #define QT_MOC_LITERAL(idx, ofs, len) \
  6549. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6550. qptrdiff(offsetof(qt_meta_stringdata_QCPItemRect_t, stringdata0) + ofs \
  6551. - idx * sizeof(QByteArrayData)) \
  6552. )
  6553. static const qt_meta_stringdata_QCPItemRect_t qt_meta_stringdata_QCPItemRect = {
  6554. {
  6555. QT_MOC_LITERAL(0, 0, 11), // "QCPItemRect"
  6556. QT_MOC_LITERAL(1, 12, 3), // "pen"
  6557. QT_MOC_LITERAL(2, 16, 11), // "selectedPen"
  6558. QT_MOC_LITERAL(3, 28, 5), // "brush"
  6559. QT_MOC_LITERAL(4, 34, 13) // "selectedBrush"
  6560. },
  6561. "QCPItemRect\0pen\0selectedPen\0brush\0"
  6562. "selectedBrush"
  6563. };
  6564. #undef QT_MOC_LITERAL
  6565. static const uint qt_meta_data_QCPItemRect[] = {
  6566. // content:
  6567. 8, // revision
  6568. 0, // classname
  6569. 0, 0, // classinfo
  6570. 0, 0, // methods
  6571. 4, 14, // properties
  6572. 0, 0, // enums/sets
  6573. 0, 0, // constructors
  6574. 0, // flags
  6575. 0, // signalCount
  6576. // properties: name, type, flags
  6577. 1, QMetaType::QPen, 0x00095103,
  6578. 2, QMetaType::QPen, 0x00095103,
  6579. 3, QMetaType::QBrush, 0x00095103,
  6580. 4, QMetaType::QBrush, 0x00095103,
  6581. 0 // eod
  6582. };
  6583. void QCPItemRect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6584. {
  6585. #ifndef QT_NO_PROPERTIES
  6586. if (_c == QMetaObject::ReadProperty) {
  6587. auto *_t = static_cast<QCPItemRect *>(_o);
  6588. Q_UNUSED(_t)
  6589. void *_v = _a[0];
  6590. switch (_id) {
  6591. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6592. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6593. case 2: *reinterpret_cast< QBrush*>(_v) = _t->brush(); break;
  6594. case 3: *reinterpret_cast< QBrush*>(_v) = _t->selectedBrush(); break;
  6595. default: break;
  6596. }
  6597. } else if (_c == QMetaObject::WriteProperty) {
  6598. auto *_t = static_cast<QCPItemRect *>(_o);
  6599. Q_UNUSED(_t)
  6600. void *_v = _a[0];
  6601. switch (_id) {
  6602. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  6603. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  6604. case 2: _t->setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  6605. case 3: _t->setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  6606. default: break;
  6607. }
  6608. } else if (_c == QMetaObject::ResetProperty) {
  6609. }
  6610. #endif // QT_NO_PROPERTIES
  6611. Q_UNUSED(_o);
  6612. Q_UNUSED(_id);
  6613. Q_UNUSED(_c);
  6614. Q_UNUSED(_a);
  6615. }
  6616. QT_INIT_METAOBJECT const QMetaObject QCPItemRect::staticMetaObject = { {
  6617. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  6618. qt_meta_stringdata_QCPItemRect.data,
  6619. qt_meta_data_QCPItemRect,
  6620. qt_static_metacall,
  6621. nullptr,
  6622. nullptr
  6623. } };
  6624. const QMetaObject *QCPItemRect::metaObject() const
  6625. {
  6626. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6627. }
  6628. void *QCPItemRect::qt_metacast(const char *_clname)
  6629. {
  6630. if (!_clname) return nullptr;
  6631. if (!strcmp(_clname, qt_meta_stringdata_QCPItemRect.stringdata0))
  6632. return static_cast<void*>(this);
  6633. return QCPAbstractItem::qt_metacast(_clname);
  6634. }
  6635. int QCPItemRect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6636. {
  6637. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  6638. if (_id < 0)
  6639. return _id;
  6640. #ifndef QT_NO_PROPERTIES
  6641. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6642. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6643. qt_static_metacall(this, _c, _id, _a);
  6644. _id -= 4;
  6645. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6646. _id -= 4;
  6647. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6648. _id -= 4;
  6649. } else if (_c == QMetaObject::QueryPropertyStored) {
  6650. _id -= 4;
  6651. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6652. _id -= 4;
  6653. } else if (_c == QMetaObject::QueryPropertyUser) {
  6654. _id -= 4;
  6655. }
  6656. #endif // QT_NO_PROPERTIES
  6657. return _id;
  6658. }
  6659. struct qt_meta_stringdata_QCPItemText_t {
  6660. QByteArrayData data[16];
  6661. char stringdata0[163];
  6662. };
  6663. #define QT_MOC_LITERAL(idx, ofs, len) \
  6664. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6665. qptrdiff(offsetof(qt_meta_stringdata_QCPItemText_t, stringdata0) + ofs \
  6666. - idx * sizeof(QByteArrayData)) \
  6667. )
  6668. static const qt_meta_stringdata_QCPItemText_t qt_meta_stringdata_QCPItemText = {
  6669. {
  6670. QT_MOC_LITERAL(0, 0, 11), // "QCPItemText"
  6671. QT_MOC_LITERAL(1, 12, 5), // "color"
  6672. QT_MOC_LITERAL(2, 18, 13), // "selectedColor"
  6673. QT_MOC_LITERAL(3, 32, 3), // "pen"
  6674. QT_MOC_LITERAL(4, 36, 11), // "selectedPen"
  6675. QT_MOC_LITERAL(5, 48, 5), // "brush"
  6676. QT_MOC_LITERAL(6, 54, 13), // "selectedBrush"
  6677. QT_MOC_LITERAL(7, 68, 4), // "font"
  6678. QT_MOC_LITERAL(8, 73, 12), // "selectedFont"
  6679. QT_MOC_LITERAL(9, 86, 4), // "text"
  6680. QT_MOC_LITERAL(10, 91, 17), // "positionAlignment"
  6681. QT_MOC_LITERAL(11, 109, 13), // "Qt::Alignment"
  6682. QT_MOC_LITERAL(12, 123, 13), // "textAlignment"
  6683. QT_MOC_LITERAL(13, 137, 8), // "rotation"
  6684. QT_MOC_LITERAL(14, 146, 7), // "padding"
  6685. QT_MOC_LITERAL(15, 154, 8) // "QMargins"
  6686. },
  6687. "QCPItemText\0color\0selectedColor\0pen\0"
  6688. "selectedPen\0brush\0selectedBrush\0font\0"
  6689. "selectedFont\0text\0positionAlignment\0"
  6690. "Qt::Alignment\0textAlignment\0rotation\0"
  6691. "padding\0QMargins"
  6692. };
  6693. #undef QT_MOC_LITERAL
  6694. static const uint qt_meta_data_QCPItemText[] = {
  6695. // content:
  6696. 8, // revision
  6697. 0, // classname
  6698. 0, 0, // classinfo
  6699. 0, 0, // methods
  6700. 13, 14, // properties
  6701. 0, 0, // enums/sets
  6702. 0, 0, // constructors
  6703. 0, // flags
  6704. 0, // signalCount
  6705. // properties: name, type, flags
  6706. 1, QMetaType::QColor, 0x00095103,
  6707. 2, QMetaType::QColor, 0x00095103,
  6708. 3, QMetaType::QPen, 0x00095103,
  6709. 4, QMetaType::QPen, 0x00095103,
  6710. 5, QMetaType::QBrush, 0x00095103,
  6711. 6, QMetaType::QBrush, 0x00095103,
  6712. 7, QMetaType::QFont, 0x00095103,
  6713. 8, QMetaType::QFont, 0x00095103,
  6714. 9, QMetaType::QString, 0x00095103,
  6715. 10, 0x80000000 | 11, 0x0009510b,
  6716. 12, 0x80000000 | 11, 0x0009510b,
  6717. 13, QMetaType::Double, 0x00095103,
  6718. 14, 0x80000000 | 15, 0x0009510b,
  6719. 0 // eod
  6720. };
  6721. void QCPItemText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6722. {
  6723. #ifndef QT_NO_PROPERTIES
  6724. if (_c == QMetaObject::ReadProperty) {
  6725. auto *_t = static_cast<QCPItemText *>(_o);
  6726. Q_UNUSED(_t)
  6727. void *_v = _a[0];
  6728. switch (_id) {
  6729. case 0: *reinterpret_cast< QColor*>(_v) = _t->color(); break;
  6730. case 1: *reinterpret_cast< QColor*>(_v) = _t->selectedColor(); break;
  6731. case 2: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6732. case 3: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6733. case 4: *reinterpret_cast< QBrush*>(_v) = _t->brush(); break;
  6734. case 5: *reinterpret_cast< QBrush*>(_v) = _t->selectedBrush(); break;
  6735. case 6: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
  6736. case 7: *reinterpret_cast< QFont*>(_v) = _t->selectedFont(); break;
  6737. case 8: *reinterpret_cast< QString*>(_v) = _t->text(); break;
  6738. case 9: *reinterpret_cast< Qt::Alignment*>(_v) = _t->positionAlignment(); break;
  6739. case 10: *reinterpret_cast< Qt::Alignment*>(_v) = _t->textAlignment(); break;
  6740. case 11: *reinterpret_cast< double*>(_v) = _t->rotation(); break;
  6741. case 12: *reinterpret_cast< QMargins*>(_v) = _t->padding(); break;
  6742. default: break;
  6743. }
  6744. } else if (_c == QMetaObject::WriteProperty) {
  6745. auto *_t = static_cast<QCPItemText *>(_o);
  6746. Q_UNUSED(_t)
  6747. void *_v = _a[0];
  6748. switch (_id) {
  6749. case 0: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;
  6750. case 1: _t->setSelectedColor(*reinterpret_cast< QColor*>(_v)); break;
  6751. case 2: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  6752. case 3: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  6753. case 4: _t->setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  6754. case 5: _t->setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  6755. case 6: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
  6756. case 7: _t->setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  6757. case 8: _t->setText(*reinterpret_cast< QString*>(_v)); break;
  6758. case 9: _t->setPositionAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
  6759. case 10: _t->setTextAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
  6760. case 11: _t->setRotation(*reinterpret_cast< double*>(_v)); break;
  6761. case 12: _t->setPadding(*reinterpret_cast< QMargins*>(_v)); break;
  6762. default: break;
  6763. }
  6764. } else if (_c == QMetaObject::ResetProperty) {
  6765. }
  6766. #endif // QT_NO_PROPERTIES
  6767. Q_UNUSED(_o);
  6768. Q_UNUSED(_id);
  6769. Q_UNUSED(_c);
  6770. Q_UNUSED(_a);
  6771. }
  6772. QT_INIT_METAOBJECT const QMetaObject QCPItemText::staticMetaObject = { {
  6773. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  6774. qt_meta_stringdata_QCPItemText.data,
  6775. qt_meta_data_QCPItemText,
  6776. qt_static_metacall,
  6777. nullptr,
  6778. nullptr
  6779. } };
  6780. const QMetaObject *QCPItemText::metaObject() const
  6781. {
  6782. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6783. }
  6784. void *QCPItemText::qt_metacast(const char *_clname)
  6785. {
  6786. if (!_clname) return nullptr;
  6787. if (!strcmp(_clname, qt_meta_stringdata_QCPItemText.stringdata0))
  6788. return static_cast<void*>(this);
  6789. return QCPAbstractItem::qt_metacast(_clname);
  6790. }
  6791. int QCPItemText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6792. {
  6793. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  6794. if (_id < 0)
  6795. return _id;
  6796. #ifndef QT_NO_PROPERTIES
  6797. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6798. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6799. qt_static_metacall(this, _c, _id, _a);
  6800. _id -= 13;
  6801. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6802. _id -= 13;
  6803. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6804. _id -= 13;
  6805. } else if (_c == QMetaObject::QueryPropertyStored) {
  6806. _id -= 13;
  6807. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6808. _id -= 13;
  6809. } else if (_c == QMetaObject::QueryPropertyUser) {
  6810. _id -= 13;
  6811. }
  6812. #endif // QT_NO_PROPERTIES
  6813. return _id;
  6814. }
  6815. struct qt_meta_stringdata_QCPItemEllipse_t {
  6816. QByteArrayData data[5];
  6817. char stringdata0[51];
  6818. };
  6819. #define QT_MOC_LITERAL(idx, ofs, len) \
  6820. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6821. qptrdiff(offsetof(qt_meta_stringdata_QCPItemEllipse_t, stringdata0) + ofs \
  6822. - idx * sizeof(QByteArrayData)) \
  6823. )
  6824. static const qt_meta_stringdata_QCPItemEllipse_t qt_meta_stringdata_QCPItemEllipse = {
  6825. {
  6826. QT_MOC_LITERAL(0, 0, 14), // "QCPItemEllipse"
  6827. QT_MOC_LITERAL(1, 15, 3), // "pen"
  6828. QT_MOC_LITERAL(2, 19, 11), // "selectedPen"
  6829. QT_MOC_LITERAL(3, 31, 5), // "brush"
  6830. QT_MOC_LITERAL(4, 37, 13) // "selectedBrush"
  6831. },
  6832. "QCPItemEllipse\0pen\0selectedPen\0brush\0"
  6833. "selectedBrush"
  6834. };
  6835. #undef QT_MOC_LITERAL
  6836. static const uint qt_meta_data_QCPItemEllipse[] = {
  6837. // content:
  6838. 8, // revision
  6839. 0, // classname
  6840. 0, 0, // classinfo
  6841. 0, 0, // methods
  6842. 4, 14, // properties
  6843. 0, 0, // enums/sets
  6844. 0, 0, // constructors
  6845. 0, // flags
  6846. 0, // signalCount
  6847. // properties: name, type, flags
  6848. 1, QMetaType::QPen, 0x00095103,
  6849. 2, QMetaType::QPen, 0x00095103,
  6850. 3, QMetaType::QBrush, 0x00095103,
  6851. 4, QMetaType::QBrush, 0x00095103,
  6852. 0 // eod
  6853. };
  6854. void QCPItemEllipse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6855. {
  6856. #ifndef QT_NO_PROPERTIES
  6857. if (_c == QMetaObject::ReadProperty) {
  6858. auto *_t = static_cast<QCPItemEllipse *>(_o);
  6859. Q_UNUSED(_t)
  6860. void *_v = _a[0];
  6861. switch (_id) {
  6862. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6863. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6864. case 2: *reinterpret_cast< QBrush*>(_v) = _t->brush(); break;
  6865. case 3: *reinterpret_cast< QBrush*>(_v) = _t->selectedBrush(); break;
  6866. default: break;
  6867. }
  6868. } else if (_c == QMetaObject::WriteProperty) {
  6869. auto *_t = static_cast<QCPItemEllipse *>(_o);
  6870. Q_UNUSED(_t)
  6871. void *_v = _a[0];
  6872. switch (_id) {
  6873. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  6874. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  6875. case 2: _t->setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  6876. case 3: _t->setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  6877. default: break;
  6878. }
  6879. } else if (_c == QMetaObject::ResetProperty) {
  6880. }
  6881. #endif // QT_NO_PROPERTIES
  6882. Q_UNUSED(_o);
  6883. Q_UNUSED(_id);
  6884. Q_UNUSED(_c);
  6885. Q_UNUSED(_a);
  6886. }
  6887. QT_INIT_METAOBJECT const QMetaObject QCPItemEllipse::staticMetaObject = { {
  6888. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  6889. qt_meta_stringdata_QCPItemEllipse.data,
  6890. qt_meta_data_QCPItemEllipse,
  6891. qt_static_metacall,
  6892. nullptr,
  6893. nullptr
  6894. } };
  6895. const QMetaObject *QCPItemEllipse::metaObject() const
  6896. {
  6897. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  6898. }
  6899. void *QCPItemEllipse::qt_metacast(const char *_clname)
  6900. {
  6901. if (!_clname) return nullptr;
  6902. if (!strcmp(_clname, qt_meta_stringdata_QCPItemEllipse.stringdata0))
  6903. return static_cast<void*>(this);
  6904. return QCPAbstractItem::qt_metacast(_clname);
  6905. }
  6906. int QCPItemEllipse::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  6907. {
  6908. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  6909. if (_id < 0)
  6910. return _id;
  6911. #ifndef QT_NO_PROPERTIES
  6912. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  6913. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  6914. qt_static_metacall(this, _c, _id, _a);
  6915. _id -= 4;
  6916. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  6917. _id -= 4;
  6918. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  6919. _id -= 4;
  6920. } else if (_c == QMetaObject::QueryPropertyStored) {
  6921. _id -= 4;
  6922. } else if (_c == QMetaObject::QueryPropertyEditable) {
  6923. _id -= 4;
  6924. } else if (_c == QMetaObject::QueryPropertyUser) {
  6925. _id -= 4;
  6926. }
  6927. #endif // QT_NO_PROPERTIES
  6928. return _id;
  6929. }
  6930. struct qt_meta_stringdata_QCPItemPixmap_t {
  6931. QByteArrayData data[9];
  6932. char stringdata0[122];
  6933. };
  6934. #define QT_MOC_LITERAL(idx, ofs, len) \
  6935. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  6936. qptrdiff(offsetof(qt_meta_stringdata_QCPItemPixmap_t, stringdata0) + ofs \
  6937. - idx * sizeof(QByteArrayData)) \
  6938. )
  6939. static const qt_meta_stringdata_QCPItemPixmap_t qt_meta_stringdata_QCPItemPixmap = {
  6940. {
  6941. QT_MOC_LITERAL(0, 0, 13), // "QCPItemPixmap"
  6942. QT_MOC_LITERAL(1, 14, 6), // "pixmap"
  6943. QT_MOC_LITERAL(2, 21, 6), // "scaled"
  6944. QT_MOC_LITERAL(3, 28, 15), // "aspectRatioMode"
  6945. QT_MOC_LITERAL(4, 44, 19), // "Qt::AspectRatioMode"
  6946. QT_MOC_LITERAL(5, 64, 18), // "transformationMode"
  6947. QT_MOC_LITERAL(6, 83, 22), // "Qt::TransformationMode"
  6948. QT_MOC_LITERAL(7, 106, 3), // "pen"
  6949. QT_MOC_LITERAL(8, 110, 11) // "selectedPen"
  6950. },
  6951. "QCPItemPixmap\0pixmap\0scaled\0aspectRatioMode\0"
  6952. "Qt::AspectRatioMode\0transformationMode\0"
  6953. "Qt::TransformationMode\0pen\0selectedPen"
  6954. };
  6955. #undef QT_MOC_LITERAL
  6956. static const uint qt_meta_data_QCPItemPixmap[] = {
  6957. // content:
  6958. 8, // revision
  6959. 0, // classname
  6960. 0, 0, // classinfo
  6961. 0, 0, // methods
  6962. 6, 14, // properties
  6963. 0, 0, // enums/sets
  6964. 0, 0, // constructors
  6965. 0, // flags
  6966. 0, // signalCount
  6967. // properties: name, type, flags
  6968. 1, QMetaType::QPixmap, 0x00095103,
  6969. 2, QMetaType::Bool, 0x00095103,
  6970. 3, 0x80000000 | 4, 0x00095009,
  6971. 5, 0x80000000 | 6, 0x00095009,
  6972. 7, QMetaType::QPen, 0x00095103,
  6973. 8, QMetaType::QPen, 0x00095103,
  6974. 0 // eod
  6975. };
  6976. void QCPItemPixmap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  6977. {
  6978. #ifndef QT_NO_PROPERTIES
  6979. if (_c == QMetaObject::ReadProperty) {
  6980. auto *_t = static_cast<QCPItemPixmap *>(_o);
  6981. Q_UNUSED(_t)
  6982. void *_v = _a[0];
  6983. switch (_id) {
  6984. case 0: *reinterpret_cast< QPixmap*>(_v) = _t->pixmap(); break;
  6985. case 1: *reinterpret_cast< bool*>(_v) = _t->scaled(); break;
  6986. case 2: *reinterpret_cast< Qt::AspectRatioMode*>(_v) = _t->aspectRatioMode(); break;
  6987. case 3: *reinterpret_cast< Qt::TransformationMode*>(_v) = _t->transformationMode(); break;
  6988. case 4: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  6989. case 5: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  6990. default: break;
  6991. }
  6992. } else if (_c == QMetaObject::WriteProperty) {
  6993. auto *_t = static_cast<QCPItemPixmap *>(_o);
  6994. Q_UNUSED(_t)
  6995. void *_v = _a[0];
  6996. switch (_id) {
  6997. case 0: _t->setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
  6998. case 1: _t->setScaled(*reinterpret_cast< bool*>(_v)); break;
  6999. case 4: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  7000. case 5: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  7001. default: break;
  7002. }
  7003. } else if (_c == QMetaObject::ResetProperty) {
  7004. }
  7005. #endif // QT_NO_PROPERTIES
  7006. Q_UNUSED(_o);
  7007. Q_UNUSED(_id);
  7008. Q_UNUSED(_c);
  7009. Q_UNUSED(_a);
  7010. }
  7011. QT_INIT_METAOBJECT const QMetaObject QCPItemPixmap::staticMetaObject = { {
  7012. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  7013. qt_meta_stringdata_QCPItemPixmap.data,
  7014. qt_meta_data_QCPItemPixmap,
  7015. qt_static_metacall,
  7016. nullptr,
  7017. nullptr
  7018. } };
  7019. const QMetaObject *QCPItemPixmap::metaObject() const
  7020. {
  7021. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7022. }
  7023. void *QCPItemPixmap::qt_metacast(const char *_clname)
  7024. {
  7025. if (!_clname) return nullptr;
  7026. if (!strcmp(_clname, qt_meta_stringdata_QCPItemPixmap.stringdata0))
  7027. return static_cast<void*>(this);
  7028. return QCPAbstractItem::qt_metacast(_clname);
  7029. }
  7030. int QCPItemPixmap::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7031. {
  7032. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  7033. if (_id < 0)
  7034. return _id;
  7035. #ifndef QT_NO_PROPERTIES
  7036. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  7037. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  7038. qt_static_metacall(this, _c, _id, _a);
  7039. _id -= 6;
  7040. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  7041. _id -= 6;
  7042. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  7043. _id -= 6;
  7044. } else if (_c == QMetaObject::QueryPropertyStored) {
  7045. _id -= 6;
  7046. } else if (_c == QMetaObject::QueryPropertyEditable) {
  7047. _id -= 6;
  7048. } else if (_c == QMetaObject::QueryPropertyUser) {
  7049. _id -= 6;
  7050. }
  7051. #endif // QT_NO_PROPERTIES
  7052. return _id;
  7053. }
  7054. struct qt_meta_stringdata_QCPItemTracer_t {
  7055. QByteArrayData data[17];
  7056. char stringdata0[156];
  7057. };
  7058. #define QT_MOC_LITERAL(idx, ofs, len) \
  7059. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7060. qptrdiff(offsetof(qt_meta_stringdata_QCPItemTracer_t, stringdata0) + ofs \
  7061. - idx * sizeof(QByteArrayData)) \
  7062. )
  7063. static const qt_meta_stringdata_QCPItemTracer_t qt_meta_stringdata_QCPItemTracer = {
  7064. {
  7065. QT_MOC_LITERAL(0, 0, 13), // "QCPItemTracer"
  7066. QT_MOC_LITERAL(1, 14, 3), // "pen"
  7067. QT_MOC_LITERAL(2, 18, 11), // "selectedPen"
  7068. QT_MOC_LITERAL(3, 30, 5), // "brush"
  7069. QT_MOC_LITERAL(4, 36, 13), // "selectedBrush"
  7070. QT_MOC_LITERAL(5, 50, 4), // "size"
  7071. QT_MOC_LITERAL(6, 55, 5), // "style"
  7072. QT_MOC_LITERAL(7, 61, 11), // "TracerStyle"
  7073. QT_MOC_LITERAL(8, 73, 5), // "graph"
  7074. QT_MOC_LITERAL(9, 79, 9), // "QCPGraph*"
  7075. QT_MOC_LITERAL(10, 89, 8), // "graphKey"
  7076. QT_MOC_LITERAL(11, 98, 13), // "interpolating"
  7077. QT_MOC_LITERAL(12, 112, 6), // "tsNone"
  7078. QT_MOC_LITERAL(13, 119, 6), // "tsPlus"
  7079. QT_MOC_LITERAL(14, 126, 11), // "tsCrosshair"
  7080. QT_MOC_LITERAL(15, 138, 8), // "tsCircle"
  7081. QT_MOC_LITERAL(16, 147, 8) // "tsSquare"
  7082. },
  7083. "QCPItemTracer\0pen\0selectedPen\0brush\0"
  7084. "selectedBrush\0size\0style\0TracerStyle\0"
  7085. "graph\0QCPGraph*\0graphKey\0interpolating\0"
  7086. "tsNone\0tsPlus\0tsCrosshair\0tsCircle\0"
  7087. "tsSquare"
  7088. };
  7089. #undef QT_MOC_LITERAL
  7090. static const uint qt_meta_data_QCPItemTracer[] = {
  7091. // content:
  7092. 8, // revision
  7093. 0, // classname
  7094. 0, 0, // classinfo
  7095. 0, 0, // methods
  7096. 9, 14, // properties
  7097. 1, 41, // enums/sets
  7098. 0, 0, // constructors
  7099. 0, // flags
  7100. 0, // signalCount
  7101. // properties: name, type, flags
  7102. 1, QMetaType::QPen, 0x00095103,
  7103. 2, QMetaType::QPen, 0x00095103,
  7104. 3, QMetaType::QBrush, 0x00095103,
  7105. 4, QMetaType::QBrush, 0x00095103,
  7106. 5, QMetaType::Double, 0x00095103,
  7107. 6, 0x80000000 | 7, 0x0009510b,
  7108. 8, 0x80000000 | 9, 0x0009510b,
  7109. 10, QMetaType::Double, 0x00095103,
  7110. 11, QMetaType::Bool, 0x00095103,
  7111. // enums: name, alias, flags, count, data
  7112. 7, 7, 0x0, 5, 46,
  7113. // enum data: key, value
  7114. 12, uint(QCPItemTracer::tsNone),
  7115. 13, uint(QCPItemTracer::tsPlus),
  7116. 14, uint(QCPItemTracer::tsCrosshair),
  7117. 15, uint(QCPItemTracer::tsCircle),
  7118. 16, uint(QCPItemTracer::tsSquare),
  7119. 0 // eod
  7120. };
  7121. void QCPItemTracer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  7122. {
  7123. if (_c == QMetaObject::RegisterPropertyMetaType) {
  7124. switch (_id) {
  7125. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  7126. case 6:
  7127. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPGraph* >(); break;
  7128. }
  7129. }
  7130. #ifndef QT_NO_PROPERTIES
  7131. else if (_c == QMetaObject::ReadProperty) {
  7132. auto *_t = static_cast<QCPItemTracer *>(_o);
  7133. Q_UNUSED(_t)
  7134. void *_v = _a[0];
  7135. switch (_id) {
  7136. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  7137. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  7138. case 2: *reinterpret_cast< QBrush*>(_v) = _t->brush(); break;
  7139. case 3: *reinterpret_cast< QBrush*>(_v) = _t->selectedBrush(); break;
  7140. case 4: *reinterpret_cast< double*>(_v) = _t->size(); break;
  7141. case 5: *reinterpret_cast< TracerStyle*>(_v) = _t->style(); break;
  7142. case 6: *reinterpret_cast< QCPGraph**>(_v) = _t->graph(); break;
  7143. case 7: *reinterpret_cast< double*>(_v) = _t->graphKey(); break;
  7144. case 8: *reinterpret_cast< bool*>(_v) = _t->interpolating(); break;
  7145. default: break;
  7146. }
  7147. } else if (_c == QMetaObject::WriteProperty) {
  7148. auto *_t = static_cast<QCPItemTracer *>(_o);
  7149. Q_UNUSED(_t)
  7150. void *_v = _a[0];
  7151. switch (_id) {
  7152. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  7153. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  7154. case 2: _t->setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  7155. case 3: _t->setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  7156. case 4: _t->setSize(*reinterpret_cast< double*>(_v)); break;
  7157. case 5: _t->setStyle(*reinterpret_cast< TracerStyle*>(_v)); break;
  7158. case 6: _t->setGraph(*reinterpret_cast< QCPGraph**>(_v)); break;
  7159. case 7: _t->setGraphKey(*reinterpret_cast< double*>(_v)); break;
  7160. case 8: _t->setInterpolating(*reinterpret_cast< bool*>(_v)); break;
  7161. default: break;
  7162. }
  7163. } else if (_c == QMetaObject::ResetProperty) {
  7164. }
  7165. #endif // QT_NO_PROPERTIES
  7166. Q_UNUSED(_o);
  7167. }
  7168. QT_INIT_METAOBJECT const QMetaObject QCPItemTracer::staticMetaObject = { {
  7169. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  7170. qt_meta_stringdata_QCPItemTracer.data,
  7171. qt_meta_data_QCPItemTracer,
  7172. qt_static_metacall,
  7173. nullptr,
  7174. nullptr
  7175. } };
  7176. const QMetaObject *QCPItemTracer::metaObject() const
  7177. {
  7178. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7179. }
  7180. void *QCPItemTracer::qt_metacast(const char *_clname)
  7181. {
  7182. if (!_clname) return nullptr;
  7183. if (!strcmp(_clname, qt_meta_stringdata_QCPItemTracer.stringdata0))
  7184. return static_cast<void*>(this);
  7185. return QCPAbstractItem::qt_metacast(_clname);
  7186. }
  7187. int QCPItemTracer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7188. {
  7189. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  7190. if (_id < 0)
  7191. return _id;
  7192. #ifndef QT_NO_PROPERTIES
  7193. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  7194. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  7195. qt_static_metacall(this, _c, _id, _a);
  7196. _id -= 9;
  7197. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  7198. _id -= 9;
  7199. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  7200. _id -= 9;
  7201. } else if (_c == QMetaObject::QueryPropertyStored) {
  7202. _id -= 9;
  7203. } else if (_c == QMetaObject::QueryPropertyEditable) {
  7204. _id -= 9;
  7205. } else if (_c == QMetaObject::QueryPropertyUser) {
  7206. _id -= 9;
  7207. }
  7208. #endif // QT_NO_PROPERTIES
  7209. return _id;
  7210. }
  7211. struct qt_meta_stringdata_QCPItemBracket_t {
  7212. QByteArrayData data[10];
  7213. char stringdata0[97];
  7214. };
  7215. #define QT_MOC_LITERAL(idx, ofs, len) \
  7216. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7217. qptrdiff(offsetof(qt_meta_stringdata_QCPItemBracket_t, stringdata0) + ofs \
  7218. - idx * sizeof(QByteArrayData)) \
  7219. )
  7220. static const qt_meta_stringdata_QCPItemBracket_t qt_meta_stringdata_QCPItemBracket = {
  7221. {
  7222. QT_MOC_LITERAL(0, 0, 14), // "QCPItemBracket"
  7223. QT_MOC_LITERAL(1, 15, 3), // "pen"
  7224. QT_MOC_LITERAL(2, 19, 11), // "selectedPen"
  7225. QT_MOC_LITERAL(3, 31, 6), // "length"
  7226. QT_MOC_LITERAL(4, 38, 5), // "style"
  7227. QT_MOC_LITERAL(5, 44, 12), // "BracketStyle"
  7228. QT_MOC_LITERAL(6, 57, 8), // "bsSquare"
  7229. QT_MOC_LITERAL(7, 66, 7), // "bsRound"
  7230. QT_MOC_LITERAL(8, 74, 7), // "bsCurly"
  7231. QT_MOC_LITERAL(9, 82, 14) // "bsCalligraphic"
  7232. },
  7233. "QCPItemBracket\0pen\0selectedPen\0length\0"
  7234. "style\0BracketStyle\0bsSquare\0bsRound\0"
  7235. "bsCurly\0bsCalligraphic"
  7236. };
  7237. #undef QT_MOC_LITERAL
  7238. static const uint qt_meta_data_QCPItemBracket[] = {
  7239. // content:
  7240. 8, // revision
  7241. 0, // classname
  7242. 0, 0, // classinfo
  7243. 0, 0, // methods
  7244. 4, 14, // properties
  7245. 1, 26, // enums/sets
  7246. 0, 0, // constructors
  7247. 0, // flags
  7248. 0, // signalCount
  7249. // properties: name, type, flags
  7250. 1, QMetaType::QPen, 0x00095103,
  7251. 2, QMetaType::QPen, 0x00095103,
  7252. 3, QMetaType::Double, 0x00095103,
  7253. 4, 0x80000000 | 5, 0x0009510b,
  7254. // enums: name, alias, flags, count, data
  7255. 5, 5, 0x0, 4, 31,
  7256. // enum data: key, value
  7257. 6, uint(QCPItemBracket::bsSquare),
  7258. 7, uint(QCPItemBracket::bsRound),
  7259. 8, uint(QCPItemBracket::bsCurly),
  7260. 9, uint(QCPItemBracket::bsCalligraphic),
  7261. 0 // eod
  7262. };
  7263. void QCPItemBracket::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  7264. {
  7265. #ifndef QT_NO_PROPERTIES
  7266. if (_c == QMetaObject::ReadProperty) {
  7267. auto *_t = static_cast<QCPItemBracket *>(_o);
  7268. Q_UNUSED(_t)
  7269. void *_v = _a[0];
  7270. switch (_id) {
  7271. case 0: *reinterpret_cast< QPen*>(_v) = _t->pen(); break;
  7272. case 1: *reinterpret_cast< QPen*>(_v) = _t->selectedPen(); break;
  7273. case 2: *reinterpret_cast< double*>(_v) = _t->length(); break;
  7274. case 3: *reinterpret_cast< BracketStyle*>(_v) = _t->style(); break;
  7275. default: break;
  7276. }
  7277. } else if (_c == QMetaObject::WriteProperty) {
  7278. auto *_t = static_cast<QCPItemBracket *>(_o);
  7279. Q_UNUSED(_t)
  7280. void *_v = _a[0];
  7281. switch (_id) {
  7282. case 0: _t->setPen(*reinterpret_cast< QPen*>(_v)); break;
  7283. case 1: _t->setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  7284. case 2: _t->setLength(*reinterpret_cast< double*>(_v)); break;
  7285. case 3: _t->setStyle(*reinterpret_cast< BracketStyle*>(_v)); break;
  7286. default: break;
  7287. }
  7288. } else if (_c == QMetaObject::ResetProperty) {
  7289. }
  7290. #endif // QT_NO_PROPERTIES
  7291. Q_UNUSED(_o);
  7292. Q_UNUSED(_id);
  7293. Q_UNUSED(_c);
  7294. Q_UNUSED(_a);
  7295. }
  7296. QT_INIT_METAOBJECT const QMetaObject QCPItemBracket::staticMetaObject = { {
  7297. QMetaObject::SuperData::link<QCPAbstractItem::staticMetaObject>(),
  7298. qt_meta_stringdata_QCPItemBracket.data,
  7299. qt_meta_data_QCPItemBracket,
  7300. qt_static_metacall,
  7301. nullptr,
  7302. nullptr
  7303. } };
  7304. const QMetaObject *QCPItemBracket::metaObject() const
  7305. {
  7306. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7307. }
  7308. void *QCPItemBracket::qt_metacast(const char *_clname)
  7309. {
  7310. if (!_clname) return nullptr;
  7311. if (!strcmp(_clname, qt_meta_stringdata_QCPItemBracket.stringdata0))
  7312. return static_cast<void*>(this);
  7313. return QCPAbstractItem::qt_metacast(_clname);
  7314. }
  7315. int QCPItemBracket::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7316. {
  7317. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  7318. if (_id < 0)
  7319. return _id;
  7320. #ifndef QT_NO_PROPERTIES
  7321. if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
  7322. || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
  7323. qt_static_metacall(this, _c, _id, _a);
  7324. _id -= 4;
  7325. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  7326. _id -= 4;
  7327. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  7328. _id -= 4;
  7329. } else if (_c == QMetaObject::QueryPropertyStored) {
  7330. _id -= 4;
  7331. } else if (_c == QMetaObject::QueryPropertyEditable) {
  7332. _id -= 4;
  7333. } else if (_c == QMetaObject::QueryPropertyUser) {
  7334. _id -= 4;
  7335. }
  7336. #endif // QT_NO_PROPERTIES
  7337. return _id;
  7338. }
  7339. struct qt_meta_stringdata_QCPPolarAxisRadial_t {
  7340. QByteArrayData data[36];
  7341. char stringdata0[466];
  7342. };
  7343. #define QT_MOC_LITERAL(idx, ofs, len) \
  7344. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7345. qptrdiff(offsetof(qt_meta_stringdata_QCPPolarAxisRadial_t, stringdata0) + ofs \
  7346. - idx * sizeof(QByteArrayData)) \
  7347. )
  7348. static const qt_meta_stringdata_QCPPolarAxisRadial_t qt_meta_stringdata_QCPPolarAxisRadial = {
  7349. {
  7350. QT_MOC_LITERAL(0, 0, 18), // "QCPPolarAxisRadial"
  7351. QT_MOC_LITERAL(1, 19, 12), // "rangeChanged"
  7352. QT_MOC_LITERAL(2, 32, 0), // ""
  7353. QT_MOC_LITERAL(3, 33, 8), // "QCPRange"
  7354. QT_MOC_LITERAL(4, 42, 8), // "newRange"
  7355. QT_MOC_LITERAL(5, 51, 8), // "oldRange"
  7356. QT_MOC_LITERAL(6, 60, 16), // "scaleTypeChanged"
  7357. QT_MOC_LITERAL(7, 77, 29), // "QCPPolarAxisRadial::ScaleType"
  7358. QT_MOC_LITERAL(8, 107, 9), // "scaleType"
  7359. QT_MOC_LITERAL(9, 117, 16), // "selectionChanged"
  7360. QT_MOC_LITERAL(10, 134, 35), // "QCPPolarAxisRadial::Selectabl..."
  7361. QT_MOC_LITERAL(11, 170, 5), // "parts"
  7362. QT_MOC_LITERAL(12, 176, 17), // "selectableChanged"
  7363. QT_MOC_LITERAL(13, 194, 12), // "setScaleType"
  7364. QT_MOC_LITERAL(14, 207, 4), // "type"
  7365. QT_MOC_LITERAL(15, 212, 8), // "setRange"
  7366. QT_MOC_LITERAL(16, 221, 5), // "range"
  7367. QT_MOC_LITERAL(17, 227, 18), // "setSelectableParts"
  7368. QT_MOC_LITERAL(18, 246, 15), // "selectableParts"
  7369. QT_MOC_LITERAL(19, 262, 16), // "setSelectedParts"
  7370. QT_MOC_LITERAL(20, 279, 13), // "selectedParts"
  7371. QT_MOC_LITERAL(21, 293, 14), // "AngleReference"
  7372. QT_MOC_LITERAL(22, 308, 10), // "arAbsolute"
  7373. QT_MOC_LITERAL(23, 319, 13), // "arAngularAxis"
  7374. QT_MOC_LITERAL(24, 333, 9), // "ScaleType"
  7375. QT_MOC_LITERAL(25, 343, 8), // "stLinear"
  7376. QT_MOC_LITERAL(26, 352, 13), // "stLogarithmic"
  7377. QT_MOC_LITERAL(27, 366, 14), // "SelectablePart"
  7378. QT_MOC_LITERAL(28, 381, 6), // "spNone"
  7379. QT_MOC_LITERAL(29, 388, 6), // "spAxis"
  7380. QT_MOC_LITERAL(30, 395, 12), // "spTickLabels"
  7381. QT_MOC_LITERAL(31, 408, 11), // "spAxisLabel"
  7382. QT_MOC_LITERAL(32, 420, 15), // "SelectableParts"
  7383. QT_MOC_LITERAL(33, 436, 9), // "LabelMode"
  7384. QT_MOC_LITERAL(34, 446, 9), // "lmUpright"
  7385. QT_MOC_LITERAL(35, 456, 9) // "lmRotated"
  7386. },
  7387. "QCPPolarAxisRadial\0rangeChanged\0\0"
  7388. "QCPRange\0newRange\0oldRange\0scaleTypeChanged\0"
  7389. "QCPPolarAxisRadial::ScaleType\0scaleType\0"
  7390. "selectionChanged\0QCPPolarAxisRadial::SelectableParts\0"
  7391. "parts\0selectableChanged\0setScaleType\0"
  7392. "type\0setRange\0range\0setSelectableParts\0"
  7393. "selectableParts\0setSelectedParts\0"
  7394. "selectedParts\0AngleReference\0arAbsolute\0"
  7395. "arAngularAxis\0ScaleType\0stLinear\0"
  7396. "stLogarithmic\0SelectablePart\0spNone\0"
  7397. "spAxis\0spTickLabels\0spAxisLabel\0"
  7398. "SelectableParts\0LabelMode\0lmUpright\0"
  7399. "lmRotated"
  7400. };
  7401. #undef QT_MOC_LITERAL
  7402. static const uint qt_meta_data_QCPPolarAxisRadial[] = {
  7403. // content:
  7404. 8, // revision
  7405. 0, // classname
  7406. 0, 0, // classinfo
  7407. 9, 14, // methods
  7408. 0, 0, // properties
  7409. 5, 88, // enums/sets
  7410. 0, 0, // constructors
  7411. 0, // flags
  7412. 5, // signalCount
  7413. // signals: name, argc, parameters, tag, flags
  7414. 1, 1, 59, 2, 0x06 /* Public */,
  7415. 1, 2, 62, 2, 0x06 /* Public */,
  7416. 6, 1, 67, 2, 0x06 /* Public */,
  7417. 9, 1, 70, 2, 0x06 /* Public */,
  7418. 12, 1, 73, 2, 0x06 /* Public */,
  7419. // slots: name, argc, parameters, tag, flags
  7420. 13, 1, 76, 2, 0x0a /* Public */,
  7421. 15, 1, 79, 2, 0x0a /* Public */,
  7422. 17, 1, 82, 2, 0x0a /* Public */,
  7423. 19, 1, 85, 2, 0x0a /* Public */,
  7424. // signals: parameters
  7425. QMetaType::Void, 0x80000000 | 3, 4,
  7426. QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
  7427. QMetaType::Void, 0x80000000 | 7, 8,
  7428. QMetaType::Void, 0x80000000 | 10, 11,
  7429. QMetaType::Void, 0x80000000 | 10, 11,
  7430. // slots: parameters
  7431. QMetaType::Void, 0x80000000 | 7, 14,
  7432. QMetaType::Void, 0x80000000 | 3, 16,
  7433. QMetaType::Void, 0x80000000 | 10, 18,
  7434. QMetaType::Void, 0x80000000 | 10, 20,
  7435. // enums: name, alias, flags, count, data
  7436. 21, 21, 0x0, 2, 113,
  7437. 24, 24, 0x0, 2, 117,
  7438. 27, 27, 0x0, 4, 121,
  7439. 32, 27, 0x1, 4, 129,
  7440. 33, 33, 0x0, 2, 137,
  7441. // enum data: key, value
  7442. 22, uint(QCPPolarAxisRadial::arAbsolute),
  7443. 23, uint(QCPPolarAxisRadial::arAngularAxis),
  7444. 25, uint(QCPPolarAxisRadial::stLinear),
  7445. 26, uint(QCPPolarAxisRadial::stLogarithmic),
  7446. 28, uint(QCPPolarAxisRadial::spNone),
  7447. 29, uint(QCPPolarAxisRadial::spAxis),
  7448. 30, uint(QCPPolarAxisRadial::spTickLabels),
  7449. 31, uint(QCPPolarAxisRadial::spAxisLabel),
  7450. 28, uint(QCPPolarAxisRadial::spNone),
  7451. 29, uint(QCPPolarAxisRadial::spAxis),
  7452. 30, uint(QCPPolarAxisRadial::spTickLabels),
  7453. 31, uint(QCPPolarAxisRadial::spAxisLabel),
  7454. 34, uint(QCPPolarAxisRadial::lmUpright),
  7455. 35, uint(QCPPolarAxisRadial::lmRotated),
  7456. 0 // eod
  7457. };
  7458. void QCPPolarAxisRadial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  7459. {
  7460. if (_c == QMetaObject::InvokeMetaMethod) {
  7461. auto *_t = static_cast<QCPPolarAxisRadial *>(_o);
  7462. Q_UNUSED(_t)
  7463. switch (_id) {
  7464. case 0: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  7465. case 1: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1])),(*reinterpret_cast< const QCPRange(*)>(_a[2]))); break;
  7466. case 2: _t->scaleTypeChanged((*reinterpret_cast< QCPPolarAxisRadial::ScaleType(*)>(_a[1]))); break;
  7467. case 3: _t->selectionChanged((*reinterpret_cast< const QCPPolarAxisRadial::SelectableParts(*)>(_a[1]))); break;
  7468. case 4: _t->selectableChanged((*reinterpret_cast< const QCPPolarAxisRadial::SelectableParts(*)>(_a[1]))); break;
  7469. case 5: _t->setScaleType((*reinterpret_cast< QCPPolarAxisRadial::ScaleType(*)>(_a[1]))); break;
  7470. case 6: _t->setRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  7471. case 7: _t->setSelectableParts((*reinterpret_cast< const QCPPolarAxisRadial::SelectableParts(*)>(_a[1]))); break;
  7472. case 8: _t->setSelectedParts((*reinterpret_cast< const QCPPolarAxisRadial::SelectableParts(*)>(_a[1]))); break;
  7473. default: ;
  7474. }
  7475. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  7476. switch (_id) {
  7477. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  7478. case 2:
  7479. switch (*reinterpret_cast<int*>(_a[1])) {
  7480. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  7481. case 0:
  7482. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPPolarAxisRadial::ScaleType >(); break;
  7483. }
  7484. break;
  7485. case 5:
  7486. switch (*reinterpret_cast<int*>(_a[1])) {
  7487. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  7488. case 0:
  7489. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPPolarAxisRadial::ScaleType >(); break;
  7490. }
  7491. break;
  7492. }
  7493. } else if (_c == QMetaObject::IndexOfMethod) {
  7494. int *result = reinterpret_cast<int *>(_a[0]);
  7495. {
  7496. using _t = void (QCPPolarAxisRadial::*)(const QCPRange & );
  7497. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisRadial::rangeChanged)) {
  7498. *result = 0;
  7499. return;
  7500. }
  7501. }
  7502. {
  7503. using _t = void (QCPPolarAxisRadial::*)(const QCPRange & , const QCPRange & );
  7504. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisRadial::rangeChanged)) {
  7505. *result = 1;
  7506. return;
  7507. }
  7508. }
  7509. {
  7510. using _t = void (QCPPolarAxisRadial::*)(QCPPolarAxisRadial::ScaleType );
  7511. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisRadial::scaleTypeChanged)) {
  7512. *result = 2;
  7513. return;
  7514. }
  7515. }
  7516. {
  7517. using _t = void (QCPPolarAxisRadial::*)(const QCPPolarAxisRadial::SelectableParts & );
  7518. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisRadial::selectionChanged)) {
  7519. *result = 3;
  7520. return;
  7521. }
  7522. }
  7523. {
  7524. using _t = void (QCPPolarAxisRadial::*)(const QCPPolarAxisRadial::SelectableParts & );
  7525. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisRadial::selectableChanged)) {
  7526. *result = 4;
  7527. return;
  7528. }
  7529. }
  7530. }
  7531. }
  7532. QT_INIT_METAOBJECT const QMetaObject QCPPolarAxisRadial::staticMetaObject = { {
  7533. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  7534. qt_meta_stringdata_QCPPolarAxisRadial.data,
  7535. qt_meta_data_QCPPolarAxisRadial,
  7536. qt_static_metacall,
  7537. nullptr,
  7538. nullptr
  7539. } };
  7540. const QMetaObject *QCPPolarAxisRadial::metaObject() const
  7541. {
  7542. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7543. }
  7544. void *QCPPolarAxisRadial::qt_metacast(const char *_clname)
  7545. {
  7546. if (!_clname) return nullptr;
  7547. if (!strcmp(_clname, qt_meta_stringdata_QCPPolarAxisRadial.stringdata0))
  7548. return static_cast<void*>(this);
  7549. return QCPLayerable::qt_metacast(_clname);
  7550. }
  7551. int QCPPolarAxisRadial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7552. {
  7553. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  7554. if (_id < 0)
  7555. return _id;
  7556. if (_c == QMetaObject::InvokeMetaMethod) {
  7557. if (_id < 9)
  7558. qt_static_metacall(this, _c, _id, _a);
  7559. _id -= 9;
  7560. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  7561. if (_id < 9)
  7562. qt_static_metacall(this, _c, _id, _a);
  7563. _id -= 9;
  7564. }
  7565. return _id;
  7566. }
  7567. // SIGNAL 0
  7568. void QCPPolarAxisRadial::rangeChanged(const QCPRange & _t1)
  7569. {
  7570. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7571. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  7572. }
  7573. // SIGNAL 1
  7574. void QCPPolarAxisRadial::rangeChanged(const QCPRange & _t1, const QCPRange & _t2)
  7575. {
  7576. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  7577. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  7578. }
  7579. // SIGNAL 2
  7580. void QCPPolarAxisRadial::scaleTypeChanged(QCPPolarAxisRadial::ScaleType _t1)
  7581. {
  7582. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7583. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  7584. }
  7585. // SIGNAL 3
  7586. void QCPPolarAxisRadial::selectionChanged(const QCPPolarAxisRadial::SelectableParts & _t1)
  7587. {
  7588. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7589. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  7590. }
  7591. // SIGNAL 4
  7592. void QCPPolarAxisRadial::selectableChanged(const QCPPolarAxisRadial::SelectableParts & _t1)
  7593. {
  7594. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7595. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  7596. }
  7597. struct qt_meta_stringdata_QCPPolarAxisAngular_t {
  7598. QByteArrayData data[25];
  7599. char stringdata0[320];
  7600. };
  7601. #define QT_MOC_LITERAL(idx, ofs, len) \
  7602. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7603. qptrdiff(offsetof(qt_meta_stringdata_QCPPolarAxisAngular_t, stringdata0) + ofs \
  7604. - idx * sizeof(QByteArrayData)) \
  7605. )
  7606. static const qt_meta_stringdata_QCPPolarAxisAngular_t qt_meta_stringdata_QCPPolarAxisAngular = {
  7607. {
  7608. QT_MOC_LITERAL(0, 0, 19), // "QCPPolarAxisAngular"
  7609. QT_MOC_LITERAL(1, 20, 12), // "rangeChanged"
  7610. QT_MOC_LITERAL(2, 33, 0), // ""
  7611. QT_MOC_LITERAL(3, 34, 8), // "QCPRange"
  7612. QT_MOC_LITERAL(4, 43, 8), // "newRange"
  7613. QT_MOC_LITERAL(5, 52, 8), // "oldRange"
  7614. QT_MOC_LITERAL(6, 61, 16), // "selectionChanged"
  7615. QT_MOC_LITERAL(7, 78, 36), // "QCPPolarAxisAngular::Selectab..."
  7616. QT_MOC_LITERAL(8, 115, 5), // "parts"
  7617. QT_MOC_LITERAL(9, 121, 17), // "selectableChanged"
  7618. QT_MOC_LITERAL(10, 139, 8), // "setRange"
  7619. QT_MOC_LITERAL(11, 148, 5), // "range"
  7620. QT_MOC_LITERAL(12, 154, 18), // "setSelectableParts"
  7621. QT_MOC_LITERAL(13, 173, 15), // "selectableParts"
  7622. QT_MOC_LITERAL(14, 189, 16), // "setSelectedParts"
  7623. QT_MOC_LITERAL(15, 206, 13), // "selectedParts"
  7624. QT_MOC_LITERAL(16, 220, 14), // "SelectablePart"
  7625. QT_MOC_LITERAL(17, 235, 6), // "spNone"
  7626. QT_MOC_LITERAL(18, 242, 6), // "spAxis"
  7627. QT_MOC_LITERAL(19, 249, 12), // "spTickLabels"
  7628. QT_MOC_LITERAL(20, 262, 11), // "spAxisLabel"
  7629. QT_MOC_LITERAL(21, 274, 15), // "SelectableParts"
  7630. QT_MOC_LITERAL(22, 290, 9), // "LabelMode"
  7631. QT_MOC_LITERAL(23, 300, 9), // "lmUpright"
  7632. QT_MOC_LITERAL(24, 310, 9) // "lmRotated"
  7633. },
  7634. "QCPPolarAxisAngular\0rangeChanged\0\0"
  7635. "QCPRange\0newRange\0oldRange\0selectionChanged\0"
  7636. "QCPPolarAxisAngular::SelectableParts\0"
  7637. "parts\0selectableChanged\0setRange\0range\0"
  7638. "setSelectableParts\0selectableParts\0"
  7639. "setSelectedParts\0selectedParts\0"
  7640. "SelectablePart\0spNone\0spAxis\0spTickLabels\0"
  7641. "spAxisLabel\0SelectableParts\0LabelMode\0"
  7642. "lmUpright\0lmRotated"
  7643. };
  7644. #undef QT_MOC_LITERAL
  7645. static const uint qt_meta_data_QCPPolarAxisAngular[] = {
  7646. // content:
  7647. 8, // revision
  7648. 0, // classname
  7649. 0, 0, // classinfo
  7650. 7, 14, // methods
  7651. 0, 0, // properties
  7652. 3, 72, // enums/sets
  7653. 0, 0, // constructors
  7654. 0, // flags
  7655. 4, // signalCount
  7656. // signals: name, argc, parameters, tag, flags
  7657. 1, 1, 49, 2, 0x06 /* Public */,
  7658. 1, 2, 52, 2, 0x06 /* Public */,
  7659. 6, 1, 57, 2, 0x06 /* Public */,
  7660. 9, 1, 60, 2, 0x06 /* Public */,
  7661. // slots: name, argc, parameters, tag, flags
  7662. 10, 1, 63, 2, 0x0a /* Public */,
  7663. 12, 1, 66, 2, 0x0a /* Public */,
  7664. 14, 1, 69, 2, 0x0a /* Public */,
  7665. // signals: parameters
  7666. QMetaType::Void, 0x80000000 | 3, 4,
  7667. QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
  7668. QMetaType::Void, 0x80000000 | 7, 8,
  7669. QMetaType::Void, 0x80000000 | 7, 8,
  7670. // slots: parameters
  7671. QMetaType::Void, 0x80000000 | 3, 11,
  7672. QMetaType::Void, 0x80000000 | 7, 13,
  7673. QMetaType::Void, 0x80000000 | 7, 15,
  7674. // enums: name, alias, flags, count, data
  7675. 16, 16, 0x0, 4, 87,
  7676. 21, 16, 0x1, 4, 95,
  7677. 22, 22, 0x0, 2, 103,
  7678. // enum data: key, value
  7679. 17, uint(QCPPolarAxisAngular::spNone),
  7680. 18, uint(QCPPolarAxisAngular::spAxis),
  7681. 19, uint(QCPPolarAxisAngular::spTickLabels),
  7682. 20, uint(QCPPolarAxisAngular::spAxisLabel),
  7683. 17, uint(QCPPolarAxisAngular::spNone),
  7684. 18, uint(QCPPolarAxisAngular::spAxis),
  7685. 19, uint(QCPPolarAxisAngular::spTickLabels),
  7686. 20, uint(QCPPolarAxisAngular::spAxisLabel),
  7687. 23, uint(QCPPolarAxisAngular::lmUpright),
  7688. 24, uint(QCPPolarAxisAngular::lmRotated),
  7689. 0 // eod
  7690. };
  7691. void QCPPolarAxisAngular::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  7692. {
  7693. if (_c == QMetaObject::InvokeMetaMethod) {
  7694. auto *_t = static_cast<QCPPolarAxisAngular *>(_o);
  7695. Q_UNUSED(_t)
  7696. switch (_id) {
  7697. case 0: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  7698. case 1: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1])),(*reinterpret_cast< const QCPRange(*)>(_a[2]))); break;
  7699. case 2: _t->selectionChanged((*reinterpret_cast< const QCPPolarAxisAngular::SelectableParts(*)>(_a[1]))); break;
  7700. case 3: _t->selectableChanged((*reinterpret_cast< const QCPPolarAxisAngular::SelectableParts(*)>(_a[1]))); break;
  7701. case 4: _t->setRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  7702. case 5: _t->setSelectableParts((*reinterpret_cast< const QCPPolarAxisAngular::SelectableParts(*)>(_a[1]))); break;
  7703. case 6: _t->setSelectedParts((*reinterpret_cast< const QCPPolarAxisAngular::SelectableParts(*)>(_a[1]))); break;
  7704. default: ;
  7705. }
  7706. } else if (_c == QMetaObject::IndexOfMethod) {
  7707. int *result = reinterpret_cast<int *>(_a[0]);
  7708. {
  7709. using _t = void (QCPPolarAxisAngular::*)(const QCPRange & );
  7710. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisAngular::rangeChanged)) {
  7711. *result = 0;
  7712. return;
  7713. }
  7714. }
  7715. {
  7716. using _t = void (QCPPolarAxisAngular::*)(const QCPRange & , const QCPRange & );
  7717. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisAngular::rangeChanged)) {
  7718. *result = 1;
  7719. return;
  7720. }
  7721. }
  7722. {
  7723. using _t = void (QCPPolarAxisAngular::*)(const QCPPolarAxisAngular::SelectableParts & );
  7724. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisAngular::selectionChanged)) {
  7725. *result = 2;
  7726. return;
  7727. }
  7728. }
  7729. {
  7730. using _t = void (QCPPolarAxisAngular::*)(const QCPPolarAxisAngular::SelectableParts & );
  7731. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarAxisAngular::selectableChanged)) {
  7732. *result = 3;
  7733. return;
  7734. }
  7735. }
  7736. }
  7737. }
  7738. QT_INIT_METAOBJECT const QMetaObject QCPPolarAxisAngular::staticMetaObject = { {
  7739. QMetaObject::SuperData::link<QCPLayoutElement::staticMetaObject>(),
  7740. qt_meta_stringdata_QCPPolarAxisAngular.data,
  7741. qt_meta_data_QCPPolarAxisAngular,
  7742. qt_static_metacall,
  7743. nullptr,
  7744. nullptr
  7745. } };
  7746. const QMetaObject *QCPPolarAxisAngular::metaObject() const
  7747. {
  7748. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7749. }
  7750. void *QCPPolarAxisAngular::qt_metacast(const char *_clname)
  7751. {
  7752. if (!_clname) return nullptr;
  7753. if (!strcmp(_clname, qt_meta_stringdata_QCPPolarAxisAngular.stringdata0))
  7754. return static_cast<void*>(this);
  7755. return QCPLayoutElement::qt_metacast(_clname);
  7756. }
  7757. int QCPPolarAxisAngular::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7758. {
  7759. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  7760. if (_id < 0)
  7761. return _id;
  7762. if (_c == QMetaObject::InvokeMetaMethod) {
  7763. if (_id < 7)
  7764. qt_static_metacall(this, _c, _id, _a);
  7765. _id -= 7;
  7766. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  7767. if (_id < 7)
  7768. *reinterpret_cast<int*>(_a[0]) = -1;
  7769. _id -= 7;
  7770. }
  7771. return _id;
  7772. }
  7773. // SIGNAL 0
  7774. void QCPPolarAxisAngular::rangeChanged(const QCPRange & _t1)
  7775. {
  7776. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7777. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  7778. }
  7779. // SIGNAL 1
  7780. void QCPPolarAxisAngular::rangeChanged(const QCPRange & _t1, const QCPRange & _t2)
  7781. {
  7782. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
  7783. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  7784. }
  7785. // SIGNAL 2
  7786. void QCPPolarAxisAngular::selectionChanged(const QCPPolarAxisAngular::SelectableParts & _t1)
  7787. {
  7788. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7789. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  7790. }
  7791. // SIGNAL 3
  7792. void QCPPolarAxisAngular::selectableChanged(const QCPPolarAxisAngular::SelectableParts & _t1)
  7793. {
  7794. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  7795. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  7796. }
  7797. struct qt_meta_stringdata_QCPPolarGrid_t {
  7798. QByteArrayData data[7];
  7799. char stringdata0[64];
  7800. };
  7801. #define QT_MOC_LITERAL(idx, ofs, len) \
  7802. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7803. qptrdiff(offsetof(qt_meta_stringdata_QCPPolarGrid_t, stringdata0) + ofs \
  7804. - idx * sizeof(QByteArrayData)) \
  7805. )
  7806. static const qt_meta_stringdata_QCPPolarGrid_t qt_meta_stringdata_QCPPolarGrid = {
  7807. {
  7808. QT_MOC_LITERAL(0, 0, 12), // "QCPPolarGrid"
  7809. QT_MOC_LITERAL(1, 13, 8), // "GridType"
  7810. QT_MOC_LITERAL(2, 22, 9), // "gtAngular"
  7811. QT_MOC_LITERAL(3, 32, 8), // "gtRadial"
  7812. QT_MOC_LITERAL(4, 41, 5), // "gtAll"
  7813. QT_MOC_LITERAL(5, 47, 6), // "gtNone"
  7814. QT_MOC_LITERAL(6, 54, 9) // "GridTypes"
  7815. },
  7816. "QCPPolarGrid\0GridType\0gtAngular\0"
  7817. "gtRadial\0gtAll\0gtNone\0GridTypes"
  7818. };
  7819. #undef QT_MOC_LITERAL
  7820. static const uint qt_meta_data_QCPPolarGrid[] = {
  7821. // content:
  7822. 8, // revision
  7823. 0, // classname
  7824. 0, 0, // classinfo
  7825. 0, 0, // methods
  7826. 0, 0, // properties
  7827. 2, 14, // enums/sets
  7828. 0, 0, // constructors
  7829. 0, // flags
  7830. 0, // signalCount
  7831. // enums: name, alias, flags, count, data
  7832. 1, 1, 0x0, 4, 24,
  7833. 6, 1, 0x1, 4, 32,
  7834. // enum data: key, value
  7835. 2, uint(QCPPolarGrid::gtAngular),
  7836. 3, uint(QCPPolarGrid::gtRadial),
  7837. 4, uint(QCPPolarGrid::gtAll),
  7838. 5, uint(QCPPolarGrid::gtNone),
  7839. 2, uint(QCPPolarGrid::gtAngular),
  7840. 3, uint(QCPPolarGrid::gtRadial),
  7841. 4, uint(QCPPolarGrid::gtAll),
  7842. 5, uint(QCPPolarGrid::gtNone),
  7843. 0 // eod
  7844. };
  7845. void QCPPolarGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  7846. {
  7847. Q_UNUSED(_o);
  7848. Q_UNUSED(_id);
  7849. Q_UNUSED(_c);
  7850. Q_UNUSED(_a);
  7851. }
  7852. QT_INIT_METAOBJECT const QMetaObject QCPPolarGrid::staticMetaObject = { {
  7853. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  7854. qt_meta_stringdata_QCPPolarGrid.data,
  7855. qt_meta_data_QCPPolarGrid,
  7856. qt_static_metacall,
  7857. nullptr,
  7858. nullptr
  7859. } };
  7860. const QMetaObject *QCPPolarGrid::metaObject() const
  7861. {
  7862. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7863. }
  7864. void *QCPPolarGrid::qt_metacast(const char *_clname)
  7865. {
  7866. if (!_clname) return nullptr;
  7867. if (!strcmp(_clname, qt_meta_stringdata_QCPPolarGrid.stringdata0))
  7868. return static_cast<void*>(this);
  7869. return QCPLayerable::qt_metacast(_clname);
  7870. }
  7871. int QCPPolarGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7872. {
  7873. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  7874. return _id;
  7875. }
  7876. struct qt_meta_stringdata_QCPPolarLegendItem_t {
  7877. QByteArrayData data[1];
  7878. char stringdata0[19];
  7879. };
  7880. #define QT_MOC_LITERAL(idx, ofs, len) \
  7881. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7882. qptrdiff(offsetof(qt_meta_stringdata_QCPPolarLegendItem_t, stringdata0) + ofs \
  7883. - idx * sizeof(QByteArrayData)) \
  7884. )
  7885. static const qt_meta_stringdata_QCPPolarLegendItem_t qt_meta_stringdata_QCPPolarLegendItem = {
  7886. {
  7887. QT_MOC_LITERAL(0, 0, 18) // "QCPPolarLegendItem"
  7888. },
  7889. "QCPPolarLegendItem"
  7890. };
  7891. #undef QT_MOC_LITERAL
  7892. static const uint qt_meta_data_QCPPolarLegendItem[] = {
  7893. // content:
  7894. 8, // revision
  7895. 0, // classname
  7896. 0, 0, // classinfo
  7897. 0, 0, // methods
  7898. 0, 0, // properties
  7899. 0, 0, // enums/sets
  7900. 0, 0, // constructors
  7901. 0, // flags
  7902. 0, // signalCount
  7903. 0 // eod
  7904. };
  7905. void QCPPolarLegendItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  7906. {
  7907. Q_UNUSED(_o);
  7908. Q_UNUSED(_id);
  7909. Q_UNUSED(_c);
  7910. Q_UNUSED(_a);
  7911. }
  7912. QT_INIT_METAOBJECT const QMetaObject QCPPolarLegendItem::staticMetaObject = { {
  7913. QMetaObject::SuperData::link<QCPAbstractLegendItem::staticMetaObject>(),
  7914. qt_meta_stringdata_QCPPolarLegendItem.data,
  7915. qt_meta_data_QCPPolarLegendItem,
  7916. qt_static_metacall,
  7917. nullptr,
  7918. nullptr
  7919. } };
  7920. const QMetaObject *QCPPolarLegendItem::metaObject() const
  7921. {
  7922. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  7923. }
  7924. void *QCPPolarLegendItem::qt_metacast(const char *_clname)
  7925. {
  7926. if (!_clname) return nullptr;
  7927. if (!strcmp(_clname, qt_meta_stringdata_QCPPolarLegendItem.stringdata0))
  7928. return static_cast<void*>(this);
  7929. return QCPAbstractLegendItem::qt_metacast(_clname);
  7930. }
  7931. int QCPPolarLegendItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  7932. {
  7933. _id = QCPAbstractLegendItem::qt_metacall(_c, _id, _a);
  7934. return _id;
  7935. }
  7936. struct qt_meta_stringdata_QCPPolarGraph_t {
  7937. QByteArrayData data[14];
  7938. char stringdata0[167];
  7939. };
  7940. #define QT_MOC_LITERAL(idx, ofs, len) \
  7941. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  7942. qptrdiff(offsetof(qt_meta_stringdata_QCPPolarGraph_t, stringdata0) + ofs \
  7943. - idx * sizeof(QByteArrayData)) \
  7944. )
  7945. static const qt_meta_stringdata_QCPPolarGraph_t qt_meta_stringdata_QCPPolarGraph = {
  7946. {
  7947. QT_MOC_LITERAL(0, 0, 13), // "QCPPolarGraph"
  7948. QT_MOC_LITERAL(1, 14, 16), // "selectionChanged"
  7949. QT_MOC_LITERAL(2, 31, 0), // ""
  7950. QT_MOC_LITERAL(3, 32, 8), // "selected"
  7951. QT_MOC_LITERAL(4, 41, 16), // "QCPDataSelection"
  7952. QT_MOC_LITERAL(5, 58, 9), // "selection"
  7953. QT_MOC_LITERAL(6, 68, 17), // "selectableChanged"
  7954. QT_MOC_LITERAL(7, 86, 18), // "QCP::SelectionType"
  7955. QT_MOC_LITERAL(8, 105, 10), // "selectable"
  7956. QT_MOC_LITERAL(9, 116, 13), // "setSelectable"
  7957. QT_MOC_LITERAL(10, 130, 12), // "setSelection"
  7958. QT_MOC_LITERAL(11, 143, 9), // "LineStyle"
  7959. QT_MOC_LITERAL(12, 153, 6), // "lsNone"
  7960. QT_MOC_LITERAL(13, 160, 6) // "lsLine"
  7961. },
  7962. "QCPPolarGraph\0selectionChanged\0\0"
  7963. "selected\0QCPDataSelection\0selection\0"
  7964. "selectableChanged\0QCP::SelectionType\0"
  7965. "selectable\0setSelectable\0setSelection\0"
  7966. "LineStyle\0lsNone\0lsLine"
  7967. };
  7968. #undef QT_MOC_LITERAL
  7969. static const uint qt_meta_data_QCPPolarGraph[] = {
  7970. // content:
  7971. 8, // revision
  7972. 0, // classname
  7973. 0, 0, // classinfo
  7974. 5, 14, // methods
  7975. 0, 0, // properties
  7976. 1, 54, // enums/sets
  7977. 0, 0, // constructors
  7978. 0, // flags
  7979. 3, // signalCount
  7980. // signals: name, argc, parameters, tag, flags
  7981. 1, 1, 39, 2, 0x06 /* Public */,
  7982. 1, 1, 42, 2, 0x06 /* Public */,
  7983. 6, 1, 45, 2, 0x06 /* Public */,
  7984. // slots: name, argc, parameters, tag, flags
  7985. 9, 1, 48, 2, 0x0a /* Public */,
  7986. 10, 1, 51, 2, 0x0a /* Public */,
  7987. // signals: parameters
  7988. QMetaType::Void, QMetaType::Bool, 3,
  7989. QMetaType::Void, 0x80000000 | 4, 5,
  7990. QMetaType::Void, 0x80000000 | 7, 8,
  7991. // slots: parameters
  7992. QMetaType::Void, 0x80000000 | 7, 8,
  7993. QMetaType::Void, 0x80000000 | 4, 5,
  7994. // enums: name, alias, flags, count, data
  7995. 11, 11, 0x0, 2, 59,
  7996. // enum data: key, value
  7997. 12, uint(QCPPolarGraph::lsNone),
  7998. 13, uint(QCPPolarGraph::lsLine),
  7999. 0 // eod
  8000. };
  8001. void QCPPolarGraph::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  8002. {
  8003. if (_c == QMetaObject::InvokeMetaMethod) {
  8004. auto *_t = static_cast<QCPPolarGraph *>(_o);
  8005. Q_UNUSED(_t)
  8006. switch (_id) {
  8007. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  8008. case 1: _t->selectionChanged((*reinterpret_cast< const QCPDataSelection(*)>(_a[1]))); break;
  8009. case 2: _t->selectableChanged((*reinterpret_cast< QCP::SelectionType(*)>(_a[1]))); break;
  8010. case 3: _t->setSelectable((*reinterpret_cast< QCP::SelectionType(*)>(_a[1]))); break;
  8011. case 4: _t->setSelection((*reinterpret_cast< QCPDataSelection(*)>(_a[1]))); break;
  8012. default: ;
  8013. }
  8014. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  8015. switch (_id) {
  8016. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  8017. case 1:
  8018. switch (*reinterpret_cast<int*>(_a[1])) {
  8019. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  8020. case 0:
  8021. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPDataSelection >(); break;
  8022. }
  8023. break;
  8024. case 2:
  8025. switch (*reinterpret_cast<int*>(_a[1])) {
  8026. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  8027. case 0:
  8028. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCP::SelectionType >(); break;
  8029. }
  8030. break;
  8031. case 3:
  8032. switch (*reinterpret_cast<int*>(_a[1])) {
  8033. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  8034. case 0:
  8035. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCP::SelectionType >(); break;
  8036. }
  8037. break;
  8038. case 4:
  8039. switch (*reinterpret_cast<int*>(_a[1])) {
  8040. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  8041. case 0:
  8042. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPDataSelection >(); break;
  8043. }
  8044. break;
  8045. }
  8046. } else if (_c == QMetaObject::IndexOfMethod) {
  8047. int *result = reinterpret_cast<int *>(_a[0]);
  8048. {
  8049. using _t = void (QCPPolarGraph::*)(bool );
  8050. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarGraph::selectionChanged)) {
  8051. *result = 0;
  8052. return;
  8053. }
  8054. }
  8055. {
  8056. using _t = void (QCPPolarGraph::*)(const QCPDataSelection & );
  8057. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarGraph::selectionChanged)) {
  8058. *result = 1;
  8059. return;
  8060. }
  8061. }
  8062. {
  8063. using _t = void (QCPPolarGraph::*)(QCP::SelectionType );
  8064. if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCPPolarGraph::selectableChanged)) {
  8065. *result = 2;
  8066. return;
  8067. }
  8068. }
  8069. }
  8070. }
  8071. QT_INIT_METAOBJECT const QMetaObject QCPPolarGraph::staticMetaObject = { {
  8072. QMetaObject::SuperData::link<QCPLayerable::staticMetaObject>(),
  8073. qt_meta_stringdata_QCPPolarGraph.data,
  8074. qt_meta_data_QCPPolarGraph,
  8075. qt_static_metacall,
  8076. nullptr,
  8077. nullptr
  8078. } };
  8079. const QMetaObject *QCPPolarGraph::metaObject() const
  8080. {
  8081. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  8082. }
  8083. void *QCPPolarGraph::qt_metacast(const char *_clname)
  8084. {
  8085. if (!_clname) return nullptr;
  8086. if (!strcmp(_clname, qt_meta_stringdata_QCPPolarGraph.stringdata0))
  8087. return static_cast<void*>(this);
  8088. return QCPLayerable::qt_metacast(_clname);
  8089. }
  8090. int QCPPolarGraph::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  8091. {
  8092. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  8093. if (_id < 0)
  8094. return _id;
  8095. if (_c == QMetaObject::InvokeMetaMethod) {
  8096. if (_id < 5)
  8097. qt_static_metacall(this, _c, _id, _a);
  8098. _id -= 5;
  8099. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  8100. if (_id < 5)
  8101. qt_static_metacall(this, _c, _id, _a);
  8102. _id -= 5;
  8103. }
  8104. return _id;
  8105. }
  8106. // SIGNAL 0
  8107. void QCPPolarGraph::selectionChanged(bool _t1)
  8108. {
  8109. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  8110. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  8111. }
  8112. // SIGNAL 1
  8113. void QCPPolarGraph::selectionChanged(const QCPDataSelection & _t1)
  8114. {
  8115. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  8116. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  8117. }
  8118. // SIGNAL 2
  8119. void QCPPolarGraph::selectableChanged(QCP::SelectionType _t1)
  8120. {
  8121. void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
  8122. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  8123. }
  8124. QT_WARNING_POP
  8125. QT_END_MOC_NAMESPACE