Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Like this? Share it with your network

Share

Swt qt ese2010

on

  • 795 views

 

Statistics

Views

Total Views
795
Views on SlideShare
652
Embed Views
143

Actions

Likes
0
Downloads
9
Comments
0

1 Embed 143

http://www.eclipsecon.org 143

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Swt qt ese2010 Presentation Transcript

  • 1. 1 SWT/Qt Christian Campo ESE 2010 – Nov November 17, 2010 Confidential | Date | Other Information, if necessary available under the Eclipse Public License v 1.0 Copyright © 2010 compeople AG, Made © 2002 IBM Corporation
  • 2. SWT/Qt – What happened until now ?   Start Implementation by compeople in May 2009   Talk ESE 2009   Talk ECon 2010   Talks with Platform Team to make it part of SWT   SWT/Qt code checked into eclipse.org (CQ 4301)   dependencies QtJambi + Qt cannot be at eclipse.org   Move to Eclipselabs.org (Bugzilla 318484) Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 2
  • 3. SWT/Qt – Our Motivation   Building SWT based Applications with Riena   Riena has Look and Feel (Colors, Fonts, Rendering)   Riena LnF is limited by SWT‘s options   SWT is a very thin layer on top of OS widgets   We wanted more control over the styling of widgets   Predecessor of Riena is Swing based   Extremly good feedback from customers Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 3
  • 4. Typical Smartclient Swing App Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0
  • 5. Typical Smartclient SWT Apps (based on Riena) Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 5
  • 6. Building a SWT Platform   All SWT Platforms are more less RE-implementations (no interfaces, some common classes)   SWT is Java Code using JNI to call the respective toolkit   SWT Java implementations contain low level properties (handles, pointers etc.) which are public   SWT/Qt (similar to Cocoa) is build on of an OO-API   SWT/Qt has no public properties of internal properties   Building your own implementation is an adventure    You learn a lot about SWT Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 6
  • 7. CSS styling   SWT/Qt uses the CSS styling of Qt   CSS styling directly on any widget or globally for an application   CSS styling can be changed any time at runtime   CSS styling can be reset   CSS styling if set at runtime might overwrite program settings (i.e. background etc.)   CSS styling in SWT/Qt is the same concept as e4/CSS. (e4‘s CSS implementation is currently limited) Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 7
  • 8. E4 CSS contact demo Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 8
  • 9. SWT/Qt - Implementation Riena Client RCP Client SWT Client SWT/Qt CSS QT Jambi QPushButton { QT border: 1px solid #8993b2; border-radius: 3px; background-color: qlineargradient(x1 : 0, y1 : 0, x2 : 0, y2 : 1, stop : 1 #c5cae6, stop :0 #fcfcfe); min-width: 80px; height: 20 px; } Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0
  • 10. Demo Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0
  • 11. SWT/Qt – the implementation   Another interesting aspect is having a „native“ Eclipse IDE on Qt based systems (KDE)   The current implementation can run the Eclipse IDE but is not optimized for speed yet.   Discussion on Bug 318484 about SWT/Qt should rather by based on Qt directly (using a handwritten replacement for QtJambi)   Qt is available on all major platforms but not a „native“ implementation as Win32, GTK or Cocoa   SWT/Qt is not feature complete i.e. no Drag and Drop support Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 11
  • 12. SWT/Qt – Help wanted   Interested in ..   Testing   Posting Issues   Fixing Bugs   Lets us know at http://www.eclipselabs.org/p/swtqt/ Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 12
  • 13. Riena UI Vision with SWT/Qt Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 13
  • 14. When Designers turn crazy.... Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 14
  • 15. Discussion Copyright © 2010 compeople AG, Made available under the Eclipse Public License v 1.0 15