在上面的一篇文章中我介紹了qt模仿qq截圖的一種當時,這次採用QPainterPath這個類來模仿qq截圖,代碼更簡單了,在這篇文章的最後我會附上這個小demo的源碼,下面先來看看效果圖吧:
源碼下載:github點此下載
csdn下載鏈接
{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null},"content":[{"typ
{"type":"doc","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null,"origin":null}},{"type":"paragr
{"type":"doc","content":[{"type":"blockquote","content":[{"type":"paragraph","attrs":{"indent":0,"number":0,"align":null