I am new to PyQt and Qt Designer, and I am trying to create a simple method for linking qWidgets to tables and columns in a SQLite database. My idea was to mark each qWidget in the designer with two custom properties, one of which is the table name and the other is the column name. Later, I used the information provided by the developer to create my own class, which creates a connection between qwidets and the SQLite database.
Adding custom properties to Designer seems to work fine, however, the code for these custom properties is not generated when converting the xml constructor to python (using UIC). Has anyone done this successfully? Perhaps there is a better way to do this?
Thank,
Eric
source
share