[Kst] branches/work/kst/portto4/kst

Joshua Netterfield drmrshdw at gmail.com
Wed Oct 3 04:52:24 UTC 2012


SVN commit 1318911 by joshuanetterfield:

Add initial QNX (i.e., PlayBook) support for Kst. See qnx/README.QNX for build instructions.
Most of these changes will also help Kst run on Android tablets via Necessitas.

Screenshot featuring the ascii datasource and an equation: http://imgur.com/qajzo

Some of the required changes include:
  - changing precision from qreal to double for values which must be precice
  - changing precision from qreal to float for other values, such as for font metrics
  - using qobject_cast for loading plugins (they work!)
  - eliminating qgraphicsitem_cast, because not all viewitems have type() defined (this was causing strange crashes on the PlayBoo)
  - adding an X to the equation editor for mobile platforms
  - adding a swite-down gesture to show/hide the menu-bar and toolbars on PlayBook.
  - making sure dialogs and Kst itself are always fullscreen on PlayBook

There are some serious issues which prevent Kst from being useful yet on the PlayBook.
Here are some I noticed:
  - some of the controls are too small - a touch-oriented stylesheet should be written
  - some of the dialogs are too big, and so it's impossible to get out of them
  - the equation editor is glitchy
  - there is no way to access view item context menus

I don't think it would take much work to make this viable. What does Kst think? Could this be useful?



 M  +1 -1      cmake/src/libkst/CMakeLists.txt  
 M  +5 -1      cmake/src/widgets/CMakeLists.txt  
 A             qnx (directory)  
 A             qnx/QNX.cmake  
 A             qnx/README.QNX  
 A             qnx/deploy (directory)  
 AM            qnx/deploy/pbicon.png  
 AM            qnx/deploy/pbsplash.png  
 A             qnx/kst (directory)  
 AM            qnx/kst-descriptor.xml  
 A             qnx/kst/lib (directory)  
 AM            qnx/stage.sh  
 M  +6 -1      src/datasources/ascii/asciisource.h  
 M  +1 -0      src/kst/main.cpp  
 M  +11 -8     src/libkst/datasourcepluginmanager.cpp  
 M  +1 -0      src/libkst/ksttimezone.h  
 M  +4 -3      src/libkst/matrix.cpp  
 M  +3 -3      src/libkst/vector.cpp  
 M  +8 -8      src/libkstapp/applicationsettings.cpp  
 M  +9 -9      src/libkstapp/applicationsettings.h  
 M  +12 -12    src/libkstapp/arrowitem.cpp  
 M  +1 -1      src/libkstapp/circleitem.cpp  
 M  +9 -0      src/libkstapp/dialog.cpp  
 M  +1 -1      src/libkstapp/dialogscriptinterface.cpp  
 M  +2 -2      src/libkstapp/layoutboxitem.cpp  
 M  +2 -0      src/libkstapp/logdialog.h  
 M  +66 -7     src/libkstapp/mainwindow.cpp  
 M  +13 -0     src/libkstapp/mainwindow.h  
 M  +39 -39    src/libkstapp/plotaxis.cpp  
 M  +6 -6      src/libkstapp/plotaxis.h  
 M  +13 -13    src/libkstapp/plotitem.cpp  
 M  +2 -2      src/libkstapp/plotitem.h  
 M  +45 -40    src/libkstapp/plotrenderitem.cpp  
 M  +6 -6      src/libkstapp/plotrenderitem.h  
 M  +1 -1      src/libkstapp/scene.cpp  
 M  +2 -2      src/libkstapp/scriptserver.cpp  
 M  +3 -3      src/libkstapp/sharedaxisboxitem.cpp  
 M  +13 -13    src/libkstapp/view.cpp  
 M  +4 -4      src/libkstapp/view.h  
 M  +4 -4      src/libkstapp/viewgridlayout.cpp  
 M  +30 -30    src/libkstapp/viewitem.cpp  
 M  +2 -2      src/libkstapp/viewitem.h  
 M  +5 -5      src/libkstapp/viewitemscriptinterface.cpp  
 M  +1 -1      src/libkstmath/curve.cpp  
 M  +2 -2      src/libkstmath/dataobject.cpp  
 M  +1 -1      src/libkstmath/image.cpp  
 M  +1 -0      src/libkstmath/plottickcalculator.cpp  
 M  +4 -0      src/libkstmath/psdcalculator.cpp  
 M  +28 -3     src/widgets/cclineedit.cpp  
 M  +5 -0      src/widgets/cclineedit_p.h  
 M  +3 -0      src/widgets/widgets.cpp  
 M  +5 -2      src/widgets/widgets.h  


http://websvn.kde.org/?view=rev&revision=1318911


More information about the Kst mailing list