pyforms :: gui :: Controls :: ControlEventTimeline :: TimelinePopupWindow :: TimelinePopupWindow :: Class TimelinePopupWindow |
[hide private]
[frames] | no frames]

# Class TimelinePopupWindow

source code

Opens a dialog where the user can specify the behavior annotated in the selected line, as well as some related options.

The parent timeline widget must be given, as well as the track identifier to edit.

Instance Methods | [hide private]
__init__(self, parent, track_id) | source code
__on_comboBox_change(self) Handles comboBox index change. | source code
__add_behavior(self) Add a behavior to the already existing ones. | source code
__remove_behavior(self) Remove a behavior from the already existing ones. | source code
__pick_color(self) Dialog to choose a color. | source code
__preview_color(self) Shows selected colors in two QLabel widgets. | source code
__get_existing_tracklabels(self) Gets existing track labels already assigned. | source code

Method Details | [hide private]

### __preview_color(self) | source code
Shows selected colors in two QLabel widgets. The first shows true color, while the second presents the color with an opacity as seen in the timeline and with some dummy text to preview readability.

### __get_existing_tracklabels(self) | source code
Gets existing track labels already assigned. Scans the timeline track labels and sets the comboBox value accordingly.