A CompletionComboBox pre-configured for type name autocompletion. More...
A CompletionComboBox pre-configured for type name autocompletion.
Fetches type names from a TypeContainer in a background thread and populates the completer model. Respects the ui.types.substring and ui.types.maxAutoFeaturesCount settings.
Optionally manages a persistent input history stored in QSettings.
Public Member Functions | |
| TypeCompletionComboBox (std::optional< BinaryNinja::TypeContainer > typeContainer, QWidget *parent=nullptr, QString existing=QString()) | |
| ~TypeCompletionComboBox () | |
| void | commitHistory () |
| Commit the current text to the persistent input history. | |
| QStringListModel * | completionModel () const |
| Public Member Functions inherited from CompletionComboBox | |
| CompletionComboBox (QWidget *parent=nullptr) | |
| void | setForwardReturnEvents (bool forward) |
Additional Inherited Members | |
| Signals inherited from CompletionComboBox | |
| void | enterPressed () |
| Protected Member Functions inherited from CompletionComboBox | |
| bool | event (QEvent *event) override |
| TypeCompletionComboBox::TypeCompletionComboBox | ( | std::optional< BinaryNinja::TypeContainer > | typeContainer, |
| QWidget * | parent = nullptr, | ||
| QString | existing = QString() ) |
| TypeCompletionComboBox::~TypeCompletionComboBox | ( | ) |
| void TypeCompletionComboBox::commitHistory | ( | ) |
Commit the current text to the persistent input history.
|
inline |