[ui][settings] improvements

This commit is contained in:
Vinícius Moreira
2020-01-24 13:21:46 -03:00
parent c8a4370ff0
commit f37e66a63c
10 changed files with 205 additions and 27 deletions

View File

@@ -3,7 +3,7 @@ import os
import shutil
from abc import ABC, abstractmethod
from pathlib import Path
from typing import List, Set, Type
from typing import List, Set, Type, Tuple
import yaml
@@ -279,3 +279,9 @@ class SoftwareManager(ABC):
:return: a form abstraction with all available settings
"""
pass
def save_settings(self, component: ViewComponent) -> Tuple[bool, List[str]]:
"""
:return: a tuple with a bool informing if the settings were saved and a list of error messages
"""
pass