开发者

Picture control in QT

开发者 https://www.devze.com 2022-12-20 08:21 出处:网络
i am learning QT, i am not getting how to get the picture control in QT?. in .net we have picture control right same wa开发者_C百科y i need in QT.

i am learning QT, i am not getting how to get the picture control in QT?. in .net we have picture control right same wa开发者_C百科y i need in QT. i know text edit support pictures but is there any alternatives. please tell if so.

Thanks


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消