/*滚动条样式设计*/ QScrollArea { background: transparent; } QScrollArea QWidget { background-color: transparent; } #startUpFrame,#ButtonForm QFrame { border: none; } /*界面背景设置*/ QWidget#localstate { border-image: url(../../resource/zh/workBench/LocalState_background.png); background-repeat: no-repeat; background-position: center; background-size: cover; background-attachment: fixed; } /*本机状态界面样式设置*/ #state_widget QToolButton { border: none; height: 40px; min-width: 70px; padding-top: 45px; font-family: "Microsoft YaHei", sans-serif; font-weight: 400; font-size: 12px; color: #038300; line-height: 14px; text-align: left; font-style: normal; text-transform: none; background-color: transparent; background-repeat: no-repeat; background-position: center; background-size: contain; } /*基础服务按钮*/ #state_widget QToolButton[appId = "1"][state = "11"] { background-image: url(../../resource/zh/workBench/localState/basicApp_master.png); color: #038300; } #state_widget QToolButton[appId = "1"][state = "10"] { background-image: url(../../resource/zh/workBench/localState/basicApp_back.png); color: #0485FF; } #state_widget QToolButton[appId = "1"][state = "01"] { background-image: url(../../resource/zh/workBench/localState/basicApp_stop.png); color: #FF0000; } #state_widget QToolButton[appId = "1"][state = "00"] { background-image: url(../../resource/zh/workBench/localState/basicApp_unknow.png); color: #8D8D8D; } /*公共部分*/ #state_widget QToolButton[appId = "2"][state = "11"] { background-image: url(../../resource/zh/workBench/localState/publicApp_master.png); color: #038300; } #state_widget QToolButton[appId = "2"][state = "10"] { background-image: url(../../resource/zh/workBench/localState/publicApp_back.png); color: #0485FF; } #state_widget QToolButton[appId = "2"][state = "01"] { background-image: url(../../resource/zh/workBench/localState/publicApp_stop.png); color: #FF0000; } #state_widget QToolButton[appId = "2"][state = "00"] { background-image: url(../../resource/zh/workBench/localState/publicApp_unknow.png); color: #8D8D8D; } /*通用部分*/ #state_widget QToolButton[appId = "3"][state = "11"] { background-image: url(../../resource/zh/workBench/localState/generalApp_master.png); color: #038300; } #state_widget QToolButton[appId = "3"][state = "10"] { background-image: url(../../resource/zh/workBench/localState/generalApp_back.png); color: #0485FF; } #state_widget QToolButton[appId = "3"][state = "01"] { background-image: url(../../resource/zh/workBench/localState/generalApp_stop.png); color: #FF0000; } #state_widget QToolButton[appId = "3"][state = "00"] { background-image: url(../../resource/zh/workBench/localState/generalApp_unknow.png); color: #8D8D8D; } /*能源管理1*/ #state_widget QToolButton[appId = "4"][state = "11"], #state_widget QToolButton[appId = "5"][state = "11"], #state_widget QToolButton[appId = "6"][state = "11"], #state_widget QToolButton[appId = "7"][state = "11"], #state_widget QToolButton[appId = "8"][state = "11"], #state_widget QToolButton[appId = "9"][state = "11"], #state_widget QToolButton[appId = "10"][state = "11"] { background-image: url(../../resource/zh/workBench/localState/energyMng_master.png); color: #038300; } #state_widget QToolButton[appId = "4"][state = "10"], #state_widget QToolButton[appId = "5"][state = "10"], #state_widget QToolButton[appId = "6"][state = "10"], #state_widget QToolButton[appId = "7"][state = "10"], #state_widget QToolButton[appId = "8"][state = "10"], #state_widget QToolButton[appId = "9"][state = "10"], #state_widget QToolButton[appId = "10"][state = "10"] { background-image: url(../../resource/zh/workBench/localState/energyMng_back.png); color: #0485FF; } #state_widget QToolButton[appId = "4"][state = "01"], #state_widget QToolButton[appId = "5"][state = "01"], #state_widget QToolButton[appId = "6"][state = "01"], #state_widget QToolButton[appId = "7"][state = "01"], #state_widget QToolButton[appId = "8"][state = "01"], #state_widget QToolButton[appId = "9"][state = "01"], #state_widget QToolButton[appId = "10"][state = "01"] { background-image: url(../../resource/zh/workBench/localState/energyMng_stop.png); color: #FF0000; } #state_widget QToolButton[appId = "4"][state = "00"], #state_widget QToolButton[appId = "5"][state = "00"], #state_widget QToolButton[appId = "6"][state = "00"], #state_widget QToolButton[appId = "7"][state = "00"], #state_widget QToolButton[appId = "8"][state = "00"], #state_widget QToolButton[appId = "9"][state = "00"], #state_widget QToolButton[appId = "10"][state = "00"] { background-image: url(../../resource/zh/workBench/localState/energyMng_unknow.png); color: #8D8D8D; } #customWidget QToolButton ,#boxWidget QToolButton { min-width: 110px; border :none; background-color: #F2F8FF; font-family:"Microsoft YaHei", sans-serif; font-weight: 400; font-size: 12px; color: #004882; line-height: 14px; text-align: center; font-style: normal; text-transform: none; } #customWidget QToolButton:hover ,#boxWidget QToolButton:hover, #state_widget QToolButton:hover { background-color: #C1DCFE; } #StartUpForm QPushButton { border: none; border-radius: 0px 0px 0px 0px; background-repeat: no-repeat; background-position: center; background-size: cover; background-attachment: fixed; } QPushButton#btn_start { background-image: url(../../resource/zh/workBench/stop_state.png); } QPushButton#btn_start:hover , QPushButton#btn_start:pressed { background-image: url(../../resource/zh/workBench/stop_state_hover.png); } QPushButton#btn_stop { background-image: url(../../resource/zh/workBench/run_state.png); } QPushButton#btn_stop:hover , QPushButton#btn_stop:pressed { background-image: url(../../resource/zh/workBench/run_state_hover.png); } QPushButton#btn_sysState { background-image: url(../../resource/zh/workBench/menu_button/sys_state.png); } QPushButton#btn_sysManage { background-image: url(../../resource/zh/workBench/menu_button/sys_mng.png); } QPushButton#btn_sysProcess { background-image: url(../../resource/zh/workBench/menu_button/sys_process.png); } QPushButton#btn_sysSetting { background-image: url(../../resource/zh/workBench/menu_button/sys_setting.png); } QPushButton#btn_sysTool { background-image: url(../../resource/zh/workBench/menu_button/sys_tools.png); } /*菜单按钮按下后样式*/ QPushButton#btn_sysState:pressed,QPushButton#btn_sysState:checked { background-image: url(../../resource/zh/workBench/menu_button/sys_state_pressed.png); } QPushButton#btn_sysManage:pressed,QPushButton#btn_sysManage:checked { background-image: url(../../resource/zh/workBench/menu_button/sys_mng_pressed.png); } QPushButton#btn_sysProcess:pressed,QPushButton#btn_sysProcess:checked { background-image: url(../../resource/zh/workBench/menu_button/sys_process_pressed.png); } QPushButton#btn_sysSetting:pressed,QPushButton#btn_sysSetting:checked { background-image: url(../../resource/zh/workBench/menu_button/sys_set_pressed.png); } QPushButton#btn_sysTool:pressed,QPushButton#btn_sysTool:checked { background-image: url(../../resource/zh/workBench/menu_button/sys_tool_pressed.png); } #StatusForm QLabel { font-family:"Microsoft YaHei", sans-serif; font-weight: 400; font-size: 14px; color: #131313; line-height: 16px; text-align: center; font-style: normal; text-transform: none; } #StatusForm QLabel[state = "1" ] { color: #038300; font-weight: bold; } #StatusForm QLabel[state = "2" ] { color: #FF0000; font-weight: bold; } QLabel#titleLabel { min-height: 22px; font-family:"Microsoft YaHei", sans-serif; font-weight: bold; font-size: 14px; color: #004882; line-height: 16px; text-align: left; font-style: normal; text-transform: none; } /*系统设置样式设计*/ QLabel[type = 'titleComm'], .ButtonForm QLabel { font-family: "Microsoft YaHei", sans-serif; font-weight: bold; font-size: 14px; color: #0B92FF; line-height: 16px; text-align: left; font-style: normal; text-transform: none; } #SystemSetForm QToolButton { background: #0B92FF; border-radius: 0px 0px 0px 0px; font-family: "Microsoft YaHei", sans-serif; font-weight: bold; font-size: 12px; color: #FFFFFF; line-height: 14px; text-align: center; font-style: normal; text-transform: none; } #SystemSetForm QToolButton:hover , #SystemSetForm QToolButton:pressed { background-color: #53b1fc; } QToolButton#btn_Save { height: 40px; min-width: 70px; padding-top: 37px; background-color: transparent; image: url(../../resource/zh/workBench/rightShift.png); padding: 3px; } QToolButton#btn_Delete { height: 40px; min-width: 70px; padding-top: 37px; background-color: transparent; image: url(../../resource/zh/workBench/leftShift.png); padding: 3px; } CheckBoxDialog,InputDialog { min-width: 330px; min-height: 190px; } QTabBar::tab { min-width: 150px; } MenuFrame QPushButton{ min-height: 55px; min-width: 65px; } QStatusBar { max-height: 1px; }