| 
						
						
							
								
							
						
						
					 | 
					@ -12,25 +12,34 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					namespace QtMvvm { | 
					 | 
					 | 
					namespace QtMvvm { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					class DataSyncWindowPrivate; | 
					 | 
					 | 
					class DataSyncWindowPrivate; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					//! The widgets view implementation for the DataSyncViewModel
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					class Q_MVVMDATASYNCWIDGETS_EXPORT DataSyncWindow : public QWidget | 
					 | 
					 | 
					class Q_MVVMDATASYNCWIDGETS_EXPORT DataSyncWindow : public QWidget | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					{ | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						Q_OBJECT | 
					 | 
					 | 
						Q_OBJECT | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! A helper property to set and reset the sync progress automatically
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						Q_PROPERTY(double syncProgress READ syncProgress WRITE setSyncProgress) | 
					 | 
					 | 
						Q_PROPERTY(double syncProgress READ syncProgress WRITE setSyncProgress) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! A helper property to set the error text properly
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						Q_PROPERTY(QString errorText READ errorText WRITE setErrorText) | 
					 | 
					 | 
						Q_PROPERTY(QString errorText READ errorText WRITE setErrorText) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					public: | 
					 | 
					 | 
					public: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! View constructor
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						Q_INVOKABLE explicit DataSyncWindow(QtMvvm::ViewModel *viewModel, QWidget *parent = nullptr); | 
					 | 
					 | 
						Q_INVOKABLE explicit DataSyncWindow(QtMvvm::ViewModel *viewModel, QWidget *parent = nullptr); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						~DataSyncWindow(); | 
					 | 
					 | 
						~DataSyncWindow(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! @readAcFn{DataSyncWindow::syncProgress}
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						double syncProgress() const; | 
					 | 
					 | 
						double syncProgress() const; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! @readAcFn{DataSyncWindow::errorText}
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						QString errorText() const; | 
					 | 
					 | 
						QString errorText() const; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					public Q_SLOTS: | 
					 | 
					 | 
					public Q_SLOTS: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! @writeAcFn{DataSyncWindow::syncProgress}
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						void setSyncProgress(double syncProgress); | 
					 | 
					 | 
						void setSyncProgress(double syncProgress); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! @writeAcFn{DataSyncWindow::errorText}
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						void setErrorText(QString errorText); | 
					 | 
					 | 
						void setErrorText(QString errorText); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					protected Q_SLOTS: | 
					 | 
					 | 
					protected Q_SLOTS: | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
						//! Is called by the view as soon as the viewmodel has been completly loaded
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
						virtual void viewModelReady(); | 
					 | 
					 | 
						virtual void viewModelReady(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					private Q_SLOTS: | 
					 | 
					 | 
					private Q_SLOTS: | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |