diff options
author | MaZderMind <git@mazdermind.de> | 2015-08-07 08:38:58 +0200 |
---|---|---|
committer | MaZderMind <git@mazdermind.de> | 2015-08-07 08:38:58 +0200 |
commit | 9eda09a1b66ceb3874c471910fc8c26874d2981e (patch) | |
tree | 45f9cfb1732b3ef0218328b47d2328c27347583f /voctogui/lib/ui.py | |
parent | a753cd71a02cd64c3dd03bbf4d22b605bae82c7e (diff) |
implement audioselector, videopreviews and composition-toolbar
Diffstat (limited to 'voctogui/lib/ui.py')
-rw-r--r-- | voctogui/lib/ui.py | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/voctogui/lib/ui.py b/voctogui/lib/ui.py index 134bc2c..9143e12 100644 --- a/voctogui/lib/ui.py +++ b/voctogui/lib/ui.py @@ -9,10 +9,10 @@ from lib.videodisplay import VideoDisplay from lib.audioleveldisplay import AudioLevelDisplay from lib.warningoverlay import VideoWarningOverlay -# from lib.videopreviews import VideoPreviewsController -# from lib.audioselector import AudioSelectorController +from lib.videopreviews import VideoPreviewsController +from lib.audioselector import AudioSelectorController -# from lib.toolbar.composition import CompositionToolbarController +from lib.toolbar.composition import CompositionToolbarController # from lib.toolbar.streamblank import StreamblankToolbarController # from lib.toolbar.specialfunctions import SpecialFunctionsToolbarController @@ -50,16 +50,22 @@ class Ui(UiBuilder): # Setup Preview Controller - # drawing_area = self.find_widget_recursive(self.win, 'box_left') - # self.video_previews_controller = VideoPreviewsController(drawing_area) - - # drawing_area = self.find_widget_recursive(self.win, 'combo_audio') - # self.audio_selector_controller = AudioSelectorController(drawing_area)# - - - # # Setup Toolbar Controllers - # toolbar = self.find_widget_recursive(self.win, 'toolbar') - # self.composition_toolbar_controller = CompositionToolbarController(toolbar) + drawing_area = self.find_widget_recursive(self.win, 'box_left') + self.video_previews_controller = VideoPreviewsController(drawing_area, + win=self.win, + uibuilder=self) + + drawing_area = self.find_widget_recursive(self.win, 'combo_audio') + self.audio_selector_controller = AudioSelectorController(drawing_area, + win=self.win, + uibuilder=self) + + + # Setup Toolbar Controllers + toolbar = self.find_widget_recursive(self.win, 'toolbar') + self.composition_toolbar_controller = CompositionToolbarController(toolbar, + win=self.win, + uibuilder=self) # self.streamblank_toolbar_controller = StreamblankToolbarController(toolbar, # warning_overlay=self.video_warning_overlay) |