QWidget#qssTitleBar{ color: white; background: rgb(51,101,177); border: 0px; margin: 0px; } QWidget#qssTitleBar > QPushButton#titlebaricon{ background: rgb(51,101,177); width: 25px; height:25px; } QWidget#qssTitleBar > QPushButton#titlebarclosebtn{ image: url(":/qss/icon/btn_close_down.svg"); background: rgb(51,101,177); width: 25px; height:25px; margin-left: 1px; } QWidget#qssTitleBar >QPushButton#titlebarmaxbtn{ background: rgb(51,101,177); width: 25px; height:25px; margin-left: 1px; image: url(":/qss/icon/btn_max_normal.svg"); } QWidget#qssTitleBar >QPushButton#titlebarclosebtn:enabled:hover{ background: red; } QWidget#qssTitleBar >QPushButton#titlebarminbtn{ image: url(":/qss/icon/btn_mini_down.svg"); background: rgb(51,101,177); width: 25px; height:25px; margin-left: 1px; } QWidget#qssTitleBar >QPushButton#titlebarminbtn:enabled:hover{ background: rgb(187, 212, 238); } QWidget#qssTitleBar >QPushButton#titlebarrestorebtn{ image: url(":/qss/icon/btn_max_normal.svg"); background: rgb(187, 212, 238); width: 25px; height:25px; margin-left: 1px; margin-right: 2px; } QWidget#qssTitleBar >QPushButton#titlebarrestorebtn:enabled:hover{ background: rgb(187, 212, 238); } QWidget#qssTitleBar >QPushButton#btn_serial:!enabled { background: rgb(180, 180, 180); color: white; } QWidget#qssTitleBar >QPushButton#titlebarmaxbtn:enabled:hover{ background: rgb(100, 160, 220); } QWidget#qssTitleBar > QLabel#title{ color: white; font-size: 13px; font-family: monospace; }