Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Image

Image

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 3 Posters 200 Views
  • 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.
  • V Offline
    V Offline
    vfjhfnha
    wrote on last edited by
    #1

    def updateLabel(self):
    self.label_27.setPixmap(QtGui.QPixmap("D:/Bhavin PyQt/vim/VIM Demo/captured_image.bmp"))

    i want to show 100 images in one minute on this label. so how can i achive this

    JonBJ 1 Reply Last reply
    0
    • V vfjhfnha

      def updateLabel(self):
      self.label_27.setPixmap(QtGui.QPixmap("D:/Bhavin PyQt/vim/VIM Demo/captured_image.bmp"))

      i want to show 100 images in one minute on this label. so how can i achive this

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @vfjhfnha
      Set a QTImer to load the next image 100 times per minute.

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

        Hi,

        Use a QTimer to change your image. You can use a list with all your image paths in it and switch on each iteration.

        Note that you have to take into account the time it takes to load an image.

        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