1212    Keys .IMPORT_STATUS : None ,
1313    Keys .RECOMMENDED_INS_SETTINGS : [],
1414    Keys .NEW_INS_CONFIRMATON : False ,
15+     Keys .NOTIFICATION : "" ,
1516}
1617
1718
@@ -25,6 +26,7 @@ class SettingsTabData(QObject):
2526    _import_status : str  =  "" 
2627    _recommended_ins_settings : List [List [Any ]] =  []
2728    _new_ins_confirmation : bool  =  False 
29+     _notification : str  =  "" 
2830
2931    def  get_import_status (self ) ->  str :
3032        return  self ._import_status 
@@ -52,13 +54,23 @@ def get_new_ins_confirmation(self) -> bool:
5254
5355    new_ins_confirmation  =  Property (bool , get_new_ins_confirmation , set_new_ins_confirmation )
5456
57+     def  get_notification (self ) ->  str :
58+         return  self ._notification 
59+ 
60+     def  set_notification (self , notification : str ) ->  None :
61+         self ._notification  =  notification 
62+ 
63+     notification  =  Property (str , get_notification , set_notification )
64+ 
5565
5666class  SettingsTabModel (QObject ):  # pylint: disable=too-few-public-methods 
5767    @Slot (SettingsTabData )  # type: ignore  
5868    def  fill_data (self , cp : SettingsTabData ) ->  SettingsTabData :  # pylint:disable=no-self-use 
5969        cp .set_import_status (SETTINGS_TAB [Keys .IMPORT_STATUS ])
6070        cp .set_recommended_ins_settings (SETTINGS_TAB [Keys .RECOMMENDED_INS_SETTINGS ])
6171        cp .set_new_ins_confirmation (SETTINGS_TAB [Keys .NEW_INS_CONFIRMATON ])
72+         cp .set_notification (SETTINGS_TAB [Keys .NOTIFICATION ])
73+         SETTINGS_TAB [Keys .NOTIFICATION ] =  "" 
6274        return  cp 
6375
6476    @Slot (SettingsTabData )  # type: ignore  
0 commit comments