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. QListWidget is not getting repainted
Forum Updated to NodeBB v4.3 + New Features

QListWidget is not getting repainted

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 169 Views 2 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.
  • S Offline
    S Offline
    Shivendra Pratap Singh
    wrote on last edited by
    #1

    Hello
    I have a Qlistwidget in which we need to show a list every time when we come to that page, but it's getting black(it doesn't show anything) but when I click on the Qlistwidget area it displays its content.

    I have tried repaint, viewport->repaint with no luck, also qApp->processEvent(ExcludeUserInput) work but it slows the application, it takes about 5-10sec to update the page,

    This issue is seen mostly when we return from the page which has QGLWidget

    FYI: I have found one workaround, when I set the focus and clear it then it works fine.

    This issue is coming only on Linux, on window application is working fine.

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

      Hi,

      Which version of Qt are you using ?
      On which Linux distribution ?
      Can you provide a minimal compilable example ?

      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
      1

      • Login

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