mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 04:00:04 +00:00 
			
		
		
		
	Fix up custom map inputs, making it easier for others to use
This commit is contained in:
		
							parent
							
								
									c9ead60dd4
								
							
						
					
					
						commit
						fee00b737a
					
				
					 11 changed files with 425 additions and 65 deletions
				
			
		|  | @ -1,5 +1,6 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <optional> | ||||
| #include <scwx/qt/settings/settings_interface_base.hpp> | ||||
| 
 | ||||
| #include <functional> | ||||
|  | @ -130,6 +131,13 @@ public: | |||
|     */ | ||||
|    void EnableTrimming(bool trimmingEnabled = true); | ||||
| 
 | ||||
|    /**
 | ||||
|     * Set a tooltip to be displayed when an invalid input is given. | ||||
|     * | ||||
|     * @param tooltip the tooltip to be displayed | ||||
|     */ | ||||
|    void SetInvalidTooltip(std::optional<std::string> tooltip); | ||||
| 
 | ||||
| private: | ||||
|    class Impl; | ||||
|    std::unique_ptr<Impl> p; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak