◆ CAutoCompleteLineEdit()
| CAutoCompleteLineEdit::CAutoCompleteLineEdit |
( |
const QString & |
contents, |
|
|
QWidget * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ acceptSuggestion()
| void CAutoCompleteLineEdit::acceptSuggestion |
( |
| ) |
|
|
private |
◆ findBestMatch()
| QString CAutoCompleteLineEdit::findBestMatch |
( |
const QString & |
input | ) |
const |
|
private |
◆ focusInEvent()
| void CAutoCompleteLineEdit::focusInEvent |
( |
QFocusEvent * |
event | ) |
|
|
overrideprotected |
◆ focusOutEvent()
| void CAutoCompleteLineEdit::focusOutEvent |
( |
QFocusEvent * |
event | ) |
|
|
overrideprotected |
◆ GetSuggestionBackground()
| QColor CAutoCompleteLineEdit::GetSuggestionBackground |
( |
| ) |
const |
◆ GetSuggestionColor()
| QColor CAutoCompleteLineEdit::GetSuggestionColor |
( |
| ) |
const |
◆ hideSuggestion()
| void CAutoCompleteLineEdit::hideSuggestion |
( |
| ) |
|
|
private |
◆ initTimer()
| void CAutoCompleteLineEdit::initTimer |
( |
| ) |
|
|
private |
◆ keyPressEvent()
| void CAutoCompleteLineEdit::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
| void CAutoCompleteLineEdit::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotectedvirtual |
◆ setCompletions()
| void CAutoCompleteLineEdit::setCompletions |
( |
const QStringList & |
completions | ) |
|
◆ SetSuggestionBackground()
| void CAutoCompleteLineEdit::SetSuggestionBackground |
( |
const QColor & |
newSuggestionBackground | ) |
|
◆ SetSuggestionColor()
| void CAutoCompleteLineEdit::SetSuggestionColor |
( |
const QColor & |
newSuggestionColor | ) |
|
◆ showSuggestion()
| void CAutoCompleteLineEdit::showSuggestion |
( |
| ) |
|
|
private |
◆ updateCompletion
| void CAutoCompleteLineEdit::updateCompletion |
( |
| ) |
|
|
privateslot |
◆ m_completions
| QStringList CAutoCompleteLineEdit::m_completions |
|
private |
◆ m_currentSuggestion
| QString CAutoCompleteLineEdit::m_currentSuggestion |
|
private |
◆ m_suggestionBackground
| QColor CAutoCompleteLineEdit::m_suggestionBackground |
|
private |
◆ m_suggestionColor
| QColor CAutoCompleteLineEdit::m_suggestionColor |
|
private |
◆ m_updateTimer
| QTimer CAutoCompleteLineEdit::m_updateTimer |
|
private |
该类的文档由以下文件生成: