Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [Moved] timerEvent, strange behavior after screen orientation change

[Moved] timerEvent, strange behavior after screen orientation change

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    borut123
    wrote on last edited by
    #1

    S60 5th edition, latest Qt from QT SDK TP (Qt 4.7.1), Nokia C5 phone.

    I have a class MainView ( class MainView : public QDeclarativeView ),
    which among other things also listens to timerEvent() and to resizeEvent().

    void resizeEvent(QResizeEvent* event);
    void timerEvent(QTimerEvent *event);

    Everything works ok till I change the phone's orientation from landscape to portrait or vice versa.
    After the screen rotation something triggers timerEvent() on very short time period (let's say it's about 100ms),
    and this timerevent does not end till I use killTimer() to kill it.

    Anybody knows where does this event come from (it is not triggered by my code)?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved