You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					11 lines
				
				208 B
			
		
		
			
		
	
	
					11 lines
				
				208 B
			| 
								 
											5 years ago
										 
									 | 
							
								#pragma once
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <QtWidgets>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								inline void configFont(QPainter &p, QString family, int size, const QString &style) {
							 | 
						||
| 
								 | 
							
								  QFont f(family);
							 | 
						||
| 
								 | 
							
								  f.setPixelSize(size);
							 | 
						||
| 
								 | 
							
								  f.setStyleName(style);
							 | 
						||
| 
								 | 
							
								  p.setFont(f);
							 | 
						||
| 
								 | 
							
								}
							 |