home.social

#pyside — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pyside, aggregated by home.social.

  1. After about 4 months of sporadic work, and a good focus now in the summer holiday, I have a new pre-release of a #GUI editor for nodes and edges #Graph s, which support multi-point edges, both rectilinear and curved, as well as managing metadata on the nodes.
    A blog post will follow.

    #Python #Pyside #Qt

    github.com/ghillebrand/qtPyGra

  2. What are the best looking #PySide #QML #PyQt applications you have seen? #design

    #python

    Please boost for more reach.

  3. I've noticed that you can use #QtWebEngine act as a simple web browser with a very thin wrapper written in #Python using #PySide.

    It might help me to be more conscious about my internet usage, which is something I want to achieve since a long time.

    So, I've committed such crime: https://codeberg.org/Aelspire/pyquefa-browser

    I'm sorry!

  4. @chakie #Python #ObjectOriented
    Question.
    I have written #PySide classes to implement editable multi-segment lines for both straight lines and hermite splines. The interfaces are identical, barring the spline constructor, which takes a tangent list.
    I want to create a parent class `PolyLine` which can either be `straight` or `hermite`. A "Strategy Pattern" _seems_ to be the solution, but it feels complex. Putting an `if` into every method feels worse.
    Ideas?

    Code: codeberg.org/GrantH/Pyside6-Po

  5. Иконки прямо в коде: как мы избавились от assets, портируя приложение на Linux и macOS

    Привет, Хабр! Мы в ChameleonLab разрабатываем тулкит для стеганографии, который уже работает на Windows и macOS . Сейчас мы портируем его на Linux, и, как это часто бывает, именно на этом этапе классические проблемы с ресурсами (иконками, картинками) проявили себя во всей красе. После релиза пользователи увидели наше решение и стали спрашивать, как оно устроено и почему приложение не тащит за собой папку с картинками. Раз уж сообществу это интересно, мы решили дать развёрнутый ответ. Расскажем, как встроили все иконки прямо в код с помощью SVG, и как внутренние итерации и поиски идеального решения привели нас к финальному варианту.

    habr.com/ru/articles/940180/

    #python #PyQt #PySide #Qt #SVG #векторная_графика #ui #PyInstaller #hidpi #кроссплатформенная_разработка

  6. Иконки прямо в коде: как мы избавились от assets, портируя приложение на Linux и macOS

    Привет, Хабр! Мы в ChameleonLab разрабатываем тулкит для стеганографии, который уже работает на Windows и macOS . Сейчас мы портируем его на Linux, и, как это часто бывает, именно на этом этапе классические проблемы с ресурсами (иконками, картинками) проявили себя во всей красе. После релиза пользователи увидели наше решение и стали спрашивать, как оно устроено и почему приложение не тащит за собой папку с картинками. Раз уж сообществу это интересно, мы решили дать развёрнутый ответ. Расскажем, как встроили все иконки прямо в код с помощью SVG, и как внутренние итерации и поиски идеального решения привели нас к финальному варианту.

    habr.com/ru/articles/940180/

    #python #PyQt #PySide #Qt #SVG #векторная_графика #ui #PyInstaller #hidpi #кроссплатформенная_разработка

  7. Иконки прямо в коде: как мы избавились от assets, портируя приложение на Linux и macOS

    Привет, Хабр! Мы в ChameleonLab разрабатываем тулкит для стеганографии, который уже работает на Windows и macOS . Сейчас мы портируем его на Linux, и, как это часто бывает, именно на этом этапе классические проблемы с ресурсами (иконками, картинками) проявили себя во всей красе. После релиза пользователи увидели наше решение и стали спрашивать, как оно устроено и почему приложение не тащит за собой папку с картинками. Раз уж сообществу это интересно, мы решили дать развёрнутый ответ. Расскажем, как встроили все иконки прямо в код с помощью SVG, и как внутренние итерации и поиски идеального решения привели нас к финальному варианту.

    habr.com/ru/articles/940180/

    #python #PyQt #PySide #Qt #SVG #векторная_графика #ui #PyInstaller #hidpi #кроссплатформенная_разработка

  8. Иконки прямо в коде: как мы избавились от assets, портируя приложение на Linux и macOS

    Привет, Хабр! Мы в ChameleonLab разрабатываем тулкит для стеганографии, который уже работает на Windows и macOS . Сейчас мы портируем его на Linux, и, как это часто бывает, именно на этом этапе классические проблемы с ресурсами (иконками, картинками) проявили себя во всей красе. После релиза пользователи увидели наше решение и стали спрашивать, как оно устроено и почему приложение не тащит за собой папку с картинками. Раз уж сообществу это интересно, мы решили дать развёрнутый ответ. Расскажем, как встроили все иконки прямо в код с помощью SVG, и как внутренние итерации и поиски идеального решения привели нас к финальному варианту.

    habr.com/ru/articles/940180/

    #python #PyQt #PySide #Qt #SVG #векторная_графика #ui #PyInstaller #hidpi #кроссплатформенная_разработка

  9. Qt for Python: PySide6

    Статья для новичков про использование Qt на языке Python используя официальную библиотеку-привязку PySide6. Ознакомление с созданием графических приложений на языке Python.

    habr.com/ru/articles/909118/

    #qt #qt6 #python #python3 #pyside6 #pyside #linux #windows #development #qt_software

  10. Qt for Python: PySide6

    Статья для новичков про использование Qt на языке Python используя официальную библиотеку-привязку PySide6. Ознакомление с созданием графических приложений на языке Python.

    habr.com/ru/articles/909118/

    #qt #qt6 #python #python3 #pyside6 #pyside #linux #windows #development #qt_software

  11. @kevin Nope I did not, my experience with anything in python and background threads did not go well. Only time this (background threads) works for me when I have #PySide #QThreads in my code and they are real threads.

  12. Анализ компьютерных сетей

    Доброго времени суток, хабровчане! Недавно я защитил свой проект "Анализ компьютерных сетей" и решил поделиться этим самым проектом с вами. Компьютерные сети – неотъемлемая часть современной жизни. В момент полной цифровизации государств, знание работы сетей становится обязательным для всех IT-специалистов и даже обычных людей. Очень сильно популяризируются сервисы VPN/Proxy, туториалы по созданию своих VPN/Proxy серверов, методы защиты конфиденциальной информации. Темой моего проекта является анализ компьютерных сетей. Актуальность проекта заключается в том, что в эпоху, когда многие компании собирают данные, а иногда хакеры могут перехватить наш трафик, знание работы сетей становится особенно важно. Просто необходимо позаботиться о безопасности своих данных. Например, быть уверенным, что какая-либо корпоративная сеть не прослушивается злоумышленниками. Информационная безопасность сегодня — это не просто мода, а насущная необходимость. Постоянно растет киберпреступность, и защита трафика от перехвата — это основной аспект цифровой жизни человека или бизнеса.

    habr.com/ru/articles/891276/

    #rust #linux #windows #c #python #pyside #pyside6 #qt #сеть #osi

  13. I asked #ClaudeAI to create a #pyside app that tells the current time in #SwatchInternetTime . It did, and it worked without any issues at all the first time, and did pretty much exactly what I wanted it to do.
    I need to look at he code and see if it feels #Python -y,

  14. Do you use with conda versions of bindings? Then this issue is very relevant to you. Please upvote:

    bugreports.qt.io/plugins/servl

  15. This is a question for the people: I’ve created a dialog box with 3 radio buttons. The correct default button is selected, but I can’t figure out why the first button is highlighted? I’ve been reading through the documentation for QRadiobutton, but I can’t figure out why the toggled button isn’t highlighted.

    Anyone have any ideas?

    EDIT: This has been solved. See responses below.

  16. Been trying to come up with some nice APIs to declare a model with properties that I can bind to controls in QtWidgets, with PySide.

    Think that's the best I can do right now. I wanted to get rid of having to use `obj.prop.value` but I think it's more trouble than its worth at the moment... will try using it for real now

    gist.github.com/kaofelix/2b5cb

    #python #pyside #qt #gui

  17. Finally I have the opportunity again to build a small new inhouse tool in #pyside. This time it’ll have drag&drop which is something I haven’t done with Qt before.
    #VFXPipeline

  18. Today's accomplishment was creating a theme switcher (macOS only for now) for PySide and an SVG icon engine that draws in proper theme colors. Qt makes this harder than it needs to be

    Gist here just in case 🙂
    gist.github.com/kaofelix/49384

    #python #qt #pyside #darktheme #macOS

  19. @sirber Yes. Very much. It’s a great combination. The #pyside bindings for #qt are great. The framework itself is clean and complete. And I’ve been a huge fan of #Python for many years. I enjoy coming in to work to play with this stuff. If you end up choosing this combination, and that’s my recommendation, I hope you enjoy it as much as I. There are other frameworks, but I really like Qt the best.

  20. Qt-шные прокси-модели и их друзья

    Разрабатывая приложения на Qt или PyQt/PySide2 вы рано или поздно столкнетесь с необходимостью создания собственной реализации QAbstractItemModel и/или QAbstractProxyModel. Я хочу рассказать про одну конкретную проблему, с которой я столкнулся, разрабатывая прокси-модель с возможностью группировки объектов дерева.

    habr.com/ru/articles/851850/

    #pyqt #qt #pyside

  21. One thing i hate about setting up projects with #Jira is setting up tasks. It's slow, and tedious, and if it requires any input or approvals from others, it's maddening.

    In my quest to work more with #python, i created a script that will input a #TaskPaper file, and create Jira sub-tasks from the tasks with notes.

    Putting a #qt interface on it using #pyside 6 now.

  22. Right now it's much faster for me to whip up a PyQt/PySide app that a console app with a decent UI. But full GUI apps are often overkill for dev tools whereas a TUI app is ideal.

    #python #pyqt #pyside

  23. PUSSY – швейцарский нож от мира ПО. Погружаемся в систему Свойств #ШБР2

    PUSSY (Python Utilitarian Script System for You) - это кроссплатформенный программный комплекс, который позволяет ускорить разработку приложений с графическим интерфейсом на языке Python и PySide6. Его ключевой фичей является быстрое создание раздела с пользовательскими настройками, достаточно просто объявить перечень Свойств в Специальном контейнера, а система сама позаботится обо всем остальном. Нажимайте на "Читать далее" чтобы узнать как с этим работать и как можно самостоятельно расширить его возможности под собственные потребности...

    habr.com/ru/articles/826798/

    #python3 #pyside #qt #software #software_development #разработка_приложений #автоматизация_рутины #графический_интерфейс #gui

  24. #Qt signals in a #NukeStudio tool I wrote don't reach my background thread anymore. Worked fine in Nuke 13 (Qt 5.12, Python 3.7) and no longer works in #Nuke 14 (Qt 5.15, Python 3.9) unless I connect the slot as a DirectConnection (i.e. just call a function across threads).
    Search engines are useless for those keywords. How is one supposed to debug this? Read every changelog between those versions?

    #PySide #PySide2

  25. #Qt signals in a #NukeStudio tool I wrote don't reach my background thread anymore. Worked fine in Nuke 13 (Qt 5.12, Python 3.7) and no longer works in #Nuke 14 (Qt 5.15, Python 3.9) unless I connect the slot as a DirectConnection (i.e. just call a function across threads).
    Search engines are useless for those keywords. How is one supposed to debug this? Read every changelog between those versions?

    #PySide #PySide2

  26. #Qt signals in a #NukeStudio tool I wrote don't reach my background thread anymore. Worked fine in Nuke 13 (Qt 5.12, Python 3.7) and no longer works in #Nuke 14 (Qt 5.15, Python 3.9) unless I connect the slot as a DirectConnection (i.e. just call a function across threads).
    Search engines are useless for those keywords. How is one supposed to debug this? Read every changelog between those versions?

    #PySide #PySide2

  27. #Qt signals in a #NukeStudio tool I wrote don't reach my background thread anymore. Worked fine in Nuke 13 (Qt 5.12, Python 3.7) and no longer works in #Nuke 14 (Qt 5.15, Python 3.9) unless I connect the slot as a DirectConnection (i.e. just call a function across threads).
    Search engines are useless for those keywords. How is one supposed to debug this? Read every changelog between those versions?

    #PySide #PySide2

  28. @debacle

    there are some other (less advanced) client like a TUI client, a QT/Kirigami client and a UbuntuTouch client, see:

    support.delta.chat/t/list-of-a

    if you are a programmer maybe some of you could help, I would like to create a QT-based client maybe with #PySide but I would need to learn that and it would be too hard alone without any other people supporting

    @gowin @ana @duniamelayu

  29. I like the idea of using Rust and CXX-Qt instead of just C++ or #Python and #PySide, but the filesize for the qml_minimal example is 4.6 MB or so in Release builds, and I don't like the idea of shipping zip files that are 16 MB or more just for three small programs that don't do much (I'm also uncomfortable with #guinget's package size, but I need the libraries that make up that size for core features, I think #SQLite is the main one).

    #Rust #Rustlang #programming #Retiled #CPlusPlus #CXXQt

  30. Тестируем многоядерный процессор методом Кнута и Python’а

    В 1978 году вышел третий том монографии Дональда Кнута «Искусство программирования», где автор рассматривает алгоритмы сортировки и поиска. Помимо самих алгоритмов описаны аппаратные характеристики компьютера и их влияние на производительность при работе с алгоритмами. В 2024 году мы с вами возьмём классические алгоритмы сортировки и посмотрим, как работает современный многоядерный процессор при сортировке нескольких массивов на одном и нескольких логических ядрах. Мы напишем приложение с графическим интерфейсом (GUI) на фреймворке Qt, обойдем глобальную блокировку интерпретатора (GIL), воспользуемся несколькими потоками, на один из которых переложим выполнение асинхронного цикла событий, и распараллелим этот поток для реализации параллельных вычислений.

    habr.com/ru/articles/792832/

    #python #multithreading #multiprocessing #qt #pyside #алгоритмы #дональд_кнут #asyncio

  31. Been writing a new tool to help artists log thier time based on assigned assets/shots. Hoping to gain more insight into how long specific tasks and shot work takes.

  32. Been writing a new tool to help artists log thier time based on assigned assets/shots. Hoping to gain more insight into how long specific tasks and shot work takes.

    #python #pyside #pipeline #pipelinejournal #qt #dev

  33. Been writing a new tool to help artists log thier time based on assigned assets/shots. Hoping to gain more insight into how long specific tasks and shot work takes.

    #python #pyside #pipeline #pipelinejournal #qt #dev

  34. Been writing a new tool to help artists log thier time based on assigned assets/shots. Hoping to gain more insight into how long specific tasks and shot work takes.

    #python #pyside #pipeline #pipelinejournal #qt #dev