Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Q3ScrollView doesn't redraw scene when moving scroollbar
Forum Updated to NodeBB v4.3 + New Features

Q3ScrollView doesn't redraw scene when moving scroollbar

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 727 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.
  • A Offline
    A Offline
    alan73
    wrote on last edited by
    #1

    Hello!

    I had to port my Qt3 app quickly to Qt4, so I used qt3to4 tool. It moved QScrollView class with Q3ScrollView, and now the latter doesn't redraw scene when moving scroollbar.

    So, I added:
    @setWindowFlags(Qt::WNoAutoErase);
    viewport()->setWindowFlags(Qt::WNoAutoErase);@

    But it didn't help. What can be the reason for this behaviour?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      You should look at the "Porting to Qt 4" guide and update your widgets accordingly. The Qt3Support library is there to ease the transition but you should convert directly to proper Qt 4 widgets. If your next step is Qt 5 there's no Qt3Support.

      Also, you're not likely to find lots of people using the Qt3XXX widgets here since most users come with a Qt4 or 5 background.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      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