Version: 8.3.0
gui.Item.Item Class Reference
Inheritance diagram for gui.Item.Item:

Public Member Functions

def __init__
 
def isExpandable
 
def getChildren
 
def father
 
def getIconName
 
def panel
 
def box
 
def selected
 
def dblselected
 

Public Attributes

 label
 
 emitting
 

Detailed Description

Definition at line 25 of file Item.py.

Constructor & Destructor Documentation

def gui.Item.Item.__init__ (   self,
  label = "" 
)

Definition at line 26 of file Item.py.

26 
27  def __init__(self,label=""):
28  self.label=label
29  self.emitting=0

Member Function Documentation

def gui.Item.Item.box (   self,
  parent 
)
Retourne un widget pour browser/editer l'item

Definition at line 48 of file Item.py.

48 
49  def box(self,parent):
50  """Retourne un widget pour browser/editer l'item"""
51  qvbox=QVBox(parent)
52  label=QLabel("Default Panel",qvbox)
53  label.setAlignment( Qt.AlignHCenter | Qt.AlignVCenter )
54  return qvbox
def gui.Item.Item.dblselected (   self)
Method called on double selection

Definition at line 58 of file Item.py.

58 
59  def dblselected(self):
60  """Method called on double selection"""
61  #print "Item dblselected"
62 
63 ADAPT=adapt.adapt
items={}
def gui.Item.Item.father (   self)

Definition at line 35 of file Item.py.

35 
36  def father(self):
37  return None
def gui.Item.Item.getChildren (   self)

Definition at line 33 of file Item.py.

33 
34  def getChildren(self):
return []
def gui.Item.Item.getIconName (   self)

Definition at line 38 of file Item.py.

38 
39  def getIconName(self):
40  return "python"
def gui.Item.Item.isExpandable (   self)

Definition at line 30 of file Item.py.

30 
31  def isExpandable(self):
32  return False
def gui.Item.Item.panel (   self,
  parent 
)
Retourne un widget pour browser/editer l'item

Definition at line 41 of file Item.py.

41 
42  def panel(self,parent):
43  """Retourne un widget pour browser/editer l'item"""
44  qvbox=QVBox(parent)
45  label=QLabel("Default Panel",qvbox)
46  label.setAlignment( Qt.AlignHCenter | Qt.AlignVCenter )
47  return qvbox
def gui.Item.Item.selected (   self)
Method called on selection

Definition at line 55 of file Item.py.

55 
56  def selected(self):
57  """Method called on selection"""
#print "Item selected"

Member Data Documentation

gui.Item.Item.emitting

Definition at line 28 of file Item.py.

Referenced by gui.Items.ItemComposedNode.dblselected(), gui.sessions.Sessions.selected(), gui.sessions.Session.selected(), gui.Items.ItemComposedNode.selected(), gui.Items.ItemPort.selected(), and gui.Items.ItemNode.selected().

gui.Item.Item.label

Definition at line 27 of file Item.py.


The documentation for this class was generated from the following file: