Package qubx :: Module scope :: Class ScopeSignal
[hide private]
[frames] | no frames]

Class ScopeSignal

source code

     object --+    
              |    
toolspace.Layer --+
                  |
                 ScopeSignal

Floating layer controlling the display of one signal (or time).

Instance Methods [hide private]
 
__init__(self, signals, index, global_name, *args, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
format_units(self, x) source code
 
set_index(self, x) source code
 
_onScrollMean(self, x, y, e, offset) source code
 
_onScrollUperD(self, x, y, e, offset) source code
 
__onSetSignal(self, i, field, val, prev, undoing) source code
 
__onClickGrab(self, x, y, e) source code
 
__onMouseMoveGrab(self, x, y, e) source code

Inherited from toolspace.Layer: add_sublayer, button_press, button_release, clear_sublayers, draw, find_sub, invalidate, motion_notify, mouse_enter, mouse_exit, on_hide, on_show, pt_in_rect, remove_sublayer, render, render_to, scroll, set_h, set_h_min, set_space, set_sub_hover, set_w, set_w_min, set_x, set_y, sub_press, sub_release

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
  index
which row of the table to control
  OnClickGrab
WeakEvent(ScopeSignal) when the '?' is clicked, so you can adjust Center and per div appropriately
  OnClickUnGrab
WeakEvent(ScopeSignal) when the 'x' is clicked, so you can hide the signal
  signals
the qubx.table.Table of signals

Inherited from toolspace.Layer: OnInvalidate, appearance, border, cBG, cBorder, h, h_min, invalid, rq_h, rq_w, rq_x, rq_y, subs, surface, w, w_min, x, y

Properties [hide private]

Inherited from toolspace.Layer: space, sub_hover

Inherited from object: __class__

Method Details [hide private]

__init__(self, signals, index, global_name, *args, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • x - x >= 0: number of 'M' widths from the ToolSpace's left edge; x < 0: number of ... ToolSpace's right edge
  • y - y >= 0: number of 'M' widths from the ToolSpace's top edge; y < 0: number of ... ToolSpace's bottom edge
  • w - w >= 0: number of 'M' widths across; w < 0: number of 'M's between Layer's right and ToolSpace's right
  • h - h >= 0: number of 'M' widths tall; h < 0: number of 'M's between Layer's bottom and ToolSpace's bottom
  • cBG - COLORREF of background
  • border - width in pixels of border
  • cBorder - COLORREF of border
  • w_min - minimum number of 'M' widths across, if w is negative
  • h_min - minimum number of 'M' widths tall, if h is negative
Overrides: object.__init__
(inherited documentation)

Instance Variable Details [hide private]

index

which row of the table to control
Get Method:
unreachable(self)
Set Method:
unreachable(self, x)