Book of Qt 4 : the Art of Building Qt Applications

Total Page:16

File Type:pdf, Size:1020Kb

Book of Qt 4 : the Art of Building Qt Applications The Book of Qt 4 Daniel Molkentin TheBook of Qt 4 TheArt of BuildingQtApplications ® Munich SanFrancisco The Book of Qt 4: The ArtofBuildingQtApplications. Copyright " c 2007OpenSource PressGmbH Allrightsreserved.Nopartofthisworkmaybe reproducedortransmittedinanyform or byanymeans, electronic or mechanical, includingphotocopying, recording, or byanyinformationstorageorretrieval system,without theprior writtenpermission of thecopyright ownerand thepublisher. Printedonrecycled paperinthe United States of America. 12345678910—10090807 No Starch Pressand theNoStarch Presslogo areregisteredtrademarksofNoStarch Press, Inc. Otherproduct and companynamesmentioned herein maybe thetrademarksoftheir respectiveowners.Ratherthanuse atrademark symbol witheveryoccurrence of atrademarked name,weare usingthe namesonlyin an editorialfashionand to the benefit of thetrademark owner, withnointention of infringement of thetrademark. Publisher: William Pollock Cover Design:Octopod Studios U.S. editionpublishedbyNo Starch Press, Inc. 555 De HaroStreet,Suite 250,San Francisco, CA 94107 phone: 415.863.9900;fax:415.863.9950;[email protected];http://www.nostarch.com Original edition " c 2006OpenSource PressGmbH PublishedbyOpenSource PressGmbH, Munich, Germany Publisher: Dr.Markus Wirtz Original ISBN 978-3-937514-12-3 For informationontranslations, pleasecontact OpenSource PressGmbH, Amalienstr.45Rg, 80799 M unche¨ n, Germany phone+49.89.28755562; fax+49.89.28755563; [email protected];http://www.opensourcepress.de Theinformationinthisbook is distributed on an “AsIs” basis, without warranty.While everyprecaution hasbeen takeninthe preparationofthiswork, neitherthe author norOpenSource PressGmbHnor No Starch Press, Inc. shall haveanyliabilityto anyperson or entitywithrespect to anyloss or damage caused or allegedtobecaused directly or indirectlybytheinformationcontained in it. LibraryofCongressCataloging-in-Publication Data Molkentin, Daniel [Qt4, Einf¨uhrung in die Applikationsentwicklung.English] The book of Qt4: the art of building Qtapplications/byDaniel Molkentin.-- 1st ed. p. cm. Includesindex. ISBN-13978-1-59327-147-3 ISBN-101-59327-147-6 1.Qt(Electronic resource)2.Graphicaluserinterfaces(Computersystems) 3. Application software--Development. I.Title.QA76.9.U83M62132007 005.4’37--dc22 2007013181 Contents Introduction 19 Preparations23 1Basics, Tools, andFirst Code 25 1.1Our FirstQtProgram .......................... 25 1.1.1CompilingaQtProgram ................... 27 1.2Layouts,Object Hierarchy,and MemoryManagement ........ 29 1.2.1Howto ArrangeWidgets Automatically........... 29 1.2.2MemoryManagement in Object Hierarchies........ 31 1.2.3Other LayoutTypes...................... 33 1.3Signals andSlots ............................ 35 1.3.1The SimplestCase: ASlotResponds to aSignal...... 35 1.3.2Signals CarryingAdditional Information andHowThey AreProcessed. ........................ 36 1.4BaseClassesinQt........................... 39 1.4.1ClassesDerived from QObject ................ 39 1.4.2QString andOther Classesnot Derived from QObject ... 40 1.4.3The Qt InheritanceHierarchy................ 41 1.5QtataGlance ............................. 42 1.5.1The Qt Libraries........................ 42 1.5.2Toolsand Utilities...................... 47 1.5.3Examples andDemos ..................... 58 1.6Howto Use theDocumentation................... 59 5 Contents 2The ToolsNeeded to Create Dialogs61 2.1What’sthe DifferenceBetween Dialogsand Widgets?....... 62 2.1.1Inheriting from QObject ................... 64 2.1.2MoreComplexLayouts .................... 65 2.1.3IncreasingUsability..................... 68 2.1.4ImplementingSlots ..................... 70 2.2SeparationofGUI andProcessing Logic............... 74 2.2.1AlternativeDesign...................... 74 2.2.2Declaring andSending OutSignals ............. 76 2.2.3Using Your OwnSignals ................... 79 3GUI Design Using theQtDesigner81 3.1Dialogs “ByMouseClick” ....................... 81 3.1.1Making Layouts With theDesigner............. 84 3.1.2The PropertyEditor. ..................... 85 3.1.3The Preview.......................... 88 3.1.4Signal/SlotConnections ................... 88 3.1.5The TabSequence...................... 89 3.1.6Shortcuts andBuddies .................... 90 3.2Integrating Designer-generated FilesintoYourQtProject ..... 91 3.2.1Using Designer-generated ClassesasHelperClasses.... 92 3.2.2AlwaysHavingDesigner-generated Widgets Available ... 94 3.2.3MultipleInheritance..................... 95 3.3Automatic Signal/SlotConnections .................. 97 3.4Including Derived Classesinthe Designer .............. 99 3.5The Resource Editor .......................... 99 4Developing aGUI Application BasedonaMain Window 101 4.1The Anatomyof theMainWindow.................. 101 4.2DerivingfromQMainWindow..................... 103 4.3CreatingaMain Windowwiththe Qt Designer........... 106 4.3.1Adding Menu Bars ...................... 107 4.3.2RecyclingActions in theToolbar.............. 108 6 Contents 4.3.3Integrating theMainWindowwithYourSourceCode ... 110 4.4Making theMostofthe Status Bar.................. 118 4.4.1TemporaryMessages..................... 120 4.4.2NormalMessages. ...................... 120 4.4.3Permanent Messages. .................... 121 4.5Toolbars ................................ 125 4.6HowDo ActionsWork? ........................ 126 4.6.1Howto InstantiateQAction Manually............ 127 4.6.2Selectable Actions...................... 128 4.6.3Grouped Actions....................... 128 4.7DockWindows............................. 130 4.7.1Positioning Dock Windows. ................. 131 4.7.2ADock Windowfor OurEditor............... 133 4.8SavingPreferences ........................... 136 4.8.1Extending CuteEdit. ..................... 139 5Laying OutWidgets 141 5.1ManualLayout............................. 141 5.2Automatic Layout........................... 143 5.2.1Horizontaland Vertical Layout............... 144 5.2.2GridLayout.......................... 148 5.2.3Nested Layouts ........................ 149 5.3Splitter ................................. 150 5.3.1BehaviorDuringSizeChanges ................ 150 5.3.2SavingSplitter Positionsand Determining theWidgetSize151 5.3.3Defining RelativeSizes .................... 152 5.3.4CustomizingHandles ..................... 153 5.3.5Layoutfor LanguagesWritten from RighttoLeft..... 156 5.4StackedLayouts ............................ 157 5.4.1The Alternative: Stacked Widgets .............. 157 5.4.2WhentoUse Stacked Layouts andWidgets ......... 157 7 Contents 6Dialogs161 6.1Modal Dialogs............................. 161 6.2Non-modal Dialogs.......................... 163 6.2.1UsabilityProblems ...................... 163 6.3Semi-modal Dialogs.......................... 164 6.4Avoiding Bloated Dialogs....................... 164 6.5Ready-made DialogsinQt...................... 166 6.5.1Message Dialogs....................... 166 6.5.2Error MessagesThatAre OnlyVisible Once ......... 174 6.5.3File SelectionDialogs ..................... 175 6.5.4Input Dialogs......................... 179 6.5.5FontSelection Dialog .................... 182 6.5.6Color Selectionand Printing Dialog ............. 183 7Events, Drag andDrop, andthe Clipboard185 7.1EventLoop andEventHandler .................... 185 7.2HandlingEvents ............................ 186 7.2.1Using Specialized EventHandlers.............. 186 7.2.2Using theGeneral EventHandler .............. 189 7.3Using EventFilters........................... 190 7.4Dragand Drop ............................. 194 7.4.1MIMETypes.......................... 194 7.4.2The Drag Side......................... 196 7.4.3The Drop Side. ........................ 198 7.5The Clipboard............................. 201 8Displaying Data Using “Interview”207 8.1UnderlyingConcepts......................... 208 8.1.1The ViewClasses....................... 210 8.1.2The Model Classes...................... 211 8.2DisplayingDirectoryHierarchies................... 212 8.2.1Using ViewClassesinthe Designer ............. 214 8.2.2Implementingthe Functionalityof theFile SelectionDialog216 8 Contents 8.3The String ListsModel......................... 221 8.4ImplementingYourOwnModels ................... 222 8.4.1AnAddressBook Model................... 222 8.4.2Making Your OwnModels Writable ............. 227 8.5Sorting andFilteringDatawithProxy Models............ 231 8.5.1Adjustments to theUserInterface............. 232 8.6Making EntriesSelectable withCheckboxes ............. 234 8.7Designing Your OwnProxy Models.................. 237 8.8ImplementingDragand Drop in Models............... 241 8.9YourOwnDelegates .......................... 245 8.10WithoutYourOwnDataSource: TheStandardModel. ....... 249 8.11 Element-basedViewsWithout Model Access ............ 251 8.11.1Items ............................. 251 8.11.2The List View......................... 251 8.11.3The Tree View......................... 252 8.11.4The Table View........................ 253 8.11.5Cloning Items. ........................ 254 9The QtSqlModule 257 9.1Structure of theQtSql Module .................... 257 9.2Selecting theAppropriate Driver ................... 258 9.3Making aConnection......................... 260 9.4Making Queries............................ 261 9.5Transactions .............................. 264 9.6EmbeddedDatabases ......................... 264 9.7Using SQLModelClasseswithInterview............... 265 9.7.1DisplayingSQL TablesWithout ForeignKeysinTable and Tree Views. .......................... 265 9.7.2ResolvingForeign KeyRelations............... 266 9.7.3DisplayingQueryResults.
Recommended publications
  • Pris for Fremme Av Fri Programvare I Norge 2002
    NUUG og HiOs Pris for fremme av fri programvare i Norge 2002 Sted: Høgskolen i Oslo, Festsalen, Anna Sethnes hus Dato: 7. oktober 2002 Tid: 17:00 Prisen for fremme av fri programvare For første gang i Norge deles det ut en Fri programvare pris for fri programvare, dvs programvare hvor Hva er fri programvare? Fri programvare er brukerne har fullt innsyn og kontroll. Fri programvare laget med fullt innsyn for alle. programvare er mest kjent gjennom operativ- Brukere st˚arfritt til ˚abenytte programvaren systemet Linux som gir en enorm base med som de vil og s˚amye de vil, og de f˚ar tilgang til programvare som er rimelig ˚ata i bruk – og kildekoden, slik at eventuelle feil raskere opp- som lastes ned helt gratis fra Internett. dages og fikses, og forbedringer kan program- Prisen er et stipend p˚a30.000 kroner i meres av brukere selv. Programvaren er oftest stipend fra NUUG pluss diplom og vase fra gratis, og leverandører tjener heller penger gjen- Høgskolen i Oslo. Den g˚ar til prosjekter eller nom brukerstøtte og opplæring. personer i henhold til utvalgskriteriene som Fri programvare er miljøskapende og har ble vedtatt av NUUG-styret 13. mai 2002. b˚adepedagogiske og praktiske fordeler for de Prisen deles ut p˚aet arrangement ved Høg- involverte. Fri programvare gir ofte en inngangs- skolen i Oslo mandag 7. oktober kl.17.00. Ut- billett til “cutting edge”-teknologi, og fører til valgskriteriene lyder: stabile, kvalitetssikrede systemer gjennom en Prisen g˚artil en person eller en “peer review”, det vil si kritisk gjennomsyn gruppe i Norge som har bidratt til av koden av andre programmerere.
    [Show full text]
  • Red Hat Enterprise Linux 6 Developer Guide
    Red Hat Enterprise Linux 6 Developer Guide An introduction to application development tools in Red Hat Enterprise Linux 6 Dave Brolley William Cohen Roland Grunberg Aldy Hernandez Karsten Hopp Jakub Jelinek Developer Guide Jeff Johnston Benjamin Kosnik Aleksander Kurtakov Chris Moller Phil Muldoon Andrew Overholt Charley Wang Kent Sebastian Red Hat Enterprise Linux 6 Developer Guide An introduction to application development tools in Red Hat Enterprise Linux 6 Edition 0 Author Dave Brolley [email protected] Author William Cohen [email protected] Author Roland Grunberg [email protected] Author Aldy Hernandez [email protected] Author Karsten Hopp [email protected] Author Jakub Jelinek [email protected] Author Jeff Johnston [email protected] Author Benjamin Kosnik [email protected] Author Aleksander Kurtakov [email protected] Author Chris Moller [email protected] Author Phil Muldoon [email protected] Author Andrew Overholt [email protected] Author Charley Wang [email protected] Author Kent Sebastian [email protected] Editor Don Domingo [email protected] Editor Jacquelynn East [email protected] Copyright © 2010 Red Hat, Inc. and others. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
    [Show full text]
  • Ubuntu Kung Fu
    Prepared exclusively for Alison Tyler Download at Boykma.Com What readers are saying about Ubuntu Kung Fu Ubuntu Kung Fu is excellent. The tips are fun and the hope of discov- ering hidden gems makes it a worthwhile task. John Southern Former editor of Linux Magazine I enjoyed Ubuntu Kung Fu and learned some new things. I would rec- ommend this book—nice tips and a lot of fun to be had. Carthik Sharma Creator of the Ubuntu Blog (http://ubuntu.wordpress.com) Wow! There are some great tips here! I have used Ubuntu since April 2005, starting with version 5.04. I found much in this book to inspire me and to teach me, and it answered lingering questions I didn’t know I had. The book is a good resource that I will gladly recommend to both newcomers and veteran users. Matthew Helmke Administrator, Ubuntu Forums Ubuntu Kung Fu is a fantastic compendium of useful, uncommon Ubuntu knowledge. Eric Hewitt Consultant, LiveLogic, LLC Prepared exclusively for Alison Tyler Download at Boykma.Com Ubuntu Kung Fu Tips, Tricks, Hints, and Hacks Keir Thomas The Pragmatic Bookshelf Raleigh, North Carolina Dallas, Texas Prepared exclusively for Alison Tyler Download at Boykma.Com Many of the designations used by manufacturers and sellers to distinguish their prod- ucts are claimed as trademarks. Where those designations appear in this book, and The Pragmatic Programmers, LLC was aware of a trademark claim, the designations have been printed in initial capital letters or in all capitals. The Pragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf and the linking g device are trademarks of The Pragmatic Programmers, LLC.
    [Show full text]
  • C/C++ Programming with Qt 5.12.6 and Opencv 4.2.0
    C/C++ programming with Qt 5.12.6 and OpenCV 4.2.0 Preparation of the computer • Download http://download.qt.io/archive/qt/5.12/5.12.6/qt-opensource-windows- x86-5.12.6.exe and http://www.ensta-bretagne.fr/lebars/Share/OpenCV4.2.0.zip (contains OpenCV with extra modules built for Visual Studio 2015, 2017, 2019, MinGW Qt 5.12.6 x86, MinGW 8 x64), run Qt installer and select Qt\Qt 5.12.6\MinGW 7.3.0 32 bit and Qt\Tools\MinGW 7.3.0 32 bit options and extract OpenCV4.2.0.zip in C:\ (check that the extraction did not create an additional parent folder (we need to get only C:\OpenCV4.2.0\ instead of C:\OpenCV4.2.0\OpenCV4.2.0\), right-click and choose Run as administrator if needed). For Linux or macOS, additional/different steps might be necessary depending on the specific versions (and the provided .pro might need to be tweaked), see https://www.ensta-bretagne.fr/lebars/Share/setup_opencv_Ubuntu.pdf ; corresponding OpenCV sources : https://github.com/opencv/opencv/archive/4.2.0.zip and https://github.com/opencv/opencv_contrib/archive/4.2.0.zip ; Qt Linux 64 bit : https://download.qt.io/archive/qt/5.12/5.12.6/qt-opensource-linux-x64-5.12.6.run (for Ubuntu you can try sudo apt install qtcreator qt5-default build-essential but the version will probably not be the same); Qt macOS : https://download.qt.io/archive/qt/5.12/5.12.6/qt-opensource-mac-x64-5.12.6.dmg .
    [Show full text]
  • Pris for Fremme Av Fri Programvare I Norge 2004
    NUUG og HiOs Pris for fremme av fri programvare i Norge 2004 Sted: Høgskolen i Oslo, Festsalen, Anna Sethnes hus Dato: 12. oktober 2004 Tid: 17:00 Prisen for fremme av fri programvare For tredje gang i Norge deles det ut en Fri programvare pris for fri programvare, dvs programvare hvor Hva er fri programvare? Fri programvare er brukerne har fullt innsyn og kontroll. Fri programvare laget med fullt innsyn for alle. programvare er mest kjent gjennom operativ- Brukere st˚arfritt til ˚abenytte programvaren systemet Linux som gir en enorm base med som de vil og s˚amye de vil, og de f˚ar tilgang til programvare som er rimelig ˚ata i bruk – og kildekoden, slik at eventuelle feil raskere opp- som lastes ned helt gratis fra Internett. dages og fikses, og forbedringer kan program- Prisen er et stipend p˚a30.000 kroner i meres av brukere selv. Programvaren er oftest stipend fra NUUG pluss diplom og vase fra gratis, og leverandører tjener heller penger gjen- Høgskolen i Oslo. Den g˚ar til prosjekter eller nom brukerstøtte og opplæring. personer i henhold til utvalgskriteriene som Fri programvare er miljøskapende og har ble vedtatt av NUUG-styret 13. mai 2002. b˚adepedagogiske og praktiske fordeler for de Prisen deles ut p˚aet arrangement ved Høg- involverte. Fri programvare gir ofte en inngangs- skolen i Oslo tirsdag 12. oktober kl.17.00. Ut- billett til “cutting edge”-teknologi, og fører til valgskriteriene lyder: stabile, kvalitetssikrede systemer gjennom en Prisen g˚artil en person eller en fagfellevurdering, det vil si at andre program- gruppe i Norge som har bidratt til merere gir kildekoden kritisk gjennomsyn.
    [Show full text]
  • Qt Long Term Support
    Qt Long Term Support Jeramie disapprove chorally as moreish Biff jostling her canneries co-author impassably. Rudolfo never anatomise any redemptioner sauces appetizingly, is Torre lexical and overripe enough? Post-free Adolph usually stetted some basidiospores or flutes effeminately. Kde qt versions to the tests should be long qt term support for backing up qt company What will i, long qt term support for sale in the long. It is hard not even wonder what our cost whereas the Qt community or be. Please enter your support available to long term support available to notify others of the terms. What tests are needed? You should i restarted the terms were examined further development and will be supported for arrhythmia, or the condition? Define ad slots and config. Also, have a look at the comments below for new findings. You later need to compile your own Qt against a WEC SDK which is typically shipped by the BSP vendor. If system only involve half open the features of Qt Commercial, vision will not warrant the full price. Are you javer for long term support life cycles that supports the latter occurs earlier that opens up. Cmake will be happy to dry secretions, mutation will i could be seen at. QObjects can also send signals to themselves. Q_DECL_CONSTEXPR fix memory problem. Enables qt syndrome have long term in terms and linux. There has been lots of hype around the increasing role that machine learning, and artificial intelligence more broadly, will play in how we automate the management of IT systems. Vf noninducible at qt and long term in terms were performed at.
    [Show full text]
  • Delphi 8 for .NET HOE WERKT DELPHI 8 for .NET EN WAT ZIJN DE VERSCHILLEN MET VISUAL STUDIO.NET?
    Bob Swart is auteur, trainer en consultant bij Bob Swart Training & Consultancy. Delphi 8 for .NET HOE WERKT DELPHI 8 FOR .NET EN WAT ZIJN DE VERSCHILLEN MET VISUAL STUDIO.NET? Dit artikel introduceert Delphi 8 for .NET, en laat zien hoe we .NET-toepassingen kunnen ontwikkelen met de nieuwste IDE voor het .NET Framework. Omdat de meeste lezers op de hoogte zullen zijn van de mogelijkheden van Visual Studio.NET, gaat dit artikel met name in op de verschillen, zowel in positieve als wat minder positieve zin. elphi 8 for the Microsoft .NET Framework is de officiële niet alleen als twee druppels water op die van Visual Studio, maar naam, maar de meeste ontwikkelaars noemen het gewoon is daadwerkelijk de designer van Microsoft. Dat heeft als voordeel DDelphi 8 of Delphi 8 for .NET (alleen Delphi for .NET is dat gebruikers van Visual Studio zonder al teveel problemen de niet volledig, want bij Delphi 7 zat eind 2002 al een Delphi for .NET proefversie van Delphi 8 for .NET kunnen gebruiken om eens te preview command-line compiler, die echter niet te vergelijken is met proeven hoe het werkt.1 wat nu als Delphi 8 for .NET beschikbaar is). Alhoewel Delphi 8 for .NET een relatieve nieuwkomer is op het .NET Framework, geldt dat In afbeelding 1 zien we de Object Inspector, WinForms Designer, niet voor de taal Delphi zelf. Delphi 1.0 wordt op Valentijns dag in een Tool Palette met componenten en rechtsboven een venstertje 1995 gelanceerd, en was in feite de 8ste generatie van Turbo Pascal waarin je met de Project Manager, Model View (daarover later) of compiler, die het eerste daglicht ziet in het begin van de 80-er jaren.
    [Show full text]
  • RAD Studio, Delphi, C++Builder XE8 Feature Matrix
    Each feature in the following table has an indication if it is available in Delphi and/or C++Builder . RAD Studio editions include both languages. Each column covers multiple, similar editions, with any difference specifically called out. Community edition is available only for single personalities and has a limited license. Some of the features are only available for download from the IDE in the GetIt Package Manager, requiring an Internet connection. TABLE OF CONTENT INTEGRATED COMPILERS AND TOOLCHAINS APPLICATION PLATFORMS, INTEGRATED FRAMEWORKS, LICENSING AND TOOL MANAGEABILITY DESIGNERS AND SDKS FMX APPLICATION PLATFORM (FIREMONKEY) VISUAL COMPONENT LIBRARY (VCL) COM/DCOM SUPPORT INTERNET OF THINGS (IOT) SUPPORT VISUAL LIVEBINDINGS INTEGRATED BUILD TOOLS AND PROJECT SUPPORT RECENT C++ LANGUAGE AND CORE RTL FEATURES RECENT DELPHI LANGUAGE AND CORE RTL FEATURES INTEGRATED DEVELOPMENT ENVIRONMENT SHARED RUNTIME LIBRARY FEATURES AND DEVELOPER PRODUCTIVITY SOURCE CODE MANAGEMENT INTERNATIONAL DEVELOPMENT REFACTORINGS UML MODELING INTEGRATED DEBUGGING INTEGRATED UNIT TESTING DOCUMENTATION DATABASE APPLICATION DEVELOPMENT AND CONNECTIVITY FIREDAC MULTI-DEVICE DATA ACCESS LIBRARY DBEXPRESS AND IBX RAD SERVER DATASNAP MULTI-TIER DATABASE TOOLS INCLUDED DATABASES REST CLIENT LIBRARY AND BAAS CLOUD SUPPORT XML AND SOAP IP*WORKS! COMMUNICATION COMPONENTS FILE COMPARE WITH BEYOND COMPARE TEXT COMPARE LOGGING WITH CODESITE EXPRESS FASTREPORT REPORTING SOLUTIONS TEECHART CHARTING COMPONENTS DATABASE APPLICATION DEVELOPMENT DATABASE DESIGN AND DEVELOPMENT
    [Show full text]
  • KDE Plasma 5
    Arvo Mägi KDE Plasma 5 Tallinn, 2017 1 Sissejuhatus KDE töökeskkonnale pani aluse saksa programmeerija Matthias Ettrich 14.10.1996. 2016. a oktoobris sai populaarne KDE seega 20. aastaseks. Hea ülevaate KDE ajaloost annab artikkel „19 Years of KDE History: Step by Step.” KDE 4.14 ilmumisega oli KDE saavutanud kasutusküpsuse, kuid edasine areng kippus takerduma – vaja oli põhimõttelisi uuendusi. Otsustati võtta kasutusele iseseisvatel moodulitel põhinev KDE 5 arhitektuur – Qt/Frameworks. Kõik KDE rakendusprogrammid, sh Plasma 5 töölaud, kasutavad ainult konkreetse rakenduse jaoks vajalikke mooduleid. Varem kasutati kõigi rakenduste jaoks ühist suurt teeki, mis raskendas muudatuste tegemist ja pidurdas arendustööd. Qt on C++ programmeerimiskeskkond. Pikaajalise toega Qt 5.9 LTS ilmus 31. mail 2017. KDE Frameworks on 70 moodulist koosnev komplekt, mis lihtsustab Qt keskkonnas KDE programmide koostamist. Frameworks veaparandused ja täiendused ilmuvad iga kuu. KDE Plasma 5 töölaud põhineb KDE Frameworksil (KF5). Töölaua veaparandused ilmuvad iga kuu, vajadusel mitu korda kuus, uued versioonid kord kvartalis. Plasma 5.8 LTS, mis on pikaajalise toega (18 kuud), ilmus 4.10.2016, veidi enne KDE 20. aastaseks saamist. Plasma 5.10 ilmus 30.05.2017. Järgmine pikaajalise toega Plasma 5.12 ilmub 2018. a jaanuaris. Plasma 5 töölaud on pälvinud palju kiitvaid hinnanguid ja sobib igapäevaseks tööks. Eeldab kaasaegset, mitme tuumaga protsessori ja piisava mäluga (vähemalt 4 GB) arvutit. SSD kettalt töötab välkkiirelt. Töölaud on keskkond rakendusprogrammide käivitamiseks ja kasutamiseks. KF5-le on üle viidud kõik KDE põhirakendused (failihaldur Dolphin, pildinäitaja Gwenview, konsool Konsole, teksti- redaktor Kate, ekraanitõmmise võtja Spectacle, videoredaktor Kdenlive, plaadikirjutaja K3b jt). Need on KDE Applications koosseisus, mille uued versioonid ilmuvad kolm korda aastas, veaparandused kord kuus.
    [Show full text]
  • Why Is Borland Moving Towards Eclipse? by Mike Rozlog of Borland
    Why is Borland Moving Towards Eclipse? by Mike Rozlog of Borland It is normally bad practice to answer a question with a question, but read the article and find out why it is the perfect time to ask the following question. What is development? This is one of the most important questions being asked at Borland. Development as defined by the dictionary states: it is a noun that has synonyms including evolution, augmentation, and maturation. Taking the definition of development and its synonyms and applying them to the question of "Why is Borland moving towards Eclipse?" reveals answers that many people may not have thought about. First, it is always important to understand the history behind a current position. Take for example an auto race. Usually the winner is not the person that initially leads from the starting position; it is a person who has made important adjustments throughout the race to put them into the best position to win. Now, this is not to say that a poleleader can not win the race, it just means they have to make other adjustments throughout the race to also put themselves into a position of winning it. Understanding that analogy, it is no wonder why Borland is going to start to use Eclipse as a customer facing technology. Keep in mind that Eclipse is not just a JBuilder issue at Borland; it will be used in various areas that have interaction with the customer. However, it is important to understand the background of JBuilder and put it into perspective of why it has been very important over the years, for supporting the Java platform.
    [Show full text]
  • The Nokia Open Source Browser
    The Nokia Open Source Browser Guido Grassel1, Roland Geisler2, Elina Vartiainen1, Deepika Chauhan2, Andrei Popescu1 1Nokia Research Center, P.O. Box 407, 00045 Nokia Group, Finland 2Nokia Technology Platforms, 5 Wayside Road, Burlington, MA 01803, U.S.A, [guido.grassel, roland.geisler, elina.vartiainen, deepika.chauhan, andrei.popescu]@nokia.com ABSTRACT learned and benefits, and chapter 7 summarizes and makes final With the advent of faster wireless networks and more conclusions. capable mobile devices we expect to see growth in the mobile use of the Internet. In this paper we describe a new Web browser for 2. RELATED WORK mobile devices that we have built based on Open Source Software Both Web browsers licensed by Nokia as well as S60’s own components. Our goal was to design a full Web browser that is browser used Narrow Layout. Narrow Layout is a method easy to use, an architecture that is portable to other mobile whereby the Web page is reformatted into one column that fits the software platforms, and an Open Source development approach to width of a typically small handheld device display. This way, the give others the opportunity to further develop it or use it for need for horizontal scrolling is eliminated and the user will see all research purposes. We describe our technical implementation, the the content just by scrolling down. From our own experience usability features that we invented, and discuss the benefits and using these browsers, and based on usability studies [17] we Nokia's plans to work with the Open Source community to further concluded that this method was insufficient.
    [Show full text]
  • Speedport Smart 3 Open Source Licenses (Lizenztexte) Gnu General Public License
    SPEEDPORT SMART 3 OPEN SOURCE LICENSES (LIZENZTEXTE) GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation‘s software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licen- ses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
    [Show full text]