# People's Video Editor: high quality, GPU accelerated mp4 editor # Copyright (C) 2025 Roz K # # This file is part of People's Video Editor. # # People's Video Editor is free software: you can redistribute it and/or modify it under the terms of the # GNU General Public License as published by the Free Software Foundation, either version 3 of the License, # or (at your option) any later version. # # People's Video Editor is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; # without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # See the GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along with People's Video Editor. # If not, see . from . import preview_generated class PreviewPanel(preview_generated.PreviewPanel): __slots__ = 'video_canvas' def __init__(self, parent, id, pos, size, style): preview_generated.PreviewPanel.__init__(self, parent, id = id, pos = pos, size = size, style = style) self.video_canvas = self._video_canvas def initdialog_event_handler(self, event): self.video_canvas.SetCurrent(self.video_canvas.context) def size_event_handler(self, event): pass