Obsolete Members for QComboBox
The following members of class QComboBox are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
(obsolete)
autoCompletion : bool(obsolete)
autoCompletionCaseSensitivity : Qt::CaseSensitivity
- 1 个属性继承自 QWidget
属性
autoCompletion : bool
This property holds whether the combobox provides auto-completion for editable items
Use setCompleter() instead.
By default, this property is true
.
This property was introduced in Qt 4.1.
访问函数:
bool | autoCompletion() const |
void | setAutoCompletion(bool enable) |
参见 editable.
autoCompletionCaseSensitivity : Qt::CaseSensitivity
This property holds whether string comparisons are case-sensitive or case-insensitive for auto-completion
By default, this property is Qt::CaseInsensitive.
Use setCompleter() instead. Case sensitivity of the auto completion can be changed using QCompleter::setCaseSensitivity().
访问函数:
Qt::CaseSensitivity | autoCompletionCaseSensitivity() const |
void | setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity) |
参见 autoCompletion.
成员函数
bool QComboBox::autoCompletion() const
Use setCompleter() instead.
Note: Getter function for property autoCompletion.
参见 setAutoCompletion().
Qt::CaseSensitivity QComboBox::autoCompletionCaseSensitivity() const
Use setCompleter() and QCompleter::setCaseSensitivity() instead.
Note: Getter function for property autoCompletionCaseSensitivity.
参见 setAutoCompletionCaseSensitivity().
void QComboBox::setAutoCompletion(bool enable)
Use setCompleter() instead.
Note: Setter function for property autoCompletion.
参见 autoCompletion().
void QComboBox::setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity)
Use setCompleter() and QCompleter::setCaseSensitivity() instead.
Note: Setter function for property autoCompletionCaseSensitivity.