Python Forum
Where locate code to load combobox
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where locate code to load combobox
#2
You can't add items before you define them. As to where that should go, probably in the __init__, right?
But you never define what a self.MS is, or what a self.State is, so... you should probably do that :p Unless that's what's in Ui_MainWindow, I guess, but then it'd be self.ui.MS.
Reply


Messages In This Thread
Where locate code to load combobox - by birdieman - Feb-19-2017, 12:48 AM
RE: Where locate code to load combobox - by nilamo - Feb-20-2017, 10:06 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [PyQt] How can I sync Combobox index to other combobox index? nickzsche 2 2,459 Jan-03-2022, 12:29 PM
Last Post: Axel_Erfurt

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020