| Home | Trees | Indices | Help |
|
|---|
|
|
Timeline widget definition to be used in the ControlEventTimeline
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
_defautcolor = QtGui.QColor(100, 100, 255)
|
|||
|
|||
Extracts info from a file object and stores it in memory in order to display it on the timeline. Refer to the `export` method to learn about input file format and structure. |
Processes all timeline data in an arranged format to be written in a CSV file. Current file structure:--- CSV FILE BEGIN --- Track info line Event info line Event info line ... Empty line Track info line Event info line Event info line ... Empty line Track info line Event info line Event info line ... Empty line --- CSV FILE END --- Track info line format:| Id | Total # of events in this track | | | Color | Label | Event info line format:| Lock status | Begin frame | End frame | Comment | Color | | |
This method updates the dict `_tracks_info` which contains all
info stored in the timeline.
Currently, this method is called is the following situations:
- Class initialization
- Event added by double clicking the timeline
- Everything is cleaned
- A line is cleaned
- After an event is removed/locked/unlocked
#TODO- After editing a timeline line entry
#TODO- After editing an event (TimelineDelta object)
- After importing from a file
- Before exporting to a file
This dictionary stores info in the format shown below:
{line_numer : [ line_label, line_color, [data] ] }
|
|
|
|
|
|
|
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Sep 11 13:06:31 2015 | http://epydoc.sourceforge.net |