0

the art of origami book

how the bug wars changed the art of origami

how the bug wars changed the art of origami

Anh ngữ cho trẻ em

... expression of the discovery process and an exploration of technique by the most experienced folders, once they found themselves liberated from the traditional underpinnings of the ancient art of origami. ... some of the top folders on this side of the Atlantic. ey are, in essence, the culmination of more than 20 years of technical experimentation.But they also mark the end of an era. Now that the ... symbols that allowed for the encoding of origami instructions. Considered the father of modern origami and a prolic creator of new, original models, Yoshizawa wrote books in the 1940s and 1950s...
  • 186
  • 551
  • 0
molkentin-the book of qt 4-the art of building qt applications

molkentin-the book of qt 4-the art of building qt applications

Tin học

... headerfilesfor itslibraries. Each of thesefilescontainstheinterfacedescriptionsofall of theclassesofalibrary ;the name of theheaderfilematches th enameofthe library.Thus,inthe examples so far,which haveonlyused ... anothertopicfor which knowledge of thecontents of theQtlibrariesisofparticularinterest. Besidesthe headerfilesforindividualclass definitions,whose filenames matchthe namesofthe classestheydescribe,Qtalsoprovides ... andaslotinadestinationobject .The first twoargumentsspecifytheobject sendingthe signal andthe signal that wewanttobindtothereceivingslot. Thelasttwoargumentsspecifytheobject that is therecipient of the signal,and thereceivingslot....
  • 442
  • 454
  • 0
The book of qt 4 the art of building qt applications - phần 1 ppt

The book of qt 4 the art of building qt applications - phần 1 ppt

Kỹ thuật lập trình

... recycled paperQt 4Qt 4 THE ART OF BUILDING Qt APPLICATIONSDANIEL MOLKENTIN THE BOOK of THE BOOK of Qt 4 THE BOOK of THE BOOK of Qt 4đMOLKENTIN 1 Basics,Tools, and First CodeSeveral Qt classeshaveQObject ... forother objects.It’s akindofeventinterceptor.Chapter 7provides more details of events.35 Daniel MolkentinTheBook of Qt 4TheArt of BuildingQtApplicationsđMunich SanFrancisco Contents10 TheGraphicsLibrary ... displaythesame changeablevalue.Theaim is for allthree widgets to alwaysdisplaythesamevalue.Ifthe user changesthevalue via theslider ,the value mustalsobeadjusted in thespinboxandinthelabel. Thesameappliestothe...
  • 45
  • 388
  • 0
The book of qt 4 the art of building qt applications - phần 2 docx

The book of qt 4 the art of building qt applications - phần 2 docx

Kỹ thuật lập trình

... framework. Thesecan be found in theWidgetBox,which theprogram normallyplaces on theleftside of thescreen.Tocreateanewlabel, welook for theDisplayWidgets group(atthebottomofthe box)and pull theLabel ... generates theC++ fileui_mydialog.hfrom mydialog.ui,using uic. Thelatter contains theinterfacedescription of the code that implements thedialog. (Weexplainthisfile andits useinthe rest of the code for theapplicationprogram ... nowByteConverterDialogdecEdittextChanged()setText()hexEdittextChanged()setText()binEdittextChanged()setText()decChanged()hexChanged()binChanged()We can connect thesignals andslots of theline-edit widgets from theByteCon-verterDialog to thesignals andslots of theByteConverter class, for example, the hexChanged()signalofthe decEdit object...
  • 45
  • 377
  • 0
The book of qt 4 the art of building qt applications - phần 3 pptx

The book of qt 4 the art of building qt applications - phần 3 pptx

Kỹ thuật lập trình

... sedonaMainWindowtheuserfriendlinessofthe software. Theyshould thereforebeprovided as amatter of course in thedesignofuserinterfaces.Withthe acceleratorsinplace ,the designviewof th eeditorshouldcorrespondtothatshowninFigure4.3.To ... pro-gramming.Secrecyenforcesabstractionbyonlygranting theclass membersaccessto theirownmethods.Theinternaldetails of theclass arethus “cut off” from theother classes, andyoucan change theinternaldesignofthe classwithout havingtoadjustthe ... areasofthe window,orpositionthem floatingover themainwindow.Iftheyaredocked, thelatter haveasplitter(see Chapter 5.3onpage 150), withwhich theusercan fine-tune thesizeratio of thedockwindowto themainwindow,ifnecessary.Dockwindowsalsohaveahandle...
  • 45
  • 308
  • 0
The book of qt 4 the art of building qt applications - phần 4 pot

The book of qt 4 the art of building qt applications - phần 4 pot

Kỹ thuật lập trình

... ClickSplitterHandle::mouseDoubleClickEvent()wefirstdetermine thealignment of thesplitter.Weobtainthe positionofthe splitter,using theQSplitter::indexOf()method. This is also thepositionofthe widgetlyingtothe rightof(or directlybeneath) thesplitter.Forreasons ... given as the rstargu-ment,thenthe dialog willnot be modal .The nexttwoargumentsare thedialogheading andthe startdirectory.TheQDirclass provides static methods for retrievingthe paths to themostim-portant ... weleaveitoutbyspecifyingQMessageBox::NoButton.Thestatuscode returned byQMessageBox::question() corresponds to thevalue of thebuttonchosenbytheuser. To checkwhether theuserhas answered theques-tion withYes,wecomparethe return...
  • 45
  • 274
  • 0
The book of qt 4 the art of building qt applications - phần 5 pptx

The book of qt 4 the art of building qt applications - phần 5 pptx

Kỹ thuật lập trình

... parametersspecifythepointer to theparentwidget, thehead-ing, andthe user query.Thisisfollowed bythelistofstrings to be displayed.Thencomesthe indexof thelistele ment that thedrop-downwidgetdisplaysatthe ... eventwiththe ID of theupdate-Timer, usingthe postEvent()method of QCoreApplication. As thetargetwespecifythecurrent widget(in this case, this)aswedolater on for theevents generated bythetimersthemselves.In ... displaysthe best quality .The program that receives thedroptheniterates throughthe listofMIMEtypesand selectsthe datafor the rstMIMEtypethat it can handle.We make useofthispropertyto includethe...
  • 45
  • 266
  • 0
The book of qt 4 the art of building qt applications - phần 6 doc

The book of qt 4 the art of building qt applications - phần 6 doc

Kỹ thuật lập trình

... entryusingthe <table>tag. Each rowof thetable consists of twocells,one of which contains thenameofthe address book field (the key)andtheother ,the matching value.Bothofthemwillbeshowninthe tooltiponlyif ... QModelIndex&parent)const{Q_UNUSED(parent);returnaddressBook.at(0).count();}Viewsthatuse ouraddressbook modelcan discover thelabelingofthe rowsandcolumns via theheaderData()method. To do so,theymustspecifythenumericpositionofthe section of ... theleftofthe datasets willdenotethedataset number.For horizontalorientation weuse theentries from the rstdataset in thelist, which as weknowcontains thecolumn names:// addressbook/addressbookmodel.cpp...
  • 45
  • 326
  • 0
The book of qt 4 the art of building qt applications - phần 7 pot

The book of qt 4 the art of building qt applications - phần 7 pot

Kỹ thuật lập trình

... wecreateanewmatrix.Since thecenter of thedesir ed rotation is notthe currentzeropoint (origin) of the coordinate system,but thepoint at thecenter of thesquare, wefirstmovethecenter of oursquaretothe zeropoint of ourcoordinate ... nowconnect theclicked()signalofthe Screenshot!buttontothe slot thatprepares thescreenshot,and thesignalofthe Printbuttontothe slot that enablestheconfiguration of theprintingparameters. Then wecallgrabDesktop(), ... drawourpiechart.Wereservethe space remaininginthe width for thekey.Weobtainthecorresponding rectanglebyfirst copyingthe measurements of thewidget, withrect(), andthensubtractingthe width of pieRectfromthissquareonthe...
  • 45
  • 281
  • 0
The book of qt 4 the art of building qt applications - phần 8 doc

The book of qt 4 the art of building qt applications - phần 8 doc

Kỹ thuật lập trình

... to theother ,the producerplacesitinaqueue, from which theconsumertakesthemout.As asharedresource, thequeue mustbeprotected byamutexbeforeitisaccessedbyeither theproducerorthe consumer. If theconsumerworks ... LOGGERTHREAD_HIn theconstructor wespecifythefilename for the le butdonot openit. In run()weonlystartthe eventloop of thethreadvia exec(). append()opens the le foreach incoming message,writes thecontents of ... quicklythantheproducer, it is possible that thequeue willbecomeempty.Ifthe producerworksfaster than theconsumer, thequeue mayfillup. In either case, oneofthe twothreads hastosleep :the consumeruntil...
  • 45
  • 397
  • 0
The book of qt 4 the art of building qt applications - phần 9 docx

The book of qt 4 the art of building qt applications - phần 9 docx

Kỹ thuật lập trình

... displayit.Figure13.1showshowtheapplicationisconstructed :The lineeditwaits for theaddressofthe fe ed ,the contents of whicharedisplayed byaQTextViewon theleft-hand page.Onthe rightwesee thearticleselected from thelistinaQTextBrowser.Figure ... elements.If theyreach theend of thecontainer andare advancedpastthe final element,theythen point to anonexistentelement.Ifyou then tryto acc essthe elementpointed at bytheiterator ,the result ... Translations in theProgramLoading thecorrect translationwhenthe program starts is thetaskofthe QTrans-latorclass.Itwillsearchfor thetranslation files in theworking directoryof the applicationifitisnot...
  • 45
  • 271
  • 0
The book of qt 4 the art of building qt applications - phần 10 pptx

The book of qt 4 the art of building qt applications - phần 10 pptx

Kỹ thuật lập trình

... iterators,oneofwhich marksthe beginning of theareainthe first datastructure containingtheelementstobecompared,and theother,which marksthe endofthisarea.Thethird parameter is an iterator on theseconddatastructu ... output:("one","two","three")return0;}qCopyBackward()isalmostidentical to qCopy(), butexpectsthe positionofthelast elementtobecopied as thethird parameter,ratherthanthe first.Itinsertsthevaluestobecopied from thespecifiedelementsofthe second containerfromback ... i.value();}return0;}With thehelpofthe indexoperatororbyusinginsert(), wefill up thedictionarymapwithvalues. Theargument in brackets or the rstargument to insert() is the key,for which,inthiscase, weuse valuesofthe...
  • 37
  • 376
  • 0

Xem thêm