Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

Gui::KTimeLine Class Reference

#include <ktimeline.h>

Inheritance diagram for Gui::KTimeLine:


List of all members.

Detailed Description

This is the timeline. It gets populated by tracks, which in turn are populated by video and audio clips, or transitional clips, or any other clip imaginable.
Jason Wood

Definition at line 48 of file ktimeline.h.

Public Slots

void autoScroll ()
void clearGuides ()
void drawCurrentTrack (int track, int offset=0, GenTime start=GenTime(0), GenTime end=GenTime(0))
void drawPartialTrack (int track, GenTime start=GenTime(0), GenTime end=GenTime(0))
void drawPartialTrackViewBackBuffer (int start, int end, int startTrack=0, int endTrack=-1)
void drawTrackViewBackBuffer (int startTrack=0, int endTrack=-1)
void ensureCursorVisible ()
void gotoGuide (int ix)
GenTime guideTime (int ix)
void horizontalSlider (const GenTime &inpoint, const GenTime &outpoint)
void insertSilentGuide (int frame, QString comment)
void resetProjectSize ()
void scrollTrackViewBackBuffer (int value)
void seek (const GenTime &time)
void setInpointTimeline (const GenTime &inpoint)
void setMidValueDiff ()
void setOutpointTimeline (const GenTime &outpoint)
void setTimeScale (double scale)
void slotActivateSlider (int slider)
void slotAddGuide ()
void slotDeleteGuide (double currentPos=0)
void slotEditGuide (double currentPos=0)
void slotHeaderRightButtonPressed ()
void slotScrollDown ()
void slotScrollLeft ()
void slotScrollRight ()
void slotScrollUp ()
void slotSetFramesPerSecond (double fps)
void slotSetProjectLength (const GenTime &size)
void slotSetVZone (QValueList< QPoint > zones)
void slotSliderMoved (int slider, int value)
double timeScale ()


void headerRightButtonPressed ()
void inpointPositionChanged (const GenTime &)
void outpointPositionChanged (const GenTime &)
void rightButtonPressed ()
void rulerRightButtonPressed ()
void seekPositionChanged (const GenTime &)

Public Member Functions

void appendTrack (KTrackPanel *track)
void checkScrolling (const QPoint &pos)
void clearTrackList ()
void drawSelection (QPoint start, QPoint end)
const QString & editMode () const
void finishMultiSelection (QPoint start, QPoint end)
void guidesFromXml (QDomElement doc)
GenTime inpointPosition () const
void insertTrack (int index, KTrackPanel *track)
 KTimeLine (QWidget *rulerToolWidget, QWidget *scrollToolWidget, QWidget *parent=0, const char *name=0)
int localSeekPosition () const
double mapLocalToValue (double coordinate) const
double mapValueToLocal (double value) const
GenTime midpointPosition () const
GenTime outpointPosition () const
void placeScrollBar (int pos)
void polish ()
GenTime projectLength () const
void resizeEvent (QResizeEvent *event)
void resizeTracks ()
int scrollBarPosition ()
uint scrollThreshold () const
uint scrollTimerDelay () const
GenTime seekPosition () const
int selectedTrack ()
void selectNextTrack ()
void selectPreviousTrack ()
void selectTrack (int ix)
void setEditMode (const QString &editMode)
void setMidValueDiff (const GenTime &time)
void setPanelWidth (int width)
void setSnapToBorder (bool snapToBorder)
void setSnapToFrame (bool snapToFrame)
void setSnapToMarker (bool snapToMarker)
bool snapToBorders () const
bool snapToFrame () const
bool snapToMarkers () const
bool snapToSeekTime () const
void stopScrollTimer ()
QValueList< int > timelineGuides ()
QStringList timelineRulerComments ()
GenTime timeUnderMouse (double posX)
QPtrList< KTrackPanel > & trackList ()
KTrackViewtrackView ()
QDomDocument xmlGuides ()

Static Public Attributes

static uint snapTolerance = 10

Protected Member Functions

double framesPerSecond () const
QWidget * rulerToolWidget () const
int viewWidth () const

Private Slots

void collapseTrack (KTrackPanel *panel, bool)
void slotMoveBackward (bool fast)
void slotMoveForward (bool fast)
void slotTimerScroll ()

Private Attributes

QString m_editMode
double m_framesPerSecond
GenTime m_midPoint
int m_panelWidth
QHBox * m_rulerBox
QWidget * m_rulerToolWidget
QScrollBar * m_scrollBar
QHBox * m_scrollBox
bool m_scrollingRight
QTimer m_scrollTimer
QWidget * m_scrollToolWidget
int m_scrollValue
int m_selectedTrack
bool m_snapToBorder
bool m_snapToFrame
bool m_snapToMarker
QPtrList< KTrackPanelm_trackList
QScrollView * m_trackScroll
DynamicToolTip * ruler_tips

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

Generated by  Doxygen 1.6.0   Back to index