可以使用样式表实现
只需要在主窗口中调用setStyleSheet函数
样式表如下
QMainWindow::separator{
background:rgb(255,0,0);
width:2px;
height:1px;
}
可以使用样式表实现
只需要在主窗口中调用setStyleSheet函数
样式表如下
QMainWindow::separator{
background:rgb(255,0,0);
width:2px;
height:1px;
}