How can I connect a database in Pyside, in the source code (immediately after compiling from .ui to .py) or in a separate file where I wrote the logic (code below)?