Radium Engine
1.5.0
|
#include <Gui/Timeline/TimelineScrollArea.hpp>
Inherits QScrollArea.
Public Slots | |
void | onDrawRuler (int width) |
Force redraw with the given width. | |
Signals | |
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. | |
Public Member Functions | |
TimelineScrollArea (QWidget *parent=nullptr) | |
Scalar | getMaxDuration () |
void | setMaxDuration (Scalar duration) |
Set the end of the Timeline's playzone. | |
Scalar | getStep () |
int | getNbInterval () |
Scalar | getPixPerSec () |
int | getZero () |
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.
Scalar Ra::Gui::TimelineScrollArea::getMaxDuration | ( | ) |
Definition at line 38 of file TimelineScrollArea.cpp.
int Ra::Gui::TimelineScrollArea::getNbInterval | ( | ) |
Definition at line 34 of file TimelineScrollArea.cpp.
Scalar Ra::Gui::TimelineScrollArea::getPixPerSec | ( | ) |
Definition at line 50 of file TimelineScrollArea.cpp.
Scalar Ra::Gui::TimelineScrollArea::getStep | ( | ) |
Definition at line 54 of file TimelineScrollArea.cpp.
int Ra::Gui::TimelineScrollArea::getZero | ( | ) |
Definition at line 46 of file TimelineScrollArea.cpp.
|
signal |