66 "TabViewManagerFilenameOnly", self.filenameOnlyCheckBox.isChecked() |
66 "TabViewManagerFilenameOnly", self.filenameOnlyCheckBox.isChecked() |
67 ) |
67 ) |
68 Preferences.setUI("RecentNumber", self.recentFilesSpinBox.value()) |
68 Preferences.setUI("RecentNumber", self.recentFilesSpinBox.value()) |
69 |
69 |
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 |
75 @param _index index of selected workspace view type (unused) |
76 @type int |
76 @type int |
77 """ |
77 """ |
78 workspace = self.windowComboBox.itemData(self.windowComboBox.currentIndex()) |
78 workspace = self.windowComboBox.itemData(self.windowComboBox.currentIndex()) |
79 pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace) |
79 pixmap = self.pluginManager.getPluginPreviewPixmap("viewmanager", workspace) |
80 |
80 |