#include <Gui/Timeline/TimelineScrollArea.hpp>
|
void | onDrawRuler (int width) |
| Force redraw with the given width.
|
|
|
void | stepChanged (Scalar step) |
|
void | addKeyFrame () |
| Emitted when [i] is pressed.
|
|
void | removeKeyFrame () |
| Emitted when [del] / [shift]+[i] is pressed.
|
|
void | previousKeyFrame () |
| Emitted when [left_arrow] is pressed or [shift] + [wheel-up].
|
|
void | nextKeyFrame () |
| Emitted when [right_arrow] is pressed or [shift] + [wheel-down].
|
|
void | durationIncrement () |
| Emitted when [up_arrow] is pressed.
|
|
void | durationDecrement () |
| Emitted when [down_arrow] is pressed.
|
|
void | togglePlayPause () |
| Emitted when [space] is pressed.
|
|
void | undo () |
| Emitted when [crtl] + [z] / [u] key is pressed.
|
|
void | redo () |
| Emitted when [crtl] + [shift] + [z] / [r] key is pressed.
|
|
The TimelineScrollArea class manages the ScrollArea for the Timeline's frame display.
It offers display info for its sub-widgets (size, zoom level, scroll shift...).
Definition at line 15 of file TimelineScrollArea.hpp.
◆ TimelineScrollArea()
Ra::Gui::TimelineScrollArea::TimelineScrollArea |
( |
QWidget * | parent = nullptr | ) |
|
|
explicit |
◆ getMaxDuration()
Scalar Ra::Gui::TimelineScrollArea::getMaxDuration |
( |
| ) |
|
◆ getNbInterval()
int Ra::Gui::TimelineScrollArea::getNbInterval |
( |
| ) |
|
◆ getPixPerSec()
Scalar Ra::Gui::TimelineScrollArea::getPixPerSec |
( |
| ) |
|
- Returns
- the number of pixels used to display 1 second on the scale.
Definition at line 50 of file TimelineScrollArea.cpp.
◆ getStep()
Scalar Ra::Gui::TimelineScrollArea::getStep |
( |
| ) |
|
◆ getZero()
int Ra::Gui::TimelineScrollArea::getZero |
( |
| ) |
|
◆ keyPressEvent()
void Ra::Gui::TimelineScrollArea::keyPressEvent |
( |
QKeyEvent * | event | ) |
|
|
overrideprotected |
◆ mouseMoveEvent()
void Ra::Gui::TimelineScrollArea::mouseMoveEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
void Ra::Gui::TimelineScrollArea::mousePressEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
void Ra::Gui::TimelineScrollArea::mouseReleaseEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ onDrawRuler
void Ra::Gui::TimelineScrollArea::onDrawRuler |
( |
int | width | ) |
|
|
slot |
◆ setMaxDuration()
void Ra::Gui::TimelineScrollArea::setMaxDuration |
( |
Scalar | duration | ) |
|
◆ stepChanged
void Ra::Gui::TimelineScrollArea::stepChanged |
( |
Scalar | step | ) |
|
|
signal |
- Todo
- use keymapping manager here Emitted when zoomed in/out or resized.
◆ wheelEvent()
void Ra::Gui::TimelineScrollArea::wheelEvent |
( |
QWheelEvent * | event | ) |
|
|
overrideprotected |
The documentation for this class was generated from the following files: