moc_qcustomplot.cpp 215 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410
  1. /****************************************************************************
  2. ** Meta object code from reading C++ file 'qcustomplot.h'
  3. **
  4. ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
  5. **
  6. ** WARNING! All changes made in this file will be lost!
  7. *****************************************************************************/
  8. #include "../RM_CPanel/qcustomplot/qcustomplot.h"
  9. #include <QtCore/qbytearray.h>
  10. #include <QtCore/qmetatype.h>
  11. #include <QtCore/QList>
  12. #include <QtCore/QVector>
  13. #if !defined(Q_MOC_OUTPUT_REVISION)
  14. #error "The header file 'qcustomplot.h' doesn't include <QObject>."
  15. #elif Q_MOC_OUTPUT_REVISION != 67
  16. #error "This file was generated using the moc from 5.3.2. It"
  17. #error "cannot be used with the include files from this version of Qt."
  18. #error "(The moc has changed too much.)"
  19. #endif
  20. QT_BEGIN_MOC_NAMESPACE
  21. struct qt_meta_stringdata_QCPScatterStyle_t {
  22. QByteArrayData data[20];
  23. char stringdata[209];
  24. };
  25. #define QT_MOC_LITERAL(idx, ofs, len) \
  26. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  27. qptrdiff(offsetof(qt_meta_stringdata_QCPScatterStyle_t, stringdata) + ofs \
  28. - idx * sizeof(QByteArrayData)) \
  29. )
  30. static const qt_meta_stringdata_QCPScatterStyle_t qt_meta_stringdata_QCPScatterStyle = {
  31. {
  32. QT_MOC_LITERAL(0, 0, 15),
  33. QT_MOC_LITERAL(1, 16, 12),
  34. QT_MOC_LITERAL(2, 29, 6),
  35. QT_MOC_LITERAL(3, 36, 5),
  36. QT_MOC_LITERAL(4, 42, 7),
  37. QT_MOC_LITERAL(5, 50, 6),
  38. QT_MOC_LITERAL(6, 57, 8),
  39. QT_MOC_LITERAL(7, 66, 6),
  40. QT_MOC_LITERAL(8, 73, 8),
  41. QT_MOC_LITERAL(9, 82, 9),
  42. QT_MOC_LITERAL(10, 92, 6),
  43. QT_MOC_LITERAL(11, 99, 10),
  44. QT_MOC_LITERAL(12, 110, 18),
  45. QT_MOC_LITERAL(13, 129, 13),
  46. QT_MOC_LITERAL(14, 143, 12),
  47. QT_MOC_LITERAL(15, 156, 13),
  48. QT_MOC_LITERAL(16, 170, 12),
  49. QT_MOC_LITERAL(17, 183, 7),
  50. QT_MOC_LITERAL(18, 191, 8),
  51. QT_MOC_LITERAL(19, 200, 8)
  52. },
  53. "QCPScatterStyle\0ScatterShape\0ssNone\0"
  54. "ssDot\0ssCross\0ssPlus\0ssCircle\0ssDisc\0"
  55. "ssSquare\0ssDiamond\0ssStar\0ssTriangle\0"
  56. "ssTriangleInverted\0ssCrossSquare\0"
  57. "ssPlusSquare\0ssCrossCircle\0ssPlusCircle\0"
  58. "ssPeace\0ssPixmap\0ssCustom"
  59. };
  60. #undef QT_MOC_LITERAL
  61. static const uint qt_meta_data_QCPScatterStyle[] = {
  62. // content:
  63. 7, // revision
  64. 0, // classname
  65. 0, 0, // classinfo
  66. 0, 0, // methods
  67. 0, 0, // properties
  68. 1, 14, // enums/sets
  69. 0, 0, // constructors
  70. 0, // flags
  71. 0, // signalCount
  72. // enums: name, flags, count, data
  73. 1, 0x0, 18, 18,
  74. // enum data: key, value
  75. 2, uint(QCPScatterStyle::ssNone),
  76. 3, uint(QCPScatterStyle::ssDot),
  77. 4, uint(QCPScatterStyle::ssCross),
  78. 5, uint(QCPScatterStyle::ssPlus),
  79. 6, uint(QCPScatterStyle::ssCircle),
  80. 7, uint(QCPScatterStyle::ssDisc),
  81. 8, uint(QCPScatterStyle::ssSquare),
  82. 9, uint(QCPScatterStyle::ssDiamond),
  83. 10, uint(QCPScatterStyle::ssStar),
  84. 11, uint(QCPScatterStyle::ssTriangle),
  85. 12, uint(QCPScatterStyle::ssTriangleInverted),
  86. 13, uint(QCPScatterStyle::ssCrossSquare),
  87. 14, uint(QCPScatterStyle::ssPlusSquare),
  88. 15, uint(QCPScatterStyle::ssCrossCircle),
  89. 16, uint(QCPScatterStyle::ssPlusCircle),
  90. 17, uint(QCPScatterStyle::ssPeace),
  91. 18, uint(QCPScatterStyle::ssPixmap),
  92. 19, uint(QCPScatterStyle::ssCustom),
  93. 0 // eod
  94. };
  95. const QMetaObject QCPScatterStyle::staticMetaObject = {
  96. { 0, qt_meta_stringdata_QCPScatterStyle.data,
  97. qt_meta_data_QCPScatterStyle, 0, 0, 0}
  98. };
  99. struct qt_meta_stringdata_QCPPainter_t {
  100. QByteArrayData data[7];
  101. char stringdata[85];
  102. };
  103. #define QT_MOC_LITERAL(idx, ofs, len) \
  104. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  105. qptrdiff(offsetof(qt_meta_stringdata_QCPPainter_t, stringdata) + ofs \
  106. - idx * sizeof(QByteArrayData)) \
  107. )
  108. static const qt_meta_stringdata_QCPPainter_t qt_meta_stringdata_QCPPainter = {
  109. {
  110. QT_MOC_LITERAL(0, 0, 10),
  111. QT_MOC_LITERAL(1, 11, 11),
  112. QT_MOC_LITERAL(2, 23, 9),
  113. QT_MOC_LITERAL(3, 33, 12),
  114. QT_MOC_LITERAL(4, 46, 11),
  115. QT_MOC_LITERAL(5, 58, 13),
  116. QT_MOC_LITERAL(6, 72, 12)
  117. },
  118. "QCPPainter\0PainterMode\0pmDefault\0"
  119. "pmVectorized\0pmNoCaching\0pmNonCosmetic\0"
  120. "PainterModes"
  121. };
  122. #undef QT_MOC_LITERAL
  123. static const uint qt_meta_data_QCPPainter[] = {
  124. // content:
  125. 7, // revision
  126. 0, // classname
  127. 0, 0, // classinfo
  128. 0, 0, // methods
  129. 0, 0, // properties
  130. 2, 14, // enums/sets
  131. 0, 0, // constructors
  132. 0, // flags
  133. 0, // signalCount
  134. // enums: name, flags, count, data
  135. 1, 0x1, 4, 22,
  136. 6, 0x1, 4, 30,
  137. // enum data: key, value
  138. 2, uint(QCPPainter::pmDefault),
  139. 3, uint(QCPPainter::pmVectorized),
  140. 4, uint(QCPPainter::pmNoCaching),
  141. 5, uint(QCPPainter::pmNonCosmetic),
  142. 2, uint(QCPPainter::pmDefault),
  143. 3, uint(QCPPainter::pmVectorized),
  144. 4, uint(QCPPainter::pmNoCaching),
  145. 5, uint(QCPPainter::pmNonCosmetic),
  146. 0 // eod
  147. };
  148. const QMetaObject QCPPainter::staticMetaObject = {
  149. { &QPainter::staticMetaObject, qt_meta_stringdata_QCPPainter.data,
  150. qt_meta_data_QCPPainter, 0, 0, 0}
  151. };
  152. struct qt_meta_stringdata_QCPLayer_t {
  153. QByteArrayData data[8];
  154. char stringdata[82];
  155. };
  156. #define QT_MOC_LITERAL(idx, ofs, len) \
  157. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  158. qptrdiff(offsetof(qt_meta_stringdata_QCPLayer_t, stringdata) + ofs \
  159. - idx * sizeof(QByteArrayData)) \
  160. )
  161. static const qt_meta_stringdata_QCPLayer_t qt_meta_stringdata_QCPLayer = {
  162. {
  163. QT_MOC_LITERAL(0, 0, 8),
  164. QT_MOC_LITERAL(1, 9, 10),
  165. QT_MOC_LITERAL(2, 20, 12),
  166. QT_MOC_LITERAL(3, 33, 4),
  167. QT_MOC_LITERAL(4, 38, 5),
  168. QT_MOC_LITERAL(5, 44, 8),
  169. QT_MOC_LITERAL(6, 53, 20),
  170. QT_MOC_LITERAL(7, 74, 7)
  171. },
  172. "QCPLayer\0parentPlot\0QCustomPlot*\0name\0"
  173. "index\0children\0QList<QCPLayerable*>\0"
  174. "visible"
  175. };
  176. #undef QT_MOC_LITERAL
  177. static const uint qt_meta_data_QCPLayer[] = {
  178. // content:
  179. 7, // revision
  180. 0, // classname
  181. 0, 0, // classinfo
  182. 0, 0, // methods
  183. 5, 14, // properties
  184. 0, 0, // enums/sets
  185. 0, 0, // constructors
  186. 0, // flags
  187. 0, // signalCount
  188. // properties: name, type, flags
  189. 1, 0x80000000 | 2, 0x00095009,
  190. 3, QMetaType::QString, 0x00095001,
  191. 4, QMetaType::Int, 0x00095001,
  192. 5, 0x80000000 | 6, 0x00095009,
  193. 7, QMetaType::Bool, 0x00095103,
  194. 0 // eod
  195. };
  196. void QCPLayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  197. {
  198. if (_c == QMetaObject::RegisterPropertyMetaType) {
  199. switch (_id) {
  200. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  201. case 0:
  202. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCustomPlot* >(); break;
  203. case 3:
  204. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QCPLayerable*> >(); break;
  205. }
  206. }
  207. Q_UNUSED(_o);
  208. }
  209. const QMetaObject QCPLayer::staticMetaObject = {
  210. { &QObject::staticMetaObject, qt_meta_stringdata_QCPLayer.data,
  211. qt_meta_data_QCPLayer, qt_static_metacall, 0, 0}
  212. };
  213. const QMetaObject *QCPLayer::metaObject() const
  214. {
  215. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  216. }
  217. void *QCPLayer::qt_metacast(const char *_clname)
  218. {
  219. if (!_clname) return 0;
  220. if (!strcmp(_clname, qt_meta_stringdata_QCPLayer.stringdata))
  221. return static_cast<void*>(const_cast< QCPLayer*>(this));
  222. return QObject::qt_metacast(_clname);
  223. }
  224. int QCPLayer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  225. {
  226. _id = QObject::qt_metacall(_c, _id, _a);
  227. if (_id < 0)
  228. return _id;
  229. #ifndef QT_NO_PROPERTIES
  230. if (_c == QMetaObject::ReadProperty) {
  231. void *_v = _a[0];
  232. switch (_id) {
  233. case 0: *reinterpret_cast< QCustomPlot**>(_v) = parentPlot(); break;
  234. case 1: *reinterpret_cast< QString*>(_v) = name(); break;
  235. case 2: *reinterpret_cast< int*>(_v) = index(); break;
  236. case 3: *reinterpret_cast< QList<QCPLayerable*>*>(_v) = children(); break;
  237. case 4: *reinterpret_cast< bool*>(_v) = visible(); break;
  238. default: break;
  239. }
  240. _id -= 5;
  241. } else if (_c == QMetaObject::WriteProperty) {
  242. void *_v = _a[0];
  243. switch (_id) {
  244. case 4: setVisible(*reinterpret_cast< bool*>(_v)); break;
  245. default: break;
  246. }
  247. _id -= 5;
  248. } else if (_c == QMetaObject::ResetProperty) {
  249. _id -= 5;
  250. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  251. _id -= 5;
  252. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  253. _id -= 5;
  254. } else if (_c == QMetaObject::QueryPropertyStored) {
  255. _id -= 5;
  256. } else if (_c == QMetaObject::QueryPropertyEditable) {
  257. _id -= 5;
  258. } else if (_c == QMetaObject::QueryPropertyUser) {
  259. _id -= 5;
  260. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  261. if (_id < 5)
  262. qt_static_metacall(this, _c, _id, _a);
  263. _id -= 5;
  264. }
  265. #endif // QT_NO_PROPERTIES
  266. return _id;
  267. }
  268. struct qt_meta_stringdata_QCPLayerable_t {
  269. QByteArrayData data[13];
  270. char stringdata[135];
  271. };
  272. #define QT_MOC_LITERAL(idx, ofs, len) \
  273. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  274. qptrdiff(offsetof(qt_meta_stringdata_QCPLayerable_t, stringdata) + ofs \
  275. - idx * sizeof(QByteArrayData)) \
  276. )
  277. static const qt_meta_stringdata_QCPLayerable_t qt_meta_stringdata_QCPLayerable = {
  278. {
  279. QT_MOC_LITERAL(0, 0, 12),
  280. QT_MOC_LITERAL(1, 13, 12),
  281. QT_MOC_LITERAL(2, 26, 0),
  282. QT_MOC_LITERAL(3, 27, 9),
  283. QT_MOC_LITERAL(4, 37, 8),
  284. QT_MOC_LITERAL(5, 46, 8),
  285. QT_MOC_LITERAL(6, 55, 5),
  286. QT_MOC_LITERAL(7, 61, 7),
  287. QT_MOC_LITERAL(8, 69, 10),
  288. QT_MOC_LITERAL(9, 80, 12),
  289. QT_MOC_LITERAL(10, 93, 15),
  290. QT_MOC_LITERAL(11, 109, 13),
  291. QT_MOC_LITERAL(12, 123, 11)
  292. },
  293. "QCPLayerable\0layerChanged\0\0QCPLayer*\0"
  294. "newLayer\0setLayer\0layer\0visible\0"
  295. "parentPlot\0QCustomPlot*\0parentLayerable\0"
  296. "QCPLayerable*\0antialiased"
  297. };
  298. #undef QT_MOC_LITERAL
  299. static const uint qt_meta_data_QCPLayerable[] = {
  300. // content:
  301. 7, // revision
  302. 0, // classname
  303. 0, 0, // classinfo
  304. 2, 14, // methods
  305. 5, 30, // properties
  306. 0, 0, // enums/sets
  307. 0, 0, // constructors
  308. 0, // flags
  309. 1, // signalCount
  310. // signals: name, argc, parameters, tag, flags
  311. 1, 1, 24, 2, 0x06 /* Public */,
  312. // slots: name, argc, parameters, tag, flags
  313. 5, 1, 27, 2, 0x0a /* Public */,
  314. // signals: parameters
  315. QMetaType::Void, 0x80000000 | 3, 4,
  316. // slots: parameters
  317. QMetaType::Bool, 0x80000000 | 3, 6,
  318. // properties: name, type, flags
  319. 7, QMetaType::Bool, 0x00095103,
  320. 8, 0x80000000 | 9, 0x00095009,
  321. 10, 0x80000000 | 11, 0x00095009,
  322. 6, 0x80000000 | 3, 0x0049510b,
  323. 12, QMetaType::Bool, 0x00095103,
  324. // properties: notify_signal_id
  325. 0,
  326. 0,
  327. 0,
  328. 0,
  329. 0,
  330. 0 // eod
  331. };
  332. void QCPLayerable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  333. {
  334. if (_c == QMetaObject::InvokeMetaMethod) {
  335. QCPLayerable *_t = static_cast<QCPLayerable *>(_o);
  336. switch (_id) {
  337. case 0: _t->layerChanged((*reinterpret_cast< QCPLayer*(*)>(_a[1]))); break;
  338. case 1: { bool _r = _t->setLayer((*reinterpret_cast< QCPLayer*(*)>(_a[1])));
  339. if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
  340. default: ;
  341. }
  342. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  343. switch (_id) {
  344. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  345. case 0:
  346. switch (*reinterpret_cast<int*>(_a[1])) {
  347. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  348. case 0:
  349. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayer* >(); break;
  350. }
  351. break;
  352. case 1:
  353. switch (*reinterpret_cast<int*>(_a[1])) {
  354. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  355. case 0:
  356. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayer* >(); break;
  357. }
  358. break;
  359. }
  360. } else if (_c == QMetaObject::IndexOfMethod) {
  361. int *result = reinterpret_cast<int *>(_a[0]);
  362. void **func = reinterpret_cast<void **>(_a[1]);
  363. {
  364. typedef void (QCPLayerable::*_t)(QCPLayer * );
  365. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPLayerable::layerChanged)) {
  366. *result = 0;
  367. }
  368. }
  369. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  370. switch (_id) {
  371. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  372. case 3:
  373. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayer* >(); break;
  374. case 2:
  375. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayerable* >(); break;
  376. case 1:
  377. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCustomPlot* >(); break;
  378. }
  379. }
  380. }
  381. const QMetaObject QCPLayerable::staticMetaObject = {
  382. { &QObject::staticMetaObject, qt_meta_stringdata_QCPLayerable.data,
  383. qt_meta_data_QCPLayerable, qt_static_metacall, 0, 0}
  384. };
  385. const QMetaObject *QCPLayerable::metaObject() const
  386. {
  387. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  388. }
  389. void *QCPLayerable::qt_metacast(const char *_clname)
  390. {
  391. if (!_clname) return 0;
  392. if (!strcmp(_clname, qt_meta_stringdata_QCPLayerable.stringdata))
  393. return static_cast<void*>(const_cast< QCPLayerable*>(this));
  394. return QObject::qt_metacast(_clname);
  395. }
  396. int QCPLayerable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  397. {
  398. _id = QObject::qt_metacall(_c, _id, _a);
  399. if (_id < 0)
  400. return _id;
  401. if (_c == QMetaObject::InvokeMetaMethod) {
  402. if (_id < 2)
  403. qt_static_metacall(this, _c, _id, _a);
  404. _id -= 2;
  405. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  406. if (_id < 2)
  407. qt_static_metacall(this, _c, _id, _a);
  408. _id -= 2;
  409. }
  410. #ifndef QT_NO_PROPERTIES
  411. else if (_c == QMetaObject::ReadProperty) {
  412. void *_v = _a[0];
  413. switch (_id) {
  414. case 0: *reinterpret_cast< bool*>(_v) = visible(); break;
  415. case 1: *reinterpret_cast< QCustomPlot**>(_v) = parentPlot(); break;
  416. case 2: *reinterpret_cast< QCPLayerable**>(_v) = parentLayerable(); break;
  417. case 3: *reinterpret_cast< QCPLayer**>(_v) = layer(); break;
  418. case 4: *reinterpret_cast< bool*>(_v) = antialiased(); break;
  419. default: break;
  420. }
  421. _id -= 5;
  422. } else if (_c == QMetaObject::WriteProperty) {
  423. void *_v = _a[0];
  424. switch (_id) {
  425. case 0: setVisible(*reinterpret_cast< bool*>(_v)); break;
  426. case 3: setLayer(*reinterpret_cast< QCPLayer**>(_v)); break;
  427. case 4: setAntialiased(*reinterpret_cast< bool*>(_v)); break;
  428. default: break;
  429. }
  430. _id -= 5;
  431. } else if (_c == QMetaObject::ResetProperty) {
  432. _id -= 5;
  433. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  434. _id -= 5;
  435. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  436. _id -= 5;
  437. } else if (_c == QMetaObject::QueryPropertyStored) {
  438. _id -= 5;
  439. } else if (_c == QMetaObject::QueryPropertyEditable) {
  440. _id -= 5;
  441. } else if (_c == QMetaObject::QueryPropertyUser) {
  442. _id -= 5;
  443. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  444. if (_id < 5)
  445. qt_static_metacall(this, _c, _id, _a);
  446. _id -= 5;
  447. }
  448. #endif // QT_NO_PROPERTIES
  449. return _id;
  450. }
  451. // SIGNAL 0
  452. void QCPLayerable::layerChanged(QCPLayer * _t1)
  453. {
  454. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  455. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  456. }
  457. struct qt_meta_stringdata_QCPMarginGroup_t {
  458. QByteArrayData data[1];
  459. char stringdata[15];
  460. };
  461. #define QT_MOC_LITERAL(idx, ofs, len) \
  462. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  463. qptrdiff(offsetof(qt_meta_stringdata_QCPMarginGroup_t, stringdata) + ofs \
  464. - idx * sizeof(QByteArrayData)) \
  465. )
  466. static const qt_meta_stringdata_QCPMarginGroup_t qt_meta_stringdata_QCPMarginGroup = {
  467. {
  468. QT_MOC_LITERAL(0, 0, 14)
  469. },
  470. "QCPMarginGroup"
  471. };
  472. #undef QT_MOC_LITERAL
  473. static const uint qt_meta_data_QCPMarginGroup[] = {
  474. // content:
  475. 7, // revision
  476. 0, // classname
  477. 0, 0, // classinfo
  478. 0, 0, // methods
  479. 0, 0, // properties
  480. 0, 0, // enums/sets
  481. 0, 0, // constructors
  482. 0, // flags
  483. 0, // signalCount
  484. 0 // eod
  485. };
  486. void QCPMarginGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  487. {
  488. Q_UNUSED(_o);
  489. Q_UNUSED(_id);
  490. Q_UNUSED(_c);
  491. Q_UNUSED(_a);
  492. }
  493. const QMetaObject QCPMarginGroup::staticMetaObject = {
  494. { &QObject::staticMetaObject, qt_meta_stringdata_QCPMarginGroup.data,
  495. qt_meta_data_QCPMarginGroup, qt_static_metacall, 0, 0}
  496. };
  497. const QMetaObject *QCPMarginGroup::metaObject() const
  498. {
  499. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  500. }
  501. void *QCPMarginGroup::qt_metacast(const char *_clname)
  502. {
  503. if (!_clname) return 0;
  504. if (!strcmp(_clname, qt_meta_stringdata_QCPMarginGroup.stringdata))
  505. return static_cast<void*>(const_cast< QCPMarginGroup*>(this));
  506. return QObject::qt_metacast(_clname);
  507. }
  508. int QCPMarginGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  509. {
  510. _id = QObject::qt_metacall(_c, _id, _a);
  511. if (_id < 0)
  512. return _id;
  513. return _id;
  514. }
  515. struct qt_meta_stringdata_QCPLayoutElement_t {
  516. QByteArrayData data[14];
  517. char stringdata[151];
  518. };
  519. #define QT_MOC_LITERAL(idx, ofs, len) \
  520. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  521. qptrdiff(offsetof(qt_meta_stringdata_QCPLayoutElement_t, stringdata) + ofs \
  522. - idx * sizeof(QByteArrayData)) \
  523. )
  524. static const qt_meta_stringdata_QCPLayoutElement_t qt_meta_stringdata_QCPLayoutElement = {
  525. {
  526. QT_MOC_LITERAL(0, 0, 16),
  527. QT_MOC_LITERAL(1, 17, 6),
  528. QT_MOC_LITERAL(2, 24, 10),
  529. QT_MOC_LITERAL(3, 35, 4),
  530. QT_MOC_LITERAL(4, 40, 9),
  531. QT_MOC_LITERAL(5, 50, 7),
  532. QT_MOC_LITERAL(6, 58, 8),
  533. QT_MOC_LITERAL(7, 67, 14),
  534. QT_MOC_LITERAL(8, 82, 11),
  535. QT_MOC_LITERAL(9, 94, 11),
  536. QT_MOC_LITERAL(10, 106, 11),
  537. QT_MOC_LITERAL(11, 118, 13),
  538. QT_MOC_LITERAL(12, 132, 9),
  539. QT_MOC_LITERAL(13, 142, 8)
  540. },
  541. "QCPLayoutElement\0layout\0QCPLayout*\0"
  542. "rect\0outerRect\0margins\0QMargins\0"
  543. "minimumMargins\0minimumSize\0maximumSize\0"
  544. "UpdatePhase\0upPreparation\0upMargins\0"
  545. "upLayout"
  546. };
  547. #undef QT_MOC_LITERAL
  548. static const uint qt_meta_data_QCPLayoutElement[] = {
  549. // content:
  550. 7, // revision
  551. 0, // classname
  552. 0, 0, // classinfo
  553. 0, 0, // methods
  554. 7, 14, // properties
  555. 1, 35, // enums/sets
  556. 0, 0, // constructors
  557. 0, // flags
  558. 0, // signalCount
  559. // properties: name, type, flags
  560. 1, 0x80000000 | 2, 0x00095009,
  561. 3, QMetaType::QRect, 0x00095001,
  562. 4, QMetaType::QRect, 0x00095103,
  563. 5, 0x80000000 | 6, 0x0009510b,
  564. 7, 0x80000000 | 6, 0x0009510b,
  565. 8, QMetaType::QSize, 0x00095103,
  566. 9, QMetaType::QSize, 0x00095103,
  567. // enums: name, flags, count, data
  568. 10, 0x0, 3, 39,
  569. // enum data: key, value
  570. 11, uint(QCPLayoutElement::upPreparation),
  571. 12, uint(QCPLayoutElement::upMargins),
  572. 13, uint(QCPLayoutElement::upLayout),
  573. 0 // eod
  574. };
  575. void QCPLayoutElement::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  576. {
  577. if (_c == QMetaObject::RegisterPropertyMetaType) {
  578. switch (_id) {
  579. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  580. case 0:
  581. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayout* >(); break;
  582. }
  583. }
  584. Q_UNUSED(_o);
  585. }
  586. const QMetaObject QCPLayoutElement::staticMetaObject = {
  587. { &QCPLayerable::staticMetaObject, qt_meta_stringdata_QCPLayoutElement.data,
  588. qt_meta_data_QCPLayoutElement, qt_static_metacall, 0, 0}
  589. };
  590. const QMetaObject *QCPLayoutElement::metaObject() const
  591. {
  592. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  593. }
  594. void *QCPLayoutElement::qt_metacast(const char *_clname)
  595. {
  596. if (!_clname) return 0;
  597. if (!strcmp(_clname, qt_meta_stringdata_QCPLayoutElement.stringdata))
  598. return static_cast<void*>(const_cast< QCPLayoutElement*>(this));
  599. return QCPLayerable::qt_metacast(_clname);
  600. }
  601. int QCPLayoutElement::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  602. {
  603. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  604. if (_id < 0)
  605. return _id;
  606. #ifndef QT_NO_PROPERTIES
  607. if (_c == QMetaObject::ReadProperty) {
  608. void *_v = _a[0];
  609. switch (_id) {
  610. case 0: *reinterpret_cast< QCPLayout**>(_v) = layout(); break;
  611. case 1: *reinterpret_cast< QRect*>(_v) = rect(); break;
  612. case 2: *reinterpret_cast< QRect*>(_v) = outerRect(); break;
  613. case 3: *reinterpret_cast< QMargins*>(_v) = margins(); break;
  614. case 4: *reinterpret_cast< QMargins*>(_v) = minimumMargins(); break;
  615. case 5: *reinterpret_cast< QSize*>(_v) = minimumSize(); break;
  616. case 6: *reinterpret_cast< QSize*>(_v) = maximumSize(); break;
  617. default: break;
  618. }
  619. _id -= 7;
  620. } else if (_c == QMetaObject::WriteProperty) {
  621. void *_v = _a[0];
  622. switch (_id) {
  623. case 2: setOuterRect(*reinterpret_cast< QRect*>(_v)); break;
  624. case 3: setMargins(*reinterpret_cast< QMargins*>(_v)); break;
  625. case 4: setMinimumMargins(*reinterpret_cast< QMargins*>(_v)); break;
  626. case 5: setMinimumSize(*reinterpret_cast< QSize*>(_v)); break;
  627. case 6: setMaximumSize(*reinterpret_cast< QSize*>(_v)); break;
  628. default: break;
  629. }
  630. _id -= 7;
  631. } else if (_c == QMetaObject::ResetProperty) {
  632. _id -= 7;
  633. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  634. _id -= 7;
  635. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  636. _id -= 7;
  637. } else if (_c == QMetaObject::QueryPropertyStored) {
  638. _id -= 7;
  639. } else if (_c == QMetaObject::QueryPropertyEditable) {
  640. _id -= 7;
  641. } else if (_c == QMetaObject::QueryPropertyUser) {
  642. _id -= 7;
  643. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  644. if (_id < 7)
  645. qt_static_metacall(this, _c, _id, _a);
  646. _id -= 7;
  647. }
  648. #endif // QT_NO_PROPERTIES
  649. return _id;
  650. }
  651. struct qt_meta_stringdata_QCPLayout_t {
  652. QByteArrayData data[1];
  653. char stringdata[10];
  654. };
  655. #define QT_MOC_LITERAL(idx, ofs, len) \
  656. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  657. qptrdiff(offsetof(qt_meta_stringdata_QCPLayout_t, stringdata) + ofs \
  658. - idx * sizeof(QByteArrayData)) \
  659. )
  660. static const qt_meta_stringdata_QCPLayout_t qt_meta_stringdata_QCPLayout = {
  661. {
  662. QT_MOC_LITERAL(0, 0, 9)
  663. },
  664. "QCPLayout"
  665. };
  666. #undef QT_MOC_LITERAL
  667. static const uint qt_meta_data_QCPLayout[] = {
  668. // content:
  669. 7, // revision
  670. 0, // classname
  671. 0, 0, // classinfo
  672. 0, 0, // methods
  673. 0, 0, // properties
  674. 0, 0, // enums/sets
  675. 0, 0, // constructors
  676. 0, // flags
  677. 0, // signalCount
  678. 0 // eod
  679. };
  680. void QCPLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  681. {
  682. Q_UNUSED(_o);
  683. Q_UNUSED(_id);
  684. Q_UNUSED(_c);
  685. Q_UNUSED(_a);
  686. }
  687. const QMetaObject QCPLayout::staticMetaObject = {
  688. { &QCPLayoutElement::staticMetaObject, qt_meta_stringdata_QCPLayout.data,
  689. qt_meta_data_QCPLayout, qt_static_metacall, 0, 0}
  690. };
  691. const QMetaObject *QCPLayout::metaObject() const
  692. {
  693. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  694. }
  695. void *QCPLayout::qt_metacast(const char *_clname)
  696. {
  697. if (!_clname) return 0;
  698. if (!strcmp(_clname, qt_meta_stringdata_QCPLayout.stringdata))
  699. return static_cast<void*>(const_cast< QCPLayout*>(this));
  700. return QCPLayoutElement::qt_metacast(_clname);
  701. }
  702. int QCPLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  703. {
  704. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  705. if (_id < 0)
  706. return _id;
  707. return _id;
  708. }
  709. struct qt_meta_stringdata_QCPLayoutGrid_t {
  710. QByteArrayData data[8];
  711. char stringdata[113];
  712. };
  713. #define QT_MOC_LITERAL(idx, ofs, len) \
  714. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  715. qptrdiff(offsetof(qt_meta_stringdata_QCPLayoutGrid_t, stringdata) + ofs \
  716. - idx * sizeof(QByteArrayData)) \
  717. )
  718. static const qt_meta_stringdata_QCPLayoutGrid_t qt_meta_stringdata_QCPLayoutGrid = {
  719. {
  720. QT_MOC_LITERAL(0, 0, 13),
  721. QT_MOC_LITERAL(1, 14, 8),
  722. QT_MOC_LITERAL(2, 23, 11),
  723. QT_MOC_LITERAL(3, 35, 20),
  724. QT_MOC_LITERAL(4, 56, 13),
  725. QT_MOC_LITERAL(5, 70, 17),
  726. QT_MOC_LITERAL(6, 88, 13),
  727. QT_MOC_LITERAL(7, 102, 10)
  728. },
  729. "QCPLayoutGrid\0rowCount\0columnCount\0"
  730. "columnStretchFactors\0QList<double>\0"
  731. "rowStretchFactors\0columnSpacing\0"
  732. "rowSpacing"
  733. };
  734. #undef QT_MOC_LITERAL
  735. static const uint qt_meta_data_QCPLayoutGrid[] = {
  736. // content:
  737. 7, // revision
  738. 0, // classname
  739. 0, 0, // classinfo
  740. 0, 0, // methods
  741. 6, 14, // properties
  742. 0, 0, // enums/sets
  743. 0, 0, // constructors
  744. 0, // flags
  745. 0, // signalCount
  746. // properties: name, type, flags
  747. 1, QMetaType::Int, 0x00095001,
  748. 2, QMetaType::Int, 0x00095001,
  749. 3, 0x80000000 | 4, 0x0009510b,
  750. 5, 0x80000000 | 4, 0x0009510b,
  751. 6, QMetaType::Int, 0x00095103,
  752. 7, QMetaType::Int, 0x00095103,
  753. 0 // eod
  754. };
  755. void QCPLayoutGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  756. {
  757. if (_c == QMetaObject::RegisterPropertyMetaType) {
  758. switch (_id) {
  759. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  760. case 3:
  761. case 2:
  762. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<double> >(); break;
  763. }
  764. }
  765. Q_UNUSED(_o);
  766. }
  767. const QMetaObject QCPLayoutGrid::staticMetaObject = {
  768. { &QCPLayout::staticMetaObject, qt_meta_stringdata_QCPLayoutGrid.data,
  769. qt_meta_data_QCPLayoutGrid, qt_static_metacall, 0, 0}
  770. };
  771. const QMetaObject *QCPLayoutGrid::metaObject() const
  772. {
  773. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  774. }
  775. void *QCPLayoutGrid::qt_metacast(const char *_clname)
  776. {
  777. if (!_clname) return 0;
  778. if (!strcmp(_clname, qt_meta_stringdata_QCPLayoutGrid.stringdata))
  779. return static_cast<void*>(const_cast< QCPLayoutGrid*>(this));
  780. return QCPLayout::qt_metacast(_clname);
  781. }
  782. int QCPLayoutGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  783. {
  784. _id = QCPLayout::qt_metacall(_c, _id, _a);
  785. if (_id < 0)
  786. return _id;
  787. #ifndef QT_NO_PROPERTIES
  788. if (_c == QMetaObject::ReadProperty) {
  789. void *_v = _a[0];
  790. switch (_id) {
  791. case 0: *reinterpret_cast< int*>(_v) = rowCount(); break;
  792. case 1: *reinterpret_cast< int*>(_v) = columnCount(); break;
  793. case 2: *reinterpret_cast< QList<double>*>(_v) = columnStretchFactors(); break;
  794. case 3: *reinterpret_cast< QList<double>*>(_v) = rowStretchFactors(); break;
  795. case 4: *reinterpret_cast< int*>(_v) = columnSpacing(); break;
  796. case 5: *reinterpret_cast< int*>(_v) = rowSpacing(); break;
  797. default: break;
  798. }
  799. _id -= 6;
  800. } else if (_c == QMetaObject::WriteProperty) {
  801. void *_v = _a[0];
  802. switch (_id) {
  803. case 2: setColumnStretchFactors(*reinterpret_cast< QList<double>*>(_v)); break;
  804. case 3: setRowStretchFactors(*reinterpret_cast< QList<double>*>(_v)); break;
  805. case 4: setColumnSpacing(*reinterpret_cast< int*>(_v)); break;
  806. case 5: setRowSpacing(*reinterpret_cast< int*>(_v)); break;
  807. default: break;
  808. }
  809. _id -= 6;
  810. } else if (_c == QMetaObject::ResetProperty) {
  811. _id -= 6;
  812. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  813. _id -= 6;
  814. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  815. _id -= 6;
  816. } else if (_c == QMetaObject::QueryPropertyStored) {
  817. _id -= 6;
  818. } else if (_c == QMetaObject::QueryPropertyEditable) {
  819. _id -= 6;
  820. } else if (_c == QMetaObject::QueryPropertyUser) {
  821. _id -= 6;
  822. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  823. if (_id < 6)
  824. qt_static_metacall(this, _c, _id, _a);
  825. _id -= 6;
  826. }
  827. #endif // QT_NO_PROPERTIES
  828. return _id;
  829. }
  830. struct qt_meta_stringdata_QCPLayoutInset_t {
  831. QByteArrayData data[1];
  832. char stringdata[15];
  833. };
  834. #define QT_MOC_LITERAL(idx, ofs, len) \
  835. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  836. qptrdiff(offsetof(qt_meta_stringdata_QCPLayoutInset_t, stringdata) + ofs \
  837. - idx * sizeof(QByteArrayData)) \
  838. )
  839. static const qt_meta_stringdata_QCPLayoutInset_t qt_meta_stringdata_QCPLayoutInset = {
  840. {
  841. QT_MOC_LITERAL(0, 0, 14)
  842. },
  843. "QCPLayoutInset"
  844. };
  845. #undef QT_MOC_LITERAL
  846. static const uint qt_meta_data_QCPLayoutInset[] = {
  847. // content:
  848. 7, // revision
  849. 0, // classname
  850. 0, 0, // classinfo
  851. 0, 0, // methods
  852. 0, 0, // properties
  853. 0, 0, // enums/sets
  854. 0, 0, // constructors
  855. 0, // flags
  856. 0, // signalCount
  857. 0 // eod
  858. };
  859. void QCPLayoutInset::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  860. {
  861. Q_UNUSED(_o);
  862. Q_UNUSED(_id);
  863. Q_UNUSED(_c);
  864. Q_UNUSED(_a);
  865. }
  866. const QMetaObject QCPLayoutInset::staticMetaObject = {
  867. { &QCPLayout::staticMetaObject, qt_meta_stringdata_QCPLayoutInset.data,
  868. qt_meta_data_QCPLayoutInset, qt_static_metacall, 0, 0}
  869. };
  870. const QMetaObject *QCPLayoutInset::metaObject() const
  871. {
  872. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  873. }
  874. void *QCPLayoutInset::qt_metacast(const char *_clname)
  875. {
  876. if (!_clname) return 0;
  877. if (!strcmp(_clname, qt_meta_stringdata_QCPLayoutInset.stringdata))
  878. return static_cast<void*>(const_cast< QCPLayoutInset*>(this));
  879. return QCPLayout::qt_metacast(_clname);
  880. }
  881. int QCPLayoutInset::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  882. {
  883. _id = QCPLayout::qt_metacall(_c, _id, _a);
  884. if (_id < 0)
  885. return _id;
  886. return _id;
  887. }
  888. struct qt_meta_stringdata_QCPLineEnding_t {
  889. QByteArrayData data[12];
  890. char stringdata[124];
  891. };
  892. #define QT_MOC_LITERAL(idx, ofs, len) \
  893. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  894. qptrdiff(offsetof(qt_meta_stringdata_QCPLineEnding_t, stringdata) + ofs \
  895. - idx * sizeof(QByteArrayData)) \
  896. )
  897. static const qt_meta_stringdata_QCPLineEnding_t qt_meta_stringdata_QCPLineEnding = {
  898. {
  899. QT_MOC_LITERAL(0, 0, 13),
  900. QT_MOC_LITERAL(1, 14, 11),
  901. QT_MOC_LITERAL(2, 26, 6),
  902. QT_MOC_LITERAL(3, 33, 11),
  903. QT_MOC_LITERAL(4, 45, 12),
  904. QT_MOC_LITERAL(5, 58, 11),
  905. QT_MOC_LITERAL(6, 70, 6),
  906. QT_MOC_LITERAL(7, 77, 8),
  907. QT_MOC_LITERAL(8, 86, 9),
  908. QT_MOC_LITERAL(9, 96, 5),
  909. QT_MOC_LITERAL(10, 102, 9),
  910. QT_MOC_LITERAL(11, 112, 11)
  911. },
  912. "QCPLineEnding\0EndingStyle\0esNone\0"
  913. "esFlatArrow\0esSpikeArrow\0esLineArrow\0"
  914. "esDisc\0esSquare\0esDiamond\0esBar\0"
  915. "esHalfBar\0esSkewedBar"
  916. };
  917. #undef QT_MOC_LITERAL
  918. static const uint qt_meta_data_QCPLineEnding[] = {
  919. // content:
  920. 7, // revision
  921. 0, // classname
  922. 0, 0, // classinfo
  923. 0, 0, // methods
  924. 0, 0, // properties
  925. 1, 14, // enums/sets
  926. 0, 0, // constructors
  927. 0, // flags
  928. 0, // signalCount
  929. // enums: name, flags, count, data
  930. 1, 0x0, 10, 18,
  931. // enum data: key, value
  932. 2, uint(QCPLineEnding::esNone),
  933. 3, uint(QCPLineEnding::esFlatArrow),
  934. 4, uint(QCPLineEnding::esSpikeArrow),
  935. 5, uint(QCPLineEnding::esLineArrow),
  936. 6, uint(QCPLineEnding::esDisc),
  937. 7, uint(QCPLineEnding::esSquare),
  938. 8, uint(QCPLineEnding::esDiamond),
  939. 9, uint(QCPLineEnding::esBar),
  940. 10, uint(QCPLineEnding::esHalfBar),
  941. 11, uint(QCPLineEnding::esSkewedBar),
  942. 0 // eod
  943. };
  944. const QMetaObject QCPLineEnding::staticMetaObject = {
  945. { 0, qt_meta_stringdata_QCPLineEnding.data,
  946. qt_meta_data_QCPLineEnding, 0, 0, 0}
  947. };
  948. struct qt_meta_stringdata_QCPGrid_t {
  949. QByteArrayData data[7];
  950. char stringdata[89];
  951. };
  952. #define QT_MOC_LITERAL(idx, ofs, len) \
  953. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  954. qptrdiff(offsetof(qt_meta_stringdata_QCPGrid_t, stringdata) + ofs \
  955. - idx * sizeof(QByteArrayData)) \
  956. )
  957. static const qt_meta_stringdata_QCPGrid_t qt_meta_stringdata_QCPGrid = {
  958. {
  959. QT_MOC_LITERAL(0, 0, 7),
  960. QT_MOC_LITERAL(1, 8, 14),
  961. QT_MOC_LITERAL(2, 23, 18),
  962. QT_MOC_LITERAL(3, 42, 19),
  963. QT_MOC_LITERAL(4, 62, 3),
  964. QT_MOC_LITERAL(5, 66, 10),
  965. QT_MOC_LITERAL(6, 77, 11)
  966. },
  967. "QCPGrid\0subGridVisible\0antialiasedSubGrid\0"
  968. "antialiasedZeroLine\0pen\0subGridPen\0"
  969. "zeroLinePen"
  970. };
  971. #undef QT_MOC_LITERAL
  972. static const uint qt_meta_data_QCPGrid[] = {
  973. // content:
  974. 7, // revision
  975. 0, // classname
  976. 0, 0, // classinfo
  977. 0, 0, // methods
  978. 6, 14, // properties
  979. 0, 0, // enums/sets
  980. 0, 0, // constructors
  981. 0, // flags
  982. 0, // signalCount
  983. // properties: name, type, flags
  984. 1, QMetaType::Bool, 0x00095103,
  985. 2, QMetaType::Bool, 0x00095103,
  986. 3, QMetaType::Bool, 0x00095103,
  987. 4, QMetaType::QPen, 0x00095103,
  988. 5, QMetaType::QPen, 0x00095103,
  989. 6, QMetaType::QPen, 0x00095103,
  990. 0 // eod
  991. };
  992. void QCPGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  993. {
  994. Q_UNUSED(_o);
  995. Q_UNUSED(_id);
  996. Q_UNUSED(_c);
  997. Q_UNUSED(_a);
  998. }
  999. const QMetaObject QCPGrid::staticMetaObject = {
  1000. { &QCPLayerable::staticMetaObject, qt_meta_stringdata_QCPGrid.data,
  1001. qt_meta_data_QCPGrid, qt_static_metacall, 0, 0}
  1002. };
  1003. const QMetaObject *QCPGrid::metaObject() const
  1004. {
  1005. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1006. }
  1007. void *QCPGrid::qt_metacast(const char *_clname)
  1008. {
  1009. if (!_clname) return 0;
  1010. if (!strcmp(_clname, qt_meta_stringdata_QCPGrid.stringdata))
  1011. return static_cast<void*>(const_cast< QCPGrid*>(this));
  1012. return QCPLayerable::qt_metacast(_clname);
  1013. }
  1014. int QCPGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1015. {
  1016. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  1017. if (_id < 0)
  1018. return _id;
  1019. #ifndef QT_NO_PROPERTIES
  1020. if (_c == QMetaObject::ReadProperty) {
  1021. void *_v = _a[0];
  1022. switch (_id) {
  1023. case 0: *reinterpret_cast< bool*>(_v) = subGridVisible(); break;
  1024. case 1: *reinterpret_cast< bool*>(_v) = antialiasedSubGrid(); break;
  1025. case 2: *reinterpret_cast< bool*>(_v) = antialiasedZeroLine(); break;
  1026. case 3: *reinterpret_cast< QPen*>(_v) = pen(); break;
  1027. case 4: *reinterpret_cast< QPen*>(_v) = subGridPen(); break;
  1028. case 5: *reinterpret_cast< QPen*>(_v) = zeroLinePen(); break;
  1029. default: break;
  1030. }
  1031. _id -= 6;
  1032. } else if (_c == QMetaObject::WriteProperty) {
  1033. void *_v = _a[0];
  1034. switch (_id) {
  1035. case 0: setSubGridVisible(*reinterpret_cast< bool*>(_v)); break;
  1036. case 1: setAntialiasedSubGrid(*reinterpret_cast< bool*>(_v)); break;
  1037. case 2: setAntialiasedZeroLine(*reinterpret_cast< bool*>(_v)); break;
  1038. case 3: setPen(*reinterpret_cast< QPen*>(_v)); break;
  1039. case 4: setSubGridPen(*reinterpret_cast< QPen*>(_v)); break;
  1040. case 5: setZeroLinePen(*reinterpret_cast< QPen*>(_v)); break;
  1041. default: break;
  1042. }
  1043. _id -= 6;
  1044. } else if (_c == QMetaObject::ResetProperty) {
  1045. _id -= 6;
  1046. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1047. _id -= 6;
  1048. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1049. _id -= 6;
  1050. } else if (_c == QMetaObject::QueryPropertyStored) {
  1051. _id -= 6;
  1052. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1053. _id -= 6;
  1054. } else if (_c == QMetaObject::QueryPropertyUser) {
  1055. _id -= 6;
  1056. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  1057. if (_id < 6)
  1058. *reinterpret_cast<int*>(_a[0]) = -1;
  1059. _id -= 6;
  1060. }
  1061. #endif // QT_NO_PROPERTIES
  1062. return _id;
  1063. }
  1064. struct qt_meta_stringdata_QCPAxis_t {
  1065. QByteArrayData data[97];
  1066. char stringdata[1196];
  1067. };
  1068. #define QT_MOC_LITERAL(idx, ofs, len) \
  1069. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1070. qptrdiff(offsetof(qt_meta_stringdata_QCPAxis_t, stringdata) + ofs \
  1071. - idx * sizeof(QByteArrayData)) \
  1072. )
  1073. static const qt_meta_stringdata_QCPAxis_t qt_meta_stringdata_QCPAxis = {
  1074. {
  1075. QT_MOC_LITERAL(0, 0, 7),
  1076. QT_MOC_LITERAL(1, 8, 12),
  1077. QT_MOC_LITERAL(2, 21, 0),
  1078. QT_MOC_LITERAL(3, 22, 12),
  1079. QT_MOC_LITERAL(4, 35, 8),
  1080. QT_MOC_LITERAL(5, 44, 8),
  1081. QT_MOC_LITERAL(6, 53, 8),
  1082. QT_MOC_LITERAL(7, 62, 16),
  1083. QT_MOC_LITERAL(8, 79, 18),
  1084. QT_MOC_LITERAL(9, 98, 9),
  1085. QT_MOC_LITERAL(10, 108, 16),
  1086. QT_MOC_LITERAL(11, 125, 24),
  1087. QT_MOC_LITERAL(12, 150, 5),
  1088. QT_MOC_LITERAL(13, 156, 17),
  1089. QT_MOC_LITERAL(14, 174, 12),
  1090. QT_MOC_LITERAL(15, 187, 4),
  1091. QT_MOC_LITERAL(16, 192, 8),
  1092. QT_MOC_LITERAL(17, 201, 5),
  1093. QT_MOC_LITERAL(18, 207, 18),
  1094. QT_MOC_LITERAL(19, 226, 15),
  1095. QT_MOC_LITERAL(20, 242, 16),
  1096. QT_MOC_LITERAL(21, 259, 13),
  1097. QT_MOC_LITERAL(22, 273, 8),
  1098. QT_MOC_LITERAL(23, 282, 8),
  1099. QT_MOC_LITERAL(24, 291, 8),
  1100. QT_MOC_LITERAL(25, 300, 12),
  1101. QT_MOC_LITERAL(26, 313, 9),
  1102. QT_MOC_LITERAL(27, 323, 12),
  1103. QT_MOC_LITERAL(28, 336, 13),
  1104. QT_MOC_LITERAL(29, 350, 9),
  1105. QT_MOC_LITERAL(30, 360, 13),
  1106. QT_MOC_LITERAL(31, 374, 14),
  1107. QT_MOC_LITERAL(32, 389, 12),
  1108. QT_MOC_LITERAL(33, 402, 12),
  1109. QT_MOC_LITERAL(34, 415, 5),
  1110. QT_MOC_LITERAL(35, 421, 10),
  1111. QT_MOC_LITERAL(36, 432, 16),
  1112. QT_MOC_LITERAL(37, 449, 13),
  1113. QT_MOC_LITERAL(38, 463, 9),
  1114. QT_MOC_LITERAL(39, 473, 13),
  1115. QT_MOC_LITERAL(40, 487, 14),
  1116. QT_MOC_LITERAL(41, 502, 17),
  1117. QT_MOC_LITERAL(42, 520, 13),
  1118. QT_MOC_LITERAL(43, 534, 9),
  1119. QT_MOC_LITERAL(44, 544, 14),
  1120. QT_MOC_LITERAL(45, 559, 12),
  1121. QT_MOC_LITERAL(46, 572, 12),
  1122. QT_MOC_LITERAL(47, 585, 12),
  1123. QT_MOC_LITERAL(48, 598, 15),
  1124. QT_MOC_LITERAL(49, 614, 8),
  1125. QT_MOC_LITERAL(50, 623, 10),
  1126. QT_MOC_LITERAL(51, 634, 15),
  1127. QT_MOC_LITERAL(52, 650, 16),
  1128. QT_MOC_LITERAL(53, 667, 16),
  1129. QT_MOC_LITERAL(54, 684, 12),
  1130. QT_MOC_LITERAL(55, 697, 13),
  1131. QT_MOC_LITERAL(56, 711, 12),
  1132. QT_MOC_LITERAL(57, 724, 15),
  1133. QT_MOC_LITERAL(58, 740, 16),
  1134. QT_MOC_LITERAL(59, 757, 7),
  1135. QT_MOC_LITERAL(60, 765, 7),
  1136. QT_MOC_LITERAL(61, 773, 10),
  1137. QT_MOC_LITERAL(62, 784, 9),
  1138. QT_MOC_LITERAL(63, 794, 10),
  1139. QT_MOC_LITERAL(64, 805, 5),
  1140. QT_MOC_LITERAL(65, 811, 12),
  1141. QT_MOC_LITERAL(66, 824, 7),
  1142. QT_MOC_LITERAL(67, 832, 6),
  1143. QT_MOC_LITERAL(68, 839, 15),
  1144. QT_MOC_LITERAL(69, 855, 21),
  1145. QT_MOC_LITERAL(70, 877, 17),
  1146. QT_MOC_LITERAL(71, 895, 22),
  1147. QT_MOC_LITERAL(72, 918, 18),
  1148. QT_MOC_LITERAL(73, 937, 15),
  1149. QT_MOC_LITERAL(74, 953, 15),
  1150. QT_MOC_LITERAL(75, 969, 18),
  1151. QT_MOC_LITERAL(76, 988, 11),
  1152. QT_MOC_LITERAL(77, 1000, 13),
  1153. QT_MOC_LITERAL(78, 1014, 11),
  1154. QT_MOC_LITERAL(79, 1026, 4),
  1155. QT_MOC_LITERAL(80, 1031, 8),
  1156. QT_MOC_LITERAL(81, 1040, 6),
  1157. QT_MOC_LITERAL(82, 1047, 7),
  1158. QT_MOC_LITERAL(83, 1055, 5),
  1159. QT_MOC_LITERAL(84, 1061, 8),
  1160. QT_MOC_LITERAL(85, 1070, 9),
  1161. QT_MOC_LITERAL(86, 1080, 8),
  1162. QT_MOC_LITERAL(87, 1089, 10),
  1163. QT_MOC_LITERAL(88, 1100, 8),
  1164. QT_MOC_LITERAL(89, 1109, 9),
  1165. QT_MOC_LITERAL(90, 1119, 8),
  1166. QT_MOC_LITERAL(91, 1128, 13),
  1167. QT_MOC_LITERAL(92, 1142, 14),
  1168. QT_MOC_LITERAL(93, 1157, 6),
  1169. QT_MOC_LITERAL(94, 1164, 6),
  1170. QT_MOC_LITERAL(95, 1171, 12),
  1171. QT_MOC_LITERAL(96, 1184, 11)
  1172. },
  1173. "QCPAxis\0ticksRequest\0\0rangeChanged\0"
  1174. "QCPRange\0newRange\0oldRange\0scaleTypeChanged\0"
  1175. "QCPAxis::ScaleType\0scaleType\0"
  1176. "selectionChanged\0QCPAxis::SelectableParts\0"
  1177. "parts\0selectableChanged\0setScaleType\0"
  1178. "type\0setRange\0range\0setSelectableParts\0"
  1179. "selectableParts\0setSelectedParts\0"
  1180. "selectedParts\0axisType\0AxisType\0"
  1181. "axisRect\0QCPAxisRect*\0ScaleType\0"
  1182. "scaleLogBase\0rangeReversed\0autoTicks\0"
  1183. "autoTickCount\0autoTickLabels\0autoTickStep\0"
  1184. "autoSubTicks\0ticks\0tickLabels\0"
  1185. "tickLabelPadding\0tickLabelType\0LabelType\0"
  1186. "tickLabelFont\0tickLabelColor\0"
  1187. "tickLabelRotation\0tickLabelSide\0"
  1188. "LabelSide\0dateTimeFormat\0dateTimeSpec\0"
  1189. "Qt::TimeSpec\0numberFormat\0numberPrecision\0"
  1190. "tickStep\0tickVector\0QVector<double>\0"
  1191. "tickVectorLabels\0QVector<QString>\0"
  1192. "tickLengthIn\0tickLengthOut\0subTickCount\0"
  1193. "subTickLengthIn\0subTickLengthOut\0"
  1194. "basePen\0tickPen\0subTickPen\0labelFont\0"
  1195. "labelColor\0label\0labelPadding\0padding\0"
  1196. "offset\0SelectableParts\0selectedTickLabelFont\0"
  1197. "selectedLabelFont\0selectedTickLabelColor\0"
  1198. "selectedLabelColor\0selectedBasePen\0"
  1199. "selectedTickPen\0selectedSubTickPen\0"
  1200. "lowerEnding\0QCPLineEnding\0upperEnding\0"
  1201. "grid\0QCPGrid*\0atLeft\0atRight\0atTop\0"
  1202. "atBottom\0AxisTypes\0ltNumber\0ltDateTime\0"
  1203. "lsInside\0lsOutside\0stLinear\0stLogarithmic\0"
  1204. "SelectablePart\0spNone\0spAxis\0spTickLabels\0"
  1205. "spAxisLabel"
  1206. };
  1207. #undef QT_MOC_LITERAL
  1208. static const uint qt_meta_data_QCPAxis[] = {
  1209. // content:
  1210. 7, // revision
  1211. 0, // classname
  1212. 0, 0, // classinfo
  1213. 10, 14, // methods
  1214. 52, 94, // properties
  1215. 7, 302, // enums/sets
  1216. 0, 0, // constructors
  1217. 0, // flags
  1218. 6, // signalCount
  1219. // signals: name, argc, parameters, tag, flags
  1220. 1, 0, 64, 2, 0x06 /* Public */,
  1221. 3, 1, 65, 2, 0x06 /* Public */,
  1222. 3, 2, 68, 2, 0x06 /* Public */,
  1223. 7, 1, 73, 2, 0x06 /* Public */,
  1224. 10, 1, 76, 2, 0x06 /* Public */,
  1225. 13, 1, 79, 2, 0x06 /* Public */,
  1226. // slots: name, argc, parameters, tag, flags
  1227. 14, 1, 82, 2, 0x0a /* Public */,
  1228. 16, 1, 85, 2, 0x0a /* Public */,
  1229. 18, 1, 88, 2, 0x0a /* Public */,
  1230. 20, 1, 91, 2, 0x0a /* Public */,
  1231. // signals: parameters
  1232. QMetaType::Void,
  1233. QMetaType::Void, 0x80000000 | 4, 5,
  1234. QMetaType::Void, 0x80000000 | 4, 0x80000000 | 4, 5, 6,
  1235. QMetaType::Void, 0x80000000 | 8, 9,
  1236. QMetaType::Void, 0x80000000 | 11, 12,
  1237. QMetaType::Void, 0x80000000 | 11, 12,
  1238. // slots: parameters
  1239. QMetaType::Void, 0x80000000 | 8, 15,
  1240. QMetaType::Void, 0x80000000 | 4, 17,
  1241. QMetaType::Void, 0x80000000 | 11, 19,
  1242. QMetaType::Void, 0x80000000 | 11, 21,
  1243. // properties: name, type, flags
  1244. 22, 0x80000000 | 23, 0x00095009,
  1245. 24, 0x80000000 | 25, 0x00095009,
  1246. 9, 0x80000000 | 26, 0x0049510b,
  1247. 27, QMetaType::Double, 0x00095103,
  1248. 17, 0x80000000 | 4, 0x0049510b,
  1249. 28, QMetaType::Bool, 0x00095103,
  1250. 29, QMetaType::Bool, 0x00095103,
  1251. 30, QMetaType::Int, 0x00095103,
  1252. 31, QMetaType::Bool, 0x00095103,
  1253. 32, QMetaType::Bool, 0x00095103,
  1254. 33, QMetaType::Bool, 0x00095103,
  1255. 34, QMetaType::Bool, 0x00095103,
  1256. 35, QMetaType::Bool, 0x00095103,
  1257. 36, QMetaType::Int, 0x00095103,
  1258. 37, 0x80000000 | 38, 0x0009510b,
  1259. 39, QMetaType::QFont, 0x00095103,
  1260. 40, QMetaType::QColor, 0x00095103,
  1261. 41, QMetaType::Double, 0x00095103,
  1262. 42, 0x80000000 | 43, 0x0009510b,
  1263. 44, QMetaType::QString, 0x00095103,
  1264. 45, 0x80000000 | 46, 0x0009510b,
  1265. 47, QMetaType::QString, 0x00095103,
  1266. 48, QMetaType::Int, 0x00095103,
  1267. 49, QMetaType::Double, 0x00095103,
  1268. 50, 0x80000000 | 51, 0x0009510b,
  1269. 52, 0x80000000 | 53, 0x0009510b,
  1270. 54, QMetaType::Int, 0x00095103,
  1271. 55, QMetaType::Int, 0x00095103,
  1272. 56, QMetaType::Int, 0x00095103,
  1273. 57, QMetaType::Int, 0x00095103,
  1274. 58, QMetaType::Int, 0x00095103,
  1275. 59, QMetaType::QPen, 0x00095103,
  1276. 60, QMetaType::QPen, 0x00095103,
  1277. 61, QMetaType::QPen, 0x00095103,
  1278. 62, QMetaType::QFont, 0x00095103,
  1279. 63, QMetaType::QColor, 0x00095103,
  1280. 64, QMetaType::QString, 0x00095103,
  1281. 65, QMetaType::Int, 0x00095103,
  1282. 66, QMetaType::Int, 0x00095103,
  1283. 67, QMetaType::Int, 0x00095103,
  1284. 21, 0x80000000 | 68, 0x0049510b,
  1285. 19, 0x80000000 | 68, 0x0049510b,
  1286. 69, QMetaType::QFont, 0x00095103,
  1287. 70, QMetaType::QFont, 0x00095103,
  1288. 71, QMetaType::QColor, 0x00095103,
  1289. 72, QMetaType::QColor, 0x00095103,
  1290. 73, QMetaType::QPen, 0x00095103,
  1291. 74, QMetaType::QPen, 0x00095103,
  1292. 75, QMetaType::QPen, 0x00095103,
  1293. 76, 0x80000000 | 77, 0x0009510b,
  1294. 78, 0x80000000 | 77, 0x0009510b,
  1295. 79, 0x80000000 | 80, 0x00095009,
  1296. // properties: notify_signal_id
  1297. 0,
  1298. 0,
  1299. 3,
  1300. 0,
  1301. 1,
  1302. 0,
  1303. 0,
  1304. 0,
  1305. 0,
  1306. 0,
  1307. 0,
  1308. 0,
  1309. 0,
  1310. 0,
  1311. 0,
  1312. 0,
  1313. 0,
  1314. 0,
  1315. 0,
  1316. 0,
  1317. 0,
  1318. 0,
  1319. 0,
  1320. 0,
  1321. 0,
  1322. 0,
  1323. 0,
  1324. 0,
  1325. 0,
  1326. 0,
  1327. 0,
  1328. 0,
  1329. 0,
  1330. 0,
  1331. 0,
  1332. 0,
  1333. 0,
  1334. 0,
  1335. 0,
  1336. 0,
  1337. 4,
  1338. 5,
  1339. 0,
  1340. 0,
  1341. 0,
  1342. 0,
  1343. 0,
  1344. 0,
  1345. 0,
  1346. 0,
  1347. 0,
  1348. 0,
  1349. // enums: name, flags, count, data
  1350. 23, 0x1, 4, 330,
  1351. 85, 0x1, 4, 338,
  1352. 38, 0x0, 2, 346,
  1353. 43, 0x0, 2, 350,
  1354. 26, 0x0, 2, 354,
  1355. 92, 0x1, 4, 358,
  1356. 68, 0x1, 4, 366,
  1357. // enum data: key, value
  1358. 81, uint(QCPAxis::atLeft),
  1359. 82, uint(QCPAxis::atRight),
  1360. 83, uint(QCPAxis::atTop),
  1361. 84, uint(QCPAxis::atBottom),
  1362. 81, uint(QCPAxis::atLeft),
  1363. 82, uint(QCPAxis::atRight),
  1364. 83, uint(QCPAxis::atTop),
  1365. 84, uint(QCPAxis::atBottom),
  1366. 86, uint(QCPAxis::ltNumber),
  1367. 87, uint(QCPAxis::ltDateTime),
  1368. 88, uint(QCPAxis::lsInside),
  1369. 89, uint(QCPAxis::lsOutside),
  1370. 90, uint(QCPAxis::stLinear),
  1371. 91, uint(QCPAxis::stLogarithmic),
  1372. 93, uint(QCPAxis::spNone),
  1373. 94, uint(QCPAxis::spAxis),
  1374. 95, uint(QCPAxis::spTickLabels),
  1375. 96, uint(QCPAxis::spAxisLabel),
  1376. 93, uint(QCPAxis::spNone),
  1377. 94, uint(QCPAxis::spAxis),
  1378. 95, uint(QCPAxis::spTickLabels),
  1379. 96, uint(QCPAxis::spAxisLabel),
  1380. 0 // eod
  1381. };
  1382. void QCPAxis::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1383. {
  1384. if (_c == QMetaObject::InvokeMetaMethod) {
  1385. QCPAxis *_t = static_cast<QCPAxis *>(_o);
  1386. switch (_id) {
  1387. case 0: _t->ticksRequest(); break;
  1388. case 1: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  1389. case 2: _t->rangeChanged((*reinterpret_cast< const QCPRange(*)>(_a[1])),(*reinterpret_cast< const QCPRange(*)>(_a[2]))); break;
  1390. case 3: _t->scaleTypeChanged((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  1391. case 4: _t->selectionChanged((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  1392. case 5: _t->selectableChanged((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  1393. case 6: _t->setScaleType((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  1394. case 7: _t->setRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  1395. case 8: _t->setSelectableParts((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  1396. case 9: _t->setSelectedParts((*reinterpret_cast< const QCPAxis::SelectableParts(*)>(_a[1]))); break;
  1397. default: ;
  1398. }
  1399. } else if (_c == QMetaObject::IndexOfMethod) {
  1400. int *result = reinterpret_cast<int *>(_a[0]);
  1401. void **func = reinterpret_cast<void **>(_a[1]);
  1402. {
  1403. typedef void (QCPAxis::*_t)();
  1404. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAxis::ticksRequest)) {
  1405. *result = 0;
  1406. }
  1407. }
  1408. {
  1409. typedef void (QCPAxis::*_t)(const QCPRange & );
  1410. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAxis::rangeChanged)) {
  1411. *result = 1;
  1412. }
  1413. }
  1414. {
  1415. typedef void (QCPAxis::*_t)(const QCPRange & , const QCPRange & );
  1416. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAxis::rangeChanged)) {
  1417. *result = 2;
  1418. }
  1419. }
  1420. {
  1421. typedef void (QCPAxis::*_t)(QCPAxis::ScaleType );
  1422. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAxis::scaleTypeChanged)) {
  1423. *result = 3;
  1424. }
  1425. }
  1426. {
  1427. typedef void (QCPAxis::*_t)(const QCPAxis::SelectableParts & );
  1428. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAxis::selectionChanged)) {
  1429. *result = 4;
  1430. }
  1431. }
  1432. {
  1433. typedef void (QCPAxis::*_t)(const QCPAxis::SelectableParts & );
  1434. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAxis::selectableChanged)) {
  1435. *result = 5;
  1436. }
  1437. }
  1438. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  1439. switch (_id) {
  1440. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  1441. case 1:
  1442. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxisRect* >(); break;
  1443. case 51:
  1444. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPGrid* >(); break;
  1445. case 25:
  1446. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QString> >(); break;
  1447. case 24:
  1448. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<double> >(); break;
  1449. }
  1450. }
  1451. }
  1452. const QMetaObject QCPAxis::staticMetaObject = {
  1453. { &QCPLayerable::staticMetaObject, qt_meta_stringdata_QCPAxis.data,
  1454. qt_meta_data_QCPAxis, qt_static_metacall, 0, 0}
  1455. };
  1456. const QMetaObject *QCPAxis::metaObject() const
  1457. {
  1458. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1459. }
  1460. void *QCPAxis::qt_metacast(const char *_clname)
  1461. {
  1462. if (!_clname) return 0;
  1463. if (!strcmp(_clname, qt_meta_stringdata_QCPAxis.stringdata))
  1464. return static_cast<void*>(const_cast< QCPAxis*>(this));
  1465. return QCPLayerable::qt_metacast(_clname);
  1466. }
  1467. int QCPAxis::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1468. {
  1469. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  1470. if (_id < 0)
  1471. return _id;
  1472. if (_c == QMetaObject::InvokeMetaMethod) {
  1473. if (_id < 10)
  1474. qt_static_metacall(this, _c, _id, _a);
  1475. _id -= 10;
  1476. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  1477. if (_id < 10)
  1478. *reinterpret_cast<int*>(_a[0]) = -1;
  1479. _id -= 10;
  1480. }
  1481. #ifndef QT_NO_PROPERTIES
  1482. else if (_c == QMetaObject::ReadProperty) {
  1483. void *_v = _a[0];
  1484. switch (_id) {
  1485. case 0: *reinterpret_cast<int*>(_v) = QFlag(axisType()); break;
  1486. case 1: *reinterpret_cast< QCPAxisRect**>(_v) = axisRect(); break;
  1487. case 2: *reinterpret_cast< ScaleType*>(_v) = scaleType(); break;
  1488. case 3: *reinterpret_cast< double*>(_v) = scaleLogBase(); break;
  1489. case 4: *reinterpret_cast< QCPRange*>(_v) = range(); break;
  1490. case 5: *reinterpret_cast< bool*>(_v) = rangeReversed(); break;
  1491. case 6: *reinterpret_cast< bool*>(_v) = autoTicks(); break;
  1492. case 7: *reinterpret_cast< int*>(_v) = autoTickCount(); break;
  1493. case 8: *reinterpret_cast< bool*>(_v) = autoTickLabels(); break;
  1494. case 9: *reinterpret_cast< bool*>(_v) = autoTickStep(); break;
  1495. case 10: *reinterpret_cast< bool*>(_v) = autoSubTicks(); break;
  1496. case 11: *reinterpret_cast< bool*>(_v) = ticks(); break;
  1497. case 12: *reinterpret_cast< bool*>(_v) = tickLabels(); break;
  1498. case 13: *reinterpret_cast< int*>(_v) = tickLabelPadding(); break;
  1499. case 14: *reinterpret_cast< LabelType*>(_v) = tickLabelType(); break;
  1500. case 15: *reinterpret_cast< QFont*>(_v) = tickLabelFont(); break;
  1501. case 16: *reinterpret_cast< QColor*>(_v) = tickLabelColor(); break;
  1502. case 17: *reinterpret_cast< double*>(_v) = tickLabelRotation(); break;
  1503. case 18: *reinterpret_cast< LabelSide*>(_v) = tickLabelSide(); break;
  1504. case 19: *reinterpret_cast< QString*>(_v) = dateTimeFormat(); break;
  1505. case 20: *reinterpret_cast< Qt::TimeSpec*>(_v) = dateTimeSpec(); break;
  1506. case 21: *reinterpret_cast< QString*>(_v) = numberFormat(); break;
  1507. case 22: *reinterpret_cast< int*>(_v) = numberPrecision(); break;
  1508. case 23: *reinterpret_cast< double*>(_v) = tickStep(); break;
  1509. case 24: *reinterpret_cast< QVector<double>*>(_v) = tickVector(); break;
  1510. case 25: *reinterpret_cast< QVector<QString>*>(_v) = tickVectorLabels(); break;
  1511. case 26: *reinterpret_cast< int*>(_v) = tickLengthIn(); break;
  1512. case 27: *reinterpret_cast< int*>(_v) = tickLengthOut(); break;
  1513. case 28: *reinterpret_cast< int*>(_v) = subTickCount(); break;
  1514. case 29: *reinterpret_cast< int*>(_v) = subTickLengthIn(); break;
  1515. case 30: *reinterpret_cast< int*>(_v) = subTickLengthOut(); break;
  1516. case 31: *reinterpret_cast< QPen*>(_v) = basePen(); break;
  1517. case 32: *reinterpret_cast< QPen*>(_v) = tickPen(); break;
  1518. case 33: *reinterpret_cast< QPen*>(_v) = subTickPen(); break;
  1519. case 34: *reinterpret_cast< QFont*>(_v) = labelFont(); break;
  1520. case 35: *reinterpret_cast< QColor*>(_v) = labelColor(); break;
  1521. case 36: *reinterpret_cast< QString*>(_v) = label(); break;
  1522. case 37: *reinterpret_cast< int*>(_v) = labelPadding(); break;
  1523. case 38: *reinterpret_cast< int*>(_v) = padding(); break;
  1524. case 39: *reinterpret_cast< int*>(_v) = offset(); break;
  1525. case 40: *reinterpret_cast<int*>(_v) = QFlag(selectedParts()); break;
  1526. case 41: *reinterpret_cast<int*>(_v) = QFlag(selectableParts()); break;
  1527. case 42: *reinterpret_cast< QFont*>(_v) = selectedTickLabelFont(); break;
  1528. case 43: *reinterpret_cast< QFont*>(_v) = selectedLabelFont(); break;
  1529. case 44: *reinterpret_cast< QColor*>(_v) = selectedTickLabelColor(); break;
  1530. case 45: *reinterpret_cast< QColor*>(_v) = selectedLabelColor(); break;
  1531. case 46: *reinterpret_cast< QPen*>(_v) = selectedBasePen(); break;
  1532. case 47: *reinterpret_cast< QPen*>(_v) = selectedTickPen(); break;
  1533. case 48: *reinterpret_cast< QPen*>(_v) = selectedSubTickPen(); break;
  1534. case 49: *reinterpret_cast< QCPLineEnding*>(_v) = lowerEnding(); break;
  1535. case 50: *reinterpret_cast< QCPLineEnding*>(_v) = upperEnding(); break;
  1536. case 51: *reinterpret_cast< QCPGrid**>(_v) = grid(); break;
  1537. default: break;
  1538. }
  1539. _id -= 52;
  1540. } else if (_c == QMetaObject::WriteProperty) {
  1541. void *_v = _a[0];
  1542. switch (_id) {
  1543. case 2: setScaleType(*reinterpret_cast< ScaleType*>(_v)); break;
  1544. case 3: setScaleLogBase(*reinterpret_cast< double*>(_v)); break;
  1545. case 4: setRange(*reinterpret_cast< QCPRange*>(_v)); break;
  1546. case 5: setRangeReversed(*reinterpret_cast< bool*>(_v)); break;
  1547. case 6: setAutoTicks(*reinterpret_cast< bool*>(_v)); break;
  1548. case 7: setAutoTickCount(*reinterpret_cast< int*>(_v)); break;
  1549. case 8: setAutoTickLabels(*reinterpret_cast< bool*>(_v)); break;
  1550. case 9: setAutoTickStep(*reinterpret_cast< bool*>(_v)); break;
  1551. case 10: setAutoSubTicks(*reinterpret_cast< bool*>(_v)); break;
  1552. case 11: setTicks(*reinterpret_cast< bool*>(_v)); break;
  1553. case 12: setTickLabels(*reinterpret_cast< bool*>(_v)); break;
  1554. case 13: setTickLabelPadding(*reinterpret_cast< int*>(_v)); break;
  1555. case 14: setTickLabelType(*reinterpret_cast< LabelType*>(_v)); break;
  1556. case 15: setTickLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  1557. case 16: setTickLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  1558. case 17: setTickLabelRotation(*reinterpret_cast< double*>(_v)); break;
  1559. case 18: setTickLabelSide(*reinterpret_cast< LabelSide*>(_v)); break;
  1560. case 19: setDateTimeFormat(*reinterpret_cast< QString*>(_v)); break;
  1561. case 20: setDateTimeSpec(*reinterpret_cast< Qt::TimeSpec*>(_v)); break;
  1562. case 21: setNumberFormat(*reinterpret_cast< QString*>(_v)); break;
  1563. case 22: setNumberPrecision(*reinterpret_cast< int*>(_v)); break;
  1564. case 23: setTickStep(*reinterpret_cast< double*>(_v)); break;
  1565. case 24: setTickVector(*reinterpret_cast< QVector<double>*>(_v)); break;
  1566. case 25: setTickVectorLabels(*reinterpret_cast< QVector<QString>*>(_v)); break;
  1567. case 26: setTickLengthIn(*reinterpret_cast< int*>(_v)); break;
  1568. case 27: setTickLengthOut(*reinterpret_cast< int*>(_v)); break;
  1569. case 28: setSubTickCount(*reinterpret_cast< int*>(_v)); break;
  1570. case 29: setSubTickLengthIn(*reinterpret_cast< int*>(_v)); break;
  1571. case 30: setSubTickLengthOut(*reinterpret_cast< int*>(_v)); break;
  1572. case 31: setBasePen(*reinterpret_cast< QPen*>(_v)); break;
  1573. case 32: setTickPen(*reinterpret_cast< QPen*>(_v)); break;
  1574. case 33: setSubTickPen(*reinterpret_cast< QPen*>(_v)); break;
  1575. case 34: setLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  1576. case 35: setLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  1577. case 36: setLabel(*reinterpret_cast< QString*>(_v)); break;
  1578. case 37: setLabelPadding(*reinterpret_cast< int*>(_v)); break;
  1579. case 38: setPadding(*reinterpret_cast< int*>(_v)); break;
  1580. case 39: setOffset(*reinterpret_cast< int*>(_v)); break;
  1581. case 40: setSelectedParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  1582. case 41: setSelectableParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  1583. case 42: setSelectedTickLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  1584. case 43: setSelectedLabelFont(*reinterpret_cast< QFont*>(_v)); break;
  1585. case 44: setSelectedTickLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  1586. case 45: setSelectedLabelColor(*reinterpret_cast< QColor*>(_v)); break;
  1587. case 46: setSelectedBasePen(*reinterpret_cast< QPen*>(_v)); break;
  1588. case 47: setSelectedTickPen(*reinterpret_cast< QPen*>(_v)); break;
  1589. case 48: setSelectedSubTickPen(*reinterpret_cast< QPen*>(_v)); break;
  1590. case 49: setLowerEnding(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  1591. case 50: setUpperEnding(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  1592. default: break;
  1593. }
  1594. _id -= 52;
  1595. } else if (_c == QMetaObject::ResetProperty) {
  1596. _id -= 52;
  1597. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1598. _id -= 52;
  1599. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1600. _id -= 52;
  1601. } else if (_c == QMetaObject::QueryPropertyStored) {
  1602. _id -= 52;
  1603. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1604. _id -= 52;
  1605. } else if (_c == QMetaObject::QueryPropertyUser) {
  1606. _id -= 52;
  1607. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  1608. if (_id < 52)
  1609. qt_static_metacall(this, _c, _id, _a);
  1610. _id -= 52;
  1611. }
  1612. #endif // QT_NO_PROPERTIES
  1613. return _id;
  1614. }
  1615. // SIGNAL 0
  1616. void QCPAxis::ticksRequest()
  1617. {
  1618. QMetaObject::activate(this, &staticMetaObject, 0, 0);
  1619. }
  1620. // SIGNAL 1
  1621. void QCPAxis::rangeChanged(const QCPRange & _t1)
  1622. {
  1623. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1624. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  1625. }
  1626. // SIGNAL 2
  1627. void QCPAxis::rangeChanged(const QCPRange & _t1, const QCPRange & _t2)
  1628. {
  1629. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  1630. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  1631. }
  1632. // SIGNAL 3
  1633. void QCPAxis::scaleTypeChanged(QCPAxis::ScaleType _t1)
  1634. {
  1635. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1636. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  1637. }
  1638. // SIGNAL 4
  1639. void QCPAxis::selectionChanged(const QCPAxis::SelectableParts & _t1)
  1640. {
  1641. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1642. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  1643. }
  1644. // SIGNAL 5
  1645. void QCPAxis::selectableChanged(const QCPAxis::SelectableParts & _t1)
  1646. {
  1647. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1648. QMetaObject::activate(this, &staticMetaObject, 5, _a);
  1649. }
  1650. struct qt_meta_stringdata_QCPAbstractPlottable_t {
  1651. QByteArrayData data[19];
  1652. char stringdata[228];
  1653. };
  1654. #define QT_MOC_LITERAL(idx, ofs, len) \
  1655. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1656. qptrdiff(offsetof(qt_meta_stringdata_QCPAbstractPlottable_t, stringdata) + ofs \
  1657. - idx * sizeof(QByteArrayData)) \
  1658. )
  1659. static const qt_meta_stringdata_QCPAbstractPlottable_t qt_meta_stringdata_QCPAbstractPlottable = {
  1660. {
  1661. QT_MOC_LITERAL(0, 0, 20),
  1662. QT_MOC_LITERAL(1, 21, 16),
  1663. QT_MOC_LITERAL(2, 38, 0),
  1664. QT_MOC_LITERAL(3, 39, 8),
  1665. QT_MOC_LITERAL(4, 48, 17),
  1666. QT_MOC_LITERAL(5, 66, 10),
  1667. QT_MOC_LITERAL(6, 77, 13),
  1668. QT_MOC_LITERAL(7, 91, 11),
  1669. QT_MOC_LITERAL(8, 103, 4),
  1670. QT_MOC_LITERAL(9, 108, 15),
  1671. QT_MOC_LITERAL(10, 124, 19),
  1672. QT_MOC_LITERAL(11, 144, 20),
  1673. QT_MOC_LITERAL(12, 165, 3),
  1674. QT_MOC_LITERAL(13, 169, 11),
  1675. QT_MOC_LITERAL(14, 181, 5),
  1676. QT_MOC_LITERAL(15, 187, 13),
  1677. QT_MOC_LITERAL(16, 201, 7),
  1678. QT_MOC_LITERAL(17, 209, 8),
  1679. QT_MOC_LITERAL(18, 218, 9)
  1680. },
  1681. "QCPAbstractPlottable\0selectionChanged\0"
  1682. "\0selected\0selectableChanged\0selectable\0"
  1683. "setSelectable\0setSelected\0name\0"
  1684. "antialiasedFill\0antialiasedScatters\0"
  1685. "antialiasedErrorBars\0pen\0selectedPen\0"
  1686. "brush\0selectedBrush\0keyAxis\0QCPAxis*\0"
  1687. "valueAxis"
  1688. };
  1689. #undef QT_MOC_LITERAL
  1690. static const uint qt_meta_data_QCPAbstractPlottable[] = {
  1691. // content:
  1692. 7, // revision
  1693. 0, // classname
  1694. 0, 0, // classinfo
  1695. 4, 14, // methods
  1696. 12, 46, // properties
  1697. 0, 0, // enums/sets
  1698. 0, 0, // constructors
  1699. 0, // flags
  1700. 2, // signalCount
  1701. // signals: name, argc, parameters, tag, flags
  1702. 1, 1, 34, 2, 0x06 /* Public */,
  1703. 4, 1, 37, 2, 0x06 /* Public */,
  1704. // slots: name, argc, parameters, tag, flags
  1705. 6, 1, 40, 2, 0x0a /* Public */,
  1706. 7, 1, 43, 2, 0x0a /* Public */,
  1707. // signals: parameters
  1708. QMetaType::Void, QMetaType::Bool, 3,
  1709. QMetaType::Void, QMetaType::Bool, 5,
  1710. // slots: parameters
  1711. QMetaType::Void, QMetaType::Bool, 5,
  1712. QMetaType::Void, QMetaType::Bool, 3,
  1713. // properties: name, type, flags
  1714. 8, QMetaType::QString, 0x00095103,
  1715. 9, QMetaType::Bool, 0x00095103,
  1716. 10, QMetaType::Bool, 0x00095103,
  1717. 11, QMetaType::Bool, 0x00095103,
  1718. 12, QMetaType::QPen, 0x00095103,
  1719. 13, QMetaType::QPen, 0x00095103,
  1720. 14, QMetaType::QBrush, 0x00095103,
  1721. 15, QMetaType::QBrush, 0x00095103,
  1722. 16, 0x80000000 | 17, 0x0009510b,
  1723. 18, 0x80000000 | 17, 0x0009510b,
  1724. 5, QMetaType::Bool, 0x00495103,
  1725. 3, QMetaType::Bool, 0x00495103,
  1726. // properties: notify_signal_id
  1727. 0,
  1728. 0,
  1729. 0,
  1730. 0,
  1731. 0,
  1732. 0,
  1733. 0,
  1734. 0,
  1735. 0,
  1736. 0,
  1737. 1,
  1738. 0,
  1739. 0 // eod
  1740. };
  1741. void QCPAbstractPlottable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1742. {
  1743. if (_c == QMetaObject::InvokeMetaMethod) {
  1744. QCPAbstractPlottable *_t = static_cast<QCPAbstractPlottable *>(_o);
  1745. switch (_id) {
  1746. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1747. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1748. case 2: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1749. case 3: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1750. default: ;
  1751. }
  1752. } else if (_c == QMetaObject::IndexOfMethod) {
  1753. int *result = reinterpret_cast<int *>(_a[0]);
  1754. void **func = reinterpret_cast<void **>(_a[1]);
  1755. {
  1756. typedef void (QCPAbstractPlottable::*_t)(bool );
  1757. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAbstractPlottable::selectionChanged)) {
  1758. *result = 0;
  1759. }
  1760. }
  1761. {
  1762. typedef void (QCPAbstractPlottable::*_t)(bool );
  1763. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAbstractPlottable::selectableChanged)) {
  1764. *result = 1;
  1765. }
  1766. }
  1767. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  1768. switch (_id) {
  1769. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  1770. case 9:
  1771. case 8:
  1772. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis* >(); break;
  1773. }
  1774. }
  1775. }
  1776. const QMetaObject QCPAbstractPlottable::staticMetaObject = {
  1777. { &QCPLayerable::staticMetaObject, qt_meta_stringdata_QCPAbstractPlottable.data,
  1778. qt_meta_data_QCPAbstractPlottable, qt_static_metacall, 0, 0}
  1779. };
  1780. const QMetaObject *QCPAbstractPlottable::metaObject() const
  1781. {
  1782. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1783. }
  1784. void *QCPAbstractPlottable::qt_metacast(const char *_clname)
  1785. {
  1786. if (!_clname) return 0;
  1787. if (!strcmp(_clname, qt_meta_stringdata_QCPAbstractPlottable.stringdata))
  1788. return static_cast<void*>(const_cast< QCPAbstractPlottable*>(this));
  1789. return QCPLayerable::qt_metacast(_clname);
  1790. }
  1791. int QCPAbstractPlottable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1792. {
  1793. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  1794. if (_id < 0)
  1795. return _id;
  1796. if (_c == QMetaObject::InvokeMetaMethod) {
  1797. if (_id < 4)
  1798. qt_static_metacall(this, _c, _id, _a);
  1799. _id -= 4;
  1800. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  1801. if (_id < 4)
  1802. *reinterpret_cast<int*>(_a[0]) = -1;
  1803. _id -= 4;
  1804. }
  1805. #ifndef QT_NO_PROPERTIES
  1806. else if (_c == QMetaObject::ReadProperty) {
  1807. void *_v = _a[0];
  1808. switch (_id) {
  1809. case 0: *reinterpret_cast< QString*>(_v) = name(); break;
  1810. case 1: *reinterpret_cast< bool*>(_v) = antialiasedFill(); break;
  1811. case 2: *reinterpret_cast< bool*>(_v) = antialiasedScatters(); break;
  1812. case 3: *reinterpret_cast< bool*>(_v) = antialiasedErrorBars(); break;
  1813. case 4: *reinterpret_cast< QPen*>(_v) = pen(); break;
  1814. case 5: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  1815. case 6: *reinterpret_cast< QBrush*>(_v) = brush(); break;
  1816. case 7: *reinterpret_cast< QBrush*>(_v) = selectedBrush(); break;
  1817. case 8: *reinterpret_cast< QCPAxis**>(_v) = keyAxis(); break;
  1818. case 9: *reinterpret_cast< QCPAxis**>(_v) = valueAxis(); break;
  1819. case 10: *reinterpret_cast< bool*>(_v) = selectable(); break;
  1820. case 11: *reinterpret_cast< bool*>(_v) = selected(); break;
  1821. default: break;
  1822. }
  1823. _id -= 12;
  1824. } else if (_c == QMetaObject::WriteProperty) {
  1825. void *_v = _a[0];
  1826. switch (_id) {
  1827. case 0: setName(*reinterpret_cast< QString*>(_v)); break;
  1828. case 1: setAntialiasedFill(*reinterpret_cast< bool*>(_v)); break;
  1829. case 2: setAntialiasedScatters(*reinterpret_cast< bool*>(_v)); break;
  1830. case 3: setAntialiasedErrorBars(*reinterpret_cast< bool*>(_v)); break;
  1831. case 4: setPen(*reinterpret_cast< QPen*>(_v)); break;
  1832. case 5: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  1833. case 6: setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  1834. case 7: setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  1835. case 8: setKeyAxis(*reinterpret_cast< QCPAxis**>(_v)); break;
  1836. case 9: setValueAxis(*reinterpret_cast< QCPAxis**>(_v)); break;
  1837. case 10: setSelectable(*reinterpret_cast< bool*>(_v)); break;
  1838. case 11: setSelected(*reinterpret_cast< bool*>(_v)); break;
  1839. default: break;
  1840. }
  1841. _id -= 12;
  1842. } else if (_c == QMetaObject::ResetProperty) {
  1843. _id -= 12;
  1844. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  1845. _id -= 12;
  1846. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  1847. _id -= 12;
  1848. } else if (_c == QMetaObject::QueryPropertyStored) {
  1849. _id -= 12;
  1850. } else if (_c == QMetaObject::QueryPropertyEditable) {
  1851. _id -= 12;
  1852. } else if (_c == QMetaObject::QueryPropertyUser) {
  1853. _id -= 12;
  1854. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  1855. if (_id < 12)
  1856. qt_static_metacall(this, _c, _id, _a);
  1857. _id -= 12;
  1858. }
  1859. #endif // QT_NO_PROPERTIES
  1860. return _id;
  1861. }
  1862. // SIGNAL 0
  1863. void QCPAbstractPlottable::selectionChanged(bool _t1)
  1864. {
  1865. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1866. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  1867. }
  1868. // SIGNAL 1
  1869. void QCPAbstractPlottable::selectableChanged(bool _t1)
  1870. {
  1871. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  1872. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  1873. }
  1874. struct qt_meta_stringdata_QCPAbstractItem_t {
  1875. QByteArrayData data[11];
  1876. char stringdata[139];
  1877. };
  1878. #define QT_MOC_LITERAL(idx, ofs, len) \
  1879. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  1880. qptrdiff(offsetof(qt_meta_stringdata_QCPAbstractItem_t, stringdata) + ofs \
  1881. - idx * sizeof(QByteArrayData)) \
  1882. )
  1883. static const qt_meta_stringdata_QCPAbstractItem_t qt_meta_stringdata_QCPAbstractItem = {
  1884. {
  1885. QT_MOC_LITERAL(0, 0, 15),
  1886. QT_MOC_LITERAL(1, 16, 16),
  1887. QT_MOC_LITERAL(2, 33, 0),
  1888. QT_MOC_LITERAL(3, 34, 8),
  1889. QT_MOC_LITERAL(4, 43, 17),
  1890. QT_MOC_LITERAL(5, 61, 10),
  1891. QT_MOC_LITERAL(6, 72, 13),
  1892. QT_MOC_LITERAL(7, 86, 11),
  1893. QT_MOC_LITERAL(8, 98, 14),
  1894. QT_MOC_LITERAL(9, 113, 12),
  1895. QT_MOC_LITERAL(10, 126, 12)
  1896. },
  1897. "QCPAbstractItem\0selectionChanged\0\0"
  1898. "selected\0selectableChanged\0selectable\0"
  1899. "setSelectable\0setSelected\0clipToAxisRect\0"
  1900. "clipAxisRect\0QCPAxisRect*"
  1901. };
  1902. #undef QT_MOC_LITERAL
  1903. static const uint qt_meta_data_QCPAbstractItem[] = {
  1904. // content:
  1905. 7, // revision
  1906. 0, // classname
  1907. 0, 0, // classinfo
  1908. 4, 14, // methods
  1909. 4, 46, // properties
  1910. 0, 0, // enums/sets
  1911. 0, 0, // constructors
  1912. 0, // flags
  1913. 2, // signalCount
  1914. // signals: name, argc, parameters, tag, flags
  1915. 1, 1, 34, 2, 0x06 /* Public */,
  1916. 4, 1, 37, 2, 0x06 /* Public */,
  1917. // slots: name, argc, parameters, tag, flags
  1918. 6, 1, 40, 2, 0x0a /* Public */,
  1919. 7, 1, 43, 2, 0x0a /* Public */,
  1920. // signals: parameters
  1921. QMetaType::Void, QMetaType::Bool, 3,
  1922. QMetaType::Void, QMetaType::Bool, 5,
  1923. // slots: parameters
  1924. QMetaType::Void, QMetaType::Bool, 5,
  1925. QMetaType::Void, QMetaType::Bool, 3,
  1926. // properties: name, type, flags
  1927. 8, QMetaType::Bool, 0x00095103,
  1928. 9, 0x80000000 | 10, 0x0009510b,
  1929. 5, QMetaType::Bool, 0x00495103,
  1930. 3, QMetaType::Bool, 0x00495103,
  1931. // properties: notify_signal_id
  1932. 0,
  1933. 0,
  1934. 1,
  1935. 0,
  1936. 0 // eod
  1937. };
  1938. void QCPAbstractItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  1939. {
  1940. if (_c == QMetaObject::InvokeMetaMethod) {
  1941. QCPAbstractItem *_t = static_cast<QCPAbstractItem *>(_o);
  1942. switch (_id) {
  1943. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1944. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1945. case 2: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1946. case 3: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  1947. default: ;
  1948. }
  1949. } else if (_c == QMetaObject::IndexOfMethod) {
  1950. int *result = reinterpret_cast<int *>(_a[0]);
  1951. void **func = reinterpret_cast<void **>(_a[1]);
  1952. {
  1953. typedef void (QCPAbstractItem::*_t)(bool );
  1954. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAbstractItem::selectionChanged)) {
  1955. *result = 0;
  1956. }
  1957. }
  1958. {
  1959. typedef void (QCPAbstractItem::*_t)(bool );
  1960. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAbstractItem::selectableChanged)) {
  1961. *result = 1;
  1962. }
  1963. }
  1964. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  1965. switch (_id) {
  1966. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  1967. case 1:
  1968. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxisRect* >(); break;
  1969. }
  1970. }
  1971. }
  1972. const QMetaObject QCPAbstractItem::staticMetaObject = {
  1973. { &QCPLayerable::staticMetaObject, qt_meta_stringdata_QCPAbstractItem.data,
  1974. qt_meta_data_QCPAbstractItem, qt_static_metacall, 0, 0}
  1975. };
  1976. const QMetaObject *QCPAbstractItem::metaObject() const
  1977. {
  1978. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  1979. }
  1980. void *QCPAbstractItem::qt_metacast(const char *_clname)
  1981. {
  1982. if (!_clname) return 0;
  1983. if (!strcmp(_clname, qt_meta_stringdata_QCPAbstractItem.stringdata))
  1984. return static_cast<void*>(const_cast< QCPAbstractItem*>(this));
  1985. return QCPLayerable::qt_metacast(_clname);
  1986. }
  1987. int QCPAbstractItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  1988. {
  1989. _id = QCPLayerable::qt_metacall(_c, _id, _a);
  1990. if (_id < 0)
  1991. return _id;
  1992. if (_c == QMetaObject::InvokeMetaMethod) {
  1993. if (_id < 4)
  1994. qt_static_metacall(this, _c, _id, _a);
  1995. _id -= 4;
  1996. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  1997. if (_id < 4)
  1998. *reinterpret_cast<int*>(_a[0]) = -1;
  1999. _id -= 4;
  2000. }
  2001. #ifndef QT_NO_PROPERTIES
  2002. else if (_c == QMetaObject::ReadProperty) {
  2003. void *_v = _a[0];
  2004. switch (_id) {
  2005. case 0: *reinterpret_cast< bool*>(_v) = clipToAxisRect(); break;
  2006. case 1: *reinterpret_cast< QCPAxisRect**>(_v) = clipAxisRect(); break;
  2007. case 2: *reinterpret_cast< bool*>(_v) = selectable(); break;
  2008. case 3: *reinterpret_cast< bool*>(_v) = selected(); break;
  2009. default: break;
  2010. }
  2011. _id -= 4;
  2012. } else if (_c == QMetaObject::WriteProperty) {
  2013. void *_v = _a[0];
  2014. switch (_id) {
  2015. case 0: setClipToAxisRect(*reinterpret_cast< bool*>(_v)); break;
  2016. case 1: setClipAxisRect(*reinterpret_cast< QCPAxisRect**>(_v)); break;
  2017. case 2: setSelectable(*reinterpret_cast< bool*>(_v)); break;
  2018. case 3: setSelected(*reinterpret_cast< bool*>(_v)); break;
  2019. default: break;
  2020. }
  2021. _id -= 4;
  2022. } else if (_c == QMetaObject::ResetProperty) {
  2023. _id -= 4;
  2024. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2025. _id -= 4;
  2026. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2027. _id -= 4;
  2028. } else if (_c == QMetaObject::QueryPropertyStored) {
  2029. _id -= 4;
  2030. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2031. _id -= 4;
  2032. } else if (_c == QMetaObject::QueryPropertyUser) {
  2033. _id -= 4;
  2034. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2035. if (_id < 4)
  2036. qt_static_metacall(this, _c, _id, _a);
  2037. _id -= 4;
  2038. }
  2039. #endif // QT_NO_PROPERTIES
  2040. return _id;
  2041. }
  2042. // SIGNAL 0
  2043. void QCPAbstractItem::selectionChanged(bool _t1)
  2044. {
  2045. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2046. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2047. }
  2048. // SIGNAL 1
  2049. void QCPAbstractItem::selectableChanged(bool _t1)
  2050. {
  2051. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2052. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2053. }
  2054. struct qt_meta_stringdata_QCustomPlot_t {
  2055. QByteArrayData data[57];
  2056. char stringdata[801];
  2057. };
  2058. #define QT_MOC_LITERAL(idx, ofs, len) \
  2059. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2060. qptrdiff(offsetof(qt_meta_stringdata_QCustomPlot_t, stringdata) + ofs \
  2061. - idx * sizeof(QByteArrayData)) \
  2062. )
  2063. static const qt_meta_stringdata_QCustomPlot_t qt_meta_stringdata_QCustomPlot = {
  2064. {
  2065. QT_MOC_LITERAL(0, 0, 11),
  2066. QT_MOC_LITERAL(1, 12, 16),
  2067. QT_MOC_LITERAL(2, 29, 0),
  2068. QT_MOC_LITERAL(3, 30, 12),
  2069. QT_MOC_LITERAL(4, 43, 5),
  2070. QT_MOC_LITERAL(5, 49, 10),
  2071. QT_MOC_LITERAL(6, 60, 9),
  2072. QT_MOC_LITERAL(7, 70, 12),
  2073. QT_MOC_LITERAL(8, 83, 10),
  2074. QT_MOC_LITERAL(9, 94, 12),
  2075. QT_MOC_LITERAL(10, 107, 14),
  2076. QT_MOC_LITERAL(11, 122, 21),
  2077. QT_MOC_LITERAL(12, 144, 9),
  2078. QT_MOC_LITERAL(13, 154, 20),
  2079. QT_MOC_LITERAL(14, 175, 9),
  2080. QT_MOC_LITERAL(15, 185, 16),
  2081. QT_MOC_LITERAL(16, 202, 4),
  2082. QT_MOC_LITERAL(17, 207, 15),
  2083. QT_MOC_LITERAL(18, 223, 9),
  2084. QT_MOC_LITERAL(19, 233, 8),
  2085. QT_MOC_LITERAL(20, 242, 4),
  2086. QT_MOC_LITERAL(21, 247, 23),
  2087. QT_MOC_LITERAL(22, 271, 4),
  2088. QT_MOC_LITERAL(23, 276, 15),
  2089. QT_MOC_LITERAL(24, 292, 11),
  2090. QT_MOC_LITERAL(25, 304, 10),
  2091. QT_MOC_LITERAL(26, 315, 6),
  2092. QT_MOC_LITERAL(27, 322, 22),
  2093. QT_MOC_LITERAL(28, 345, 17),
  2094. QT_MOC_LITERAL(29, 363, 10),
  2095. QT_MOC_LITERAL(30, 374, 13),
  2096. QT_MOC_LITERAL(31, 388, 5),
  2097. QT_MOC_LITERAL(32, 394, 16),
  2098. QT_MOC_LITERAL(33, 411, 22),
  2099. QT_MOC_LITERAL(34, 434, 12),
  2100. QT_MOC_LITERAL(35, 447, 11),
  2101. QT_MOC_LITERAL(36, 459, 11),
  2102. QT_MOC_LITERAL(37, 471, 21),
  2103. QT_MOC_LITERAL(38, 493, 11),
  2104. QT_MOC_LITERAL(39, 505, 6),
  2105. QT_MOC_LITERAL(40, 512, 28),
  2106. QT_MOC_LITERAL(41, 541, 15),
  2107. QT_MOC_LITERAL(42, 557, 8),
  2108. QT_MOC_LITERAL(43, 566, 10),
  2109. QT_MOC_LITERAL(44, 577, 16),
  2110. QT_MOC_LITERAL(45, 594, 20),
  2111. QT_MOC_LITERAL(46, 615, 19),
  2112. QT_MOC_LITERAL(47, 635, 10),
  2113. QT_MOC_LITERAL(48, 646, 14),
  2114. QT_MOC_LITERAL(49, 661, 24),
  2115. QT_MOC_LITERAL(50, 686, 18),
  2116. QT_MOC_LITERAL(51, 705, 20),
  2117. QT_MOC_LITERAL(52, 726, 19),
  2118. QT_MOC_LITERAL(53, 746, 20),
  2119. QT_MOC_LITERAL(54, 767, 15),
  2120. QT_MOC_LITERAL(55, 783, 8),
  2121. QT_MOC_LITERAL(56, 792, 8)
  2122. },
  2123. "QCustomPlot\0mouseDoubleClick\0\0"
  2124. "QMouseEvent*\0event\0mousePress\0mouseMove\0"
  2125. "mouseRelease\0mouseWheel\0QWheelEvent*\0"
  2126. "plottableClick\0QCPAbstractPlottable*\0"
  2127. "plottable\0plottableDoubleClick\0itemClick\0"
  2128. "QCPAbstractItem*\0item\0itemDoubleClick\0"
  2129. "axisClick\0QCPAxis*\0axis\0QCPAxis::SelectablePart\0"
  2130. "part\0axisDoubleClick\0legendClick\0"
  2131. "QCPLegend*\0legend\0QCPAbstractLegendItem*\0"
  2132. "legendDoubleClick\0titleClick\0QCPPlotTitle*\0"
  2133. "title\0titleDoubleClick\0selectionChangedByUser\0"
  2134. "beforeReplot\0afterReplot\0rescaleAxes\0"
  2135. "onlyVisiblePlottables\0deselectAll\0"
  2136. "replot\0QCustomPlot::RefreshPriority\0"
  2137. "refreshPriority\0viewport\0background\0"
  2138. "backgroundScaled\0backgroundScaledMode\0"
  2139. "Qt::AspectRatioMode\0plotLayout\0"
  2140. "QCPLayoutGrid*\0autoAddPlottableToLegend\0"
  2141. "selectionTolerance\0noAntialiasingOnDrag\0"
  2142. "multiSelectModifier\0Qt::KeyboardModifier\0"
  2143. "LayerInsertMode\0limBelow\0limAbove"
  2144. };
  2145. #undef QT_MOC_LITERAL
  2146. static const uint qt_meta_data_QCustomPlot[] = {
  2147. // content:
  2148. 7, // revision
  2149. 0, // classname
  2150. 0, 0, // classinfo
  2151. 23, 14, // methods
  2152. 9, 214, // properties
  2153. 1, 241, // enums/sets
  2154. 0, 0, // constructors
  2155. 0, // flags
  2156. 18, // signalCount
  2157. // signals: name, argc, parameters, tag, flags
  2158. 1, 1, 129, 2, 0x06 /* Public */,
  2159. 5, 1, 132, 2, 0x06 /* Public */,
  2160. 6, 1, 135, 2, 0x06 /* Public */,
  2161. 7, 1, 138, 2, 0x06 /* Public */,
  2162. 8, 1, 141, 2, 0x06 /* Public */,
  2163. 10, 2, 144, 2, 0x06 /* Public */,
  2164. 13, 2, 149, 2, 0x06 /* Public */,
  2165. 14, 2, 154, 2, 0x06 /* Public */,
  2166. 17, 2, 159, 2, 0x06 /* Public */,
  2167. 18, 3, 164, 2, 0x06 /* Public */,
  2168. 23, 3, 171, 2, 0x06 /* Public */,
  2169. 24, 3, 178, 2, 0x06 /* Public */,
  2170. 28, 3, 185, 2, 0x06 /* Public */,
  2171. 29, 2, 192, 2, 0x06 /* Public */,
  2172. 32, 2, 197, 2, 0x06 /* Public */,
  2173. 33, 0, 202, 2, 0x06 /* Public */,
  2174. 34, 0, 203, 2, 0x06 /* Public */,
  2175. 35, 0, 204, 2, 0x06 /* Public */,
  2176. // slots: name, argc, parameters, tag, flags
  2177. 36, 1, 205, 2, 0x0a /* Public */,
  2178. 36, 0, 208, 2, 0x2a /* Public | MethodCloned */,
  2179. 38, 0, 209, 2, 0x0a /* Public */,
  2180. 39, 1, 210, 2, 0x0a /* Public */,
  2181. 39, 0, 213, 2, 0x2a /* Public | MethodCloned */,
  2182. // signals: parameters
  2183. QMetaType::Void, 0x80000000 | 3, 4,
  2184. QMetaType::Void, 0x80000000 | 3, 4,
  2185. QMetaType::Void, 0x80000000 | 3, 4,
  2186. QMetaType::Void, 0x80000000 | 3, 4,
  2187. QMetaType::Void, 0x80000000 | 9, 4,
  2188. QMetaType::Void, 0x80000000 | 11, 0x80000000 | 3, 12, 4,
  2189. QMetaType::Void, 0x80000000 | 11, 0x80000000 | 3, 12, 4,
  2190. QMetaType::Void, 0x80000000 | 15, 0x80000000 | 3, 16, 4,
  2191. QMetaType::Void, 0x80000000 | 15, 0x80000000 | 3, 16, 4,
  2192. QMetaType::Void, 0x80000000 | 19, 0x80000000 | 21, 0x80000000 | 3, 20, 22, 4,
  2193. QMetaType::Void, 0x80000000 | 19, 0x80000000 | 21, 0x80000000 | 3, 20, 22, 4,
  2194. QMetaType::Void, 0x80000000 | 25, 0x80000000 | 27, 0x80000000 | 3, 26, 16, 4,
  2195. QMetaType::Void, 0x80000000 | 25, 0x80000000 | 27, 0x80000000 | 3, 26, 16, 4,
  2196. QMetaType::Void, 0x80000000 | 3, 0x80000000 | 30, 4, 31,
  2197. QMetaType::Void, 0x80000000 | 3, 0x80000000 | 30, 4, 31,
  2198. QMetaType::Void,
  2199. QMetaType::Void,
  2200. QMetaType::Void,
  2201. // slots: parameters
  2202. QMetaType::Void, QMetaType::Bool, 37,
  2203. QMetaType::Void,
  2204. QMetaType::Void,
  2205. QMetaType::Void, 0x80000000 | 40, 41,
  2206. QMetaType::Void,
  2207. // properties: name, type, flags
  2208. 42, QMetaType::QRect, 0x00095103,
  2209. 43, QMetaType::QPixmap, 0x00095103,
  2210. 44, QMetaType::Bool, 0x00095103,
  2211. 45, 0x80000000 | 46, 0x0009510b,
  2212. 47, 0x80000000 | 48, 0x00095009,
  2213. 49, QMetaType::Bool, 0x00095103,
  2214. 50, QMetaType::Int, 0x00095103,
  2215. 51, QMetaType::Bool, 0x00095103,
  2216. 52, 0x80000000 | 53, 0x0009510b,
  2217. // enums: name, flags, count, data
  2218. 54, 0x0, 2, 245,
  2219. // enum data: key, value
  2220. 55, uint(QCustomPlot::limBelow),
  2221. 56, uint(QCustomPlot::limAbove),
  2222. 0 // eod
  2223. };
  2224. void QCustomPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2225. {
  2226. if (_c == QMetaObject::InvokeMetaMethod) {
  2227. QCustomPlot *_t = static_cast<QCustomPlot *>(_o);
  2228. switch (_id) {
  2229. case 0: _t->mouseDoubleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  2230. case 1: _t->mousePress((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  2231. case 2: _t->mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  2232. case 3: _t->mouseRelease((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
  2233. case 4: _t->mouseWheel((*reinterpret_cast< QWheelEvent*(*)>(_a[1]))); break;
  2234. case 5: _t->plottableClick((*reinterpret_cast< QCPAbstractPlottable*(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  2235. case 6: _t->plottableDoubleClick((*reinterpret_cast< QCPAbstractPlottable*(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  2236. case 7: _t->itemClick((*reinterpret_cast< QCPAbstractItem*(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  2237. case 8: _t->itemDoubleClick((*reinterpret_cast< QCPAbstractItem*(*)>(_a[1])),(*reinterpret_cast< QMouseEvent*(*)>(_a[2]))); break;
  2238. case 9: _t->axisClick((*reinterpret_cast< QCPAxis*(*)>(_a[1])),(*reinterpret_cast< QCPAxis::SelectablePart(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  2239. case 10: _t->axisDoubleClick((*reinterpret_cast< QCPAxis*(*)>(_a[1])),(*reinterpret_cast< QCPAxis::SelectablePart(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  2240. case 11: _t->legendClick((*reinterpret_cast< QCPLegend*(*)>(_a[1])),(*reinterpret_cast< QCPAbstractLegendItem*(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  2241. case 12: _t->legendDoubleClick((*reinterpret_cast< QCPLegend*(*)>(_a[1])),(*reinterpret_cast< QCPAbstractLegendItem*(*)>(_a[2])),(*reinterpret_cast< QMouseEvent*(*)>(_a[3]))); break;
  2242. case 13: _t->titleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1])),(*reinterpret_cast< QCPPlotTitle*(*)>(_a[2]))); break;
  2243. case 14: _t->titleDoubleClick((*reinterpret_cast< QMouseEvent*(*)>(_a[1])),(*reinterpret_cast< QCPPlotTitle*(*)>(_a[2]))); break;
  2244. case 15: _t->selectionChangedByUser(); break;
  2245. case 16: _t->beforeReplot(); break;
  2246. case 17: _t->afterReplot(); break;
  2247. case 18: _t->rescaleAxes((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2248. case 19: _t->rescaleAxes(); break;
  2249. case 20: _t->deselectAll(); break;
  2250. case 21: _t->replot((*reinterpret_cast< QCustomPlot::RefreshPriority(*)>(_a[1]))); break;
  2251. case 22: _t->replot(); break;
  2252. default: ;
  2253. }
  2254. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2255. switch (_id) {
  2256. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2257. case 5:
  2258. switch (*reinterpret_cast<int*>(_a[1])) {
  2259. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2260. case 0:
  2261. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractPlottable* >(); break;
  2262. }
  2263. break;
  2264. case 6:
  2265. switch (*reinterpret_cast<int*>(_a[1])) {
  2266. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2267. case 0:
  2268. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractPlottable* >(); break;
  2269. }
  2270. break;
  2271. case 7:
  2272. switch (*reinterpret_cast<int*>(_a[1])) {
  2273. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2274. case 0:
  2275. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractItem* >(); break;
  2276. }
  2277. break;
  2278. case 8:
  2279. switch (*reinterpret_cast<int*>(_a[1])) {
  2280. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2281. case 0:
  2282. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractItem* >(); break;
  2283. }
  2284. break;
  2285. case 9:
  2286. switch (*reinterpret_cast<int*>(_a[1])) {
  2287. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2288. case 0:
  2289. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis* >(); break;
  2290. case 1:
  2291. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::SelectablePart >(); break;
  2292. }
  2293. break;
  2294. case 10:
  2295. switch (*reinterpret_cast<int*>(_a[1])) {
  2296. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2297. case 0:
  2298. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis* >(); break;
  2299. case 1:
  2300. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAxis::SelectablePart >(); break;
  2301. }
  2302. break;
  2303. case 11:
  2304. switch (*reinterpret_cast<int*>(_a[1])) {
  2305. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2306. case 1:
  2307. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractLegendItem* >(); break;
  2308. case 0:
  2309. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLegend* >(); break;
  2310. }
  2311. break;
  2312. case 12:
  2313. switch (*reinterpret_cast<int*>(_a[1])) {
  2314. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2315. case 1:
  2316. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPAbstractLegendItem* >(); break;
  2317. case 0:
  2318. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLegend* >(); break;
  2319. }
  2320. break;
  2321. case 13:
  2322. switch (*reinterpret_cast<int*>(_a[1])) {
  2323. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2324. case 1:
  2325. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPPlotTitle* >(); break;
  2326. }
  2327. break;
  2328. case 14:
  2329. switch (*reinterpret_cast<int*>(_a[1])) {
  2330. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2331. case 1:
  2332. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPPlotTitle* >(); break;
  2333. }
  2334. break;
  2335. }
  2336. } else if (_c == QMetaObject::IndexOfMethod) {
  2337. int *result = reinterpret_cast<int *>(_a[0]);
  2338. void **func = reinterpret_cast<void **>(_a[1]);
  2339. {
  2340. typedef void (QCustomPlot::*_t)(QMouseEvent * );
  2341. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::mouseDoubleClick)) {
  2342. *result = 0;
  2343. }
  2344. }
  2345. {
  2346. typedef void (QCustomPlot::*_t)(QMouseEvent * );
  2347. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::mousePress)) {
  2348. *result = 1;
  2349. }
  2350. }
  2351. {
  2352. typedef void (QCustomPlot::*_t)(QMouseEvent * );
  2353. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::mouseMove)) {
  2354. *result = 2;
  2355. }
  2356. }
  2357. {
  2358. typedef void (QCustomPlot::*_t)(QMouseEvent * );
  2359. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::mouseRelease)) {
  2360. *result = 3;
  2361. }
  2362. }
  2363. {
  2364. typedef void (QCustomPlot::*_t)(QWheelEvent * );
  2365. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::mouseWheel)) {
  2366. *result = 4;
  2367. }
  2368. }
  2369. {
  2370. typedef void (QCustomPlot::*_t)(QCPAbstractPlottable * , QMouseEvent * );
  2371. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::plottableClick)) {
  2372. *result = 5;
  2373. }
  2374. }
  2375. {
  2376. typedef void (QCustomPlot::*_t)(QCPAbstractPlottable * , QMouseEvent * );
  2377. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::plottableDoubleClick)) {
  2378. *result = 6;
  2379. }
  2380. }
  2381. {
  2382. typedef void (QCustomPlot::*_t)(QCPAbstractItem * , QMouseEvent * );
  2383. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::itemClick)) {
  2384. *result = 7;
  2385. }
  2386. }
  2387. {
  2388. typedef void (QCustomPlot::*_t)(QCPAbstractItem * , QMouseEvent * );
  2389. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::itemDoubleClick)) {
  2390. *result = 8;
  2391. }
  2392. }
  2393. {
  2394. typedef void (QCustomPlot::*_t)(QCPAxis * , QCPAxis::SelectablePart , QMouseEvent * );
  2395. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::axisClick)) {
  2396. *result = 9;
  2397. }
  2398. }
  2399. {
  2400. typedef void (QCustomPlot::*_t)(QCPAxis * , QCPAxis::SelectablePart , QMouseEvent * );
  2401. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::axisDoubleClick)) {
  2402. *result = 10;
  2403. }
  2404. }
  2405. {
  2406. typedef void (QCustomPlot::*_t)(QCPLegend * , QCPAbstractLegendItem * , QMouseEvent * );
  2407. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::legendClick)) {
  2408. *result = 11;
  2409. }
  2410. }
  2411. {
  2412. typedef void (QCustomPlot::*_t)(QCPLegend * , QCPAbstractLegendItem * , QMouseEvent * );
  2413. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::legendDoubleClick)) {
  2414. *result = 12;
  2415. }
  2416. }
  2417. {
  2418. typedef void (QCustomPlot::*_t)(QMouseEvent * , QCPPlotTitle * );
  2419. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::titleClick)) {
  2420. *result = 13;
  2421. }
  2422. }
  2423. {
  2424. typedef void (QCustomPlot::*_t)(QMouseEvent * , QCPPlotTitle * );
  2425. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::titleDoubleClick)) {
  2426. *result = 14;
  2427. }
  2428. }
  2429. {
  2430. typedef void (QCustomPlot::*_t)();
  2431. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::selectionChangedByUser)) {
  2432. *result = 15;
  2433. }
  2434. }
  2435. {
  2436. typedef void (QCustomPlot::*_t)();
  2437. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::beforeReplot)) {
  2438. *result = 16;
  2439. }
  2440. }
  2441. {
  2442. typedef void (QCustomPlot::*_t)();
  2443. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomPlot::afterReplot)) {
  2444. *result = 17;
  2445. }
  2446. }
  2447. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2448. switch (_id) {
  2449. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2450. case 4:
  2451. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLayoutGrid* >(); break;
  2452. }
  2453. }
  2454. }
  2455. const QMetaObject QCustomPlot::staticMetaObject = {
  2456. { &QWidget::staticMetaObject, qt_meta_stringdata_QCustomPlot.data,
  2457. qt_meta_data_QCustomPlot, qt_static_metacall, 0, 0}
  2458. };
  2459. const QMetaObject *QCustomPlot::metaObject() const
  2460. {
  2461. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  2462. }
  2463. void *QCustomPlot::qt_metacast(const char *_clname)
  2464. {
  2465. if (!_clname) return 0;
  2466. if (!strcmp(_clname, qt_meta_stringdata_QCustomPlot.stringdata))
  2467. return static_cast<void*>(const_cast< QCustomPlot*>(this));
  2468. return QWidget::qt_metacast(_clname);
  2469. }
  2470. int QCustomPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2471. {
  2472. _id = QWidget::qt_metacall(_c, _id, _a);
  2473. if (_id < 0)
  2474. return _id;
  2475. if (_c == QMetaObject::InvokeMetaMethod) {
  2476. if (_id < 23)
  2477. qt_static_metacall(this, _c, _id, _a);
  2478. _id -= 23;
  2479. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2480. if (_id < 23)
  2481. qt_static_metacall(this, _c, _id, _a);
  2482. _id -= 23;
  2483. }
  2484. #ifndef QT_NO_PROPERTIES
  2485. else if (_c == QMetaObject::ReadProperty) {
  2486. void *_v = _a[0];
  2487. switch (_id) {
  2488. case 0: *reinterpret_cast< QRect*>(_v) = viewport(); break;
  2489. case 1: *reinterpret_cast< QPixmap*>(_v) = background(); break;
  2490. case 2: *reinterpret_cast< bool*>(_v) = backgroundScaled(); break;
  2491. case 3: *reinterpret_cast< Qt::AspectRatioMode*>(_v) = backgroundScaledMode(); break;
  2492. case 4: *reinterpret_cast< QCPLayoutGrid**>(_v) = plotLayout(); break;
  2493. case 5: *reinterpret_cast< bool*>(_v) = autoAddPlottableToLegend(); break;
  2494. case 6: *reinterpret_cast< int*>(_v) = selectionTolerance(); break;
  2495. case 7: *reinterpret_cast< bool*>(_v) = noAntialiasingOnDrag(); break;
  2496. case 8: *reinterpret_cast< Qt::KeyboardModifier*>(_v) = multiSelectModifier(); break;
  2497. default: break;
  2498. }
  2499. _id -= 9;
  2500. } else if (_c == QMetaObject::WriteProperty) {
  2501. void *_v = _a[0];
  2502. switch (_id) {
  2503. case 0: setViewport(*reinterpret_cast< QRect*>(_v)); break;
  2504. case 1: setBackground(*reinterpret_cast< QPixmap*>(_v)); break;
  2505. case 2: setBackgroundScaled(*reinterpret_cast< bool*>(_v)); break;
  2506. case 3: setBackgroundScaledMode(*reinterpret_cast< Qt::AspectRatioMode*>(_v)); break;
  2507. case 5: setAutoAddPlottableToLegend(*reinterpret_cast< bool*>(_v)); break;
  2508. case 6: setSelectionTolerance(*reinterpret_cast< int*>(_v)); break;
  2509. case 7: setNoAntialiasingOnDrag(*reinterpret_cast< bool*>(_v)); break;
  2510. case 8: setMultiSelectModifier(*reinterpret_cast< Qt::KeyboardModifier*>(_v)); break;
  2511. default: break;
  2512. }
  2513. _id -= 9;
  2514. } else if (_c == QMetaObject::ResetProperty) {
  2515. _id -= 9;
  2516. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2517. _id -= 9;
  2518. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2519. _id -= 9;
  2520. } else if (_c == QMetaObject::QueryPropertyStored) {
  2521. _id -= 9;
  2522. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2523. _id -= 9;
  2524. } else if (_c == QMetaObject::QueryPropertyUser) {
  2525. _id -= 9;
  2526. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2527. if (_id < 9)
  2528. qt_static_metacall(this, _c, _id, _a);
  2529. _id -= 9;
  2530. }
  2531. #endif // QT_NO_PROPERTIES
  2532. return _id;
  2533. }
  2534. // SIGNAL 0
  2535. void QCustomPlot::mouseDoubleClick(QMouseEvent * _t1)
  2536. {
  2537. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2538. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  2539. }
  2540. // SIGNAL 1
  2541. void QCustomPlot::mousePress(QMouseEvent * _t1)
  2542. {
  2543. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2544. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  2545. }
  2546. // SIGNAL 2
  2547. void QCustomPlot::mouseMove(QMouseEvent * _t1)
  2548. {
  2549. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2550. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  2551. }
  2552. // SIGNAL 3
  2553. void QCustomPlot::mouseRelease(QMouseEvent * _t1)
  2554. {
  2555. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2556. QMetaObject::activate(this, &staticMetaObject, 3, _a);
  2557. }
  2558. // SIGNAL 4
  2559. void QCustomPlot::mouseWheel(QWheelEvent * _t1)
  2560. {
  2561. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  2562. QMetaObject::activate(this, &staticMetaObject, 4, _a);
  2563. }
  2564. // SIGNAL 5
  2565. void QCustomPlot::plottableClick(QCPAbstractPlottable * _t1, QMouseEvent * _t2)
  2566. {
  2567. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2568. QMetaObject::activate(this, &staticMetaObject, 5, _a);
  2569. }
  2570. // SIGNAL 6
  2571. void QCustomPlot::plottableDoubleClick(QCPAbstractPlottable * _t1, QMouseEvent * _t2)
  2572. {
  2573. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2574. QMetaObject::activate(this, &staticMetaObject, 6, _a);
  2575. }
  2576. // SIGNAL 7
  2577. void QCustomPlot::itemClick(QCPAbstractItem * _t1, QMouseEvent * _t2)
  2578. {
  2579. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2580. QMetaObject::activate(this, &staticMetaObject, 7, _a);
  2581. }
  2582. // SIGNAL 8
  2583. void QCustomPlot::itemDoubleClick(QCPAbstractItem * _t1, QMouseEvent * _t2)
  2584. {
  2585. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2586. QMetaObject::activate(this, &staticMetaObject, 8, _a);
  2587. }
  2588. // SIGNAL 9
  2589. void QCustomPlot::axisClick(QCPAxis * _t1, QCPAxis::SelectablePart _t2, QMouseEvent * _t3)
  2590. {
  2591. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  2592. QMetaObject::activate(this, &staticMetaObject, 9, _a);
  2593. }
  2594. // SIGNAL 10
  2595. void QCustomPlot::axisDoubleClick(QCPAxis * _t1, QCPAxis::SelectablePart _t2, QMouseEvent * _t3)
  2596. {
  2597. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  2598. QMetaObject::activate(this, &staticMetaObject, 10, _a);
  2599. }
  2600. // SIGNAL 11
  2601. void QCustomPlot::legendClick(QCPLegend * _t1, QCPAbstractLegendItem * _t2, QMouseEvent * _t3)
  2602. {
  2603. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  2604. QMetaObject::activate(this, &staticMetaObject, 11, _a);
  2605. }
  2606. // SIGNAL 12
  2607. void QCustomPlot::legendDoubleClick(QCPLegend * _t1, QCPAbstractLegendItem * _t2, QMouseEvent * _t3)
  2608. {
  2609. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
  2610. QMetaObject::activate(this, &staticMetaObject, 12, _a);
  2611. }
  2612. // SIGNAL 13
  2613. void QCustomPlot::titleClick(QMouseEvent * _t1, QCPPlotTitle * _t2)
  2614. {
  2615. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2616. QMetaObject::activate(this, &staticMetaObject, 13, _a);
  2617. }
  2618. // SIGNAL 14
  2619. void QCustomPlot::titleDoubleClick(QMouseEvent * _t1, QCPPlotTitle * _t2)
  2620. {
  2621. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
  2622. QMetaObject::activate(this, &staticMetaObject, 14, _a);
  2623. }
  2624. // SIGNAL 15
  2625. void QCustomPlot::selectionChangedByUser()
  2626. {
  2627. QMetaObject::activate(this, &staticMetaObject, 15, 0);
  2628. }
  2629. // SIGNAL 16
  2630. void QCustomPlot::beforeReplot()
  2631. {
  2632. QMetaObject::activate(this, &staticMetaObject, 16, 0);
  2633. }
  2634. // SIGNAL 17
  2635. void QCustomPlot::afterReplot()
  2636. {
  2637. QMetaObject::activate(this, &staticMetaObject, 17, 0);
  2638. }
  2639. struct qt_meta_stringdata_QCPColorGradient_t {
  2640. QByteArrayData data[17];
  2641. char stringdata[164];
  2642. };
  2643. #define QT_MOC_LITERAL(idx, ofs, len) \
  2644. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2645. qptrdiff(offsetof(qt_meta_stringdata_QCPColorGradient_t, stringdata) + ofs \
  2646. - idx * sizeof(QByteArrayData)) \
  2647. )
  2648. static const qt_meta_stringdata_QCPColorGradient_t qt_meta_stringdata_QCPColorGradient = {
  2649. {
  2650. QT_MOC_LITERAL(0, 0, 16),
  2651. QT_MOC_LITERAL(1, 17, 18),
  2652. QT_MOC_LITERAL(2, 36, 5),
  2653. QT_MOC_LITERAL(3, 42, 5),
  2654. QT_MOC_LITERAL(4, 48, 14),
  2655. QT_MOC_LITERAL(5, 63, 11),
  2656. QT_MOC_LITERAL(6, 75, 5),
  2657. QT_MOC_LITERAL(7, 81, 6),
  2658. QT_MOC_LITERAL(8, 88, 7),
  2659. QT_MOC_LITERAL(9, 96, 7),
  2660. QT_MOC_LITERAL(10, 104, 11),
  2661. QT_MOC_LITERAL(11, 116, 5),
  2662. QT_MOC_LITERAL(12, 122, 9),
  2663. QT_MOC_LITERAL(13, 132, 7),
  2664. QT_MOC_LITERAL(14, 140, 10),
  2665. QT_MOC_LITERAL(15, 151, 5),
  2666. QT_MOC_LITERAL(16, 157, 6)
  2667. },
  2668. "QCPColorGradient\0ColorInterpolation\0"
  2669. "ciRGB\0ciHSV\0GradientPreset\0gpGrayscale\0"
  2670. "gpHot\0gpCold\0gpNight\0gpCandy\0gpGeography\0"
  2671. "gpIon\0gpThermal\0gpPolar\0gpSpectrum\0"
  2672. "gpJet\0gpHues"
  2673. };
  2674. #undef QT_MOC_LITERAL
  2675. static const uint qt_meta_data_QCPColorGradient[] = {
  2676. // content:
  2677. 7, // revision
  2678. 0, // classname
  2679. 0, 0, // classinfo
  2680. 0, 0, // methods
  2681. 0, 0, // properties
  2682. 2, 14, // enums/sets
  2683. 0, 0, // constructors
  2684. 0, // flags
  2685. 0, // signalCount
  2686. // enums: name, flags, count, data
  2687. 1, 0x0, 2, 22,
  2688. 4, 0x0, 12, 26,
  2689. // enum data: key, value
  2690. 2, uint(QCPColorGradient::ciRGB),
  2691. 3, uint(QCPColorGradient::ciHSV),
  2692. 5, uint(QCPColorGradient::gpGrayscale),
  2693. 6, uint(QCPColorGradient::gpHot),
  2694. 7, uint(QCPColorGradient::gpCold),
  2695. 8, uint(QCPColorGradient::gpNight),
  2696. 9, uint(QCPColorGradient::gpCandy),
  2697. 10, uint(QCPColorGradient::gpGeography),
  2698. 11, uint(QCPColorGradient::gpIon),
  2699. 12, uint(QCPColorGradient::gpThermal),
  2700. 13, uint(QCPColorGradient::gpPolar),
  2701. 14, uint(QCPColorGradient::gpSpectrum),
  2702. 15, uint(QCPColorGradient::gpJet),
  2703. 16, uint(QCPColorGradient::gpHues),
  2704. 0 // eod
  2705. };
  2706. const QMetaObject QCPColorGradient::staticMetaObject = {
  2707. { 0, qt_meta_stringdata_QCPColorGradient.data,
  2708. qt_meta_data_QCPColorGradient, 0, 0, 0}
  2709. };
  2710. struct qt_meta_stringdata_QCPAxisRect_t {
  2711. QByteArrayData data[8];
  2712. char stringdata[118];
  2713. };
  2714. #define QT_MOC_LITERAL(idx, ofs, len) \
  2715. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2716. qptrdiff(offsetof(qt_meta_stringdata_QCPAxisRect_t, stringdata) + ofs \
  2717. - idx * sizeof(QByteArrayData)) \
  2718. )
  2719. static const qt_meta_stringdata_QCPAxisRect_t qt_meta_stringdata_QCPAxisRect = {
  2720. {
  2721. QT_MOC_LITERAL(0, 0, 11),
  2722. QT_MOC_LITERAL(1, 12, 10),
  2723. QT_MOC_LITERAL(2, 23, 16),
  2724. QT_MOC_LITERAL(3, 40, 20),
  2725. QT_MOC_LITERAL(4, 61, 19),
  2726. QT_MOC_LITERAL(5, 81, 9),
  2727. QT_MOC_LITERAL(6, 91, 16),
  2728. QT_MOC_LITERAL(7, 108, 9)
  2729. },
  2730. "QCPAxisRect\0background\0backgroundScaled\0"
  2731. "backgroundScaledMode\0Qt::AspectRatioMode\0"
  2732. "rangeDrag\0Qt::Orientations\0rangeZoom"
  2733. };
  2734. #undef QT_MOC_LITERAL
  2735. static const uint qt_meta_data_QCPAxisRect[] = {
  2736. // content:
  2737. 7, // revision
  2738. 0, // classname
  2739. 0, 0, // classinfo
  2740. 0, 0, // methods
  2741. 5, 14, // properties
  2742. 0, 0, // enums/sets
  2743. 0, 0, // constructors
  2744. 0, // flags
  2745. 0, // signalCount
  2746. // properties: name, type, flags
  2747. 1, QMetaType::QPixmap, 0x00095103,
  2748. 2, QMetaType::Bool, 0x00095103,
  2749. 3, 0x80000000 | 4, 0x0009510b,
  2750. 5, 0x80000000 | 6, 0x0009510b,
  2751. 7, 0x80000000 | 6, 0x0009510b,
  2752. 0 // eod
  2753. };
  2754. void QCPAxisRect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2755. {
  2756. Q_UNUSED(_o);
  2757. Q_UNUSED(_id);
  2758. Q_UNUSED(_c);
  2759. Q_UNUSED(_a);
  2760. }
  2761. const QMetaObject QCPAxisRect::staticMetaObject = {
  2762. { &QCPLayoutElement::staticMetaObject, qt_meta_stringdata_QCPAxisRect.data,
  2763. qt_meta_data_QCPAxisRect, qt_static_metacall, 0, 0}
  2764. };
  2765. const QMetaObject *QCPAxisRect::metaObject() const
  2766. {
  2767. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  2768. }
  2769. void *QCPAxisRect::qt_metacast(const char *_clname)
  2770. {
  2771. if (!_clname) return 0;
  2772. if (!strcmp(_clname, qt_meta_stringdata_QCPAxisRect.stringdata))
  2773. return static_cast<void*>(const_cast< QCPAxisRect*>(this));
  2774. return QCPLayoutElement::qt_metacast(_clname);
  2775. }
  2776. int QCPAxisRect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2777. {
  2778. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  2779. if (_id < 0)
  2780. return _id;
  2781. #ifndef QT_NO_PROPERTIES
  2782. if (_c == QMetaObject::ReadProperty) {
  2783. void *_v = _a[0];
  2784. switch (_id) {
  2785. case 0: *reinterpret_cast< QPixmap*>(_v) = background(); break;
  2786. case 1: *reinterpret_cast< bool*>(_v) = backgroundScaled(); break;
  2787. case 2: *reinterpret_cast< Qt::AspectRatioMode*>(_v) = backgroundScaledMode(); break;
  2788. case 3: *reinterpret_cast< Qt::Orientations*>(_v) = rangeDrag(); break;
  2789. case 4: *reinterpret_cast< Qt::Orientations*>(_v) = rangeZoom(); break;
  2790. default: break;
  2791. }
  2792. _id -= 5;
  2793. } else if (_c == QMetaObject::WriteProperty) {
  2794. void *_v = _a[0];
  2795. switch (_id) {
  2796. case 0: setBackground(*reinterpret_cast< QPixmap*>(_v)); break;
  2797. case 1: setBackgroundScaled(*reinterpret_cast< bool*>(_v)); break;
  2798. case 2: setBackgroundScaledMode(*reinterpret_cast< Qt::AspectRatioMode*>(_v)); break;
  2799. case 3: setRangeDrag(*reinterpret_cast< Qt::Orientations*>(_v)); break;
  2800. case 4: setRangeZoom(*reinterpret_cast< Qt::Orientations*>(_v)); break;
  2801. default: break;
  2802. }
  2803. _id -= 5;
  2804. } else if (_c == QMetaObject::ResetProperty) {
  2805. _id -= 5;
  2806. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2807. _id -= 5;
  2808. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2809. _id -= 5;
  2810. } else if (_c == QMetaObject::QueryPropertyStored) {
  2811. _id -= 5;
  2812. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2813. _id -= 5;
  2814. } else if (_c == QMetaObject::QueryPropertyUser) {
  2815. _id -= 5;
  2816. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2817. if (_id < 5)
  2818. *reinterpret_cast<int*>(_a[0]) = -1;
  2819. _id -= 5;
  2820. }
  2821. #endif // QT_NO_PROPERTIES
  2822. return _id;
  2823. }
  2824. struct qt_meta_stringdata_QCPAbstractLegendItem_t {
  2825. QByteArrayData data[14];
  2826. char stringdata[174];
  2827. };
  2828. #define QT_MOC_LITERAL(idx, ofs, len) \
  2829. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  2830. qptrdiff(offsetof(qt_meta_stringdata_QCPAbstractLegendItem_t, stringdata) + ofs \
  2831. - idx * sizeof(QByteArrayData)) \
  2832. )
  2833. static const qt_meta_stringdata_QCPAbstractLegendItem_t qt_meta_stringdata_QCPAbstractLegendItem = {
  2834. {
  2835. QT_MOC_LITERAL(0, 0, 21),
  2836. QT_MOC_LITERAL(1, 22, 16),
  2837. QT_MOC_LITERAL(2, 39, 0),
  2838. QT_MOC_LITERAL(3, 40, 8),
  2839. QT_MOC_LITERAL(4, 49, 17),
  2840. QT_MOC_LITERAL(5, 67, 10),
  2841. QT_MOC_LITERAL(6, 78, 13),
  2842. QT_MOC_LITERAL(7, 92, 11),
  2843. QT_MOC_LITERAL(8, 104, 12),
  2844. QT_MOC_LITERAL(9, 117, 10),
  2845. QT_MOC_LITERAL(10, 128, 4),
  2846. QT_MOC_LITERAL(11, 133, 9),
  2847. QT_MOC_LITERAL(12, 143, 12),
  2848. QT_MOC_LITERAL(13, 156, 17)
  2849. },
  2850. "QCPAbstractLegendItem\0selectionChanged\0"
  2851. "\0selected\0selectableChanged\0selectable\0"
  2852. "setSelectable\0setSelected\0parentLegend\0"
  2853. "QCPLegend*\0font\0textColor\0selectedFont\0"
  2854. "selectedTextColor"
  2855. };
  2856. #undef QT_MOC_LITERAL
  2857. static const uint qt_meta_data_QCPAbstractLegendItem[] = {
  2858. // content:
  2859. 7, // revision
  2860. 0, // classname
  2861. 0, 0, // classinfo
  2862. 4, 14, // methods
  2863. 7, 46, // properties
  2864. 0, 0, // enums/sets
  2865. 0, 0, // constructors
  2866. 0, // flags
  2867. 2, // signalCount
  2868. // signals: name, argc, parameters, tag, flags
  2869. 1, 1, 34, 2, 0x06 /* Public */,
  2870. 4, 1, 37, 2, 0x06 /* Public */,
  2871. // slots: name, argc, parameters, tag, flags
  2872. 6, 1, 40, 2, 0x0a /* Public */,
  2873. 7, 1, 43, 2, 0x0a /* Public */,
  2874. // signals: parameters
  2875. QMetaType::Void, QMetaType::Bool, 3,
  2876. QMetaType::Void, QMetaType::Bool, 5,
  2877. // slots: parameters
  2878. QMetaType::Void, QMetaType::Bool, 5,
  2879. QMetaType::Void, QMetaType::Bool, 3,
  2880. // properties: name, type, flags
  2881. 8, 0x80000000 | 9, 0x00095009,
  2882. 10, QMetaType::QFont, 0x00095103,
  2883. 11, QMetaType::QColor, 0x00095103,
  2884. 12, QMetaType::QFont, 0x00095103,
  2885. 13, QMetaType::QColor, 0x00095103,
  2886. 5, QMetaType::Bool, 0x00495103,
  2887. 3, QMetaType::Bool, 0x00495103,
  2888. // properties: notify_signal_id
  2889. 0,
  2890. 0,
  2891. 0,
  2892. 0,
  2893. 0,
  2894. 0,
  2895. 1,
  2896. 0 // eod
  2897. };
  2898. void QCPAbstractLegendItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  2899. {
  2900. if (_c == QMetaObject::InvokeMetaMethod) {
  2901. QCPAbstractLegendItem *_t = static_cast<QCPAbstractLegendItem *>(_o);
  2902. switch (_id) {
  2903. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2904. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2905. case 2: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2906. case 3: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  2907. default: ;
  2908. }
  2909. } else if (_c == QMetaObject::IndexOfMethod) {
  2910. int *result = reinterpret_cast<int *>(_a[0]);
  2911. void **func = reinterpret_cast<void **>(_a[1]);
  2912. {
  2913. typedef void (QCPAbstractLegendItem::*_t)(bool );
  2914. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAbstractLegendItem::selectionChanged)) {
  2915. *result = 0;
  2916. }
  2917. }
  2918. {
  2919. typedef void (QCPAbstractLegendItem::*_t)(bool );
  2920. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPAbstractLegendItem::selectableChanged)) {
  2921. *result = 1;
  2922. }
  2923. }
  2924. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  2925. switch (_id) {
  2926. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  2927. case 0:
  2928. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPLegend* >(); break;
  2929. }
  2930. }
  2931. }
  2932. const QMetaObject QCPAbstractLegendItem::staticMetaObject = {
  2933. { &QCPLayoutElement::staticMetaObject, qt_meta_stringdata_QCPAbstractLegendItem.data,
  2934. qt_meta_data_QCPAbstractLegendItem, qt_static_metacall, 0, 0}
  2935. };
  2936. const QMetaObject *QCPAbstractLegendItem::metaObject() const
  2937. {
  2938. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  2939. }
  2940. void *QCPAbstractLegendItem::qt_metacast(const char *_clname)
  2941. {
  2942. if (!_clname) return 0;
  2943. if (!strcmp(_clname, qt_meta_stringdata_QCPAbstractLegendItem.stringdata))
  2944. return static_cast<void*>(const_cast< QCPAbstractLegendItem*>(this));
  2945. return QCPLayoutElement::qt_metacast(_clname);
  2946. }
  2947. int QCPAbstractLegendItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2948. {
  2949. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  2950. if (_id < 0)
  2951. return _id;
  2952. if (_c == QMetaObject::InvokeMetaMethod) {
  2953. if (_id < 4)
  2954. qt_static_metacall(this, _c, _id, _a);
  2955. _id -= 4;
  2956. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  2957. if (_id < 4)
  2958. *reinterpret_cast<int*>(_a[0]) = -1;
  2959. _id -= 4;
  2960. }
  2961. #ifndef QT_NO_PROPERTIES
  2962. else if (_c == QMetaObject::ReadProperty) {
  2963. void *_v = _a[0];
  2964. switch (_id) {
  2965. case 0: *reinterpret_cast< QCPLegend**>(_v) = parentLegend(); break;
  2966. case 1: *reinterpret_cast< QFont*>(_v) = font(); break;
  2967. case 2: *reinterpret_cast< QColor*>(_v) = textColor(); break;
  2968. case 3: *reinterpret_cast< QFont*>(_v) = selectedFont(); break;
  2969. case 4: *reinterpret_cast< QColor*>(_v) = selectedTextColor(); break;
  2970. case 5: *reinterpret_cast< bool*>(_v) = selectable(); break;
  2971. case 6: *reinterpret_cast< bool*>(_v) = selected(); break;
  2972. default: break;
  2973. }
  2974. _id -= 7;
  2975. } else if (_c == QMetaObject::WriteProperty) {
  2976. void *_v = _a[0];
  2977. switch (_id) {
  2978. case 1: setFont(*reinterpret_cast< QFont*>(_v)); break;
  2979. case 2: setTextColor(*reinterpret_cast< QColor*>(_v)); break;
  2980. case 3: setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  2981. case 4: setSelectedTextColor(*reinterpret_cast< QColor*>(_v)); break;
  2982. case 5: setSelectable(*reinterpret_cast< bool*>(_v)); break;
  2983. case 6: setSelected(*reinterpret_cast< bool*>(_v)); break;
  2984. default: break;
  2985. }
  2986. _id -= 7;
  2987. } else if (_c == QMetaObject::ResetProperty) {
  2988. _id -= 7;
  2989. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  2990. _id -= 7;
  2991. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  2992. _id -= 7;
  2993. } else if (_c == QMetaObject::QueryPropertyStored) {
  2994. _id -= 7;
  2995. } else if (_c == QMetaObject::QueryPropertyEditable) {
  2996. _id -= 7;
  2997. } else if (_c == QMetaObject::QueryPropertyUser) {
  2998. _id -= 7;
  2999. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3000. if (_id < 7)
  3001. qt_static_metacall(this, _c, _id, _a);
  3002. _id -= 7;
  3003. }
  3004. #endif // QT_NO_PROPERTIES
  3005. return _id;
  3006. }
  3007. // SIGNAL 0
  3008. void QCPAbstractLegendItem::selectionChanged(bool _t1)
  3009. {
  3010. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3011. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  3012. }
  3013. // SIGNAL 1
  3014. void QCPAbstractLegendItem::selectableChanged(bool _t1)
  3015. {
  3016. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3017. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  3018. }
  3019. struct qt_meta_stringdata_QCPPlottableLegendItem_t {
  3020. QByteArrayData data[1];
  3021. char stringdata[23];
  3022. };
  3023. #define QT_MOC_LITERAL(idx, ofs, len) \
  3024. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3025. qptrdiff(offsetof(qt_meta_stringdata_QCPPlottableLegendItem_t, stringdata) + ofs \
  3026. - idx * sizeof(QByteArrayData)) \
  3027. )
  3028. static const qt_meta_stringdata_QCPPlottableLegendItem_t qt_meta_stringdata_QCPPlottableLegendItem = {
  3029. {
  3030. QT_MOC_LITERAL(0, 0, 22)
  3031. },
  3032. "QCPPlottableLegendItem"
  3033. };
  3034. #undef QT_MOC_LITERAL
  3035. static const uint qt_meta_data_QCPPlottableLegendItem[] = {
  3036. // content:
  3037. 7, // revision
  3038. 0, // classname
  3039. 0, 0, // classinfo
  3040. 0, 0, // methods
  3041. 0, 0, // properties
  3042. 0, 0, // enums/sets
  3043. 0, 0, // constructors
  3044. 0, // flags
  3045. 0, // signalCount
  3046. 0 // eod
  3047. };
  3048. void QCPPlottableLegendItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3049. {
  3050. Q_UNUSED(_o);
  3051. Q_UNUSED(_id);
  3052. Q_UNUSED(_c);
  3053. Q_UNUSED(_a);
  3054. }
  3055. const QMetaObject QCPPlottableLegendItem::staticMetaObject = {
  3056. { &QCPAbstractLegendItem::staticMetaObject, qt_meta_stringdata_QCPPlottableLegendItem.data,
  3057. qt_meta_data_QCPPlottableLegendItem, qt_static_metacall, 0, 0}
  3058. };
  3059. const QMetaObject *QCPPlottableLegendItem::metaObject() const
  3060. {
  3061. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3062. }
  3063. void *QCPPlottableLegendItem::qt_metacast(const char *_clname)
  3064. {
  3065. if (!_clname) return 0;
  3066. if (!strcmp(_clname, qt_meta_stringdata_QCPPlottableLegendItem.stringdata))
  3067. return static_cast<void*>(const_cast< QCPPlottableLegendItem*>(this));
  3068. return QCPAbstractLegendItem::qt_metacast(_clname);
  3069. }
  3070. int QCPPlottableLegendItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3071. {
  3072. _id = QCPAbstractLegendItem::qt_metacall(_c, _id, _a);
  3073. if (_id < 0)
  3074. return _id;
  3075. return _id;
  3076. }
  3077. struct qt_meta_stringdata_QCPLegend_t {
  3078. QByteArrayData data[27];
  3079. char stringdata[358];
  3080. };
  3081. #define QT_MOC_LITERAL(idx, ofs, len) \
  3082. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3083. qptrdiff(offsetof(qt_meta_stringdata_QCPLegend_t, stringdata) + ofs \
  3084. - idx * sizeof(QByteArrayData)) \
  3085. )
  3086. static const qt_meta_stringdata_QCPLegend_t qt_meta_stringdata_QCPLegend = {
  3087. {
  3088. QT_MOC_LITERAL(0, 0, 9),
  3089. QT_MOC_LITERAL(1, 10, 16),
  3090. QT_MOC_LITERAL(2, 27, 0),
  3091. QT_MOC_LITERAL(3, 28, 26),
  3092. QT_MOC_LITERAL(4, 55, 5),
  3093. QT_MOC_LITERAL(5, 61, 17),
  3094. QT_MOC_LITERAL(6, 79, 18),
  3095. QT_MOC_LITERAL(7, 98, 15),
  3096. QT_MOC_LITERAL(8, 114, 15),
  3097. QT_MOC_LITERAL(9, 130, 16),
  3098. QT_MOC_LITERAL(10, 147, 13),
  3099. QT_MOC_LITERAL(11, 161, 9),
  3100. QT_MOC_LITERAL(12, 171, 5),
  3101. QT_MOC_LITERAL(13, 177, 4),
  3102. QT_MOC_LITERAL(14, 182, 9),
  3103. QT_MOC_LITERAL(15, 192, 8),
  3104. QT_MOC_LITERAL(16, 201, 15),
  3105. QT_MOC_LITERAL(17, 217, 13),
  3106. QT_MOC_LITERAL(18, 231, 17),
  3107. QT_MOC_LITERAL(19, 249, 21),
  3108. QT_MOC_LITERAL(20, 271, 13),
  3109. QT_MOC_LITERAL(21, 285, 12),
  3110. QT_MOC_LITERAL(22, 298, 17),
  3111. QT_MOC_LITERAL(23, 316, 14),
  3112. QT_MOC_LITERAL(24, 331, 6),
  3113. QT_MOC_LITERAL(25, 338, 11),
  3114. QT_MOC_LITERAL(26, 350, 7)
  3115. },
  3116. "QCPLegend\0selectionChanged\0\0"
  3117. "QCPLegend::SelectableParts\0parts\0"
  3118. "selectableChanged\0setSelectableParts\0"
  3119. "SelectableParts\0selectableParts\0"
  3120. "setSelectedParts\0selectedParts\0borderPen\0"
  3121. "brush\0font\0textColor\0iconSize\0"
  3122. "iconTextPadding\0iconBorderPen\0"
  3123. "selectedBorderPen\0selectedIconBorderPen\0"
  3124. "selectedBrush\0selectedFont\0selectedTextColor\0"
  3125. "SelectablePart\0spNone\0spLegendBox\0"
  3126. "spItems"
  3127. };
  3128. #undef QT_MOC_LITERAL
  3129. static const uint qt_meta_data_QCPLegend[] = {
  3130. // content:
  3131. 7, // revision
  3132. 0, // classname
  3133. 0, 0, // classinfo
  3134. 4, 14, // methods
  3135. 14, 46, // properties
  3136. 2, 102, // enums/sets
  3137. 0, 0, // constructors
  3138. 0, // flags
  3139. 2, // signalCount
  3140. // signals: name, argc, parameters, tag, flags
  3141. 1, 1, 34, 2, 0x06 /* Public */,
  3142. 5, 1, 37, 2, 0x06 /* Public */,
  3143. // slots: name, argc, parameters, tag, flags
  3144. 6, 1, 40, 2, 0x0a /* Public */,
  3145. 9, 1, 43, 2, 0x0a /* Public */,
  3146. // signals: parameters
  3147. QMetaType::Void, 0x80000000 | 3, 4,
  3148. QMetaType::Void, 0x80000000 | 3, 4,
  3149. // slots: parameters
  3150. QMetaType::Void, 0x80000000 | 7, 8,
  3151. QMetaType::Void, 0x80000000 | 7, 10,
  3152. // properties: name, type, flags
  3153. 11, QMetaType::QPen, 0x00095103,
  3154. 12, QMetaType::QBrush, 0x00095103,
  3155. 13, QMetaType::QFont, 0x00095103,
  3156. 14, QMetaType::QColor, 0x00095103,
  3157. 15, QMetaType::QSize, 0x00095103,
  3158. 16, QMetaType::Int, 0x00095103,
  3159. 17, QMetaType::QPen, 0x00095103,
  3160. 8, 0x80000000 | 7, 0x0049510b,
  3161. 10, 0x80000000 | 7, 0x0049510b,
  3162. 18, QMetaType::QPen, 0x00095103,
  3163. 19, QMetaType::QPen, 0x00095103,
  3164. 20, QMetaType::QBrush, 0x00095103,
  3165. 21, QMetaType::QFont, 0x00095103,
  3166. 22, QMetaType::QColor, 0x00095103,
  3167. // properties: notify_signal_id
  3168. 0,
  3169. 0,
  3170. 0,
  3171. 0,
  3172. 0,
  3173. 0,
  3174. 0,
  3175. 0,
  3176. 1,
  3177. 0,
  3178. 0,
  3179. 0,
  3180. 0,
  3181. 0,
  3182. // enums: name, flags, count, data
  3183. 23, 0x1, 3, 110,
  3184. 7, 0x1, 3, 116,
  3185. // enum data: key, value
  3186. 24, uint(QCPLegend::spNone),
  3187. 25, uint(QCPLegend::spLegendBox),
  3188. 26, uint(QCPLegend::spItems),
  3189. 24, uint(QCPLegend::spNone),
  3190. 25, uint(QCPLegend::spLegendBox),
  3191. 26, uint(QCPLegend::spItems),
  3192. 0 // eod
  3193. };
  3194. void QCPLegend::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3195. {
  3196. if (_c == QMetaObject::InvokeMetaMethod) {
  3197. QCPLegend *_t = static_cast<QCPLegend *>(_o);
  3198. switch (_id) {
  3199. case 0: _t->selectionChanged((*reinterpret_cast< QCPLegend::SelectableParts(*)>(_a[1]))); break;
  3200. case 1: _t->selectableChanged((*reinterpret_cast< QCPLegend::SelectableParts(*)>(_a[1]))); break;
  3201. case 2: _t->setSelectableParts((*reinterpret_cast< const SelectableParts(*)>(_a[1]))); break;
  3202. case 3: _t->setSelectedParts((*reinterpret_cast< const SelectableParts(*)>(_a[1]))); break;
  3203. default: ;
  3204. }
  3205. } else if (_c == QMetaObject::IndexOfMethod) {
  3206. int *result = reinterpret_cast<int *>(_a[0]);
  3207. void **func = reinterpret_cast<void **>(_a[1]);
  3208. {
  3209. typedef void (QCPLegend::*_t)(QCPLegend::SelectableParts );
  3210. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPLegend::selectionChanged)) {
  3211. *result = 0;
  3212. }
  3213. }
  3214. {
  3215. typedef void (QCPLegend::*_t)(QCPLegend::SelectableParts );
  3216. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPLegend::selectableChanged)) {
  3217. *result = 1;
  3218. }
  3219. }
  3220. }
  3221. }
  3222. const QMetaObject QCPLegend::staticMetaObject = {
  3223. { &QCPLayoutGrid::staticMetaObject, qt_meta_stringdata_QCPLegend.data,
  3224. qt_meta_data_QCPLegend, qt_static_metacall, 0, 0}
  3225. };
  3226. const QMetaObject *QCPLegend::metaObject() const
  3227. {
  3228. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3229. }
  3230. void *QCPLegend::qt_metacast(const char *_clname)
  3231. {
  3232. if (!_clname) return 0;
  3233. if (!strcmp(_clname, qt_meta_stringdata_QCPLegend.stringdata))
  3234. return static_cast<void*>(const_cast< QCPLegend*>(this));
  3235. return QCPLayoutGrid::qt_metacast(_clname);
  3236. }
  3237. int QCPLegend::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3238. {
  3239. _id = QCPLayoutGrid::qt_metacall(_c, _id, _a);
  3240. if (_id < 0)
  3241. return _id;
  3242. if (_c == QMetaObject::InvokeMetaMethod) {
  3243. if (_id < 4)
  3244. qt_static_metacall(this, _c, _id, _a);
  3245. _id -= 4;
  3246. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  3247. if (_id < 4)
  3248. *reinterpret_cast<int*>(_a[0]) = -1;
  3249. _id -= 4;
  3250. }
  3251. #ifndef QT_NO_PROPERTIES
  3252. else if (_c == QMetaObject::ReadProperty) {
  3253. void *_v = _a[0];
  3254. switch (_id) {
  3255. case 0: *reinterpret_cast< QPen*>(_v) = borderPen(); break;
  3256. case 1: *reinterpret_cast< QBrush*>(_v) = brush(); break;
  3257. case 2: *reinterpret_cast< QFont*>(_v) = font(); break;
  3258. case 3: *reinterpret_cast< QColor*>(_v) = textColor(); break;
  3259. case 4: *reinterpret_cast< QSize*>(_v) = iconSize(); break;
  3260. case 5: *reinterpret_cast< int*>(_v) = iconTextPadding(); break;
  3261. case 6: *reinterpret_cast< QPen*>(_v) = iconBorderPen(); break;
  3262. case 7: *reinterpret_cast<int*>(_v) = QFlag(selectableParts()); break;
  3263. case 8: *reinterpret_cast<int*>(_v) = QFlag(selectedParts()); break;
  3264. case 9: *reinterpret_cast< QPen*>(_v) = selectedBorderPen(); break;
  3265. case 10: *reinterpret_cast< QPen*>(_v) = selectedIconBorderPen(); break;
  3266. case 11: *reinterpret_cast< QBrush*>(_v) = selectedBrush(); break;
  3267. case 12: *reinterpret_cast< QFont*>(_v) = selectedFont(); break;
  3268. case 13: *reinterpret_cast< QColor*>(_v) = selectedTextColor(); break;
  3269. default: break;
  3270. }
  3271. _id -= 14;
  3272. } else if (_c == QMetaObject::WriteProperty) {
  3273. void *_v = _a[0];
  3274. switch (_id) {
  3275. case 0: setBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  3276. case 1: setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  3277. case 2: setFont(*reinterpret_cast< QFont*>(_v)); break;
  3278. case 3: setTextColor(*reinterpret_cast< QColor*>(_v)); break;
  3279. case 4: setIconSize(*reinterpret_cast< QSize*>(_v)); break;
  3280. case 5: setIconTextPadding(*reinterpret_cast< int*>(_v)); break;
  3281. case 6: setIconBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  3282. case 7: setSelectableParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  3283. case 8: setSelectedParts(QFlag(*reinterpret_cast<int*>(_v))); break;
  3284. case 9: setSelectedBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  3285. case 10: setSelectedIconBorderPen(*reinterpret_cast< QPen*>(_v)); break;
  3286. case 11: setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  3287. case 12: setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  3288. case 13: setSelectedTextColor(*reinterpret_cast< QColor*>(_v)); break;
  3289. default: break;
  3290. }
  3291. _id -= 14;
  3292. } else if (_c == QMetaObject::ResetProperty) {
  3293. _id -= 14;
  3294. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  3295. _id -= 14;
  3296. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  3297. _id -= 14;
  3298. } else if (_c == QMetaObject::QueryPropertyStored) {
  3299. _id -= 14;
  3300. } else if (_c == QMetaObject::QueryPropertyEditable) {
  3301. _id -= 14;
  3302. } else if (_c == QMetaObject::QueryPropertyUser) {
  3303. _id -= 14;
  3304. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3305. if (_id < 14)
  3306. *reinterpret_cast<int*>(_a[0]) = -1;
  3307. _id -= 14;
  3308. }
  3309. #endif // QT_NO_PROPERTIES
  3310. return _id;
  3311. }
  3312. // SIGNAL 0
  3313. void QCPLegend::selectionChanged(QCPLegend::SelectableParts _t1)
  3314. {
  3315. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3316. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  3317. }
  3318. // SIGNAL 1
  3319. void QCPLegend::selectableChanged(QCPLegend::SelectableParts _t1)
  3320. {
  3321. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3322. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  3323. }
  3324. struct qt_meta_stringdata_QCPPlotTitle_t {
  3325. QByteArrayData data[13];
  3326. char stringdata[146];
  3327. };
  3328. #define QT_MOC_LITERAL(idx, ofs, len) \
  3329. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3330. qptrdiff(offsetof(qt_meta_stringdata_QCPPlotTitle_t, stringdata) + ofs \
  3331. - idx * sizeof(QByteArrayData)) \
  3332. )
  3333. static const qt_meta_stringdata_QCPPlotTitle_t qt_meta_stringdata_QCPPlotTitle = {
  3334. {
  3335. QT_MOC_LITERAL(0, 0, 12),
  3336. QT_MOC_LITERAL(1, 13, 16),
  3337. QT_MOC_LITERAL(2, 30, 0),
  3338. QT_MOC_LITERAL(3, 31, 8),
  3339. QT_MOC_LITERAL(4, 40, 17),
  3340. QT_MOC_LITERAL(5, 58, 10),
  3341. QT_MOC_LITERAL(6, 69, 13),
  3342. QT_MOC_LITERAL(7, 83, 11),
  3343. QT_MOC_LITERAL(8, 95, 4),
  3344. QT_MOC_LITERAL(9, 100, 4),
  3345. QT_MOC_LITERAL(10, 105, 9),
  3346. QT_MOC_LITERAL(11, 115, 12),
  3347. QT_MOC_LITERAL(12, 128, 17)
  3348. },
  3349. "QCPPlotTitle\0selectionChanged\0\0selected\0"
  3350. "selectableChanged\0selectable\0setSelectable\0"
  3351. "setSelected\0text\0font\0textColor\0"
  3352. "selectedFont\0selectedTextColor"
  3353. };
  3354. #undef QT_MOC_LITERAL
  3355. static const uint qt_meta_data_QCPPlotTitle[] = {
  3356. // content:
  3357. 7, // revision
  3358. 0, // classname
  3359. 0, 0, // classinfo
  3360. 4, 14, // methods
  3361. 7, 46, // properties
  3362. 0, 0, // enums/sets
  3363. 0, 0, // constructors
  3364. 0, // flags
  3365. 2, // signalCount
  3366. // signals: name, argc, parameters, tag, flags
  3367. 1, 1, 34, 2, 0x06 /* Public */,
  3368. 4, 1, 37, 2, 0x06 /* Public */,
  3369. // slots: name, argc, parameters, tag, flags
  3370. 6, 1, 40, 2, 0x0a /* Public */,
  3371. 7, 1, 43, 2, 0x0a /* Public */,
  3372. // signals: parameters
  3373. QMetaType::Void, QMetaType::Bool, 3,
  3374. QMetaType::Void, QMetaType::Bool, 5,
  3375. // slots: parameters
  3376. QMetaType::Void, QMetaType::Bool, 5,
  3377. QMetaType::Void, QMetaType::Bool, 3,
  3378. // properties: name, type, flags
  3379. 8, QMetaType::QString, 0x00095103,
  3380. 9, QMetaType::QFont, 0x00095103,
  3381. 10, QMetaType::QColor, 0x00095103,
  3382. 11, QMetaType::QFont, 0x00095103,
  3383. 12, QMetaType::QColor, 0x00095103,
  3384. 5, QMetaType::Bool, 0x00495103,
  3385. 3, QMetaType::Bool, 0x00495103,
  3386. // properties: notify_signal_id
  3387. 0,
  3388. 0,
  3389. 0,
  3390. 0,
  3391. 0,
  3392. 1,
  3393. 0,
  3394. 0 // eod
  3395. };
  3396. void QCPPlotTitle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3397. {
  3398. if (_c == QMetaObject::InvokeMetaMethod) {
  3399. QCPPlotTitle *_t = static_cast<QCPPlotTitle *>(_o);
  3400. switch (_id) {
  3401. case 0: _t->selectionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3402. case 1: _t->selectableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3403. case 2: _t->setSelectable((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3404. case 3: _t->setSelected((*reinterpret_cast< bool(*)>(_a[1]))); break;
  3405. default: ;
  3406. }
  3407. } else if (_c == QMetaObject::IndexOfMethod) {
  3408. int *result = reinterpret_cast<int *>(_a[0]);
  3409. void **func = reinterpret_cast<void **>(_a[1]);
  3410. {
  3411. typedef void (QCPPlotTitle::*_t)(bool );
  3412. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPPlotTitle::selectionChanged)) {
  3413. *result = 0;
  3414. }
  3415. }
  3416. {
  3417. typedef void (QCPPlotTitle::*_t)(bool );
  3418. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPPlotTitle::selectableChanged)) {
  3419. *result = 1;
  3420. }
  3421. }
  3422. }
  3423. }
  3424. const QMetaObject QCPPlotTitle::staticMetaObject = {
  3425. { &QCPLayoutElement::staticMetaObject, qt_meta_stringdata_QCPPlotTitle.data,
  3426. qt_meta_data_QCPPlotTitle, qt_static_metacall, 0, 0}
  3427. };
  3428. const QMetaObject *QCPPlotTitle::metaObject() const
  3429. {
  3430. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3431. }
  3432. void *QCPPlotTitle::qt_metacast(const char *_clname)
  3433. {
  3434. if (!_clname) return 0;
  3435. if (!strcmp(_clname, qt_meta_stringdata_QCPPlotTitle.stringdata))
  3436. return static_cast<void*>(const_cast< QCPPlotTitle*>(this));
  3437. return QCPLayoutElement::qt_metacast(_clname);
  3438. }
  3439. int QCPPlotTitle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3440. {
  3441. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  3442. if (_id < 0)
  3443. return _id;
  3444. if (_c == QMetaObject::InvokeMetaMethod) {
  3445. if (_id < 4)
  3446. qt_static_metacall(this, _c, _id, _a);
  3447. _id -= 4;
  3448. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  3449. if (_id < 4)
  3450. *reinterpret_cast<int*>(_a[0]) = -1;
  3451. _id -= 4;
  3452. }
  3453. #ifndef QT_NO_PROPERTIES
  3454. else if (_c == QMetaObject::ReadProperty) {
  3455. void *_v = _a[0];
  3456. switch (_id) {
  3457. case 0: *reinterpret_cast< QString*>(_v) = text(); break;
  3458. case 1: *reinterpret_cast< QFont*>(_v) = font(); break;
  3459. case 2: *reinterpret_cast< QColor*>(_v) = textColor(); break;
  3460. case 3: *reinterpret_cast< QFont*>(_v) = selectedFont(); break;
  3461. case 4: *reinterpret_cast< QColor*>(_v) = selectedTextColor(); break;
  3462. case 5: *reinterpret_cast< bool*>(_v) = selectable(); break;
  3463. case 6: *reinterpret_cast< bool*>(_v) = selected(); break;
  3464. default: break;
  3465. }
  3466. _id -= 7;
  3467. } else if (_c == QMetaObject::WriteProperty) {
  3468. void *_v = _a[0];
  3469. switch (_id) {
  3470. case 0: setText(*reinterpret_cast< QString*>(_v)); break;
  3471. case 1: setFont(*reinterpret_cast< QFont*>(_v)); break;
  3472. case 2: setTextColor(*reinterpret_cast< QColor*>(_v)); break;
  3473. case 3: setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  3474. case 4: setSelectedTextColor(*reinterpret_cast< QColor*>(_v)); break;
  3475. case 5: setSelectable(*reinterpret_cast< bool*>(_v)); break;
  3476. case 6: setSelected(*reinterpret_cast< bool*>(_v)); break;
  3477. default: break;
  3478. }
  3479. _id -= 7;
  3480. } else if (_c == QMetaObject::ResetProperty) {
  3481. _id -= 7;
  3482. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  3483. _id -= 7;
  3484. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  3485. _id -= 7;
  3486. } else if (_c == QMetaObject::QueryPropertyStored) {
  3487. _id -= 7;
  3488. } else if (_c == QMetaObject::QueryPropertyEditable) {
  3489. _id -= 7;
  3490. } else if (_c == QMetaObject::QueryPropertyUser) {
  3491. _id -= 7;
  3492. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3493. if (_id < 7)
  3494. *reinterpret_cast<int*>(_a[0]) = -1;
  3495. _id -= 7;
  3496. }
  3497. #endif // QT_NO_PROPERTIES
  3498. return _id;
  3499. }
  3500. // SIGNAL 0
  3501. void QCPPlotTitle::selectionChanged(bool _t1)
  3502. {
  3503. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3504. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  3505. }
  3506. // SIGNAL 1
  3507. void QCPPlotTitle::selectableChanged(bool _t1)
  3508. {
  3509. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3510. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  3511. }
  3512. struct qt_meta_stringdata_QCPColorScaleAxisRectPrivate_t {
  3513. QByteArrayData data[7];
  3514. char stringdata[128];
  3515. };
  3516. #define QT_MOC_LITERAL(idx, ofs, len) \
  3517. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3518. qptrdiff(offsetof(qt_meta_stringdata_QCPColorScaleAxisRectPrivate_t, stringdata) + ofs \
  3519. - idx * sizeof(QByteArrayData)) \
  3520. )
  3521. static const qt_meta_stringdata_QCPColorScaleAxisRectPrivate_t qt_meta_stringdata_QCPColorScaleAxisRectPrivate = {
  3522. {
  3523. QT_MOC_LITERAL(0, 0, 28),
  3524. QT_MOC_LITERAL(1, 29, 20),
  3525. QT_MOC_LITERAL(2, 50, 0),
  3526. QT_MOC_LITERAL(3, 51, 24),
  3527. QT_MOC_LITERAL(4, 76, 13),
  3528. QT_MOC_LITERAL(5, 90, 21),
  3529. QT_MOC_LITERAL(6, 112, 15)
  3530. },
  3531. "QCPColorScaleAxisRectPrivate\0"
  3532. "axisSelectionChanged\0\0QCPAxis::SelectableParts\0"
  3533. "selectedParts\0axisSelectableChanged\0"
  3534. "selectableParts"
  3535. };
  3536. #undef QT_MOC_LITERAL
  3537. static const uint qt_meta_data_QCPColorScaleAxisRectPrivate[] = {
  3538. // content:
  3539. 7, // revision
  3540. 0, // classname
  3541. 0, 0, // classinfo
  3542. 2, 14, // methods
  3543. 0, 0, // properties
  3544. 0, 0, // enums/sets
  3545. 0, 0, // constructors
  3546. 0, // flags
  3547. 0, // signalCount
  3548. // slots: name, argc, parameters, tag, flags
  3549. 1, 1, 24, 2, 0x09 /* Protected */,
  3550. 5, 1, 27, 2, 0x09 /* Protected */,
  3551. // slots: parameters
  3552. QMetaType::Void, 0x80000000 | 3, 4,
  3553. QMetaType::Void, 0x80000000 | 3, 6,
  3554. 0 // eod
  3555. };
  3556. void QCPColorScaleAxisRectPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3557. {
  3558. if (_c == QMetaObject::InvokeMetaMethod) {
  3559. QCPColorScaleAxisRectPrivate *_t = static_cast<QCPColorScaleAxisRectPrivate *>(_o);
  3560. switch (_id) {
  3561. case 0: _t->axisSelectionChanged((*reinterpret_cast< QCPAxis::SelectableParts(*)>(_a[1]))); break;
  3562. case 1: _t->axisSelectableChanged((*reinterpret_cast< QCPAxis::SelectableParts(*)>(_a[1]))); break;
  3563. default: ;
  3564. }
  3565. }
  3566. }
  3567. const QMetaObject QCPColorScaleAxisRectPrivate::staticMetaObject = {
  3568. { &QCPAxisRect::staticMetaObject, qt_meta_stringdata_QCPColorScaleAxisRectPrivate.data,
  3569. qt_meta_data_QCPColorScaleAxisRectPrivate, qt_static_metacall, 0, 0}
  3570. };
  3571. const QMetaObject *QCPColorScaleAxisRectPrivate::metaObject() const
  3572. {
  3573. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3574. }
  3575. void *QCPColorScaleAxisRectPrivate::qt_metacast(const char *_clname)
  3576. {
  3577. if (!_clname) return 0;
  3578. if (!strcmp(_clname, qt_meta_stringdata_QCPColorScaleAxisRectPrivate.stringdata))
  3579. return static_cast<void*>(const_cast< QCPColorScaleAxisRectPrivate*>(this));
  3580. return QCPAxisRect::qt_metacast(_clname);
  3581. }
  3582. int QCPColorScaleAxisRectPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3583. {
  3584. _id = QCPAxisRect::qt_metacall(_c, _id, _a);
  3585. if (_id < 0)
  3586. return _id;
  3587. if (_c == QMetaObject::InvokeMetaMethod) {
  3588. if (_id < 2)
  3589. qt_static_metacall(this, _c, _id, _a);
  3590. _id -= 2;
  3591. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  3592. if (_id < 2)
  3593. *reinterpret_cast<int*>(_a[0]) = -1;
  3594. _id -= 2;
  3595. }
  3596. return _id;
  3597. }
  3598. struct qt_meta_stringdata_QCPColorScale_t {
  3599. QByteArrayData data[23];
  3600. char stringdata[278];
  3601. };
  3602. #define QT_MOC_LITERAL(idx, ofs, len) \
  3603. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3604. qptrdiff(offsetof(qt_meta_stringdata_QCPColorScale_t, stringdata) + ofs \
  3605. - idx * sizeof(QByteArrayData)) \
  3606. )
  3607. static const qt_meta_stringdata_QCPColorScale_t qt_meta_stringdata_QCPColorScale = {
  3608. {
  3609. QT_MOC_LITERAL(0, 0, 13),
  3610. QT_MOC_LITERAL(1, 14, 16),
  3611. QT_MOC_LITERAL(2, 31, 0),
  3612. QT_MOC_LITERAL(3, 32, 8),
  3613. QT_MOC_LITERAL(4, 41, 8),
  3614. QT_MOC_LITERAL(5, 50, 20),
  3615. QT_MOC_LITERAL(6, 71, 18),
  3616. QT_MOC_LITERAL(7, 90, 9),
  3617. QT_MOC_LITERAL(8, 100, 15),
  3618. QT_MOC_LITERAL(9, 116, 16),
  3619. QT_MOC_LITERAL(10, 133, 11),
  3620. QT_MOC_LITERAL(11, 145, 12),
  3621. QT_MOC_LITERAL(12, 158, 9),
  3622. QT_MOC_LITERAL(13, 168, 16),
  3623. QT_MOC_LITERAL(14, 185, 11),
  3624. QT_MOC_LITERAL(15, 197, 8),
  3625. QT_MOC_LITERAL(16, 206, 4),
  3626. QT_MOC_LITERAL(17, 211, 17),
  3627. QT_MOC_LITERAL(18, 229, 13),
  3628. QT_MOC_LITERAL(19, 243, 5),
  3629. QT_MOC_LITERAL(20, 249, 8),
  3630. QT_MOC_LITERAL(21, 258, 9),
  3631. QT_MOC_LITERAL(22, 268, 9)
  3632. },
  3633. "QCPColorScale\0dataRangeChanged\0\0"
  3634. "QCPRange\0newRange\0dataScaleTypeChanged\0"
  3635. "QCPAxis::ScaleType\0scaleType\0"
  3636. "gradientChanged\0QCPColorGradient\0"
  3637. "newGradient\0setDataRange\0dataRange\0"
  3638. "setDataScaleType\0setGradient\0gradient\0"
  3639. "type\0QCPAxis::AxisType\0dataScaleType\0"
  3640. "label\0barWidth\0rangeDrag\0rangeZoom"
  3641. };
  3642. #undef QT_MOC_LITERAL
  3643. static const uint qt_meta_data_QCPColorScale[] = {
  3644. // content:
  3645. 7, // revision
  3646. 0, // classname
  3647. 0, 0, // classinfo
  3648. 6, 14, // methods
  3649. 8, 62, // properties
  3650. 0, 0, // enums/sets
  3651. 0, 0, // constructors
  3652. 0, // flags
  3653. 3, // signalCount
  3654. // signals: name, argc, parameters, tag, flags
  3655. 1, 1, 44, 2, 0x06 /* Public */,
  3656. 5, 1, 47, 2, 0x06 /* Public */,
  3657. 8, 1, 50, 2, 0x06 /* Public */,
  3658. // slots: name, argc, parameters, tag, flags
  3659. 11, 1, 53, 2, 0x0a /* Public */,
  3660. 13, 1, 56, 2, 0x0a /* Public */,
  3661. 14, 1, 59, 2, 0x0a /* Public */,
  3662. // signals: parameters
  3663. QMetaType::Void, 0x80000000 | 3, 4,
  3664. QMetaType::Void, 0x80000000 | 6, 7,
  3665. QMetaType::Void, 0x80000000 | 9, 10,
  3666. // slots: parameters
  3667. QMetaType::Void, 0x80000000 | 3, 12,
  3668. QMetaType::Void, 0x80000000 | 6, 7,
  3669. QMetaType::Void, 0x80000000 | 9, 15,
  3670. // properties: name, type, flags
  3671. 16, 0x80000000 | 17, 0x0009510b,
  3672. 12, 0x80000000 | 3, 0x0049510b,
  3673. 18, 0x80000000 | 6, 0x0049510b,
  3674. 15, 0x80000000 | 9, 0x0049510b,
  3675. 19, QMetaType::QString, 0x00095103,
  3676. 20, QMetaType::Int, 0x00095103,
  3677. 21, QMetaType::Bool, 0x00095103,
  3678. 22, QMetaType::Bool, 0x00095103,
  3679. // properties: notify_signal_id
  3680. 0,
  3681. 0,
  3682. 1,
  3683. 2,
  3684. 0,
  3685. 0,
  3686. 0,
  3687. 0,
  3688. 0 // eod
  3689. };
  3690. void QCPColorScale::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3691. {
  3692. if (_c == QMetaObject::InvokeMetaMethod) {
  3693. QCPColorScale *_t = static_cast<QCPColorScale *>(_o);
  3694. switch (_id) {
  3695. case 0: _t->dataRangeChanged((*reinterpret_cast< QCPRange(*)>(_a[1]))); break;
  3696. case 1: _t->dataScaleTypeChanged((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  3697. case 2: _t->gradientChanged((*reinterpret_cast< QCPColorGradient(*)>(_a[1]))); break;
  3698. case 3: _t->setDataRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  3699. case 4: _t->setDataScaleType((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  3700. case 5: _t->setGradient((*reinterpret_cast< const QCPColorGradient(*)>(_a[1]))); break;
  3701. default: ;
  3702. }
  3703. } else if (_c == QMetaObject::IndexOfMethod) {
  3704. int *result = reinterpret_cast<int *>(_a[0]);
  3705. void **func = reinterpret_cast<void **>(_a[1]);
  3706. {
  3707. typedef void (QCPColorScale::*_t)(QCPRange );
  3708. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPColorScale::dataRangeChanged)) {
  3709. *result = 0;
  3710. }
  3711. }
  3712. {
  3713. typedef void (QCPColorScale::*_t)(QCPAxis::ScaleType );
  3714. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPColorScale::dataScaleTypeChanged)) {
  3715. *result = 1;
  3716. }
  3717. }
  3718. {
  3719. typedef void (QCPColorScale::*_t)(QCPColorGradient );
  3720. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPColorScale::gradientChanged)) {
  3721. *result = 2;
  3722. }
  3723. }
  3724. }
  3725. }
  3726. static const QMetaObject * const qt_meta_extradata_QCPColorScale[] = {
  3727. &QCPAxis::staticMetaObject,
  3728. 0
  3729. };
  3730. const QMetaObject QCPColorScale::staticMetaObject = {
  3731. { &QCPLayoutElement::staticMetaObject, qt_meta_stringdata_QCPColorScale.data,
  3732. qt_meta_data_QCPColorScale, qt_static_metacall, qt_meta_extradata_QCPColorScale, 0}
  3733. };
  3734. const QMetaObject *QCPColorScale::metaObject() const
  3735. {
  3736. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3737. }
  3738. void *QCPColorScale::qt_metacast(const char *_clname)
  3739. {
  3740. if (!_clname) return 0;
  3741. if (!strcmp(_clname, qt_meta_stringdata_QCPColorScale.stringdata))
  3742. return static_cast<void*>(const_cast< QCPColorScale*>(this));
  3743. return QCPLayoutElement::qt_metacast(_clname);
  3744. }
  3745. int QCPColorScale::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3746. {
  3747. _id = QCPLayoutElement::qt_metacall(_c, _id, _a);
  3748. if (_id < 0)
  3749. return _id;
  3750. if (_c == QMetaObject::InvokeMetaMethod) {
  3751. if (_id < 6)
  3752. qt_static_metacall(this, _c, _id, _a);
  3753. _id -= 6;
  3754. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  3755. if (_id < 6)
  3756. *reinterpret_cast<int*>(_a[0]) = -1;
  3757. _id -= 6;
  3758. }
  3759. #ifndef QT_NO_PROPERTIES
  3760. else if (_c == QMetaObject::ReadProperty) {
  3761. void *_v = _a[0];
  3762. switch (_id) {
  3763. case 0: *reinterpret_cast< QCPAxis::AxisType*>(_v) = type(); break;
  3764. case 1: *reinterpret_cast< QCPRange*>(_v) = dataRange(); break;
  3765. case 2: *reinterpret_cast< QCPAxis::ScaleType*>(_v) = dataScaleType(); break;
  3766. case 3: *reinterpret_cast< QCPColorGradient*>(_v) = gradient(); break;
  3767. case 4: *reinterpret_cast< QString*>(_v) = label(); break;
  3768. case 5: *reinterpret_cast< int*>(_v) = barWidth(); break;
  3769. case 6: *reinterpret_cast< bool*>(_v) = rangeDrag(); break;
  3770. case 7: *reinterpret_cast< bool*>(_v) = rangeZoom(); break;
  3771. default: break;
  3772. }
  3773. _id -= 8;
  3774. } else if (_c == QMetaObject::WriteProperty) {
  3775. void *_v = _a[0];
  3776. switch (_id) {
  3777. case 0: setType(*reinterpret_cast< QCPAxis::AxisType*>(_v)); break;
  3778. case 1: setDataRange(*reinterpret_cast< QCPRange*>(_v)); break;
  3779. case 2: setDataScaleType(*reinterpret_cast< QCPAxis::ScaleType*>(_v)); break;
  3780. case 3: setGradient(*reinterpret_cast< QCPColorGradient*>(_v)); break;
  3781. case 4: setLabel(*reinterpret_cast< QString*>(_v)); break;
  3782. case 5: setBarWidth(*reinterpret_cast< int*>(_v)); break;
  3783. case 6: setRangeDrag(*reinterpret_cast< bool*>(_v)); break;
  3784. case 7: setRangeZoom(*reinterpret_cast< bool*>(_v)); break;
  3785. default: break;
  3786. }
  3787. _id -= 8;
  3788. } else if (_c == QMetaObject::ResetProperty) {
  3789. _id -= 8;
  3790. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  3791. _id -= 8;
  3792. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  3793. _id -= 8;
  3794. } else if (_c == QMetaObject::QueryPropertyStored) {
  3795. _id -= 8;
  3796. } else if (_c == QMetaObject::QueryPropertyEditable) {
  3797. _id -= 8;
  3798. } else if (_c == QMetaObject::QueryPropertyUser) {
  3799. _id -= 8;
  3800. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3801. if (_id < 8)
  3802. *reinterpret_cast<int*>(_a[0]) = -1;
  3803. _id -= 8;
  3804. }
  3805. #endif // QT_NO_PROPERTIES
  3806. return _id;
  3807. }
  3808. // SIGNAL 0
  3809. void QCPColorScale::dataRangeChanged(QCPRange _t1)
  3810. {
  3811. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3812. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  3813. }
  3814. // SIGNAL 1
  3815. void QCPColorScale::dataScaleTypeChanged(QCPAxis::ScaleType _t1)
  3816. {
  3817. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3818. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  3819. }
  3820. // SIGNAL 2
  3821. void QCPColorScale::gradientChanged(QCPColorGradient _t1)
  3822. {
  3823. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  3824. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  3825. }
  3826. struct qt_meta_stringdata_QCPGraph_t {
  3827. QByteArrayData data[23];
  3828. char stringdata[251];
  3829. };
  3830. #define QT_MOC_LITERAL(idx, ofs, len) \
  3831. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3832. qptrdiff(offsetof(qt_meta_stringdata_QCPGraph_t, stringdata) + ofs \
  3833. - idx * sizeof(QByteArrayData)) \
  3834. )
  3835. static const qt_meta_stringdata_QCPGraph_t qt_meta_stringdata_QCPGraph = {
  3836. {
  3837. QT_MOC_LITERAL(0, 0, 8),
  3838. QT_MOC_LITERAL(1, 9, 9),
  3839. QT_MOC_LITERAL(2, 19, 9),
  3840. QT_MOC_LITERAL(3, 29, 12),
  3841. QT_MOC_LITERAL(4, 42, 15),
  3842. QT_MOC_LITERAL(5, 58, 9),
  3843. QT_MOC_LITERAL(6, 68, 9),
  3844. QT_MOC_LITERAL(7, 78, 8),
  3845. QT_MOC_LITERAL(8, 87, 12),
  3846. QT_MOC_LITERAL(9, 100, 18),
  3847. QT_MOC_LITERAL(10, 119, 16),
  3848. QT_MOC_LITERAL(11, 136, 9),
  3849. QT_MOC_LITERAL(12, 146, 16),
  3850. QT_MOC_LITERAL(13, 163, 6),
  3851. QT_MOC_LITERAL(14, 170, 6),
  3852. QT_MOC_LITERAL(15, 177, 10),
  3853. QT_MOC_LITERAL(16, 188, 11),
  3854. QT_MOC_LITERAL(17, 200, 12),
  3855. QT_MOC_LITERAL(18, 213, 9),
  3856. QT_MOC_LITERAL(19, 223, 6),
  3857. QT_MOC_LITERAL(20, 230, 5),
  3858. QT_MOC_LITERAL(21, 236, 7),
  3859. QT_MOC_LITERAL(22, 244, 6)
  3860. },
  3861. "QCPGraph\0lineStyle\0LineStyle\0scatterStyle\0"
  3862. "QCPScatterStyle\0errorType\0ErrorType\0"
  3863. "errorPen\0errorBarSize\0errorBarSkipSymbol\0"
  3864. "channelFillGraph\0QCPGraph*\0adaptiveSampling\0"
  3865. "lsNone\0lsLine\0lsStepLeft\0lsStepRight\0"
  3866. "lsStepCenter\0lsImpulse\0etNone\0etKey\0"
  3867. "etValue\0etBoth"
  3868. };
  3869. #undef QT_MOC_LITERAL
  3870. static const uint qt_meta_data_QCPGraph[] = {
  3871. // content:
  3872. 7, // revision
  3873. 0, // classname
  3874. 0, 0, // classinfo
  3875. 0, 0, // methods
  3876. 8, 14, // properties
  3877. 2, 38, // enums/sets
  3878. 0, 0, // constructors
  3879. 0, // flags
  3880. 0, // signalCount
  3881. // properties: name, type, flags
  3882. 1, 0x80000000 | 2, 0x0009510b,
  3883. 3, 0x80000000 | 4, 0x0009510b,
  3884. 5, 0x80000000 | 6, 0x0009510b,
  3885. 7, QMetaType::QPen, 0x00095103,
  3886. 8, QMetaType::Double, 0x00095103,
  3887. 9, QMetaType::Bool, 0x00095103,
  3888. 10, 0x80000000 | 11, 0x0009510b,
  3889. 12, QMetaType::Bool, 0x00095103,
  3890. // enums: name, flags, count, data
  3891. 2, 0x0, 6, 46,
  3892. 6, 0x0, 4, 58,
  3893. // enum data: key, value
  3894. 13, uint(QCPGraph::lsNone),
  3895. 14, uint(QCPGraph::lsLine),
  3896. 15, uint(QCPGraph::lsStepLeft),
  3897. 16, uint(QCPGraph::lsStepRight),
  3898. 17, uint(QCPGraph::lsStepCenter),
  3899. 18, uint(QCPGraph::lsImpulse),
  3900. 19, uint(QCPGraph::etNone),
  3901. 20, uint(QCPGraph::etKey),
  3902. 21, uint(QCPGraph::etValue),
  3903. 22, uint(QCPGraph::etBoth),
  3904. 0 // eod
  3905. };
  3906. void QCPGraph::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  3907. {
  3908. if (_c == QMetaObject::RegisterPropertyMetaType) {
  3909. switch (_id) {
  3910. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  3911. case 6:
  3912. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPGraph* >(); break;
  3913. }
  3914. }
  3915. Q_UNUSED(_o);
  3916. }
  3917. const QMetaObject QCPGraph::staticMetaObject = {
  3918. { &QCPAbstractPlottable::staticMetaObject, qt_meta_stringdata_QCPGraph.data,
  3919. qt_meta_data_QCPGraph, qt_static_metacall, 0, 0}
  3920. };
  3921. const QMetaObject *QCPGraph::metaObject() const
  3922. {
  3923. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  3924. }
  3925. void *QCPGraph::qt_metacast(const char *_clname)
  3926. {
  3927. if (!_clname) return 0;
  3928. if (!strcmp(_clname, qt_meta_stringdata_QCPGraph.stringdata))
  3929. return static_cast<void*>(const_cast< QCPGraph*>(this));
  3930. return QCPAbstractPlottable::qt_metacast(_clname);
  3931. }
  3932. int QCPGraph::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  3933. {
  3934. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  3935. if (_id < 0)
  3936. return _id;
  3937. #ifndef QT_NO_PROPERTIES
  3938. if (_c == QMetaObject::ReadProperty) {
  3939. void *_v = _a[0];
  3940. switch (_id) {
  3941. case 0: *reinterpret_cast< LineStyle*>(_v) = lineStyle(); break;
  3942. case 1: *reinterpret_cast< QCPScatterStyle*>(_v) = scatterStyle(); break;
  3943. case 2: *reinterpret_cast< ErrorType*>(_v) = errorType(); break;
  3944. case 3: *reinterpret_cast< QPen*>(_v) = errorPen(); break;
  3945. case 4: *reinterpret_cast< double*>(_v) = errorBarSize(); break;
  3946. case 5: *reinterpret_cast< bool*>(_v) = errorBarSkipSymbol(); break;
  3947. case 6: *reinterpret_cast< QCPGraph**>(_v) = channelFillGraph(); break;
  3948. case 7: *reinterpret_cast< bool*>(_v) = adaptiveSampling(); break;
  3949. default: break;
  3950. }
  3951. _id -= 8;
  3952. } else if (_c == QMetaObject::WriteProperty) {
  3953. void *_v = _a[0];
  3954. switch (_id) {
  3955. case 0: setLineStyle(*reinterpret_cast< LineStyle*>(_v)); break;
  3956. case 1: setScatterStyle(*reinterpret_cast< QCPScatterStyle*>(_v)); break;
  3957. case 2: setErrorType(*reinterpret_cast< ErrorType*>(_v)); break;
  3958. case 3: setErrorPen(*reinterpret_cast< QPen*>(_v)); break;
  3959. case 4: setErrorBarSize(*reinterpret_cast< double*>(_v)); break;
  3960. case 5: setErrorBarSkipSymbol(*reinterpret_cast< bool*>(_v)); break;
  3961. case 6: setChannelFillGraph(*reinterpret_cast< QCPGraph**>(_v)); break;
  3962. case 7: setAdaptiveSampling(*reinterpret_cast< bool*>(_v)); break;
  3963. default: break;
  3964. }
  3965. _id -= 8;
  3966. } else if (_c == QMetaObject::ResetProperty) {
  3967. _id -= 8;
  3968. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  3969. _id -= 8;
  3970. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  3971. _id -= 8;
  3972. } else if (_c == QMetaObject::QueryPropertyStored) {
  3973. _id -= 8;
  3974. } else if (_c == QMetaObject::QueryPropertyEditable) {
  3975. _id -= 8;
  3976. } else if (_c == QMetaObject::QueryPropertyUser) {
  3977. _id -= 8;
  3978. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  3979. if (_id < 8)
  3980. qt_static_metacall(this, _c, _id, _a);
  3981. _id -= 8;
  3982. }
  3983. #endif // QT_NO_PROPERTIES
  3984. return _id;
  3985. }
  3986. struct qt_meta_stringdata_QCPCurve_t {
  3987. QByteArrayData data[5];
  3988. char stringdata[58];
  3989. };
  3990. #define QT_MOC_LITERAL(idx, ofs, len) \
  3991. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  3992. qptrdiff(offsetof(qt_meta_stringdata_QCPCurve_t, stringdata) + ofs \
  3993. - idx * sizeof(QByteArrayData)) \
  3994. )
  3995. static const qt_meta_stringdata_QCPCurve_t qt_meta_stringdata_QCPCurve = {
  3996. {
  3997. QT_MOC_LITERAL(0, 0, 8),
  3998. QT_MOC_LITERAL(1, 9, 12),
  3999. QT_MOC_LITERAL(2, 22, 15),
  4000. QT_MOC_LITERAL(3, 38, 9),
  4001. QT_MOC_LITERAL(4, 48, 9)
  4002. },
  4003. "QCPCurve\0scatterStyle\0QCPScatterStyle\0"
  4004. "lineStyle\0LineStyle"
  4005. };
  4006. #undef QT_MOC_LITERAL
  4007. static const uint qt_meta_data_QCPCurve[] = {
  4008. // content:
  4009. 7, // revision
  4010. 0, // classname
  4011. 0, 0, // classinfo
  4012. 0, 0, // methods
  4013. 2, 14, // properties
  4014. 0, 0, // enums/sets
  4015. 0, 0, // constructors
  4016. 0, // flags
  4017. 0, // signalCount
  4018. // properties: name, type, flags
  4019. 1, 0x80000000 | 2, 0x0009510b,
  4020. 3, 0x80000000 | 4, 0x0009510b,
  4021. 0 // eod
  4022. };
  4023. void QCPCurve::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4024. {
  4025. Q_UNUSED(_o);
  4026. Q_UNUSED(_id);
  4027. Q_UNUSED(_c);
  4028. Q_UNUSED(_a);
  4029. }
  4030. const QMetaObject QCPCurve::staticMetaObject = {
  4031. { &QCPAbstractPlottable::staticMetaObject, qt_meta_stringdata_QCPCurve.data,
  4032. qt_meta_data_QCPCurve, qt_static_metacall, 0, 0}
  4033. };
  4034. const QMetaObject *QCPCurve::metaObject() const
  4035. {
  4036. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4037. }
  4038. void *QCPCurve::qt_metacast(const char *_clname)
  4039. {
  4040. if (!_clname) return 0;
  4041. if (!strcmp(_clname, qt_meta_stringdata_QCPCurve.stringdata))
  4042. return static_cast<void*>(const_cast< QCPCurve*>(this));
  4043. return QCPAbstractPlottable::qt_metacast(_clname);
  4044. }
  4045. int QCPCurve::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4046. {
  4047. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  4048. if (_id < 0)
  4049. return _id;
  4050. #ifndef QT_NO_PROPERTIES
  4051. if (_c == QMetaObject::ReadProperty) {
  4052. void *_v = _a[0];
  4053. switch (_id) {
  4054. case 0: *reinterpret_cast< QCPScatterStyle*>(_v) = scatterStyle(); break;
  4055. case 1: *reinterpret_cast< LineStyle*>(_v) = lineStyle(); break;
  4056. default: break;
  4057. }
  4058. _id -= 2;
  4059. } else if (_c == QMetaObject::WriteProperty) {
  4060. void *_v = _a[0];
  4061. switch (_id) {
  4062. case 0: setScatterStyle(*reinterpret_cast< QCPScatterStyle*>(_v)); break;
  4063. case 1: setLineStyle(*reinterpret_cast< LineStyle*>(_v)); break;
  4064. default: break;
  4065. }
  4066. _id -= 2;
  4067. } else if (_c == QMetaObject::ResetProperty) {
  4068. _id -= 2;
  4069. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4070. _id -= 2;
  4071. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4072. _id -= 2;
  4073. } else if (_c == QMetaObject::QueryPropertyStored) {
  4074. _id -= 2;
  4075. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4076. _id -= 2;
  4077. } else if (_c == QMetaObject::QueryPropertyUser) {
  4078. _id -= 2;
  4079. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4080. if (_id < 2)
  4081. *reinterpret_cast<int*>(_a[0]) = -1;
  4082. _id -= 2;
  4083. }
  4084. #endif // QT_NO_PROPERTIES
  4085. return _id;
  4086. }
  4087. struct qt_meta_stringdata_QCPBarsGroup_t {
  4088. QByteArrayData data[4];
  4089. char stringdata[45];
  4090. };
  4091. #define QT_MOC_LITERAL(idx, ofs, len) \
  4092. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4093. qptrdiff(offsetof(qt_meta_stringdata_QCPBarsGroup_t, stringdata) + ofs \
  4094. - idx * sizeof(QByteArrayData)) \
  4095. )
  4096. static const qt_meta_stringdata_QCPBarsGroup_t qt_meta_stringdata_QCPBarsGroup = {
  4097. {
  4098. QT_MOC_LITERAL(0, 0, 12),
  4099. QT_MOC_LITERAL(1, 13, 11),
  4100. QT_MOC_LITERAL(2, 25, 11),
  4101. QT_MOC_LITERAL(3, 37, 7)
  4102. },
  4103. "QCPBarsGroup\0spacingType\0SpacingType\0"
  4104. "spacing"
  4105. };
  4106. #undef QT_MOC_LITERAL
  4107. static const uint qt_meta_data_QCPBarsGroup[] = {
  4108. // content:
  4109. 7, // revision
  4110. 0, // classname
  4111. 0, 0, // classinfo
  4112. 0, 0, // methods
  4113. 2, 14, // properties
  4114. 0, 0, // enums/sets
  4115. 0, 0, // constructors
  4116. 0, // flags
  4117. 0, // signalCount
  4118. // properties: name, type, flags
  4119. 1, 0x80000000 | 2, 0x0009510b,
  4120. 3, QMetaType::Double, 0x00095103,
  4121. 0 // eod
  4122. };
  4123. void QCPBarsGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4124. {
  4125. Q_UNUSED(_o);
  4126. Q_UNUSED(_id);
  4127. Q_UNUSED(_c);
  4128. Q_UNUSED(_a);
  4129. }
  4130. const QMetaObject QCPBarsGroup::staticMetaObject = {
  4131. { &QObject::staticMetaObject, qt_meta_stringdata_QCPBarsGroup.data,
  4132. qt_meta_data_QCPBarsGroup, qt_static_metacall, 0, 0}
  4133. };
  4134. const QMetaObject *QCPBarsGroup::metaObject() const
  4135. {
  4136. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4137. }
  4138. void *QCPBarsGroup::qt_metacast(const char *_clname)
  4139. {
  4140. if (!_clname) return 0;
  4141. if (!strcmp(_clname, qt_meta_stringdata_QCPBarsGroup.stringdata))
  4142. return static_cast<void*>(const_cast< QCPBarsGroup*>(this));
  4143. return QObject::qt_metacast(_clname);
  4144. }
  4145. int QCPBarsGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4146. {
  4147. _id = QObject::qt_metacall(_c, _id, _a);
  4148. if (_id < 0)
  4149. return _id;
  4150. #ifndef QT_NO_PROPERTIES
  4151. if (_c == QMetaObject::ReadProperty) {
  4152. void *_v = _a[0];
  4153. switch (_id) {
  4154. case 0: *reinterpret_cast< SpacingType*>(_v) = spacingType(); break;
  4155. case 1: *reinterpret_cast< double*>(_v) = spacing(); break;
  4156. default: break;
  4157. }
  4158. _id -= 2;
  4159. } else if (_c == QMetaObject::WriteProperty) {
  4160. void *_v = _a[0];
  4161. switch (_id) {
  4162. case 0: setSpacingType(*reinterpret_cast< SpacingType*>(_v)); break;
  4163. case 1: setSpacing(*reinterpret_cast< double*>(_v)); break;
  4164. default: break;
  4165. }
  4166. _id -= 2;
  4167. } else if (_c == QMetaObject::ResetProperty) {
  4168. _id -= 2;
  4169. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4170. _id -= 2;
  4171. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4172. _id -= 2;
  4173. } else if (_c == QMetaObject::QueryPropertyStored) {
  4174. _id -= 2;
  4175. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4176. _id -= 2;
  4177. } else if (_c == QMetaObject::QueryPropertyUser) {
  4178. _id -= 2;
  4179. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4180. if (_id < 2)
  4181. *reinterpret_cast<int*>(_a[0]) = -1;
  4182. _id -= 2;
  4183. }
  4184. #endif // QT_NO_PROPERTIES
  4185. return _id;
  4186. }
  4187. struct qt_meta_stringdata_QCPBars_t {
  4188. QByteArrayData data[13];
  4189. char stringdata[135];
  4190. };
  4191. #define QT_MOC_LITERAL(idx, ofs, len) \
  4192. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4193. qptrdiff(offsetof(qt_meta_stringdata_QCPBars_t, stringdata) + ofs \
  4194. - idx * sizeof(QByteArrayData)) \
  4195. )
  4196. static const qt_meta_stringdata_QCPBars_t qt_meta_stringdata_QCPBars = {
  4197. {
  4198. QT_MOC_LITERAL(0, 0, 7),
  4199. QT_MOC_LITERAL(1, 8, 5),
  4200. QT_MOC_LITERAL(2, 14, 9),
  4201. QT_MOC_LITERAL(3, 24, 9),
  4202. QT_MOC_LITERAL(4, 34, 9),
  4203. QT_MOC_LITERAL(5, 44, 13),
  4204. QT_MOC_LITERAL(6, 58, 9),
  4205. QT_MOC_LITERAL(7, 68, 8),
  4206. QT_MOC_LITERAL(8, 77, 8),
  4207. QT_MOC_LITERAL(9, 86, 8),
  4208. QT_MOC_LITERAL(10, 95, 10),
  4209. QT_MOC_LITERAL(11, 106, 15),
  4210. QT_MOC_LITERAL(12, 122, 12)
  4211. },
  4212. "QCPBars\0width\0widthType\0WidthType\0"
  4213. "barsGroup\0QCPBarsGroup*\0baseValue\0"
  4214. "barBelow\0QCPBars*\0barAbove\0wtAbsolute\0"
  4215. "wtAxisRectRatio\0wtPlotCoords"
  4216. };
  4217. #undef QT_MOC_LITERAL
  4218. static const uint qt_meta_data_QCPBars[] = {
  4219. // content:
  4220. 7, // revision
  4221. 0, // classname
  4222. 0, 0, // classinfo
  4223. 0, 0, // methods
  4224. 6, 14, // properties
  4225. 1, 32, // enums/sets
  4226. 0, 0, // constructors
  4227. 0, // flags
  4228. 0, // signalCount
  4229. // properties: name, type, flags
  4230. 1, QMetaType::Double, 0x00095103,
  4231. 2, 0x80000000 | 3, 0x0009510b,
  4232. 4, 0x80000000 | 5, 0x0009510b,
  4233. 6, QMetaType::Double, 0x00095103,
  4234. 7, 0x80000000 | 8, 0x00095009,
  4235. 9, 0x80000000 | 8, 0x00095009,
  4236. // enums: name, flags, count, data
  4237. 3, 0x0, 3, 36,
  4238. // enum data: key, value
  4239. 10, uint(QCPBars::wtAbsolute),
  4240. 11, uint(QCPBars::wtAxisRectRatio),
  4241. 12, uint(QCPBars::wtPlotCoords),
  4242. 0 // eod
  4243. };
  4244. void QCPBars::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4245. {
  4246. if (_c == QMetaObject::RegisterPropertyMetaType) {
  4247. switch (_id) {
  4248. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4249. case 5:
  4250. case 4:
  4251. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPBars* >(); break;
  4252. case 2:
  4253. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPBarsGroup* >(); break;
  4254. }
  4255. }
  4256. Q_UNUSED(_o);
  4257. }
  4258. const QMetaObject QCPBars::staticMetaObject = {
  4259. { &QCPAbstractPlottable::staticMetaObject, qt_meta_stringdata_QCPBars.data,
  4260. qt_meta_data_QCPBars, qt_static_metacall, 0, 0}
  4261. };
  4262. const QMetaObject *QCPBars::metaObject() const
  4263. {
  4264. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4265. }
  4266. void *QCPBars::qt_metacast(const char *_clname)
  4267. {
  4268. if (!_clname) return 0;
  4269. if (!strcmp(_clname, qt_meta_stringdata_QCPBars.stringdata))
  4270. return static_cast<void*>(const_cast< QCPBars*>(this));
  4271. return QCPAbstractPlottable::qt_metacast(_clname);
  4272. }
  4273. int QCPBars::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4274. {
  4275. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  4276. if (_id < 0)
  4277. return _id;
  4278. #ifndef QT_NO_PROPERTIES
  4279. if (_c == QMetaObject::ReadProperty) {
  4280. void *_v = _a[0];
  4281. switch (_id) {
  4282. case 0: *reinterpret_cast< double*>(_v) = width(); break;
  4283. case 1: *reinterpret_cast< WidthType*>(_v) = widthType(); break;
  4284. case 2: *reinterpret_cast< QCPBarsGroup**>(_v) = barsGroup(); break;
  4285. case 3: *reinterpret_cast< double*>(_v) = baseValue(); break;
  4286. case 4: *reinterpret_cast< QCPBars**>(_v) = barBelow(); break;
  4287. case 5: *reinterpret_cast< QCPBars**>(_v) = barAbove(); break;
  4288. default: break;
  4289. }
  4290. _id -= 6;
  4291. } else if (_c == QMetaObject::WriteProperty) {
  4292. void *_v = _a[0];
  4293. switch (_id) {
  4294. case 0: setWidth(*reinterpret_cast< double*>(_v)); break;
  4295. case 1: setWidthType(*reinterpret_cast< WidthType*>(_v)); break;
  4296. case 2: setBarsGroup(*reinterpret_cast< QCPBarsGroup**>(_v)); break;
  4297. case 3: setBaseValue(*reinterpret_cast< double*>(_v)); break;
  4298. default: break;
  4299. }
  4300. _id -= 6;
  4301. } else if (_c == QMetaObject::ResetProperty) {
  4302. _id -= 6;
  4303. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4304. _id -= 6;
  4305. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4306. _id -= 6;
  4307. } else if (_c == QMetaObject::QueryPropertyStored) {
  4308. _id -= 6;
  4309. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4310. _id -= 6;
  4311. } else if (_c == QMetaObject::QueryPropertyUser) {
  4312. _id -= 6;
  4313. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4314. if (_id < 6)
  4315. qt_static_metacall(this, _c, _id, _a);
  4316. _id -= 6;
  4317. }
  4318. #endif // QT_NO_PROPERTIES
  4319. return _id;
  4320. }
  4321. struct qt_meta_stringdata_QCPStatisticalBox_t {
  4322. QByteArrayData data[16];
  4323. char stringdata[181];
  4324. };
  4325. #define QT_MOC_LITERAL(idx, ofs, len) \
  4326. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4327. qptrdiff(offsetof(qt_meta_stringdata_QCPStatisticalBox_t, stringdata) + ofs \
  4328. - idx * sizeof(QByteArrayData)) \
  4329. )
  4330. static const qt_meta_stringdata_QCPStatisticalBox_t qt_meta_stringdata_QCPStatisticalBox = {
  4331. {
  4332. QT_MOC_LITERAL(0, 0, 17),
  4333. QT_MOC_LITERAL(1, 18, 3),
  4334. QT_MOC_LITERAL(2, 22, 7),
  4335. QT_MOC_LITERAL(3, 30, 13),
  4336. QT_MOC_LITERAL(4, 44, 6),
  4337. QT_MOC_LITERAL(5, 51, 13),
  4338. QT_MOC_LITERAL(6, 65, 7),
  4339. QT_MOC_LITERAL(7, 73, 8),
  4340. QT_MOC_LITERAL(8, 82, 15),
  4341. QT_MOC_LITERAL(9, 98, 5),
  4342. QT_MOC_LITERAL(10, 104, 12),
  4343. QT_MOC_LITERAL(11, 117, 10),
  4344. QT_MOC_LITERAL(12, 128, 13),
  4345. QT_MOC_LITERAL(13, 142, 9),
  4346. QT_MOC_LITERAL(14, 152, 12),
  4347. QT_MOC_LITERAL(15, 165, 15)
  4348. },
  4349. "QCPStatisticalBox\0key\0minimum\0"
  4350. "lowerQuartile\0median\0upperQuartile\0"
  4351. "maximum\0outliers\0QVector<double>\0width\0"
  4352. "whiskerWidth\0whiskerPen\0whiskerBarPen\0"
  4353. "medianPen\0outlierStyle\0QCPScatterStyle"
  4354. };
  4355. #undef QT_MOC_LITERAL
  4356. static const uint qt_meta_data_QCPStatisticalBox[] = {
  4357. // content:
  4358. 7, // revision
  4359. 0, // classname
  4360. 0, 0, // classinfo
  4361. 0, 0, // methods
  4362. 13, 14, // properties
  4363. 0, 0, // enums/sets
  4364. 0, 0, // constructors
  4365. 0, // flags
  4366. 0, // signalCount
  4367. // properties: name, type, flags
  4368. 1, QMetaType::Double, 0x00095103,
  4369. 2, QMetaType::Double, 0x00095103,
  4370. 3, QMetaType::Double, 0x00095103,
  4371. 4, QMetaType::Double, 0x00095103,
  4372. 5, QMetaType::Double, 0x00095103,
  4373. 6, QMetaType::Double, 0x00095103,
  4374. 7, 0x80000000 | 8, 0x0009510b,
  4375. 9, QMetaType::Double, 0x00095103,
  4376. 10, QMetaType::Double, 0x00095103,
  4377. 11, QMetaType::QPen, 0x00095103,
  4378. 12, QMetaType::QPen, 0x00095103,
  4379. 13, QMetaType::QPen, 0x00095103,
  4380. 14, 0x80000000 | 15, 0x0009510b,
  4381. 0 // eod
  4382. };
  4383. void QCPStatisticalBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4384. {
  4385. if (_c == QMetaObject::RegisterPropertyMetaType) {
  4386. switch (_id) {
  4387. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4388. case 6:
  4389. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<double> >(); break;
  4390. }
  4391. }
  4392. Q_UNUSED(_o);
  4393. }
  4394. const QMetaObject QCPStatisticalBox::staticMetaObject = {
  4395. { &QCPAbstractPlottable::staticMetaObject, qt_meta_stringdata_QCPStatisticalBox.data,
  4396. qt_meta_data_QCPStatisticalBox, qt_static_metacall, 0, 0}
  4397. };
  4398. const QMetaObject *QCPStatisticalBox::metaObject() const
  4399. {
  4400. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4401. }
  4402. void *QCPStatisticalBox::qt_metacast(const char *_clname)
  4403. {
  4404. if (!_clname) return 0;
  4405. if (!strcmp(_clname, qt_meta_stringdata_QCPStatisticalBox.stringdata))
  4406. return static_cast<void*>(const_cast< QCPStatisticalBox*>(this));
  4407. return QCPAbstractPlottable::qt_metacast(_clname);
  4408. }
  4409. int QCPStatisticalBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4410. {
  4411. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  4412. if (_id < 0)
  4413. return _id;
  4414. #ifndef QT_NO_PROPERTIES
  4415. if (_c == QMetaObject::ReadProperty) {
  4416. void *_v = _a[0];
  4417. switch (_id) {
  4418. case 0: *reinterpret_cast< double*>(_v) = key(); break;
  4419. case 1: *reinterpret_cast< double*>(_v) = minimum(); break;
  4420. case 2: *reinterpret_cast< double*>(_v) = lowerQuartile(); break;
  4421. case 3: *reinterpret_cast< double*>(_v) = median(); break;
  4422. case 4: *reinterpret_cast< double*>(_v) = upperQuartile(); break;
  4423. case 5: *reinterpret_cast< double*>(_v) = maximum(); break;
  4424. case 6: *reinterpret_cast< QVector<double>*>(_v) = outliers(); break;
  4425. case 7: *reinterpret_cast< double*>(_v) = width(); break;
  4426. case 8: *reinterpret_cast< double*>(_v) = whiskerWidth(); break;
  4427. case 9: *reinterpret_cast< QPen*>(_v) = whiskerPen(); break;
  4428. case 10: *reinterpret_cast< QPen*>(_v) = whiskerBarPen(); break;
  4429. case 11: *reinterpret_cast< QPen*>(_v) = medianPen(); break;
  4430. case 12: *reinterpret_cast< QCPScatterStyle*>(_v) = outlierStyle(); break;
  4431. default: break;
  4432. }
  4433. _id -= 13;
  4434. } else if (_c == QMetaObject::WriteProperty) {
  4435. void *_v = _a[0];
  4436. switch (_id) {
  4437. case 0: setKey(*reinterpret_cast< double*>(_v)); break;
  4438. case 1: setMinimum(*reinterpret_cast< double*>(_v)); break;
  4439. case 2: setLowerQuartile(*reinterpret_cast< double*>(_v)); break;
  4440. case 3: setMedian(*reinterpret_cast< double*>(_v)); break;
  4441. case 4: setUpperQuartile(*reinterpret_cast< double*>(_v)); break;
  4442. case 5: setMaximum(*reinterpret_cast< double*>(_v)); break;
  4443. case 6: setOutliers(*reinterpret_cast< QVector<double>*>(_v)); break;
  4444. case 7: setWidth(*reinterpret_cast< double*>(_v)); break;
  4445. case 8: setWhiskerWidth(*reinterpret_cast< double*>(_v)); break;
  4446. case 9: setWhiskerPen(*reinterpret_cast< QPen*>(_v)); break;
  4447. case 10: setWhiskerBarPen(*reinterpret_cast< QPen*>(_v)); break;
  4448. case 11: setMedianPen(*reinterpret_cast< QPen*>(_v)); break;
  4449. case 12: setOutlierStyle(*reinterpret_cast< QCPScatterStyle*>(_v)); break;
  4450. default: break;
  4451. }
  4452. _id -= 13;
  4453. } else if (_c == QMetaObject::ResetProperty) {
  4454. _id -= 13;
  4455. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4456. _id -= 13;
  4457. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4458. _id -= 13;
  4459. } else if (_c == QMetaObject::QueryPropertyStored) {
  4460. _id -= 13;
  4461. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4462. _id -= 13;
  4463. } else if (_c == QMetaObject::QueryPropertyUser) {
  4464. _id -= 13;
  4465. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4466. if (_id < 13)
  4467. qt_static_metacall(this, _c, _id, _a);
  4468. _id -= 13;
  4469. }
  4470. #endif // QT_NO_PROPERTIES
  4471. return _id;
  4472. }
  4473. struct qt_meta_stringdata_QCPColorMap_t {
  4474. QByteArrayData data[25];
  4475. char stringdata[334];
  4476. };
  4477. #define QT_MOC_LITERAL(idx, ofs, len) \
  4478. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4479. qptrdiff(offsetof(qt_meta_stringdata_QCPColorMap_t, stringdata) + ofs \
  4480. - idx * sizeof(QByteArrayData)) \
  4481. )
  4482. static const qt_meta_stringdata_QCPColorMap_t qt_meta_stringdata_QCPColorMap = {
  4483. {
  4484. QT_MOC_LITERAL(0, 0, 11),
  4485. QT_MOC_LITERAL(1, 12, 16),
  4486. QT_MOC_LITERAL(2, 29, 0),
  4487. QT_MOC_LITERAL(3, 30, 8),
  4488. QT_MOC_LITERAL(4, 39, 8),
  4489. QT_MOC_LITERAL(5, 48, 20),
  4490. QT_MOC_LITERAL(6, 69, 18),
  4491. QT_MOC_LITERAL(7, 88, 9),
  4492. QT_MOC_LITERAL(8, 98, 15),
  4493. QT_MOC_LITERAL(9, 114, 16),
  4494. QT_MOC_LITERAL(10, 131, 11),
  4495. QT_MOC_LITERAL(11, 143, 12),
  4496. QT_MOC_LITERAL(12, 156, 9),
  4497. QT_MOC_LITERAL(13, 166, 16),
  4498. QT_MOC_LITERAL(14, 183, 11),
  4499. QT_MOC_LITERAL(15, 195, 8),
  4500. QT_MOC_LITERAL(16, 204, 16),
  4501. QT_MOC_LITERAL(17, 221, 22),
  4502. QT_MOC_LITERAL(18, 244, 13),
  4503. QT_MOC_LITERAL(19, 258, 9),
  4504. QT_MOC_LITERAL(20, 268, 13),
  4505. QT_MOC_LITERAL(21, 282, 11),
  4506. QT_MOC_LITERAL(22, 294, 13),
  4507. QT_MOC_LITERAL(23, 308, 10),
  4508. QT_MOC_LITERAL(24, 319, 14)
  4509. },
  4510. "QCPColorMap\0dataRangeChanged\0\0QCPRange\0"
  4511. "newRange\0dataScaleTypeChanged\0"
  4512. "QCPAxis::ScaleType\0scaleType\0"
  4513. "gradientChanged\0QCPColorGradient\0"
  4514. "newGradient\0setDataRange\0dataRange\0"
  4515. "setDataScaleType\0setGradient\0gradient\0"
  4516. "updateLegendIcon\0Qt::TransformationMode\0"
  4517. "transformMode\0thumbSize\0dataScaleType\0"
  4518. "interpolate\0tightBoundary\0colorScale\0"
  4519. "QCPColorScale*"
  4520. };
  4521. #undef QT_MOC_LITERAL
  4522. static const uint qt_meta_data_QCPColorMap[] = {
  4523. // content:
  4524. 7, // revision
  4525. 0, // classname
  4526. 0, 0, // classinfo
  4527. 9, 14, // methods
  4528. 6, 86, // properties
  4529. 0, 0, // enums/sets
  4530. 0, 0, // constructors
  4531. 0, // flags
  4532. 3, // signalCount
  4533. // signals: name, argc, parameters, tag, flags
  4534. 1, 1, 59, 2, 0x06 /* Public */,
  4535. 5, 1, 62, 2, 0x06 /* Public */,
  4536. 8, 1, 65, 2, 0x06 /* Public */,
  4537. // slots: name, argc, parameters, tag, flags
  4538. 11, 1, 68, 2, 0x0a /* Public */,
  4539. 13, 1, 71, 2, 0x0a /* Public */,
  4540. 14, 1, 74, 2, 0x0a /* Public */,
  4541. 16, 2, 77, 2, 0x0a /* Public */,
  4542. 16, 1, 82, 2, 0x2a /* Public | MethodCloned */,
  4543. 16, 0, 85, 2, 0x2a /* Public | MethodCloned */,
  4544. // signals: parameters
  4545. QMetaType::Void, 0x80000000 | 3, 4,
  4546. QMetaType::Void, 0x80000000 | 6, 7,
  4547. QMetaType::Void, 0x80000000 | 9, 10,
  4548. // slots: parameters
  4549. QMetaType::Void, 0x80000000 | 3, 12,
  4550. QMetaType::Void, 0x80000000 | 6, 7,
  4551. QMetaType::Void, 0x80000000 | 9, 15,
  4552. QMetaType::Void, 0x80000000 | 17, QMetaType::QSize, 18, 19,
  4553. QMetaType::Void, 0x80000000 | 17, 18,
  4554. QMetaType::Void,
  4555. // properties: name, type, flags
  4556. 12, 0x80000000 | 3, 0x0049510b,
  4557. 20, 0x80000000 | 6, 0x0049510b,
  4558. 15, 0x80000000 | 9, 0x0049510b,
  4559. 21, QMetaType::Bool, 0x00095103,
  4560. 22, QMetaType::Bool, 0x00095103,
  4561. 23, 0x80000000 | 24, 0x0009510b,
  4562. // properties: notify_signal_id
  4563. 0,
  4564. 1,
  4565. 2,
  4566. 0,
  4567. 0,
  4568. 0,
  4569. 0 // eod
  4570. };
  4571. void QCPColorMap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4572. {
  4573. if (_c == QMetaObject::InvokeMetaMethod) {
  4574. QCPColorMap *_t = static_cast<QCPColorMap *>(_o);
  4575. switch (_id) {
  4576. case 0: _t->dataRangeChanged((*reinterpret_cast< QCPRange(*)>(_a[1]))); break;
  4577. case 1: _t->dataScaleTypeChanged((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  4578. case 2: _t->gradientChanged((*reinterpret_cast< QCPColorGradient(*)>(_a[1]))); break;
  4579. case 3: _t->setDataRange((*reinterpret_cast< const QCPRange(*)>(_a[1]))); break;
  4580. case 4: _t->setDataScaleType((*reinterpret_cast< QCPAxis::ScaleType(*)>(_a[1]))); break;
  4581. case 5: _t->setGradient((*reinterpret_cast< const QCPColorGradient(*)>(_a[1]))); break;
  4582. case 6: _t->updateLegendIcon((*reinterpret_cast< Qt::TransformationMode(*)>(_a[1])),(*reinterpret_cast< const QSize(*)>(_a[2]))); break;
  4583. case 7: _t->updateLegendIcon((*reinterpret_cast< Qt::TransformationMode(*)>(_a[1]))); break;
  4584. case 8: _t->updateLegendIcon(); break;
  4585. default: ;
  4586. }
  4587. } else if (_c == QMetaObject::IndexOfMethod) {
  4588. int *result = reinterpret_cast<int *>(_a[0]);
  4589. void **func = reinterpret_cast<void **>(_a[1]);
  4590. {
  4591. typedef void (QCPColorMap::*_t)(QCPRange );
  4592. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPColorMap::dataRangeChanged)) {
  4593. *result = 0;
  4594. }
  4595. }
  4596. {
  4597. typedef void (QCPColorMap::*_t)(QCPAxis::ScaleType );
  4598. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPColorMap::dataScaleTypeChanged)) {
  4599. *result = 1;
  4600. }
  4601. }
  4602. {
  4603. typedef void (QCPColorMap::*_t)(QCPColorGradient );
  4604. if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCPColorMap::gradientChanged)) {
  4605. *result = 2;
  4606. }
  4607. }
  4608. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4609. switch (_id) {
  4610. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  4611. case 5:
  4612. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPColorScale* >(); break;
  4613. }
  4614. }
  4615. }
  4616. static const QMetaObject * const qt_meta_extradata_QCPColorMap[] = {
  4617. &QCPAxis::staticMetaObject,
  4618. 0
  4619. };
  4620. const QMetaObject QCPColorMap::staticMetaObject = {
  4621. { &QCPAbstractPlottable::staticMetaObject, qt_meta_stringdata_QCPColorMap.data,
  4622. qt_meta_data_QCPColorMap, qt_static_metacall, qt_meta_extradata_QCPColorMap, 0}
  4623. };
  4624. const QMetaObject *QCPColorMap::metaObject() const
  4625. {
  4626. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4627. }
  4628. void *QCPColorMap::qt_metacast(const char *_clname)
  4629. {
  4630. if (!_clname) return 0;
  4631. if (!strcmp(_clname, qt_meta_stringdata_QCPColorMap.stringdata))
  4632. return static_cast<void*>(const_cast< QCPColorMap*>(this));
  4633. return QCPAbstractPlottable::qt_metacast(_clname);
  4634. }
  4635. int QCPColorMap::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4636. {
  4637. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  4638. if (_id < 0)
  4639. return _id;
  4640. if (_c == QMetaObject::InvokeMetaMethod) {
  4641. if (_id < 9)
  4642. qt_static_metacall(this, _c, _id, _a);
  4643. _id -= 9;
  4644. } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
  4645. if (_id < 9)
  4646. *reinterpret_cast<int*>(_a[0]) = -1;
  4647. _id -= 9;
  4648. }
  4649. #ifndef QT_NO_PROPERTIES
  4650. else if (_c == QMetaObject::ReadProperty) {
  4651. void *_v = _a[0];
  4652. switch (_id) {
  4653. case 0: *reinterpret_cast< QCPRange*>(_v) = dataRange(); break;
  4654. case 1: *reinterpret_cast< QCPAxis::ScaleType*>(_v) = dataScaleType(); break;
  4655. case 2: *reinterpret_cast< QCPColorGradient*>(_v) = gradient(); break;
  4656. case 3: *reinterpret_cast< bool*>(_v) = interpolate(); break;
  4657. case 4: *reinterpret_cast< bool*>(_v) = tightBoundary(); break;
  4658. case 5: *reinterpret_cast< QCPColorScale**>(_v) = colorScale(); break;
  4659. default: break;
  4660. }
  4661. _id -= 6;
  4662. } else if (_c == QMetaObject::WriteProperty) {
  4663. void *_v = _a[0];
  4664. switch (_id) {
  4665. case 0: setDataRange(*reinterpret_cast< QCPRange*>(_v)); break;
  4666. case 1: setDataScaleType(*reinterpret_cast< QCPAxis::ScaleType*>(_v)); break;
  4667. case 2: setGradient(*reinterpret_cast< QCPColorGradient*>(_v)); break;
  4668. case 3: setInterpolate(*reinterpret_cast< bool*>(_v)); break;
  4669. case 4: setTightBoundary(*reinterpret_cast< bool*>(_v)); break;
  4670. case 5: setColorScale(*reinterpret_cast< QCPColorScale**>(_v)); break;
  4671. default: break;
  4672. }
  4673. _id -= 6;
  4674. } else if (_c == QMetaObject::ResetProperty) {
  4675. _id -= 6;
  4676. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4677. _id -= 6;
  4678. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4679. _id -= 6;
  4680. } else if (_c == QMetaObject::QueryPropertyStored) {
  4681. _id -= 6;
  4682. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4683. _id -= 6;
  4684. } else if (_c == QMetaObject::QueryPropertyUser) {
  4685. _id -= 6;
  4686. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4687. if (_id < 6)
  4688. qt_static_metacall(this, _c, _id, _a);
  4689. _id -= 6;
  4690. }
  4691. #endif // QT_NO_PROPERTIES
  4692. return _id;
  4693. }
  4694. // SIGNAL 0
  4695. void QCPColorMap::dataRangeChanged(QCPRange _t1)
  4696. {
  4697. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  4698. QMetaObject::activate(this, &staticMetaObject, 0, _a);
  4699. }
  4700. // SIGNAL 1
  4701. void QCPColorMap::dataScaleTypeChanged(QCPAxis::ScaleType _t1)
  4702. {
  4703. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  4704. QMetaObject::activate(this, &staticMetaObject, 1, _a);
  4705. }
  4706. // SIGNAL 2
  4707. void QCPColorMap::gradientChanged(QCPColorGradient _t1)
  4708. {
  4709. void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
  4710. QMetaObject::activate(this, &staticMetaObject, 2, _a);
  4711. }
  4712. struct qt_meta_stringdata_QCPFinancial_t {
  4713. QByteArrayData data[11];
  4714. char stringdata[125];
  4715. };
  4716. #define QT_MOC_LITERAL(idx, ofs, len) \
  4717. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4718. qptrdiff(offsetof(qt_meta_stringdata_QCPFinancial_t, stringdata) + ofs \
  4719. - idx * sizeof(QByteArrayData)) \
  4720. )
  4721. static const qt_meta_stringdata_QCPFinancial_t qt_meta_stringdata_QCPFinancial = {
  4722. {
  4723. QT_MOC_LITERAL(0, 0, 12),
  4724. QT_MOC_LITERAL(1, 13, 10),
  4725. QT_MOC_LITERAL(2, 24, 10),
  4726. QT_MOC_LITERAL(3, 35, 5),
  4727. QT_MOC_LITERAL(4, 41, 10),
  4728. QT_MOC_LITERAL(5, 52, 13),
  4729. QT_MOC_LITERAL(6, 66, 13),
  4730. QT_MOC_LITERAL(7, 80, 11),
  4731. QT_MOC_LITERAL(8, 92, 11),
  4732. QT_MOC_LITERAL(9, 104, 6),
  4733. QT_MOC_LITERAL(10, 111, 13)
  4734. },
  4735. "QCPFinancial\0chartStyle\0ChartStyle\0"
  4736. "width\0twoColored\0brushPositive\0"
  4737. "brushNegative\0penPositive\0penNegative\0"
  4738. "csOhlc\0csCandlestick"
  4739. };
  4740. #undef QT_MOC_LITERAL
  4741. static const uint qt_meta_data_QCPFinancial[] = {
  4742. // content:
  4743. 7, // revision
  4744. 0, // classname
  4745. 0, 0, // classinfo
  4746. 0, 0, // methods
  4747. 7, 14, // properties
  4748. 1, 35, // enums/sets
  4749. 0, 0, // constructors
  4750. 0, // flags
  4751. 0, // signalCount
  4752. // properties: name, type, flags
  4753. 1, 0x80000000 | 2, 0x0009510b,
  4754. 3, QMetaType::Double, 0x00095103,
  4755. 4, QMetaType::Bool, 0x00095103,
  4756. 5, QMetaType::QBrush, 0x00095103,
  4757. 6, QMetaType::QBrush, 0x00095103,
  4758. 7, QMetaType::QPen, 0x00095103,
  4759. 8, QMetaType::QPen, 0x00095103,
  4760. // enums: name, flags, count, data
  4761. 2, 0x0, 2, 39,
  4762. // enum data: key, value
  4763. 9, uint(QCPFinancial::csOhlc),
  4764. 10, uint(QCPFinancial::csCandlestick),
  4765. 0 // eod
  4766. };
  4767. void QCPFinancial::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4768. {
  4769. Q_UNUSED(_o);
  4770. Q_UNUSED(_id);
  4771. Q_UNUSED(_c);
  4772. Q_UNUSED(_a);
  4773. }
  4774. const QMetaObject QCPFinancial::staticMetaObject = {
  4775. { &QCPAbstractPlottable::staticMetaObject, qt_meta_stringdata_QCPFinancial.data,
  4776. qt_meta_data_QCPFinancial, qt_static_metacall, 0, 0}
  4777. };
  4778. const QMetaObject *QCPFinancial::metaObject() const
  4779. {
  4780. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4781. }
  4782. void *QCPFinancial::qt_metacast(const char *_clname)
  4783. {
  4784. if (!_clname) return 0;
  4785. if (!strcmp(_clname, qt_meta_stringdata_QCPFinancial.stringdata))
  4786. return static_cast<void*>(const_cast< QCPFinancial*>(this));
  4787. return QCPAbstractPlottable::qt_metacast(_clname);
  4788. }
  4789. int QCPFinancial::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4790. {
  4791. _id = QCPAbstractPlottable::qt_metacall(_c, _id, _a);
  4792. if (_id < 0)
  4793. return _id;
  4794. #ifndef QT_NO_PROPERTIES
  4795. if (_c == QMetaObject::ReadProperty) {
  4796. void *_v = _a[0];
  4797. switch (_id) {
  4798. case 0: *reinterpret_cast< ChartStyle*>(_v) = chartStyle(); break;
  4799. case 1: *reinterpret_cast< double*>(_v) = width(); break;
  4800. case 2: *reinterpret_cast< bool*>(_v) = twoColored(); break;
  4801. case 3: *reinterpret_cast< QBrush*>(_v) = brushPositive(); break;
  4802. case 4: *reinterpret_cast< QBrush*>(_v) = brushNegative(); break;
  4803. case 5: *reinterpret_cast< QPen*>(_v) = penPositive(); break;
  4804. case 6: *reinterpret_cast< QPen*>(_v) = penNegative(); break;
  4805. default: break;
  4806. }
  4807. _id -= 7;
  4808. } else if (_c == QMetaObject::WriteProperty) {
  4809. void *_v = _a[0];
  4810. switch (_id) {
  4811. case 0: setChartStyle(*reinterpret_cast< ChartStyle*>(_v)); break;
  4812. case 1: setWidth(*reinterpret_cast< double*>(_v)); break;
  4813. case 2: setTwoColored(*reinterpret_cast< bool*>(_v)); break;
  4814. case 3: setBrushPositive(*reinterpret_cast< QBrush*>(_v)); break;
  4815. case 4: setBrushNegative(*reinterpret_cast< QBrush*>(_v)); break;
  4816. case 5: setPenPositive(*reinterpret_cast< QPen*>(_v)); break;
  4817. case 6: setPenNegative(*reinterpret_cast< QPen*>(_v)); break;
  4818. default: break;
  4819. }
  4820. _id -= 7;
  4821. } else if (_c == QMetaObject::ResetProperty) {
  4822. _id -= 7;
  4823. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4824. _id -= 7;
  4825. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4826. _id -= 7;
  4827. } else if (_c == QMetaObject::QueryPropertyStored) {
  4828. _id -= 7;
  4829. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4830. _id -= 7;
  4831. } else if (_c == QMetaObject::QueryPropertyUser) {
  4832. _id -= 7;
  4833. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4834. if (_id < 7)
  4835. *reinterpret_cast<int*>(_a[0]) = -1;
  4836. _id -= 7;
  4837. }
  4838. #endif // QT_NO_PROPERTIES
  4839. return _id;
  4840. }
  4841. struct qt_meta_stringdata_QCPItemStraightLine_t {
  4842. QByteArrayData data[3];
  4843. char stringdata[36];
  4844. };
  4845. #define QT_MOC_LITERAL(idx, ofs, len) \
  4846. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4847. qptrdiff(offsetof(qt_meta_stringdata_QCPItemStraightLine_t, stringdata) + ofs \
  4848. - idx * sizeof(QByteArrayData)) \
  4849. )
  4850. static const qt_meta_stringdata_QCPItemStraightLine_t qt_meta_stringdata_QCPItemStraightLine = {
  4851. {
  4852. QT_MOC_LITERAL(0, 0, 19),
  4853. QT_MOC_LITERAL(1, 20, 3),
  4854. QT_MOC_LITERAL(2, 24, 11)
  4855. },
  4856. "QCPItemStraightLine\0pen\0selectedPen"
  4857. };
  4858. #undef QT_MOC_LITERAL
  4859. static const uint qt_meta_data_QCPItemStraightLine[] = {
  4860. // content:
  4861. 7, // revision
  4862. 0, // classname
  4863. 0, 0, // classinfo
  4864. 0, 0, // methods
  4865. 2, 14, // properties
  4866. 0, 0, // enums/sets
  4867. 0, 0, // constructors
  4868. 0, // flags
  4869. 0, // signalCount
  4870. // properties: name, type, flags
  4871. 1, QMetaType::QPen, 0x00095103,
  4872. 2, QMetaType::QPen, 0x00095103,
  4873. 0 // eod
  4874. };
  4875. void QCPItemStraightLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4876. {
  4877. Q_UNUSED(_o);
  4878. Q_UNUSED(_id);
  4879. Q_UNUSED(_c);
  4880. Q_UNUSED(_a);
  4881. }
  4882. const QMetaObject QCPItemStraightLine::staticMetaObject = {
  4883. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemStraightLine.data,
  4884. qt_meta_data_QCPItemStraightLine, qt_static_metacall, 0, 0}
  4885. };
  4886. const QMetaObject *QCPItemStraightLine::metaObject() const
  4887. {
  4888. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4889. }
  4890. void *QCPItemStraightLine::qt_metacast(const char *_clname)
  4891. {
  4892. if (!_clname) return 0;
  4893. if (!strcmp(_clname, qt_meta_stringdata_QCPItemStraightLine.stringdata))
  4894. return static_cast<void*>(const_cast< QCPItemStraightLine*>(this));
  4895. return QCPAbstractItem::qt_metacast(_clname);
  4896. }
  4897. int QCPItemStraightLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  4898. {
  4899. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  4900. if (_id < 0)
  4901. return _id;
  4902. #ifndef QT_NO_PROPERTIES
  4903. if (_c == QMetaObject::ReadProperty) {
  4904. void *_v = _a[0];
  4905. switch (_id) {
  4906. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  4907. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  4908. default: break;
  4909. }
  4910. _id -= 2;
  4911. } else if (_c == QMetaObject::WriteProperty) {
  4912. void *_v = _a[0];
  4913. switch (_id) {
  4914. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  4915. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  4916. default: break;
  4917. }
  4918. _id -= 2;
  4919. } else if (_c == QMetaObject::ResetProperty) {
  4920. _id -= 2;
  4921. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  4922. _id -= 2;
  4923. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  4924. _id -= 2;
  4925. } else if (_c == QMetaObject::QueryPropertyStored) {
  4926. _id -= 2;
  4927. } else if (_c == QMetaObject::QueryPropertyEditable) {
  4928. _id -= 2;
  4929. } else if (_c == QMetaObject::QueryPropertyUser) {
  4930. _id -= 2;
  4931. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  4932. if (_id < 2)
  4933. *reinterpret_cast<int*>(_a[0]) = -1;
  4934. _id -= 2;
  4935. }
  4936. #endif // QT_NO_PROPERTIES
  4937. return _id;
  4938. }
  4939. struct qt_meta_stringdata_QCPItemLine_t {
  4940. QByteArrayData data[6];
  4941. char stringdata[52];
  4942. };
  4943. #define QT_MOC_LITERAL(idx, ofs, len) \
  4944. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  4945. qptrdiff(offsetof(qt_meta_stringdata_QCPItemLine_t, stringdata) + ofs \
  4946. - idx * sizeof(QByteArrayData)) \
  4947. )
  4948. static const qt_meta_stringdata_QCPItemLine_t qt_meta_stringdata_QCPItemLine = {
  4949. {
  4950. QT_MOC_LITERAL(0, 0, 11),
  4951. QT_MOC_LITERAL(1, 12, 3),
  4952. QT_MOC_LITERAL(2, 16, 11),
  4953. QT_MOC_LITERAL(3, 28, 4),
  4954. QT_MOC_LITERAL(4, 33, 13),
  4955. QT_MOC_LITERAL(5, 47, 4)
  4956. },
  4957. "QCPItemLine\0pen\0selectedPen\0head\0"
  4958. "QCPLineEnding\0tail"
  4959. };
  4960. #undef QT_MOC_LITERAL
  4961. static const uint qt_meta_data_QCPItemLine[] = {
  4962. // content:
  4963. 7, // revision
  4964. 0, // classname
  4965. 0, 0, // classinfo
  4966. 0, 0, // methods
  4967. 4, 14, // properties
  4968. 0, 0, // enums/sets
  4969. 0, 0, // constructors
  4970. 0, // flags
  4971. 0, // signalCount
  4972. // properties: name, type, flags
  4973. 1, QMetaType::QPen, 0x00095103,
  4974. 2, QMetaType::QPen, 0x00095103,
  4975. 3, 0x80000000 | 4, 0x0009510b,
  4976. 5, 0x80000000 | 4, 0x0009510b,
  4977. 0 // eod
  4978. };
  4979. void QCPItemLine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  4980. {
  4981. Q_UNUSED(_o);
  4982. Q_UNUSED(_id);
  4983. Q_UNUSED(_c);
  4984. Q_UNUSED(_a);
  4985. }
  4986. const QMetaObject QCPItemLine::staticMetaObject = {
  4987. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemLine.data,
  4988. qt_meta_data_QCPItemLine, qt_static_metacall, 0, 0}
  4989. };
  4990. const QMetaObject *QCPItemLine::metaObject() const
  4991. {
  4992. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  4993. }
  4994. void *QCPItemLine::qt_metacast(const char *_clname)
  4995. {
  4996. if (!_clname) return 0;
  4997. if (!strcmp(_clname, qt_meta_stringdata_QCPItemLine.stringdata))
  4998. return static_cast<void*>(const_cast< QCPItemLine*>(this));
  4999. return QCPAbstractItem::qt_metacast(_clname);
  5000. }
  5001. int QCPItemLine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5002. {
  5003. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5004. if (_id < 0)
  5005. return _id;
  5006. #ifndef QT_NO_PROPERTIES
  5007. if (_c == QMetaObject::ReadProperty) {
  5008. void *_v = _a[0];
  5009. switch (_id) {
  5010. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5011. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5012. case 2: *reinterpret_cast< QCPLineEnding*>(_v) = head(); break;
  5013. case 3: *reinterpret_cast< QCPLineEnding*>(_v) = tail(); break;
  5014. default: break;
  5015. }
  5016. _id -= 4;
  5017. } else if (_c == QMetaObject::WriteProperty) {
  5018. void *_v = _a[0];
  5019. switch (_id) {
  5020. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5021. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5022. case 2: setHead(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  5023. case 3: setTail(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  5024. default: break;
  5025. }
  5026. _id -= 4;
  5027. } else if (_c == QMetaObject::ResetProperty) {
  5028. _id -= 4;
  5029. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5030. _id -= 4;
  5031. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5032. _id -= 4;
  5033. } else if (_c == QMetaObject::QueryPropertyStored) {
  5034. _id -= 4;
  5035. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5036. _id -= 4;
  5037. } else if (_c == QMetaObject::QueryPropertyUser) {
  5038. _id -= 4;
  5039. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5040. if (_id < 4)
  5041. *reinterpret_cast<int*>(_a[0]) = -1;
  5042. _id -= 4;
  5043. }
  5044. #endif // QT_NO_PROPERTIES
  5045. return _id;
  5046. }
  5047. struct qt_meta_stringdata_QCPItemCurve_t {
  5048. QByteArrayData data[6];
  5049. char stringdata[53];
  5050. };
  5051. #define QT_MOC_LITERAL(idx, ofs, len) \
  5052. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5053. qptrdiff(offsetof(qt_meta_stringdata_QCPItemCurve_t, stringdata) + ofs \
  5054. - idx * sizeof(QByteArrayData)) \
  5055. )
  5056. static const qt_meta_stringdata_QCPItemCurve_t qt_meta_stringdata_QCPItemCurve = {
  5057. {
  5058. QT_MOC_LITERAL(0, 0, 12),
  5059. QT_MOC_LITERAL(1, 13, 3),
  5060. QT_MOC_LITERAL(2, 17, 11),
  5061. QT_MOC_LITERAL(3, 29, 4),
  5062. QT_MOC_LITERAL(4, 34, 13),
  5063. QT_MOC_LITERAL(5, 48, 4)
  5064. },
  5065. "QCPItemCurve\0pen\0selectedPen\0head\0"
  5066. "QCPLineEnding\0tail"
  5067. };
  5068. #undef QT_MOC_LITERAL
  5069. static const uint qt_meta_data_QCPItemCurve[] = {
  5070. // content:
  5071. 7, // revision
  5072. 0, // classname
  5073. 0, 0, // classinfo
  5074. 0, 0, // methods
  5075. 4, 14, // properties
  5076. 0, 0, // enums/sets
  5077. 0, 0, // constructors
  5078. 0, // flags
  5079. 0, // signalCount
  5080. // properties: name, type, flags
  5081. 1, QMetaType::QPen, 0x00095103,
  5082. 2, QMetaType::QPen, 0x00095103,
  5083. 3, 0x80000000 | 4, 0x0009510b,
  5084. 5, 0x80000000 | 4, 0x0009510b,
  5085. 0 // eod
  5086. };
  5087. void QCPItemCurve::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5088. {
  5089. Q_UNUSED(_o);
  5090. Q_UNUSED(_id);
  5091. Q_UNUSED(_c);
  5092. Q_UNUSED(_a);
  5093. }
  5094. const QMetaObject QCPItemCurve::staticMetaObject = {
  5095. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemCurve.data,
  5096. qt_meta_data_QCPItemCurve, qt_static_metacall, 0, 0}
  5097. };
  5098. const QMetaObject *QCPItemCurve::metaObject() const
  5099. {
  5100. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5101. }
  5102. void *QCPItemCurve::qt_metacast(const char *_clname)
  5103. {
  5104. if (!_clname) return 0;
  5105. if (!strcmp(_clname, qt_meta_stringdata_QCPItemCurve.stringdata))
  5106. return static_cast<void*>(const_cast< QCPItemCurve*>(this));
  5107. return QCPAbstractItem::qt_metacast(_clname);
  5108. }
  5109. int QCPItemCurve::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5110. {
  5111. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5112. if (_id < 0)
  5113. return _id;
  5114. #ifndef QT_NO_PROPERTIES
  5115. if (_c == QMetaObject::ReadProperty) {
  5116. void *_v = _a[0];
  5117. switch (_id) {
  5118. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5119. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5120. case 2: *reinterpret_cast< QCPLineEnding*>(_v) = head(); break;
  5121. case 3: *reinterpret_cast< QCPLineEnding*>(_v) = tail(); break;
  5122. default: break;
  5123. }
  5124. _id -= 4;
  5125. } else if (_c == QMetaObject::WriteProperty) {
  5126. void *_v = _a[0];
  5127. switch (_id) {
  5128. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5129. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5130. case 2: setHead(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  5131. case 3: setTail(*reinterpret_cast< QCPLineEnding*>(_v)); break;
  5132. default: break;
  5133. }
  5134. _id -= 4;
  5135. } else if (_c == QMetaObject::ResetProperty) {
  5136. _id -= 4;
  5137. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5138. _id -= 4;
  5139. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5140. _id -= 4;
  5141. } else if (_c == QMetaObject::QueryPropertyStored) {
  5142. _id -= 4;
  5143. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5144. _id -= 4;
  5145. } else if (_c == QMetaObject::QueryPropertyUser) {
  5146. _id -= 4;
  5147. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5148. if (_id < 4)
  5149. *reinterpret_cast<int*>(_a[0]) = -1;
  5150. _id -= 4;
  5151. }
  5152. #endif // QT_NO_PROPERTIES
  5153. return _id;
  5154. }
  5155. struct qt_meta_stringdata_QCPItemRect_t {
  5156. QByteArrayData data[5];
  5157. char stringdata[48];
  5158. };
  5159. #define QT_MOC_LITERAL(idx, ofs, len) \
  5160. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5161. qptrdiff(offsetof(qt_meta_stringdata_QCPItemRect_t, stringdata) + ofs \
  5162. - idx * sizeof(QByteArrayData)) \
  5163. )
  5164. static const qt_meta_stringdata_QCPItemRect_t qt_meta_stringdata_QCPItemRect = {
  5165. {
  5166. QT_MOC_LITERAL(0, 0, 11),
  5167. QT_MOC_LITERAL(1, 12, 3),
  5168. QT_MOC_LITERAL(2, 16, 11),
  5169. QT_MOC_LITERAL(3, 28, 5),
  5170. QT_MOC_LITERAL(4, 34, 13)
  5171. },
  5172. "QCPItemRect\0pen\0selectedPen\0brush\0"
  5173. "selectedBrush"
  5174. };
  5175. #undef QT_MOC_LITERAL
  5176. static const uint qt_meta_data_QCPItemRect[] = {
  5177. // content:
  5178. 7, // revision
  5179. 0, // classname
  5180. 0, 0, // classinfo
  5181. 0, 0, // methods
  5182. 4, 14, // properties
  5183. 0, 0, // enums/sets
  5184. 0, 0, // constructors
  5185. 0, // flags
  5186. 0, // signalCount
  5187. // properties: name, type, flags
  5188. 1, QMetaType::QPen, 0x00095103,
  5189. 2, QMetaType::QPen, 0x00095103,
  5190. 3, QMetaType::QBrush, 0x00095103,
  5191. 4, QMetaType::QBrush, 0x00095103,
  5192. 0 // eod
  5193. };
  5194. void QCPItemRect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5195. {
  5196. Q_UNUSED(_o);
  5197. Q_UNUSED(_id);
  5198. Q_UNUSED(_c);
  5199. Q_UNUSED(_a);
  5200. }
  5201. const QMetaObject QCPItemRect::staticMetaObject = {
  5202. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemRect.data,
  5203. qt_meta_data_QCPItemRect, qt_static_metacall, 0, 0}
  5204. };
  5205. const QMetaObject *QCPItemRect::metaObject() const
  5206. {
  5207. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5208. }
  5209. void *QCPItemRect::qt_metacast(const char *_clname)
  5210. {
  5211. if (!_clname) return 0;
  5212. if (!strcmp(_clname, qt_meta_stringdata_QCPItemRect.stringdata))
  5213. return static_cast<void*>(const_cast< QCPItemRect*>(this));
  5214. return QCPAbstractItem::qt_metacast(_clname);
  5215. }
  5216. int QCPItemRect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5217. {
  5218. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5219. if (_id < 0)
  5220. return _id;
  5221. #ifndef QT_NO_PROPERTIES
  5222. if (_c == QMetaObject::ReadProperty) {
  5223. void *_v = _a[0];
  5224. switch (_id) {
  5225. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5226. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5227. case 2: *reinterpret_cast< QBrush*>(_v) = brush(); break;
  5228. case 3: *reinterpret_cast< QBrush*>(_v) = selectedBrush(); break;
  5229. default: break;
  5230. }
  5231. _id -= 4;
  5232. } else if (_c == QMetaObject::WriteProperty) {
  5233. void *_v = _a[0];
  5234. switch (_id) {
  5235. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5236. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5237. case 2: setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5238. case 3: setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5239. default: break;
  5240. }
  5241. _id -= 4;
  5242. } else if (_c == QMetaObject::ResetProperty) {
  5243. _id -= 4;
  5244. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5245. _id -= 4;
  5246. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5247. _id -= 4;
  5248. } else if (_c == QMetaObject::QueryPropertyStored) {
  5249. _id -= 4;
  5250. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5251. _id -= 4;
  5252. } else if (_c == QMetaObject::QueryPropertyUser) {
  5253. _id -= 4;
  5254. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5255. if (_id < 4)
  5256. *reinterpret_cast<int*>(_a[0]) = -1;
  5257. _id -= 4;
  5258. }
  5259. #endif // QT_NO_PROPERTIES
  5260. return _id;
  5261. }
  5262. struct qt_meta_stringdata_QCPItemText_t {
  5263. QByteArrayData data[16];
  5264. char stringdata[163];
  5265. };
  5266. #define QT_MOC_LITERAL(idx, ofs, len) \
  5267. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5268. qptrdiff(offsetof(qt_meta_stringdata_QCPItemText_t, stringdata) + ofs \
  5269. - idx * sizeof(QByteArrayData)) \
  5270. )
  5271. static const qt_meta_stringdata_QCPItemText_t qt_meta_stringdata_QCPItemText = {
  5272. {
  5273. QT_MOC_LITERAL(0, 0, 11),
  5274. QT_MOC_LITERAL(1, 12, 5),
  5275. QT_MOC_LITERAL(2, 18, 13),
  5276. QT_MOC_LITERAL(3, 32, 3),
  5277. QT_MOC_LITERAL(4, 36, 11),
  5278. QT_MOC_LITERAL(5, 48, 5),
  5279. QT_MOC_LITERAL(6, 54, 13),
  5280. QT_MOC_LITERAL(7, 68, 4),
  5281. QT_MOC_LITERAL(8, 73, 12),
  5282. QT_MOC_LITERAL(9, 86, 4),
  5283. QT_MOC_LITERAL(10, 91, 17),
  5284. QT_MOC_LITERAL(11, 109, 13),
  5285. QT_MOC_LITERAL(12, 123, 13),
  5286. QT_MOC_LITERAL(13, 137, 8),
  5287. QT_MOC_LITERAL(14, 146, 7),
  5288. QT_MOC_LITERAL(15, 154, 8)
  5289. },
  5290. "QCPItemText\0color\0selectedColor\0pen\0"
  5291. "selectedPen\0brush\0selectedBrush\0font\0"
  5292. "selectedFont\0text\0positionAlignment\0"
  5293. "Qt::Alignment\0textAlignment\0rotation\0"
  5294. "padding\0QMargins"
  5295. };
  5296. #undef QT_MOC_LITERAL
  5297. static const uint qt_meta_data_QCPItemText[] = {
  5298. // content:
  5299. 7, // revision
  5300. 0, // classname
  5301. 0, 0, // classinfo
  5302. 0, 0, // methods
  5303. 13, 14, // properties
  5304. 0, 0, // enums/sets
  5305. 0, 0, // constructors
  5306. 0, // flags
  5307. 0, // signalCount
  5308. // properties: name, type, flags
  5309. 1, QMetaType::QColor, 0x00095103,
  5310. 2, QMetaType::QColor, 0x00095103,
  5311. 3, QMetaType::QPen, 0x00095103,
  5312. 4, QMetaType::QPen, 0x00095103,
  5313. 5, QMetaType::QBrush, 0x00095103,
  5314. 6, QMetaType::QBrush, 0x00095103,
  5315. 7, QMetaType::QFont, 0x00095103,
  5316. 8, QMetaType::QFont, 0x00095103,
  5317. 9, QMetaType::QString, 0x00095103,
  5318. 10, 0x80000000 | 11, 0x0009510b,
  5319. 12, 0x80000000 | 11, 0x0009510b,
  5320. 13, QMetaType::Double, 0x00095103,
  5321. 14, 0x80000000 | 15, 0x0009510b,
  5322. 0 // eod
  5323. };
  5324. void QCPItemText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5325. {
  5326. Q_UNUSED(_o);
  5327. Q_UNUSED(_id);
  5328. Q_UNUSED(_c);
  5329. Q_UNUSED(_a);
  5330. }
  5331. const QMetaObject QCPItemText::staticMetaObject = {
  5332. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemText.data,
  5333. qt_meta_data_QCPItemText, qt_static_metacall, 0, 0}
  5334. };
  5335. const QMetaObject *QCPItemText::metaObject() const
  5336. {
  5337. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5338. }
  5339. void *QCPItemText::qt_metacast(const char *_clname)
  5340. {
  5341. if (!_clname) return 0;
  5342. if (!strcmp(_clname, qt_meta_stringdata_QCPItemText.stringdata))
  5343. return static_cast<void*>(const_cast< QCPItemText*>(this));
  5344. return QCPAbstractItem::qt_metacast(_clname);
  5345. }
  5346. int QCPItemText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5347. {
  5348. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5349. if (_id < 0)
  5350. return _id;
  5351. #ifndef QT_NO_PROPERTIES
  5352. if (_c == QMetaObject::ReadProperty) {
  5353. void *_v = _a[0];
  5354. switch (_id) {
  5355. case 0: *reinterpret_cast< QColor*>(_v) = color(); break;
  5356. case 1: *reinterpret_cast< QColor*>(_v) = selectedColor(); break;
  5357. case 2: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5358. case 3: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5359. case 4: *reinterpret_cast< QBrush*>(_v) = brush(); break;
  5360. case 5: *reinterpret_cast< QBrush*>(_v) = selectedBrush(); break;
  5361. case 6: *reinterpret_cast< QFont*>(_v) = font(); break;
  5362. case 7: *reinterpret_cast< QFont*>(_v) = selectedFont(); break;
  5363. case 8: *reinterpret_cast< QString*>(_v) = text(); break;
  5364. case 9: *reinterpret_cast< Qt::Alignment*>(_v) = positionAlignment(); break;
  5365. case 10: *reinterpret_cast< Qt::Alignment*>(_v) = textAlignment(); break;
  5366. case 11: *reinterpret_cast< double*>(_v) = rotation(); break;
  5367. case 12: *reinterpret_cast< QMargins*>(_v) = padding(); break;
  5368. default: break;
  5369. }
  5370. _id -= 13;
  5371. } else if (_c == QMetaObject::WriteProperty) {
  5372. void *_v = _a[0];
  5373. switch (_id) {
  5374. case 0: setColor(*reinterpret_cast< QColor*>(_v)); break;
  5375. case 1: setSelectedColor(*reinterpret_cast< QColor*>(_v)); break;
  5376. case 2: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5377. case 3: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5378. case 4: setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5379. case 5: setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5380. case 6: setFont(*reinterpret_cast< QFont*>(_v)); break;
  5381. case 7: setSelectedFont(*reinterpret_cast< QFont*>(_v)); break;
  5382. case 8: setText(*reinterpret_cast< QString*>(_v)); break;
  5383. case 9: setPositionAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
  5384. case 10: setTextAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
  5385. case 11: setRotation(*reinterpret_cast< double*>(_v)); break;
  5386. case 12: setPadding(*reinterpret_cast< QMargins*>(_v)); break;
  5387. default: break;
  5388. }
  5389. _id -= 13;
  5390. } else if (_c == QMetaObject::ResetProperty) {
  5391. _id -= 13;
  5392. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5393. _id -= 13;
  5394. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5395. _id -= 13;
  5396. } else if (_c == QMetaObject::QueryPropertyStored) {
  5397. _id -= 13;
  5398. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5399. _id -= 13;
  5400. } else if (_c == QMetaObject::QueryPropertyUser) {
  5401. _id -= 13;
  5402. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5403. if (_id < 13)
  5404. *reinterpret_cast<int*>(_a[0]) = -1;
  5405. _id -= 13;
  5406. }
  5407. #endif // QT_NO_PROPERTIES
  5408. return _id;
  5409. }
  5410. struct qt_meta_stringdata_QCPItemEllipse_t {
  5411. QByteArrayData data[5];
  5412. char stringdata[51];
  5413. };
  5414. #define QT_MOC_LITERAL(idx, ofs, len) \
  5415. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5416. qptrdiff(offsetof(qt_meta_stringdata_QCPItemEllipse_t, stringdata) + ofs \
  5417. - idx * sizeof(QByteArrayData)) \
  5418. )
  5419. static const qt_meta_stringdata_QCPItemEllipse_t qt_meta_stringdata_QCPItemEllipse = {
  5420. {
  5421. QT_MOC_LITERAL(0, 0, 14),
  5422. QT_MOC_LITERAL(1, 15, 3),
  5423. QT_MOC_LITERAL(2, 19, 11),
  5424. QT_MOC_LITERAL(3, 31, 5),
  5425. QT_MOC_LITERAL(4, 37, 13)
  5426. },
  5427. "QCPItemEllipse\0pen\0selectedPen\0brush\0"
  5428. "selectedBrush"
  5429. };
  5430. #undef QT_MOC_LITERAL
  5431. static const uint qt_meta_data_QCPItemEllipse[] = {
  5432. // content:
  5433. 7, // revision
  5434. 0, // classname
  5435. 0, 0, // classinfo
  5436. 0, 0, // methods
  5437. 4, 14, // properties
  5438. 0, 0, // enums/sets
  5439. 0, 0, // constructors
  5440. 0, // flags
  5441. 0, // signalCount
  5442. // properties: name, type, flags
  5443. 1, QMetaType::QPen, 0x00095103,
  5444. 2, QMetaType::QPen, 0x00095103,
  5445. 3, QMetaType::QBrush, 0x00095103,
  5446. 4, QMetaType::QBrush, 0x00095103,
  5447. 0 // eod
  5448. };
  5449. void QCPItemEllipse::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5450. {
  5451. Q_UNUSED(_o);
  5452. Q_UNUSED(_id);
  5453. Q_UNUSED(_c);
  5454. Q_UNUSED(_a);
  5455. }
  5456. const QMetaObject QCPItemEllipse::staticMetaObject = {
  5457. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemEllipse.data,
  5458. qt_meta_data_QCPItemEllipse, qt_static_metacall, 0, 0}
  5459. };
  5460. const QMetaObject *QCPItemEllipse::metaObject() const
  5461. {
  5462. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5463. }
  5464. void *QCPItemEllipse::qt_metacast(const char *_clname)
  5465. {
  5466. if (!_clname) return 0;
  5467. if (!strcmp(_clname, qt_meta_stringdata_QCPItemEllipse.stringdata))
  5468. return static_cast<void*>(const_cast< QCPItemEllipse*>(this));
  5469. return QCPAbstractItem::qt_metacast(_clname);
  5470. }
  5471. int QCPItemEllipse::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5472. {
  5473. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5474. if (_id < 0)
  5475. return _id;
  5476. #ifndef QT_NO_PROPERTIES
  5477. if (_c == QMetaObject::ReadProperty) {
  5478. void *_v = _a[0];
  5479. switch (_id) {
  5480. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5481. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5482. case 2: *reinterpret_cast< QBrush*>(_v) = brush(); break;
  5483. case 3: *reinterpret_cast< QBrush*>(_v) = selectedBrush(); break;
  5484. default: break;
  5485. }
  5486. _id -= 4;
  5487. } else if (_c == QMetaObject::WriteProperty) {
  5488. void *_v = _a[0];
  5489. switch (_id) {
  5490. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5491. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5492. case 2: setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5493. case 3: setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5494. default: break;
  5495. }
  5496. _id -= 4;
  5497. } else if (_c == QMetaObject::ResetProperty) {
  5498. _id -= 4;
  5499. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5500. _id -= 4;
  5501. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5502. _id -= 4;
  5503. } else if (_c == QMetaObject::QueryPropertyStored) {
  5504. _id -= 4;
  5505. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5506. _id -= 4;
  5507. } else if (_c == QMetaObject::QueryPropertyUser) {
  5508. _id -= 4;
  5509. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5510. if (_id < 4)
  5511. *reinterpret_cast<int*>(_a[0]) = -1;
  5512. _id -= 4;
  5513. }
  5514. #endif // QT_NO_PROPERTIES
  5515. return _id;
  5516. }
  5517. struct qt_meta_stringdata_QCPItemPixmap_t {
  5518. QByteArrayData data[9];
  5519. char stringdata[122];
  5520. };
  5521. #define QT_MOC_LITERAL(idx, ofs, len) \
  5522. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5523. qptrdiff(offsetof(qt_meta_stringdata_QCPItemPixmap_t, stringdata) + ofs \
  5524. - idx * sizeof(QByteArrayData)) \
  5525. )
  5526. static const qt_meta_stringdata_QCPItemPixmap_t qt_meta_stringdata_QCPItemPixmap = {
  5527. {
  5528. QT_MOC_LITERAL(0, 0, 13),
  5529. QT_MOC_LITERAL(1, 14, 6),
  5530. QT_MOC_LITERAL(2, 21, 6),
  5531. QT_MOC_LITERAL(3, 28, 15),
  5532. QT_MOC_LITERAL(4, 44, 19),
  5533. QT_MOC_LITERAL(5, 64, 18),
  5534. QT_MOC_LITERAL(6, 83, 22),
  5535. QT_MOC_LITERAL(7, 106, 3),
  5536. QT_MOC_LITERAL(8, 110, 11)
  5537. },
  5538. "QCPItemPixmap\0pixmap\0scaled\0aspectRatioMode\0"
  5539. "Qt::AspectRatioMode\0transformationMode\0"
  5540. "Qt::TransformationMode\0pen\0selectedPen"
  5541. };
  5542. #undef QT_MOC_LITERAL
  5543. static const uint qt_meta_data_QCPItemPixmap[] = {
  5544. // content:
  5545. 7, // revision
  5546. 0, // classname
  5547. 0, 0, // classinfo
  5548. 0, 0, // methods
  5549. 6, 14, // properties
  5550. 0, 0, // enums/sets
  5551. 0, 0, // constructors
  5552. 0, // flags
  5553. 0, // signalCount
  5554. // properties: name, type, flags
  5555. 1, QMetaType::QPixmap, 0x00095103,
  5556. 2, QMetaType::Bool, 0x00095103,
  5557. 3, 0x80000000 | 4, 0x00095009,
  5558. 5, 0x80000000 | 6, 0x00095009,
  5559. 7, QMetaType::QPen, 0x00095103,
  5560. 8, QMetaType::QPen, 0x00095103,
  5561. 0 // eod
  5562. };
  5563. void QCPItemPixmap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5564. {
  5565. Q_UNUSED(_o);
  5566. Q_UNUSED(_id);
  5567. Q_UNUSED(_c);
  5568. Q_UNUSED(_a);
  5569. }
  5570. const QMetaObject QCPItemPixmap::staticMetaObject = {
  5571. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemPixmap.data,
  5572. qt_meta_data_QCPItemPixmap, qt_static_metacall, 0, 0}
  5573. };
  5574. const QMetaObject *QCPItemPixmap::metaObject() const
  5575. {
  5576. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5577. }
  5578. void *QCPItemPixmap::qt_metacast(const char *_clname)
  5579. {
  5580. if (!_clname) return 0;
  5581. if (!strcmp(_clname, qt_meta_stringdata_QCPItemPixmap.stringdata))
  5582. return static_cast<void*>(const_cast< QCPItemPixmap*>(this));
  5583. return QCPAbstractItem::qt_metacast(_clname);
  5584. }
  5585. int QCPItemPixmap::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5586. {
  5587. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5588. if (_id < 0)
  5589. return _id;
  5590. #ifndef QT_NO_PROPERTIES
  5591. if (_c == QMetaObject::ReadProperty) {
  5592. void *_v = _a[0];
  5593. switch (_id) {
  5594. case 0: *reinterpret_cast< QPixmap*>(_v) = pixmap(); break;
  5595. case 1: *reinterpret_cast< bool*>(_v) = scaled(); break;
  5596. case 2: *reinterpret_cast< Qt::AspectRatioMode*>(_v) = aspectRatioMode(); break;
  5597. case 3: *reinterpret_cast< Qt::TransformationMode*>(_v) = transformationMode(); break;
  5598. case 4: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5599. case 5: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5600. default: break;
  5601. }
  5602. _id -= 6;
  5603. } else if (_c == QMetaObject::WriteProperty) {
  5604. void *_v = _a[0];
  5605. switch (_id) {
  5606. case 0: setPixmap(*reinterpret_cast< QPixmap*>(_v)); break;
  5607. case 1: setScaled(*reinterpret_cast< bool*>(_v)); break;
  5608. case 4: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5609. case 5: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5610. default: break;
  5611. }
  5612. _id -= 6;
  5613. } else if (_c == QMetaObject::ResetProperty) {
  5614. _id -= 6;
  5615. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5616. _id -= 6;
  5617. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5618. _id -= 6;
  5619. } else if (_c == QMetaObject::QueryPropertyStored) {
  5620. _id -= 6;
  5621. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5622. _id -= 6;
  5623. } else if (_c == QMetaObject::QueryPropertyUser) {
  5624. _id -= 6;
  5625. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5626. if (_id < 6)
  5627. *reinterpret_cast<int*>(_a[0]) = -1;
  5628. _id -= 6;
  5629. }
  5630. #endif // QT_NO_PROPERTIES
  5631. return _id;
  5632. }
  5633. struct qt_meta_stringdata_QCPItemTracer_t {
  5634. QByteArrayData data[17];
  5635. char stringdata[156];
  5636. };
  5637. #define QT_MOC_LITERAL(idx, ofs, len) \
  5638. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5639. qptrdiff(offsetof(qt_meta_stringdata_QCPItemTracer_t, stringdata) + ofs \
  5640. - idx * sizeof(QByteArrayData)) \
  5641. )
  5642. static const qt_meta_stringdata_QCPItemTracer_t qt_meta_stringdata_QCPItemTracer = {
  5643. {
  5644. QT_MOC_LITERAL(0, 0, 13),
  5645. QT_MOC_LITERAL(1, 14, 3),
  5646. QT_MOC_LITERAL(2, 18, 11),
  5647. QT_MOC_LITERAL(3, 30, 5),
  5648. QT_MOC_LITERAL(4, 36, 13),
  5649. QT_MOC_LITERAL(5, 50, 4),
  5650. QT_MOC_LITERAL(6, 55, 5),
  5651. QT_MOC_LITERAL(7, 61, 11),
  5652. QT_MOC_LITERAL(8, 73, 5),
  5653. QT_MOC_LITERAL(9, 79, 9),
  5654. QT_MOC_LITERAL(10, 89, 8),
  5655. QT_MOC_LITERAL(11, 98, 13),
  5656. QT_MOC_LITERAL(12, 112, 6),
  5657. QT_MOC_LITERAL(13, 119, 6),
  5658. QT_MOC_LITERAL(14, 126, 11),
  5659. QT_MOC_LITERAL(15, 138, 8),
  5660. QT_MOC_LITERAL(16, 147, 8)
  5661. },
  5662. "QCPItemTracer\0pen\0selectedPen\0brush\0"
  5663. "selectedBrush\0size\0style\0TracerStyle\0"
  5664. "graph\0QCPGraph*\0graphKey\0interpolating\0"
  5665. "tsNone\0tsPlus\0tsCrosshair\0tsCircle\0"
  5666. "tsSquare"
  5667. };
  5668. #undef QT_MOC_LITERAL
  5669. static const uint qt_meta_data_QCPItemTracer[] = {
  5670. // content:
  5671. 7, // revision
  5672. 0, // classname
  5673. 0, 0, // classinfo
  5674. 0, 0, // methods
  5675. 9, 14, // properties
  5676. 1, 41, // enums/sets
  5677. 0, 0, // constructors
  5678. 0, // flags
  5679. 0, // signalCount
  5680. // properties: name, type, flags
  5681. 1, QMetaType::QPen, 0x00095103,
  5682. 2, QMetaType::QPen, 0x00095103,
  5683. 3, QMetaType::QBrush, 0x00095103,
  5684. 4, QMetaType::QBrush, 0x00095103,
  5685. 5, QMetaType::Double, 0x00095103,
  5686. 6, 0x80000000 | 7, 0x0009510b,
  5687. 8, 0x80000000 | 9, 0x0009510b,
  5688. 10, QMetaType::Double, 0x00095103,
  5689. 11, QMetaType::Bool, 0x00095103,
  5690. // enums: name, flags, count, data
  5691. 7, 0x0, 5, 45,
  5692. // enum data: key, value
  5693. 12, uint(QCPItemTracer::tsNone),
  5694. 13, uint(QCPItemTracer::tsPlus),
  5695. 14, uint(QCPItemTracer::tsCrosshair),
  5696. 15, uint(QCPItemTracer::tsCircle),
  5697. 16, uint(QCPItemTracer::tsSquare),
  5698. 0 // eod
  5699. };
  5700. void QCPItemTracer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5701. {
  5702. if (_c == QMetaObject::RegisterPropertyMetaType) {
  5703. switch (_id) {
  5704. default: *reinterpret_cast<int*>(_a[0]) = -1; break;
  5705. case 6:
  5706. *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QCPGraph* >(); break;
  5707. }
  5708. }
  5709. Q_UNUSED(_o);
  5710. }
  5711. const QMetaObject QCPItemTracer::staticMetaObject = {
  5712. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemTracer.data,
  5713. qt_meta_data_QCPItemTracer, qt_static_metacall, 0, 0}
  5714. };
  5715. const QMetaObject *QCPItemTracer::metaObject() const
  5716. {
  5717. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5718. }
  5719. void *QCPItemTracer::qt_metacast(const char *_clname)
  5720. {
  5721. if (!_clname) return 0;
  5722. if (!strcmp(_clname, qt_meta_stringdata_QCPItemTracer.stringdata))
  5723. return static_cast<void*>(const_cast< QCPItemTracer*>(this));
  5724. return QCPAbstractItem::qt_metacast(_clname);
  5725. }
  5726. int QCPItemTracer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5727. {
  5728. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5729. if (_id < 0)
  5730. return _id;
  5731. #ifndef QT_NO_PROPERTIES
  5732. if (_c == QMetaObject::ReadProperty) {
  5733. void *_v = _a[0];
  5734. switch (_id) {
  5735. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5736. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5737. case 2: *reinterpret_cast< QBrush*>(_v) = brush(); break;
  5738. case 3: *reinterpret_cast< QBrush*>(_v) = selectedBrush(); break;
  5739. case 4: *reinterpret_cast< double*>(_v) = size(); break;
  5740. case 5: *reinterpret_cast< TracerStyle*>(_v) = style(); break;
  5741. case 6: *reinterpret_cast< QCPGraph**>(_v) = graph(); break;
  5742. case 7: *reinterpret_cast< double*>(_v) = graphKey(); break;
  5743. case 8: *reinterpret_cast< bool*>(_v) = interpolating(); break;
  5744. default: break;
  5745. }
  5746. _id -= 9;
  5747. } else if (_c == QMetaObject::WriteProperty) {
  5748. void *_v = _a[0];
  5749. switch (_id) {
  5750. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5751. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5752. case 2: setBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5753. case 3: setSelectedBrush(*reinterpret_cast< QBrush*>(_v)); break;
  5754. case 4: setSize(*reinterpret_cast< double*>(_v)); break;
  5755. case 5: setStyle(*reinterpret_cast< TracerStyle*>(_v)); break;
  5756. case 6: setGraph(*reinterpret_cast< QCPGraph**>(_v)); break;
  5757. case 7: setGraphKey(*reinterpret_cast< double*>(_v)); break;
  5758. case 8: setInterpolating(*reinterpret_cast< bool*>(_v)); break;
  5759. default: break;
  5760. }
  5761. _id -= 9;
  5762. } else if (_c == QMetaObject::ResetProperty) {
  5763. _id -= 9;
  5764. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5765. _id -= 9;
  5766. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5767. _id -= 9;
  5768. } else if (_c == QMetaObject::QueryPropertyStored) {
  5769. _id -= 9;
  5770. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5771. _id -= 9;
  5772. } else if (_c == QMetaObject::QueryPropertyUser) {
  5773. _id -= 9;
  5774. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5775. if (_id < 9)
  5776. qt_static_metacall(this, _c, _id, _a);
  5777. _id -= 9;
  5778. }
  5779. #endif // QT_NO_PROPERTIES
  5780. return _id;
  5781. }
  5782. struct qt_meta_stringdata_QCPItemBracket_t {
  5783. QByteArrayData data[6];
  5784. char stringdata[57];
  5785. };
  5786. #define QT_MOC_LITERAL(idx, ofs, len) \
  5787. Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
  5788. qptrdiff(offsetof(qt_meta_stringdata_QCPItemBracket_t, stringdata) + ofs \
  5789. - idx * sizeof(QByteArrayData)) \
  5790. )
  5791. static const qt_meta_stringdata_QCPItemBracket_t qt_meta_stringdata_QCPItemBracket = {
  5792. {
  5793. QT_MOC_LITERAL(0, 0, 14),
  5794. QT_MOC_LITERAL(1, 15, 3),
  5795. QT_MOC_LITERAL(2, 19, 11),
  5796. QT_MOC_LITERAL(3, 31, 6),
  5797. QT_MOC_LITERAL(4, 38, 5),
  5798. QT_MOC_LITERAL(5, 44, 12)
  5799. },
  5800. "QCPItemBracket\0pen\0selectedPen\0length\0"
  5801. "style\0BracketStyle"
  5802. };
  5803. #undef QT_MOC_LITERAL
  5804. static const uint qt_meta_data_QCPItemBracket[] = {
  5805. // content:
  5806. 7, // revision
  5807. 0, // classname
  5808. 0, 0, // classinfo
  5809. 0, 0, // methods
  5810. 4, 14, // properties
  5811. 0, 0, // enums/sets
  5812. 0, 0, // constructors
  5813. 0, // flags
  5814. 0, // signalCount
  5815. // properties: name, type, flags
  5816. 1, QMetaType::QPen, 0x00095103,
  5817. 2, QMetaType::QPen, 0x00095103,
  5818. 3, QMetaType::Double, 0x00095103,
  5819. 4, 0x80000000 | 5, 0x0009510b,
  5820. 0 // eod
  5821. };
  5822. void QCPItemBracket::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
  5823. {
  5824. Q_UNUSED(_o);
  5825. Q_UNUSED(_id);
  5826. Q_UNUSED(_c);
  5827. Q_UNUSED(_a);
  5828. }
  5829. const QMetaObject QCPItemBracket::staticMetaObject = {
  5830. { &QCPAbstractItem::staticMetaObject, qt_meta_stringdata_QCPItemBracket.data,
  5831. qt_meta_data_QCPItemBracket, qt_static_metacall, 0, 0}
  5832. };
  5833. const QMetaObject *QCPItemBracket::metaObject() const
  5834. {
  5835. return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
  5836. }
  5837. void *QCPItemBracket::qt_metacast(const char *_clname)
  5838. {
  5839. if (!_clname) return 0;
  5840. if (!strcmp(_clname, qt_meta_stringdata_QCPItemBracket.stringdata))
  5841. return static_cast<void*>(const_cast< QCPItemBracket*>(this));
  5842. return QCPAbstractItem::qt_metacast(_clname);
  5843. }
  5844. int QCPItemBracket::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  5845. {
  5846. _id = QCPAbstractItem::qt_metacall(_c, _id, _a);
  5847. if (_id < 0)
  5848. return _id;
  5849. #ifndef QT_NO_PROPERTIES
  5850. if (_c == QMetaObject::ReadProperty) {
  5851. void *_v = _a[0];
  5852. switch (_id) {
  5853. case 0: *reinterpret_cast< QPen*>(_v) = pen(); break;
  5854. case 1: *reinterpret_cast< QPen*>(_v) = selectedPen(); break;
  5855. case 2: *reinterpret_cast< double*>(_v) = length(); break;
  5856. case 3: *reinterpret_cast< BracketStyle*>(_v) = style(); break;
  5857. default: break;
  5858. }
  5859. _id -= 4;
  5860. } else if (_c == QMetaObject::WriteProperty) {
  5861. void *_v = _a[0];
  5862. switch (_id) {
  5863. case 0: setPen(*reinterpret_cast< QPen*>(_v)); break;
  5864. case 1: setSelectedPen(*reinterpret_cast< QPen*>(_v)); break;
  5865. case 2: setLength(*reinterpret_cast< double*>(_v)); break;
  5866. case 3: setStyle(*reinterpret_cast< BracketStyle*>(_v)); break;
  5867. default: break;
  5868. }
  5869. _id -= 4;
  5870. } else if (_c == QMetaObject::ResetProperty) {
  5871. _id -= 4;
  5872. } else if (_c == QMetaObject::QueryPropertyDesignable) {
  5873. _id -= 4;
  5874. } else if (_c == QMetaObject::QueryPropertyScriptable) {
  5875. _id -= 4;
  5876. } else if (_c == QMetaObject::QueryPropertyStored) {
  5877. _id -= 4;
  5878. } else if (_c == QMetaObject::QueryPropertyEditable) {
  5879. _id -= 4;
  5880. } else if (_c == QMetaObject::QueryPropertyUser) {
  5881. _id -= 4;
  5882. } else if (_c == QMetaObject::RegisterPropertyMetaType) {
  5883. if (_id < 4)
  5884. *reinterpret_cast<int*>(_a[0]) = -1;
  5885. _id -= 4;
  5886. }
  5887. #endif // QT_NO_PROPERTIES
  5888. return _id;
  5889. }
  5890. QT_END_MOC_NAMESPACE