src/eric7/WebBrowser/PersonalInformationManager/PersonalInformationManager.py

branch
eric7
changeset 9482
a2bc06a54d9d
parent 9473
3f23dbf37dbe
child 9653
e67609152c5e
equal deleted inserted replaced
9481:0b936ff1bbb9 9482:a2bc06a54d9d
111 self.__infoMatches[self.Country] = ["country"] 111 self.__infoMatches[self.Country] = ["country"]
112 self.__infoMatches[self.HomePage] = ["homepage", "www"] 112 self.__infoMatches[self.HomePage] = ["homepage", "www"]
113 113
114 self.__loaded = True 114 self.__loaded = True
115 115
116 def showConfigurationDialog(self): 116 def showConfigurationDialog(self, parent=None):
117 """ 117 """
118 Public method to show the configuration dialog. 118 Public method to show the configuration dialog.
119
120 @param parent reference to the parent widget
121 @type QWidget
119 """ 122 """
120 from .PersonalDataDialog import PersonalDataDialog 123 from .PersonalDataDialog import PersonalDataDialog
121 124
122 dlg = PersonalDataDialog() 125 dlg = PersonalDataDialog(parent=parent)
123 if dlg.exec() == QDialog.DialogCode.Accepted: 126 if dlg.exec() == QDialog.DialogCode.Accepted:
124 dlg.storeData() 127 dlg.storeData()
125 self.__loadSettings() 128 self.__loadSettings()
126 129
127 def createSubMenu(self, menu, view, hitTestResult): 130 def createSubMenu(self, menu, view, hitTestResult):

eric ide

mercurial