【轉】Qt實現具有反鋸齒的圓角窗口:不規則窗口

    在Qt裏實現這個功能一點也不難: 1. 使用Photoshop做出不規則窗口效果,或者使用反鋸齒功能在Widget上繪製背景,就是普通的繪圖。 2. 創建主窗口widget,設置他的   window->setWindowFlags(Qt::FramelessWindowHint);   window->setAttribute(Qt::WA_TranslucentBackground)
相關文章
相關標籤/搜索