Preferences/ConfigurationPages/IconsPage.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3010
befeff46ec0f
child 3058
0a02c433f52d
equal deleted inserted replaced
3056:9986ec0e559a 3057:10516539f238
51 dirList.append(self.iconDirectoryList.item(i).text()) 51 dirList.append(self.iconDirectoryList.item(i).text())
52 Preferences.setIcons("Path", dirList) 52 Preferences.setIcons("Path", dirList)
53 53
54 def on_iconDirectoryList_currentRowChanged(self, row): 54 def on_iconDirectoryList_currentRowChanged(self, row):
55 """ 55 """
56 Private slot to handle the currentRowChanged signal of the icons directory list. 56 Private slot to handle the currentRowChanged signal of the icons
57 directory list.
57 58
58 @param row the current row (integer) 59 @param row the current row (integer)
59 """ 60 """
60 if row == -1: 61 if row == -1:
61 self.deleteIconDirectoryButton.setEnabled(False) 62 self.deleteIconDirectoryButton.setEnabled(False)
175 def create(dlg): 176 def create(dlg):
176 """ 177 """
177 Module function to create the configuration page. 178 Module function to create the configuration page.
178 179
179 @param dlg reference to the configuration dialog 180 @param dlg reference to the configuration dialog
181 @return reference to the instantiated page (ConfigurationPageBase)
180 """ 182 """
181 page = IconsPage() 183 page = IconsPage()
182 return page 184 return page

eric ide

mercurial