PDA

View Full Version : records to be displayed when i enter in LineEdit.pls help



pavani_devara
15th October 2014, 20:40
How to get all column data from a single row with a QTableView from the line edit,


I have 5 columns and 10 rows
Here A-E are columnnames/fieldnames,
Below each columns name a line edit is placed through QmodelIndex.
Below linedit,all 10 record displayed.
when I enter text/numeric in any LineEdit, i need to display all column data should filter/queryied for the corresponding entered data. how to display.

I used TableWidget to display the databse in table view.
A B C D E
lINEEDIT lINEEDIT lINEEDIT lINEEDIT lINEEDIT

1
2
3
4
5
6
7
8
9
12

Any help is most appreciated.

wysota
16th October 2014, 10:22
QSortFilterProxyModel