toolbar ¶
Classes:
BenchmarkToolbar ¶
BenchmarkToolbar(main: MainWindow)
Bases: AbstractToolbar
Methods:
-
abort
– -
get_notches
– -
get_separator
– -
init_notches
– -
on_current_frame_changed
– -
on_current_output_changed
– -
on_prefetch_changed
– -
on_run_abort_pressed
– -
on_toggle
– -
resize_main_window
– -
run
– -
set_qobject_names
– -
set_ui_editable
– -
setup_ui
– -
update_controls
– -
update_info
–
Attributes:
-
buffer
– -
class_storable_attrs
– -
end_frame
– -
hlayout
(HBoxLayout
) – -
is_notches_visible
(bool
) – -
main
(MainWindow
) – -
name
(str
) – -
notches_changed
– -
num_keys
– -
run_start_time
– -
running
– -
sequenced_timer
– -
settings
(BenchmarkSettings
) – -
start_frame
– -
storable_attrs
– -
toggle_button
– -
total_frames
– -
unsequenced
– -
update_info_timer
– -
visibility
– -
vlayout
(VBoxLayout
) –
Source code
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|
class_storable_attrs class-attribute
instance-attribute
¶
num_keys class-attribute
instance-attribute
¶
num_keys = [
Key_1,
Key_2,
Key_3,
Key_4,
Key_5,
Key_6,
Key_7,
Key_8,
Key_9,
Key_0,
]
sequenced_timer instance-attribute
¶
sequenced_timer = Timer(
timeout=_request_next_frame_sequenced, timerType=PreciseTimer, interval=0
)
toggle_button instance-attribute
¶
toggle_button = PushButton(name, self, checkable=True, clicked=on_toggle)
update_info_timer instance-attribute
¶
update_info_timer = Timer(timeout=update_info, timerType=PreciseTimer)
abort ¶
abort() -> None
Source code
159 160 161 162 163 164 165 166 167 |
|
get_notches ¶
get_notches() -> Notches
Source code
405 406 407 |
|
get_separator ¶
get_separator(horizontal: bool = False) -> QFrame
Source code
318 319 320 321 322 |
|
init_notches ¶
init_notches(main: MainWindow = ...) -> None
Source code
402 403 |
|
on_current_frame_changed ¶
on_current_frame_changed(frame: Frame) -> None
Source code
471 472 |
|
on_current_output_changed ¶
Source code
110 111 112 113 114 115 |
|
on_prefetch_changed ¶
on_prefetch_changed(new_state: CheckState) -> None
Source code
204 205 206 207 208 209 210 211 |
|
on_run_abort_pressed ¶
on_run_abort_pressed(checked: bool) -> None
Source code
197 198 199 200 201 202 |
|
on_toggle ¶
on_toggle(new_state: bool) -> None
Source code
461 462 463 464 465 466 467 468 469 |
|
resize_main_window ¶
resize_main_window(expanding: bool) -> None
Source code
481 482 483 484 485 486 487 488 489 |
|
run ¶
run() -> None
Source code
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 |
|
set_qobject_names ¶
set_qobject_names() -> None
Source code
279 280 281 282 283 284 285 286 287 288 289 290 291 292 |
|
set_ui_editable ¶
set_ui_editable(new_state: bool) -> None
Source code
213 214 215 216 217 218 |
|
setup_ui ¶
setup_ui() -> None
Source code
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 |
|
update_controls ¶
update_controls(
start: Frame | None = None,
end: Frame | None = None,
total: Frame | None = None,
) -> None
Source code
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
|
update_info ¶
update_info() -> None
Source code
262 263 264 265 266 267 268 |
|