def _OnClose(self):
     SE_BaseClassCore._OnClose(self)
     self.Load = None
     self.celldata = None
     self.sr.lines = None
     self.sr.overlays = None
     self.sr.entries = None
 def _OnClose(self):
     SE_BaseClassCore._OnClose(self)
     self.Load = None
     self.celldata = None
     self.sr.lines = None
     self.sr.overlays = None
     self.sr.entries = None
Exemplo n.º 3
0
 def ApplyAttributes(self, attributes):
     SE_BaseClassCore.ApplyAttributes(self, attributes)
     left = Container(parent=self, align=uiconst.TOLEFT_PROP, width=0.5)
     right = Container(parent=self, align=uiconst.TOALL)
     self.label = Label(parent=left)
     self.value = Label(parent=right, autoUpdate=True)
     self.GetValue = None
Exemplo n.º 4
0
 def ApplyAttributes(self, attributes):
     SE_BaseClassCore.ApplyAttributes(self, attributes)
     cnt = Container(parent=self, pos=(0, 0, 0, 0), state=uiconst.UI_PICKCHILDREN)
     self._label = Label(parent=cnt, state=uiconst.UI_DISABLED, align=uiconst.CENTERLEFT, color=(1.0, 1.0, 1.0, 0.75))
     self._valueContainer = Container(parent=cnt, state=uiconst.UI_PICKCHILDREN, align=uiconst.TOALL, padLeft=VALUEOFFSET)
     self._hilite = Fill(bgParent=self, color=(1, 1, 1, 0.125), state=uiconst.UI_HIDDEN)
     self._mainContainer = cnt
Exemplo n.º 5
0
 def OnMouseExit(self, *args):
     SE_BaseClassCore.OnMouseExit(self, *args)
     if getattr(self, 'Draggable_dragging', 0):
         return
     wnd = FittingWindow.GetIfOpen()
     if wnd is not None:
         wnd.HiliteFitting(None)
Exemplo n.º 6
0
 def ApplyAttributes(self, attributes):
     SE_BaseClassCore.ApplyAttributes(self, attributes)
     self._expandIcon = Sprite(parent=self, align=uiconst.CENTERLEFT, pos=(0, 0, 18, 18))
     self._expandIcon.OnClick = self.ExpandUIObject
     self._label = Label(parent=self, state=uiconst.UI_DISABLED, align=uiconst.CENTERLEFT, left=20, color=(1.0, 1.0, 1.0, 1))
     self._pickHilite = Frame(name='_pickHilite', bgParent=self, texturePath=RESROOT + 'hiliteBackground.png', color=(0, 1, 0, 0.3), state=uiconst.UI_HIDDEN)
     self._hilite = Fill(name='_hilite', bgParent=self, color=(1, 1, 1, 0.125), state=uiconst.UI_HIDDEN)
     self.loaded = False
 def ApplyAttributes(self, attributes):
     SE_BaseClassCore.ApplyAttributes(self, attributes)
     self.node = self.sr.node = attributes.node
     if not self.node.Get('hideLines', None):
         Line(align=uiconst.TOBOTTOM,
              parent=self,
              color=uiconst.ENTRY_LINE_COLOR)
     if self.node.selected:
         self.Select()
Exemplo n.º 8
0
 def OnMouseEnter(self, *args):
     if uicore.uilib.leftbtn:
         return
     SE_BaseClassCore.OnMouseEnter(self, *args)
     self.sr.hint = ''
     if getattr(self, 'rec', None):
         TryGhostFitItemOnMouseAction(self.rec)
     if self.sr.node and self.sr.node.viewMode == 'icons':
         self.sr.hint = '%s%s' % (
             [uix.GetItemQty(self.sr.node, 'ln') + ' - ', ''][bool(
                 self.rec.singleton)],
             uix.GetItemName(self.sr.node.item, self.sr.node))
Exemplo n.º 9
0
 def OnMouseEnter(self, *args):
     if uicore.uilib.leftbtn:
         return
     SE_BaseClassCore.OnMouseEnter(self, *args)
     self.sr.hint = ''
     wnd = FittingWindow.GetIfOpen()
     if wnd is not None:
         if getattr(self, 'rec', None):
             wnd.HiliteFitting(self.rec)
     if self.sr.node and self.sr.node.viewMode == 'icons':
         self.sr.hint = '%s%s' % (
             [uix.GetItemQty(self.sr.node, 'ln') + ' - ', ''][bool(
                 self.rec.singleton)],
             uix.GetItemName(self.sr.node.item, self.sr.node))
 def ApplyAttributes(self, attributes):
     SE_BaseClassCore.ApplyAttributes(self, attributes)
     ParserBase.Prepare(self)
     self.sr.selfProxy = _weakref.proxy(self)
     self.htmldebug = 0
     self.xmargin = 0
     self.sr.entries = []
     self.sr.overlays = []
     self.sr.overlays_content = Container(name='overlays',
                                          parent=self,
                                          padding=(1, 1, 1, 1))
     self.sr.content = Container(name='content', parent=self)
     self.sr.underlays_content = Container(name='underlays_content',
                                           parent=self,
                                           padding=(1, 1, 1, 1))
     self.sr.background = Container(name='background', parent=self)
     self.sr.backgroundColorContainer = Container(
         name='backgroundColorContainer', parent=self)
     browser = GetBrowser(self)
     self.sr.browser = browser
Exemplo n.º 11
0
 def OnMouseUp(self, *args):
     SE_BaseClassCore.OnMouseUp(self, *args)
     if self.node.Get('OnMouseUp', None):
         self.node.OnMouseUp(self)
Exemplo n.º 12
0
 def ConstructHiliteFill(self):
     SE_BaseClassCore.ConstructHiliteFill(self)
     self.UpdateHiliteFillColor()
Exemplo n.º 13
0
 def OnMouseEnter(self, *args):
     if self.rec.itemID is None:
         return
     SE_BaseClassCore.OnMouseEnter(self, *args)
Exemplo n.º 14
0
 def ApplyAttributes(self, attributes):
     SE_BaseClassCore.ApplyAttributes(self, attributes)
     self.node = self.sr.node = attributes.node
     if self.node.selected:
         self.Select()
Exemplo n.º 15
0
 def OnMouseEnter(self, *args):
     if self.onMouseEntyerThread is None:
         SE_BaseClassCore.OnMouseEnter(self, *args)
         self.onMouseEntyerThread = AutoTimer(10, self.MonitorMouseOver)
Exemplo n.º 16
0
 def KillHilite(self):
     SE_BaseClassCore.OnMouseExit(self)
     self.onMouseEntyerThread = None
Exemplo n.º 17
0
 def OnMouseExit(self, *args):
     SE_BaseClassCore.OnMouseExit(self, *args)
     self.checkbox.OnMouseExit(*args)
Exemplo n.º 18
0
 def OnMouseEnter(self, *args):
     SE_BaseClassCore.OnMouseEnter(self, *args)
     if self.sr.node:
         eve.Message('ListEntryEnter')
Exemplo n.º 19
0
 def ConstructHiliteFill(self):
     """
     Nasty hack needed because of screwed up inheritance
     """
     SE_BaseClassCore.ConstructHiliteFill(self)
     self.UpdateHiliteFillColor()
Exemplo n.º 20
0
 def OnMouseDown(self, *args):
     SE_BaseClassCore.OnMouseDown(self, *args)
     if self.sr.node and self.sr.node.Get('OnMouseDown', None):
         self.sr.node.OnMouseDown(self)
Exemplo n.º 21
0
 def OnMouseExit(self, *args):
     SE_BaseClassCore.OnMouseExit(self, *args)
     if getattr(self, 'Draggable_dragging', 0):
         return
     TryGhostFitItemOnMouseAction(None)
Exemplo n.º 22
0
 def OnMouseEnter(self, *args):
     if not sm.GetService('skills').HasSkill(self.rec.typeID):
         return
     SE_BaseClassCore.OnMouseEnter(self, *args)
Exemplo n.º 23
0
 def OnMouseExit(self, *args):
     SE_BaseClassCore.OnMouseExit(self, *args)
     sm.ScatterEvent('OnProbeScanner_ProbeEntryMouseExit',
                     self.sr.node.probeID)