Discussion Board

Results 1 to 12 of 12
  1. #1
    Registered User stepic's Avatar
    Join Date
    Oct 2009
    Posts
    6
    Reading documentation and searching forums, I couldn't understand if Qt for Symbian already have native support for kinetic scrolling. QTableView on my N97 doesn't scroll kinetic.

    Thanks for your reply
    Stefano

  2. #2
    Nokia Developer Champion danhicksbyron's Avatar
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209
    Not that I know of. I believe "gestures" is, as yet, unimplemented in Symbian.

  3. #3
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,293
    Scrolling may be slow due to the absurd amounts of value that you have entered in any of the next column .

    Just check it.

    Best regards,
    RaHuL

  4. #4
    Registered User stepic's Avatar
    Join Date
    Oct 2009
    Posts
    6
    By your experience, is there any chance to implement on a QTableView "flickcharm" or "flickable" demo code?

  5. #5
    Nokia Developer Champion rahulvala's Avatar
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,293
    Hi, stepic
    I have not seen any flickable demo code is available or not.
    But you can try for it.
    Best regards,
    RaHuL

  6. #6
    Regular Contributor treinio's Avatar
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329
    Quote Originally Posted by stepic View Post
    By your experience, is there any chance to implement on a QTableView "flickcharm" or "flickable" demo code?
    Have you seen this article - it should work for QTableView as it derives from QAbstractScrollArea.

    Also, if you're willing to wait for 4.7, QML has the flickable element.

  7. #7
    Registered User igosoft's Avatar
    Join Date
    Aug 2008
    Location
    Warsaw
    Posts
    11
    there is no support of kinetic scrolling in Qt. However there are working examples of kinetic scrolling on Internet. One of them is in Qt examples or demo folder.

  8. #8
    Regular Contributor forceoflight's Avatar
    Join Date
    Nov 2008
    Posts
    138
    Does anyone know if one can follow native kinetic scroll implementation status to Qt Symbian API? Will it be released in Qt 4.7.x release?

  9. #9

  10. #10
    Regular Contributor dahiya.vinod's Avatar
    Join Date
    Dec 2010
    Posts
    142
    I will be implemented in Qt 4.8. For older versions(4.6 , 4,7) it is available as a library. Get it from here http://qt.gitorious.org/qt-labs/kineticscroller. There is a nice readme.txt inside that shows how to use it.

  11. #11
    Regular Contributor forceoflight's Avatar
    Join Date
    Nov 2008
    Posts
    138
    Does anyone know why you must remove following Q_GUI_EXPORTs to be able to compile testapp project by using Qt Creator (MinGW 4.4)?

    Code:
    class Q_GUI_EXPORT QWebViewKineticScroller : public QObject, public QKineticScroller
    class Q_GUI_EXPORT QScrollAreaKineticScroller : public QObject, public QKineticScroller

    Without removing above defines you get lots of following kind of errors:

    Code:
    E:\QtSDK\kineticscroller\testapp/main.cpp:130: error: undefined reference to `_imp___ZN26QScrollAreaKineticScrollerC1Ev'
    ...
    It seems that Q_GUI_EXPORT is defined as __declspec(dllimport), which doesn't work. It should be empty.

    qlobal.h

    Code:
    #ifndef Q_DECL_IMPORT
    #  if defined(Q_OS_WIN) || defined(Q_CC_NOKIAX86) || defined(Q_CC_RVCT)
    #    define Q_DECL_IMPORT __declspec(dllimport)
    #  else
    #    define Q_DECL_IMPORT
    #  endif
    #endif
    
    ...
    
    #    define Q_GUI_EXPORT Q_DECL_IMPORT
    Last edited by forceoflight; 2011-01-28 at 13:59.

  12. #12
    Regular Contributor dahiya.vinod's Avatar
    Join Date
    Dec 2010
    Posts
    142
    You seems to use master branch of kineticscroller. You must read header text on this page. http://qt.gitorious.org/qt-labs/kineticscroller
    it says:
    Kinetic scrolling for Qt 4.6 and Qt 4.7 on all platforms – PLEASE USE THE BRANCH “solution” IF YOU WANT THE QtScroller SOLUTION FOR QT 4.6 AND 4.7!
    Download/cloan solution branch.

Similar Threads

  1. Listbox and kinetic scrolling problem
    By miikkis in forum Symbian User Interface
    Replies: 4
    Last Post: 2010-04-25, 16:52
  2. How to implement kinetic scrolling?
    By svdwal in forum Symbian User Interface
    Replies: 8
    Last Post: 2010-01-28, 14:36
  3. kinetic scrolling on N97
    By xlazom00 in forum Symbian User Interface
    Replies: 1
    Last Post: 2009-12-21, 13:06
  4. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41
  5. When will 5800XM get kinetic scrolling?
    By stolidImran in forum General Development Questions
    Replies: 1
    Last Post: 2009-09-04, 07:48

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved