Hey all!

I made this color picker using PyQt5 mainly because I was missing a decent & minimal magnifying coloring picking tool. I’ve been quite pleased with it so far, so I thought I’d publish it on github for anyone that might be looking for the same thing I was.

Hope you like it :)

  • bisby@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I’m very unfamiliar with QT (and thus the python QT lib)…

    But I had to change QTimer to import from QtCore, and Qpainter from QtGui for my local PyQT5 (from Arch repos).

    This looks/works great but now I’m just a bit curious about why classes are in different places in different versions of pyqt5

    • liferose@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      QTimer

      Thanks for having a look!

      Turns out my imports where, according to the documentation anyway, wrong. Honestly I am not sure why the imports where working on my machine, something something python I guess… I looked at the Qt documentation, changed all the imports to their correct libraries and pushed the changes.

      • bisby@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Awesome! Latest main works with no modifications needed now!

        I’ve actually had a few times recently where I really wanted a color picker and just shrugged it off assuming it would be a hassle, or inconvenient to use. So thanks a ton for sharing.