View Single Post
Old 05-28-2025, 12:23 PM   #19
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,736
Karma: 206739468
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Okay, for my limited use case of inline QFileDialog static functions, and no translations I will change to import QtWidgets directly from PySide. I will still keep the plugin_utils_light.py code inside the plugin in case I move to adding translation support at some point (which I probably should).

Thanks!
I figure it will work better to be able to do stuff like

from QtWidgets import QFileDialog

rather than need to use QtWidgets.QFileDialog and the like everywhere.
DiapDealer is offline   Reply With Quote