You use QJsonDocument to parse the JSON data, extract the values you need and then call setText() on your text fields.
Cheers,
_
You use QJsonDocument to parse the JSON data, extract the values you need and then call setText() on your text fields.
Cheers,
_
shoeb (14th April 2016)
It worked.. thanks
Added after 6 minutes:
Hi.. thanks for help.. one more question.. On menu bar under help, i have a shortcut button and after click on that button i want to open new window with list of shortcut's.
I am able to open new window but not getting how to display list? how should i proceed?
--Shoeb
Last edited by shoeb; 14th April 2016 at 12:44.
If you mean shortcuts on QActions, then you need some way to get all QActions, e.g. by storing their pointers in a QList member.
Then you can iterate through that list and get the name shortcut from each and put those into e.g. a QTableWidget
Cheers,
_
shoeb (15th April 2016)
Bookmarks