Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Gui::TimelineSlider Class Reference

#include <Gui/Timeline/TimelineSlider.hpp>

+ Collaboration diagram for Ra::Gui::TimelineSlider:

Signals

void slide (int deltaX)
 

Public Member Functions

 TimelineSlider (QWidget *parent=nullptr)
 

Protected Member Functions

void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 

Detailed Description

A TimelineSlider is a widget which transmits mouse move events along the x-axis. It is used to display blocks movable along the x-axis, e.g. timezone's start and end time points.

Definition at line 12 of file TimelineSlider.hpp.

Constructor & Destructor Documentation

◆ TimelineSlider()

Ra::Gui::TimelineSlider::TimelineSlider ( QWidget * parent = nullptr)
explicit

Definition at line 7 of file TimelineSlider.cpp.

Member Function Documentation

◆ mouseMoveEvent()

void Ra::Gui::TimelineSlider::mouseMoveEvent ( QMouseEvent * event)
overrideprotected

Definition at line 24 of file TimelineSlider.cpp.

◆ mousePressEvent()

void Ra::Gui::TimelineSlider::mousePressEvent ( QMouseEvent * event)
overrideprotected

Definition at line 9 of file TimelineSlider.cpp.

◆ mouseReleaseEvent()

void Ra::Gui::TimelineSlider::mouseReleaseEvent ( QMouseEvent * event)
overrideprotected

Definition at line 16 of file TimelineSlider.cpp.

◆ slide

void Ra::Gui::TimelineSlider::slide ( int deltaX)
signal

Emitted when the user clicks on the widget and drags it.

Parameters
deltaXThe x position of the mouse cursor relative to the widget.

The documentation for this class was generated from the following files: