コード例 #1
0
ファイル: EdmBrowserPlugin.py プロジェクト: Andrej-CMS/cmssw
 def _fillMenu(self):
     """ Fill specific menu.
     """
     EventBrowserPlugin._fillMenu(self)
     self._filterBranchesAction = self.application().createAction('&Filter invalid branches', self._filterBranches, "Ctrl+Shift+F")
     self._filterBranchesAction.setCheckable(True)
     self._filterBranchesAction.setChecked(True)
     self._viewMenu.addAction(self._filterBranchesAction)
     self._hideUnderscorePropertiesAction = self.application().createAction('&Hide _underscore properties', self._hideUnderscoreProperties, "Ctrl+Shift+U")
     self._hideUnderscorePropertiesAction.setCheckable(True)
     self._hideUnderscorePropertiesAction.setChecked(True)
     self._viewMenu.addAction(self._hideUnderscorePropertiesAction)
     self._viewMenu.addSeparator()
     self._eventContentAction = self.application().createAction('&Browse event content...', self._eventContent, "Ctrl+Shift+C")
     self._viewMenu.addAction(self._eventContentAction)
     self._viewMenu.addSeparator()
コード例 #2
0
ファイル: EdmBrowserPlugin.py プロジェクト: yjcho10/cmssw
 def _fillMenu(self):
     """ Fill specific menu.
     """
     EventBrowserPlugin._fillMenu(self)
     self._filterBranchesAction = self.application().createAction('&Filter invalid branches', self._filterBranches, "Ctrl+Shift+F")
     self._filterBranchesAction.setCheckable(True)
     self._filterBranchesAction.setChecked(True)
     self._viewMenu.addAction(self._filterBranchesAction)
     self._hideUnderscorePropertiesAction = self.application().createAction('&Hide _underscore properties', self._hideUnderscoreProperties, "Ctrl+Shift+U")
     self._hideUnderscorePropertiesAction.setCheckable(True)
     self._hideUnderscorePropertiesAction.setChecked(True)
     self._viewMenu.addAction(self._hideUnderscorePropertiesAction)
     self._viewMenu.addSeparator()
     self._eventContentAction = self.application().createAction('&Browse event content...', self._eventContent, "Ctrl+Shift+C")
     self._viewMenu.addAction(self._eventContentAction)
     self._viewMenu.addSeparator()