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. Example sought: Before and after image slider
Forum Updated to NodeBB v4.3 + New Features

Example sought: Before and after image slider

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 484 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.
  • C Offline
    C Offline
    Captain Haddock
    wrote on 19 Apr 2023, 12:38 last edited by
    #1

    Python 3.11/PyQt6

    I'm seeking an example using Python & PyQt to implement a before and after slider of two images. That is a slider that can be used to reveal more and less of two overlayed images of a similar scene (e.g. the kind that we have been seeing of before and after dried up lake beds due to drought).

    A we b example I found to demonstrate what I'm after is at: https://www.thegazette.com/news/cedar-rapids-2008-flood-before-and-after-photos-flood-recovery/ (see "Epic Surge" a short way down the page)

    Any pointers/examples welcome.

    Thank you, Haddock

    J 1 Reply Last reply 19 Apr 2023, 13:02
    0
    • C Captain Haddock
      19 Apr 2023, 12:38

      Python 3.11/PyQt6

      I'm seeking an example using Python & PyQt to implement a before and after slider of two images. That is a slider that can be used to reveal more and less of two overlayed images of a similar scene (e.g. the kind that we have been seeing of before and after dried up lake beds due to drought).

      A we b example I found to demonstrate what I'm after is at: https://www.thegazette.com/news/cedar-rapids-2008-flood-before-and-after-photos-flood-recovery/ (see "Epic Surge" a short way down the page)

      Any pointers/examples welcome.

      Thank you, Haddock

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 19 Apr 2023, 13:02 last edited by
      #2

      @Captain-Haddock Please don't double post!
      You asked this already here: https://forum.qt.io/topic/144503/example-sought-overlapping-images

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply 19 Apr 2023, 13:30
      0
      • J jsulm
        19 Apr 2023, 13:02

        @Captain-Haddock Please don't double post!
        You asked this already here: https://forum.qt.io/topic/144503/example-sought-overlapping-images

        C Offline
        C Offline
        Captain Haddock
        wrote on 19 Apr 2023, 13:30 last edited by
        #3

        @jsulm thanks for monitoring .. but they are different. one is just about overlapping multiple images to create a composite image the other is about scrolling back and forth across to images to reveal more or less of one image than the other .. sorry I wasn't clear

        S 1 Reply Last reply 19 Apr 2023, 19:51
        0
        • C Captain Haddock
          19 Apr 2023, 13:30

          @jsulm thanks for monitoring .. but they are different. one is just about overlapping multiple images to create a composite image the other is about scrolling back and forth across to images to reveal more or less of one image than the other .. sorry I wasn't clear

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 19 Apr 2023, 19:51 last edited by
          #4

          Hi,

          So you would need something like a QSplitter but with two widgets on top of each other rather than beside ?

          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

          1/4

          19 Apr 2023, 12:38

          • Login

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