#sidebarFrame { background: #8af; border: none; border-right: 1px solid black; } 在sidebarFrame中添加一个QFrame QFrame.S