1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Operations concerning dropping file on PySide GUI

Discussão em 'Python' iniciado por Stack, Setembro 15, 2024.

  1. Stack

    Stack Membro Participativo

    I would like to know if it's possible to get a file's path by dragging it and dropping it inside a window made with PySide6. If not, how would I got about reading its bytes (in case of images) or its contents (in case of txt).

    I did not try anything yet because I'm having trouble just understanding the documentation. I saw that it maybe has something related to these (https://doc.qt.io/qtforpython-6/overviews/dnd.html) but I couldn't really understand what I'm supposed to do.

    Continue reading...

Compartilhe esta Página