Pyqt5之setStyleSheet

<?xml version="1.0" encoding="UTF-8"?> MainWindow 0 0 1280 840 MainWindow 0 0 Qt::Horizontal 40 20 0 0 Arial Black 24 75 true QLabel{ background-color: rgb(255, 255, 255); border: none; border-radius:30px; } res/awinic.png Qt::AlignCenter Qt::Horizontal 40 20 Times New Roman 28 75 true Reliability Test Qt::AlignCenter Qt::Horizontal 40 20 0 QFrame::StyledPanel QFrame::Raised 0 0 0 5 0 10 Item List 5 5 5 5 5 QFrame{ background-color: rgb(220, 255, 255); border-style: soild; border-color: rgb(100, 100, 100); border: 5px; } QFrame::WinPanel QFrame::Sunken 15 重载煲机测试 重载EN上下电测试 短路EN上下电测试 短路恢复测试 输出短路测试 输入断路测试 Qt::Vertical 20 191 0 5 0 5 0 5 0 35 Arial 75 true QPushButton { background-color: rgb(190, 210, 255); border-color: rgb(150, 150, 150); border-width: 2px; border-style: outset; border-radius: 8px; } QPushButton:pressed { background-color: rgb(150, 150, 250); } Select All 0 35 Arial 75 true QPushButton { background-color: rgb(190, 210, 255); border-color: rgb(150, 150, 150); border-width: 2px; border-style: outset; border-radius: 8px; } QPushButton:pressed { background-color: rgb(150, 150, 250); } Select No Output Reference 5 5 0 5 0 5 5 Arial 75 true Output Vol.(V): Arial 12 5 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Arial 75 true EN Vol.(V): Arial 12 3.3 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Arial 75 true RESV Vol.(V): Arial 12 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Total Test 5 5 0 5 5 Arial 75 true Success Times: Arial 12 99 32774 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Arial 75 true Failed Times: Arial 12 1 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Arial 75 true Total Times: Arial 12 1000000 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter Arial 75 true Total Items: Arial 12 6 Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter QFrame::StyledPanel QFrame::Raised 0 0 18 0 0 5 0 0 0 0 0 0 Qt::LeftToRight false QHeaderView::section { background-color:rgb(250, 250, 250); font:11pt '宋体'; color: black; } QFrame::WinPanel true true true false 30 105 true false true true false 25 30 false 1 2 3 4 5 6 Item List Description Low Limit High Limit Expt. Value Units Value Result 0 0 80 QProgressBar{ border-radius: 5px; border: 2px solid grey; color: blue; text-align: center; background: rgb(255, 255, 255); font:30px; } 80 true false QProgressBar{ border: 1px solid grey; border-radius: 5px; text-align: center; background: rgb(255, 255, 255); color: blue; font:12px; } QProgressBar:chunk{ background-color: green; width: 10px; margin: 0.5px; } 24 0 110 Arial 26 75 true QPushButton{ background-color: rgb(0, 255, 0); border-color: rgb(255, 255, 255); border-style: outset; border-width: 5px; border-radius:10px; padding: 5px; color:white; } QPushButton:pressed{ background-color: rgb(0, 255, 127); } RUN true 0 50 Arial 16 75 true QPushButton{ background-color: rgb(255, 52, 179); border-color: beige; border-style: outset; border-width: 5px; border-radius:10px; padding: 5px; color:white } QPushButton:pressed{ background-color: rgb(255, 0, 179); } Repeat 0 50 Arial 16 75 true QPushButton{ background-color: rgb(179, 128, 252); border-color: beige; border-style: outset; border-width: 5px; border-radius:10px; padding: 5px; color:white } QPushButton:pressed{ background-color: rgb(179, 64, 252); } Continue background-color: rgb(170, 255, 255); QFrame::WinPanel true background-color: rgb(255, 255, 255); QFrame::WinPanel true 0 0 1280 23 File Tool Help Save Project Load Project About Tool Tool btn_select_all clicked() MainWindow onBtnSelectAll() 60 496 10 502 btn_select_no clicked() MainWindow onBtnSelectNo() 242 510 5 532 onBtnSelectAll() onBtnSelectNo()
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值