Upload
christiancampo
View
517
Download
0
Embed Size (px)
Citation preview
© 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
Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0
Riena UI – Vision – Motivation for SWT/Qt
Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0
Riena UI – Vision – Motivation for SWT/Qt
Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0
Riena UI – Vision – Motivation for SWT/Qt
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
Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0
E4 CSS contact demo
6
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
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; }
Copyright © 2009 compeople AG, Made available under the Eclipse Public License v 1.0
Demo