mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Preferenced UI: add dive download tab
Add a preferences tab for dive download, allowing resetting the buttons representing download connections in the Download panel. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									f63f3eb4ae
								
							
						
					
					
						commit
						b24caa4e2d
					
				
					 11 changed files with 180 additions and 30 deletions
				
			
		|  | @ -15,6 +15,7 @@ | |||
| #include "qPrefUnit.h" | ||||
| #include "qPrefUpdateManager.h" | ||||
| #include "qPrefEquipment.h" | ||||
| #include "qPrefMedia.h" | ||||
| 
 | ||||
| #include <QtQml> | ||||
| #include <QQmlContext> | ||||
|  | @ -40,6 +41,7 @@ void qPref::loadSync(bool doSync) | |||
| 	qPrefUnits::loadSync(doSync); | ||||
| 	qPrefUpdateManager::loadSync(doSync); | ||||
| 	qPrefEquipment::loadSync(doSync); | ||||
| 	qPrefMedia::loadSync(doSync); | ||||
| } | ||||
| 
 | ||||
| Q_DECLARE_METATYPE(deco_mode); | ||||
|  | @ -64,6 +66,8 @@ void qPref::registerQML(QQmlEngine *engine) | |||
| 		ct->setContextProperty("PrefUnits", qPrefUnits::instance()); | ||||
| 		ct->setContextProperty("PrefUpdateManager", qPrefUpdateManager::instance()); | ||||
| 		ct->setContextProperty("PrefEquipment", qPrefUpdateManager::instance()); | ||||
| 		ct->setContextProperty("PrefMedia", qPrefUpdateManager::instance()); | ||||
| 		ct->setContextProperty("PrefClearDc", qPrefUpdateManager::instance()); | ||||
| 	} | ||||
| 
 | ||||
| 	// Register special types
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue