Preferred widget for state codes

Rich Shepard rshepard at
Wed May 5 22:18:48 BST 2021

What would be the preferred widget to allow users to select a state? Is a
QComboBox populated with the list of all 50 names the best way? The postgres
database has an ENUM with all states listed by their 2-character code and
I'd like the application to use that list.


More information about the PyQt mailing list