0

Does anyone know how to make a dropdown checkbox in Qt? I am using Maya. so far I have:

    self.transform_dropdown = QtWidgets.QComboBox()
    self.transform_dropdown.addItem("Freeze transform")
    self.transform_dropdown.addItem("Freeze rotation")
    self.transform_dropdown.addItem("Freeze scale")

I cant find any information on how to convert these into checkboxes and query their state.

  • Noop, that is not the way to go. Combo box are for selecting one option out of multiple. So you will need to create multiple checkboxes outside the combobox. – AmaanK Jul 03 '21 at 13:52
  • Does this answer your question? [ComboBox of CheckBoxes?](https://stackoverflow.com/questions/8422760/combobox-of-checkboxes) – mugiseyebrows Jul 03 '21 at 14:14
  • 1
    are you looking for some behaviour as menu item ? – DrWeeny Jul 03 '21 at 20:46

0 Answers0