自学QT之让label透明和隐藏标题栏

QLabel *label = new QLabel; label->setAttribute(Qt::WA_TranslucentBackground); label->setStyleSheet("background:transparent"); 两个均可以less 隐藏标题栏代码:this this->setWindowFlags(Qt::FramelessWindowHint);//在设
相关文章
相关标签/搜索