1. setWindowOpacity() // 窗口及其子窗口同样被设置。 可以设置透明,不透明,半透明 2. setStyleSheet () // 设置 background: rgba(); 窗口中的内容单个设置