mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
again fix constant changes
This commit is contained in:
parent
da99fb25ce
commit
9c01caf9be
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ class ButtonWithMenu(QtWidgets.QToolButton):
|
|||
|
||||
self.setObjectName("ButtonWithMenu")
|
||||
|
||||
self.setPopupMode(self.MenuButtonPopup)
|
||||
self.setPopupMode(QtWidgets.QToolButton.MenuButtonPopup)
|
||||
menu = QtWidgets.QMenu(self)
|
||||
|
||||
self.setMenu(menu)
|
||||
|
|
@ -42,7 +42,7 @@ class SearchComboBox(QtWidgets.QComboBox):
|
|||
super(SearchComboBox, self).__init__(parent)
|
||||
|
||||
self.setEditable(True)
|
||||
self.setInsertPolicy(self.NoInsert)
|
||||
self.setInsertPolicy(QtWidgets.QComboBox.NoInsert)
|
||||
|
||||
combobox_delegate = QtWidgets.QStyledItemDelegate(self)
|
||||
self.setItemDelegate(combobox_delegate)
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ class AddibleComboBox(QtWidgets.QComboBox):
|
|||
super(AddibleComboBox, self).__init__(parent)
|
||||
|
||||
self.setEditable(True)
|
||||
# self.setInsertPolicy(self.NoInsert)
|
||||
# self.setInsertPolicy(QtWidgets.QComboBox.NoInsert)
|
||||
|
||||
self.lineEdit().setPlaceholderText(placeholder)
|
||||
# self.lineEdit().returnPressed.connect(self.on_return_pressed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue