1

Topic: Selection the help in qcombobox

Kind time of days. Prompt how to implement the following. At me is qcombobox and it edited. In it a quantity of records already contains. How to make so that at input in qcombobox started to be deduced (to be shown in the uncovered type), those elements which have too the beginning as entered letters??? Thankful in advance

2

Re: Selection the help in qcombobox

Hello, reider, you wrote: R> Kind time of days. R> prompt how to implement the following. R> at me is qcombobox and it edited. R> in it a quantity of records already contains. R> how to make so that at input in qcombobox started to be deduced (to be shown in the uncovered type), those elements which have too the beginning as entered letters R>??? R> Thankful in advance QCompleter

3

Re: Selection the help in qcombobox

Hello, Qt-Coder, you wrote: QC> Hello, reider, you wrote: R>> Kind time of days. R>> prompt how to implement the following. R>> at me is qcombobox and it edited. R>> in it a quantity of records already contains. R>> how to make so that at input in qcombobox started to be deduced (to be shown in the uncovered type), those elements which have too the beginning as entered letters R>>??? R>> Thankful in advance QC> QCompleter And it is possible a simple example please?

4

Re: Selection the help in qcombobox

Hello, reider, you wrote: R> Kind time of days. R> prompt how to implement the following. R> at me is qcombobox and it edited. R> in it a quantity of records already contains. R> how to make so that at input in qcombobox started to be deduced (to be shown in the uncovered type), those elements which have too the beginning as entered letters R>??? R> Thankful in advance For edited automatically there is an addition, but only the first element from model if it would be desirable to have  the list with a filtration that easier the there is displayed to write through QLabel (a line of search), QListView (all values from model), QSortFilterProxyModel (a filtration on  to the data). Or you can , whether I do not know helps, on currentTextChanged do showPopup and model do not forget to replace QSortFilterProxyModel.setFilterCaseSensitivity (Qt:: CaseInsensitive), approximately so.

5

Re: Selection the help in qcombobox

Hello, reider, you wrote: R> And it is possible a simple example please? An example of that? Documentation not enough? Create QLineEdit + QStandardItemModel + QCompleter.  filled and it is ready.

6

Re: Selection the help in qcombobox

Hello, Igore, you wrote: I> Hello, reider, you wrote: R>> Kind time of days. R>> prompt how to implement the following. R>> at me is qcombobox and it edited. R>> in it a quantity of records already contains. R>> how to make so that at input in qcombobox started to be deduced (to be shown in the uncovered type), those elements which have too the beginning as entered letters R>>??? R>> Thankful in advance I> For edited automatically there is an addition, but only the first element from model if it would be desirable to have  the list with a filtration that easier the there is displayed to write through QLabel (a line of search), QListView (all values from model), QSortFilterProxyModel (a filtration on  to the data). Or you can , whether I do not know helps, on currentTextChanged do showPopup and model do not forget to replace QSortFilterProxyModel.setFilterCaseSensitivity (Qt:: CaseInsensitive), approximately so. Many thanks) I Will be