添加图标
This commit is contained in:
		
							parent
							
								
									4824737145
								
							
						
					
					
						commit
						735b4ab5ef
					
				
										
											Binary file not shown.
										
									
								
							@ -104,6 +104,9 @@ class MainWindow(QMainWindow, Ui_MainWindow):
 | 
			
		||||
        #基础设置
 | 
			
		||||
        super().__init__(parent)
 | 
			
		||||
        self.setupUi(self)
 | 
			
		||||
        if os.path.exists(os.path.join(os.getcwd(),'ui','ra3.ico')):
 | 
			
		||||
            self.icon = QIcon(os.path.join(os.getcwd(),'ui','ra3.ico'))
 | 
			
		||||
            self.setWindowIcon(self.icon)
 | 
			
		||||
        self.version = '1.0.0'
 | 
			
		||||
        #--------------------------
 | 
			
		||||
        #连接信号
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								ui/格式转换.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								ui/格式转换.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,2 @@
 | 
			
		||||
pyside2-uic [你保存的文件名].ui > ***.py
 | 
			
		||||
另外别忘了将生成的文件另存为utf-8
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user