src/eric7/Preferences/ConfigurationPages/ViewmanagerPage.py

branch
eric7
changeset 10428
a071d4065202
parent 10373
093dcebe5ecb
child 10439
21c28b0f9e41
equal deleted inserted replaced
10427:3733e2b23cf7 10428:a071d4065202
70 @pyqtSlot(int) 70 @pyqtSlot(int)
71 def on_windowComboBox_activated(self, index): 71 def on_windowComboBox_activated(self, index):
72 """ 72 """
73 Private slot to show a preview of the selected workspace view type. 73 Private slot to show a preview of the selected workspace view type.
74 74
75 @param index index of selected workspace view type (integer) 75 @param index index of selected workspace view type
76 @type int
76 """ 77 """
77 workspace = self.windowComboBox.itemData(self.windowComboBox.currentIndex()) 78 workspace = self.windowComboBox.itemData(self.windowComboBox.currentIndex())
78 pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace) 79 pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace)
79 80
80 self.previewPixmap.setPixmap(pixmap) 81 self.previewPixmap.setPixmap(pixmap)
84 def create(dlg): # noqa: U100 85 def create(dlg): # noqa: U100
85 """ 86 """
86 Module function to create the configuration page. 87 Module function to create the configuration page.
87 88
88 @param dlg reference to the configuration dialog 89 @param dlg reference to the configuration dialog
89 @return reference to the instantiated page (ConfigurationPageBase) 90 @type ConfigurationDialog
91 @return reference to the instantiated page
92 @rtype ConfigurationPageBase
90 """ 93 """
91 page = ViewmanagerPage() 94 page = ViewmanagerPage()
92 return page 95 return page

eric ide

mercurial