Picture control in QT
-
20-09-2019 - |
Question
i am learning QT, i am not getting how to get the picture control in QT?. in .net we have picture control right same way i need in QT. i know text edit support pictures but is there any alternatives. please tell if so.
Thanks
Solution
I assume that you mean a control for showing pictures. In that case, simply use a QLabel and call setPixmap. There is a more versatile, but less polished picture widget here.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow