Axis Table
AxisTableMixin
Mixins class for the Axes tab of the settings section.
Source code in trace/mixins/axis_table.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
|
addAxis()
Slot for button to add a new row to the axis table.
Source code in trace/mixins/axis_table.py
114 115 116 117 |
|
axis_delegates_init()
Initialize and set the ItemDelegates for the axis table.
Source code in trace/mixins/axis_table.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
|
axis_table_init()
Initializer for the Axis Table Model and Table View.
Source code in trace/mixins/axis_table.py
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
set_axis_datetimes(_=None, time_range=None)
Slot used to update the QDateTimeEdits on the Axis tab. This slot is called when the plot's X-Axis range changes values.
Parameters
_ : ViewBox, optional The ViewBox on which the range is changing. This is unused time_range : Tuple[float, float], optional The new range values for the QDateTimeEdits, by default None
Source code in trace/mixins/axis_table.py
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
|
set_time_axis_range(raw_range=(None, None))
PyQT Slot to set the plot's X-Axis range. This slot should be triggered on QDateTimeEdit value change.
Parameters
raw_range : Tuple[QDateTime], optional Takes in a tuple of 2 values, where one is a QDateTime and the other is None. The positioning changes either the plot's min or max range value. By default (None, None)
Source code in trace/mixins/axis_table.py
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
|