2021年3月19日星期五

Stylesheet does not work with special characters pyqt

Could not parse stylesheet of object 0x2d956381ba0  

enter image description here

   def change_btn_image(self, btn):      imagem = self.atv_imagens_bd[self.atividades.get_contador()]      nome_imagem = imagem[:-4]      print(nome_imagem)        btn.setStyleSheet(f"border-image: url(src/main/resources/base/{imagem});")      return nome_imagem  
https://stackoverflow.com/questions/66717809/stylesheet-does-not-work-with-special-characters-pyqt March 20, 2021 at 10:53AM

没有评论:

发表评论