Hello All,

I would Like to implement something similar to the image below, But I have no idea how to create the effect of the spotlight on the particular item once the search function finds the right name.

dns-network-search.jpg


Here is what I have done so far:

I created a 6x8 QTableWidget, and inside this table widget I inserted arbitrary values (for convenience I entered the values from 1 to 49 in order). Then I stored those values in a QMap. The QMap was created such that my key will be the arbitrary values since thats what the user will eventually input in order to find it. For the values of the QMap I stored the location of the value (row,column).

Thus, the QMap<int,QPair<int,int>> search_parameter

Now, again what I would like to do is to put a QLineEdit, so that when the user inputs some arbitrary value (in this case any number from 1 to 49). In the table it reflects an effect as shown in the picture above. Or something similar.

Sorry for the poor explanation if you guys have any question don't be afraid to ask. Thanks in advance