|
facebook360_dep
Facebook360 Depth Estimation Pipeline
|
Public Member Functions | |
| def | __init__ (self, parent=None) |
| def | on_completer_activated (self, text) |
| def | setModel (self, model) |
| def | setModelColumn (self, column) |
Public Attributes | |
| proxy_model | |
| completer | |
UI dropdown element with autocomplete.
Attributes:
completer (QtWidgets.QCompleter): Autocomplete instance tied to the dropdown items.
proxy_model (QtWidgets.QSortFilterProxyModel): Configurations of the autocomplete.
| def combobox_autocomplete.ComboBoxAutocomplete.__init__ | ( | self, | |
parent = None |
|||
| ) |
Creates default configurations (case insensitive) and constructs the UI element.
Args:
parent (App(QDialog), optional): Object corresponding to the parent UI element.
| def combobox_autocomplete.ComboBoxAutocomplete.on_completer_activated | ( | self, | |
| text | |||
| ) |
Callback event handler for a query in the autocomplete.
Args:
text (str): Query text.
| def combobox_autocomplete.ComboBoxAutocomplete.setModel | ( | self, | |
| model | |||
| ) |
Updates the configuration model.
Args:
model (QtWidgets.QSortFilterProxyModel): New configuration to update to.
| def combobox_autocomplete.ComboBoxAutocomplete.setModelColumn | ( | self, | |
| column | |||
| ) |
Updates the column being autocompleted.
Args:
column (int): Column from the data used for checking suggestions.
| combobox_autocomplete.ComboBoxAutocomplete.completer |
| combobox_autocomplete.ComboBoxAutocomplete.proxy_model |
1.8.15