How do i make my text in QStandardItem to link to open default browser?
umen242 last edited by
Im using QStandardItem as my model items . i was reading about QStyledItemDelegate to manipulate the item's but im not sure it the right answer to my problem . and if it is .
how should my paint method should look like to be able me to make the text clickable
and open the pc default browser with a link
dakron last edited by
One of the possible solutions is to handle the click event properly and use the QDesktopServices::openUrl() with the text from your item.