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. QPaintEvent Not called even if update() or repaint() is called.
Forum Updated to NodeBB v4.3 + New Features

QPaintEvent Not called even if update() or repaint() is called.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 512 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.
  • Pradeep KumarP Offline
    Pradeep KumarP Offline
    Pradeep Kumar
    wrote on last edited by
    #1

    Hi,

    Another query regarding paintevent() only,
    Inspite of having update() or repaint(), paintevent() , is not getting called.

    Ant specific reason.?.

    Thanks,

    Pradeep Kumar
    Qt,QML Developer

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      Probably wrong signature... did you try using overload?

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      0
      • Pradeep KumarP Offline
        Pradeep KumarP Offline
        Pradeep Kumar
        wrote on last edited by
        #3

        We are trying to stream live video in our application.
        We draw image on the QWidget's paint event, to trigger this we call repaint()/update() whenever a new image is available.
        This works perfectly fine for smaller widgets.

        It is not working for larger widgets.

        Note: Size of Image received in accordance with QWidget Size.

        Pradeep Kumar
        Qt,QML Developer

        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