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 |