QPushButton[ssType="mainSwitcher"] { border-radius: 0px; /* width: 120; height: 108;*/ width: 64; height: 64; font-size:12px; color:rgba(42,42,42,1); } QPushButton[ssType="mainSwitcher"]:checked, QPushButton[ssType="mainSwitcher"]:hover { background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #D8D8D8, stop: 1.0 #8FC0D6); color: rgba(15, 119, 200, 1); } QPushButton[ssType="devicesControl"] { border-radius: 1px; width: 88; height: 88; font-size:14px; color:rgba(42,42,42,1); /* background-color: rgba(255,0,255,1);*/ } QPushButton[ssType="devicesControl"]:checked, QPushButton[ssType="devicesControl"]:hover { font-size:15px; font-weight:80px; color: rgba(15, 89, 250, 1); } QPushButton#bnDeviceManager { image: url(:/res/DeviceManager_u.png); } QPushButton#bnDeviceManager:checked, QPushButton#bnDeviceManager:hover { image: url(:/res/DeviceManager_s.png); } QPushButton#bnProgramManager { image: url(:/res/ProgramManager_u.png); } QPushButton#bnProgramManager:checked, QPushButton#bnProgramManager:hover { image: url(:/res/ProgramManager_s.png); } QPushButton#bnAdvanceManager { image: url(:/res/AdvanceManager_u.png); } QPushButton#bnAdvanceManager:checked, QPushButton#bnAdvanceManager:hover { image: url(:/res/AdvanceManager_s.png); } QPushButton#bnGuangYinPin { image: url(:/res/GuangYingPin_u.png); } QPushButton#bnGuangYinPin:checked, QPushButton#bnGuangYinPin:hover { image: url(:/res/GuangYingPin_s.png); } QPushButton#bnDeviceSetting { image: url(:/res/DeviceSetting_u.png); } QPushButton#bnDeviceSetting:checked, QPushButton#bnDeviceSetting:hover { image: url(:/res/DeviceSetting_s.png); }