Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
FWCore
GuiBrowsers
python
Vispa
Plugins
EdmBrowser
EdmBrowserTab.py
Go to the documentation of this file.
1
import
logging
2
3
from
PyQt4.QtGui
import
QWidget
4
5
from
Vispa.Gui.Header
import
FrameWithHeader
6
from
Vispa.Plugins.Browser.BrowserTab
import
BrowserTab
7
from
Vispa.Plugins.EdmBrowser.BranchTableView
import
BranchTableView
8
9
class
EdmBrowserTab
(
BrowserTab
):
10
def
__init__
(self, parent):
11
BrowserTab.__init__(self, parent)
12
13
def
createTreeView
(self,parent=None):
14
""" Create the tree view.
15
"""
16
if
not
parent:
17
parent=self.
horizontalSplitter
()
18
19
self.
_treeviewArea
=
FrameWithHeader
(parent)
20
self._treeviewArea.header().setText(
"Branches"
)
21
self.
_treeViewMenuButton
= self._treeviewArea.header().createMenuButton()
22
self.
_treeView
=
BranchTableView
(self.
_treeviewArea
)
23
self._treeviewArea.addWidget(self.
_treeView
)
Vispa.Plugins.EdmBrowser.EdmBrowserTab.EdmBrowserTab.createTreeView
def createTreeView
Definition:
EdmBrowserTab.py:13
Vispa.Plugins.EdmBrowser.EdmBrowserTab.EdmBrowserTab
Definition:
EdmBrowserTab.py:9
Vispa.Plugins.Browser.BrowserTab
Definition:
BrowserTab.py:1
Vispa.Gui.Header
Definition:
Header.py:1
Vispa.Plugins.EdmBrowser.BranchTableView.BranchTableView
Definition:
BranchTableView.py:5
Vispa.Main.SplitterTab.SplitterTab.horizontalSplitter
def horizontalSplitter
Definition:
SplitterTab.py:46
Vispa.Gui.Header.FrameWithHeader
Definition:
Header.py:5
Vispa.Plugins.Browser.BrowserTab.BrowserTab
Definition:
BrowserTab.py:14
Vispa.Plugins.EdmBrowser.BranchTableView
Definition:
BranchTableView.py:1
Vispa.Plugins.Browser.BrowserTab.BrowserTab._treeView
_treeView
Definition:
BrowserTab.py:21
Vispa.Plugins.Browser.BrowserTab.BrowserTab._treeViewMenuButton
_treeViewMenuButton
Definition:
BrowserTab.py:42
Vispa.Plugins.EdmBrowser.EdmBrowserTab.EdmBrowserTab.__init__
def __init__
Definition:
EdmBrowserTab.py:10
QtGui
Vispa.Plugins.Browser.BrowserTab.BrowserTab._treeviewArea
_treeviewArea
Definition:
BrowserTab.py:39
Generated for CMSSW Reference Manual by
1.8.5