1
A
回答
4
QGraphicsView
繼承自QFrame
。使用setFrameStyle
方法和lineWidth
屬性更改框架appearance。
0
您也可以使用樣式表來自定義QFrame的外觀(包括邊框),請參閱stylesheet doc。
爲了讓您的小部件看起來平坦,只需添加以下CSS:border: 0px
相關問題
- 1. 如何讓QGraphicsScene的左上角與QGraphicsView的左上角重合?
- 2. 我如何讓非光滑/逐步scolling中的QGraphicsView
- 3. Python Numpy Flat Function
- 4. AQL return flat merged list
- 5. Tabtab中MakingTabItem FLAT(WPF)
- 6. 變量中的值如何到達Flat File Connection Manager和/或Flat File Source?
- 7. 如何在QGraphicsView :: Scale後調整QGraphicsView的尺寸
- 8. QGraphicsView :: setScene()
- 9. QGraphicsView/QGraphicsItem
- 10. Qt QGraphicsView:在選項卡內顯示QGraphicsView
- 11. 的Qt的QGraphicsView單元測試 - 如何讓鼠標在「按下」狀態?
- 12. Magento:Magento前端的Flat Calender
- 13. 使用CSS的Flat CheckBox
- 14. CSV to flat xml java程序
- 15. 如何在滾動QGraphicsView時移動QGraphicsItem?
- 16. 如何在QGraphicsView上添加效果?
- 17. 如何優化QGraphicsView的性能?
- 18. 如何在QGraphicsView/Scene上繪製QPoint
- 19. 如何在QGraphicsView上使用mouseEvent
- 20. 如何在qgraphicsview中移動QPixMapImage
- 21. 如何在QGraphicsView中添加幾個QImage?
- 22. PyQT5:我如何繪製現有的QGraphicsVIew?
- 23. 如何打印QGraphicsView的內容
- 24. 如何使用按鈕放大QgraphicsView?
- 25. 如何在QGraphicsView中顯示PGM文件?
- 26. 如何重置QGraphicsView中的比例?
- 27. 如何在QGraphicsView的中心顯示QDialog?
- 28. 如何保存QGraphicsView中的圖像?
- 29. 如何在QGraphicsView中實現菜單欄?
- 30. QGraphicsView如何變成可滑動的?