9
© 2002 IBM Corporation Confidential | Date | Other Information, if necessary December 8, 2009 Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0 1 Christian Campo Eclipse Summit - October 2009

Swt qt ese-2009

Embed Size (px)

Citation preview

Page 1: Swt qt ese-2009

© 2002 IBM Corporation

Confidential | Date | Other Information, if necessary December 8, 2009 Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

1

Christian Campo Eclipse Summit - October 2009

Page 2: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

Riena UI – Vision – Motivation for SWT/Qt

Page 3: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

Riena UI – Vision – Motivation for SWT/Qt

Page 4: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

Riena UI – Vision – Motivation for SWT/Qt

Page 5: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

SWT/Qt

  Styling is important

  E4 CSS effort

  After some investigation...

  New SWT platform based on Qt for Windows

  License issues (Qt is dual-licensed as LGPL and a commercial license)

  Qt versus QtJambi

5

Page 6: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

E4 CSS contact demo

6

Page 7: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

SWT/Qt CSS styling

  CSS applied to the toolkit not to SWT

  CSS is toolkit dependent

  Qt is available on all major platforms but not a „native“ implementation as Win32, GTK or Cocoa

  QtJambi was chosen over Qt

  (eSWT has chosen to implement against Qt directly)

7

Page 8: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

Experiment – SWT Platform on QT

Riena Client

RCP

Equinox SWT

QT Jambi

QT

SWT Client

CSS

QPushButton { 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; }

Page 9: Swt qt ese-2009

Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0

Demo