Floating controls for which/how many segments to show, and what time
range.
|
|
__init__(self,
signals,
x)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| __onMovingTimeRange(self,
timeRange,
left,
right) |
source code
|
|
|
|
| __onSetSignal(self,
i,
field_name,
val,
prev,
undoing=False) |
source code
|
|
|
|
| __onSetTimeRange(self,
timeRange,
left,
right,
by_mouse) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setup_dur(self,
iseg=None)
Adjusts the overall duration when the index or number of segments
changes. |
source code
|
|
|
|
|
|
|
| zoom_in(self,
factor=2.0,
left=86738.82583,
right=86738.82583) |
source code
|
|
|
|
| zoom_out(self,
factor=2.0,
prefer_undo=True) |
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__
|
|
|
OnChangeHilite
WeakEvent(Layer, left, right) when hilite changes
|
|
|
OnChangeSegments
WeakEVent(Layer) when
Iseg/Greal changes
|
|
|
OnChangeSel
WeakEvent(Layer, left, right) when sel_left and/or
sel_right change
|
|
|
OnChangeShowing
WeakEvent(Layer) when left/right
changes
|
|
|
signals
dataview.signals (lo-res), a qubx.Table
|
|
|
timeRange
qubx.toolspace.SubLayer_Range
|
|
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
|
|
|
Greal
actual number of onscreen segments e.g.
|
|
|
Gseg
number of onscreen segments ('at a time')
|
|
|
Iseg
index of first onscreen segment
|
|
|
Ndiv
number of horizontal divisions (grid lines) because zoom is
controlled by 'per div'
|
|
|
Nseg
total number of data segments
|
|
|
file
qubx.data_types.QubData instance which is being
viewed; assign before using
|
|
|
hilite
(left, right) of the high-res selection, in seconds from segment
start
|
|
|
left
lower bound of the lo-res onscreen area, in seconds from segment
start
|
|
|
right
upper bound of the lo-res onscreen area, in seconds from segment
start
|
|
|
sel
shorthand for (sel_left, sel_right)
|
|
|
sel_left
lower bound of the lo-res selection, in seconds from segment start
|
|
|
sel_right
upper bound of the hi-res selection, in seconds from segment start
|
|
Inherited from toolspace.Layer:
space,
sub_hover
Inherited from object:
__class__
|