diff --git a/pyui/__init__.py b/pyui/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pyui/application.py b/pyui/application.py new file mode 100644 index 0000000..d7e29af --- /dev/null +++ b/pyui/application.py @@ -0,0 +1,33 @@ +# 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 . + +import wx +from .mainframe import MainFrame + +class Application(wx.App): + + def __init__(self): + wx.App.__init__(self, 0) + + def OnInit(self): + self.frame = MainFrame(None) + self.SetTopWindow(self.frame) + self.frame.Show() + return True + +def main(): + application = Application(0) + application.MainLoop() diff --git a/pyui/mainframe.py b/pyui/mainframe.py new file mode 100644 index 0000000..88ab386 --- /dev/null +++ b/pyui/mainframe.py @@ -0,0 +1,20 @@ +# 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 mainframe_generated + +class MainFrame(mainframe_generated.MainFrame): + pass diff --git a/pyui/mainframe_generated.py b/pyui/mainframe_generated.py new file mode 100644 index 0000000..1680c63 --- /dev/null +++ b/pyui/mainframe_generated.py @@ -0,0 +1,139 @@ +# -*- coding: utf-8 -*- + +########################################################################### +## Python code generated with wxFormBuilder (version 4.2.1-5faebfea) +## http://www.wxformbuilder.org/ +## +## PLEASE DO *NOT* EDIT THIS FILE! +########################################################################### + +from .preview import PreviewPanel +import wx +import wx.xrc + +import gettext +_ = gettext.gettext + +########################################################################### +## Class MainFrame +########################################################################### + +class MainFrame ( wx.Frame ): + + def __init__( self, parent ): + wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = _(u"People's Video Editor"), pos = wx.DefaultPosition, size = wx.Size( 710,432 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL ) + + self.SetSizeHints( wx.DefaultSize, wx.DefaultSize ) + + self.mainmenu = wx.MenuBar( 0 ) + self.mainmenu_file = wx.Menu() + self.mainmenu_file_quit = wx.MenuItem( self.mainmenu_file, wx.ID_ANY, _(u"Quit"), wx.EmptyString, wx.ITEM_NORMAL ) + self.mainmenu_file.Append( self.mainmenu_file_quit ) + + self.mainmenu.Append( self.mainmenu_file, _(u"File") ) + + self.SetMenuBar( self.mainmenu ) + + main_sizer = wx.BoxSizer( wx.VERTICAL ) + + self.timeline_splitter = wx.SplitterWindow( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D ) + self.timeline_splitter.SetSashGravity( 1 ) + self.timeline_splitter.Bind( wx.EVT_IDLE, self.timeline_splitterOnIdle ) + self.timeline_splitter.SetMinimumPaneSize( 100 ) + + self.top_panel = wx.Panel( self.timeline_splitter, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + top_sizer = wx.BoxSizer( wx.HORIZONTAL ) + + self.media_splitter = wx.SplitterWindow( self.top_panel, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D ) + self.media_splitter.Bind( wx.EVT_IDLE, self.media_splitterOnIdle ) + self.media_splitter.SetMinimumPaneSize( 100 ) + + self.media_panel = wx.Panel( self.media_splitter, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + self.right_panel = wx.Panel( self.media_splitter, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + right_sizer = wx.BoxSizer( wx.HORIZONTAL ) + + self.filter_splitter = wx.SplitterWindow( self.right_panel, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.SP_3D ) + self.filter_splitter.SetSashGravity( 1 ) + self.filter_splitter.Bind( wx.EVT_IDLE, self.filter_splitterOnIdle ) + self.filter_splitter.SetMinimumPaneSize( 100 ) + + self.center_panel = wx.Panel( self.filter_splitter, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + center_sizer = wx.BoxSizer( wx.VERTICAL ) + + self.preview_panel = PreviewPanel( self.center_panel, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + center_sizer.Add( self.preview_panel, 1, wx.EXPAND | wx.ALL, 5 ) + + self.navigation_panel = wx.Panel( self.center_panel, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + navigation_sizer = wx.BoxSizer( wx.VERTICAL ) + + scrubber_sizer = wx.BoxSizer( wx.HORIZONTAL ) + + self.scrubber_slider = wx.Slider( self.navigation_panel, wx.ID_ANY, 50, 0, 100, wx.DefaultPosition, wx.DefaultSize, wx.SL_HORIZONTAL ) + scrubber_sizer.Add( self.scrubber_slider, 1, wx.ALL, 5 ) + + + navigation_sizer.Add( scrubber_sizer, 0, wx.EXPAND, 5 ) + + control_sizer = wx.BoxSizer( wx.HORIZONTAL ) + + self.control_toolbar = wx.ToolBar( self.navigation_panel, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TB_HORIZONTAL ) + self.m_tool1 = self.control_toolbar.AddTool( wx.ID_ANY, _(u"tool"), wx.NullBitmap, wx.NullBitmap, wx.ITEM_NORMAL, wx.EmptyString, wx.EmptyString, None ) + + self.control_toolbar.Realize() + + control_sizer.Add( self.control_toolbar, 0, wx.EXPAND, 5 ) + + + navigation_sizer.Add( control_sizer, 0, wx.EXPAND, 5 ) + + + self.navigation_panel.SetSizer( navigation_sizer ) + self.navigation_panel.Layout() + navigation_sizer.Fit( self.navigation_panel ) + center_sizer.Add( self.navigation_panel, 0, wx.EXPAND | wx.ALL, 5 ) + + + self.center_panel.SetSizer( center_sizer ) + self.center_panel.Layout() + center_sizer.Fit( self.center_panel ) + self.filter_panel = wx.Panel( self.filter_splitter, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + self.filter_splitter.SplitVertically( self.center_panel, self.filter_panel, -200 ) + right_sizer.Add( self.filter_splitter, 1, wx.EXPAND, 5 ) + + + self.right_panel.SetSizer( right_sizer ) + self.right_panel.Layout() + right_sizer.Fit( self.right_panel ) + self.media_splitter.SplitVertically( self.media_panel, self.right_panel, 200 ) + top_sizer.Add( self.media_splitter, 1, wx.EXPAND, 5 ) + + + self.top_panel.SetSizer( top_sizer ) + self.top_panel.Layout() + top_sizer.Fit( self.top_panel ) + self.timeline_panel = wx.Panel( self.timeline_splitter, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL ) + self.timeline_splitter.SplitHorizontally( self.top_panel, self.timeline_panel, -100 ) + main_sizer.Add( self.timeline_splitter, 1, wx.EXPAND, 5 ) + + + self.SetSizer( main_sizer ) + self.Layout() + + self.Centre( wx.BOTH ) + + def __del__( self ): + pass + + def timeline_splitterOnIdle( self, event ): + self.timeline_splitter.SetSashPosition( -100 ) + self.timeline_splitter.Unbind( wx.EVT_IDLE ) + + def media_splitterOnIdle( self, event ): + self.media_splitter.SetSashPosition( 200 ) + self.media_splitter.Unbind( wx.EVT_IDLE ) + + def filter_splitterOnIdle( self, event ): + self.filter_splitter.SetSashPosition( -200 ) + self.filter_splitter.Unbind( wx.EVT_IDLE ) + + diff --git a/pyui/preview.py b/pyui/preview.py new file mode 100644 index 0000000..27cbb7f --- /dev/null +++ b/pyui/preview.py @@ -0,0 +1,20 @@ +# 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): + pass diff --git a/pyui/preview_generated.py b/pyui/preview_generated.py new file mode 100644 index 0000000..bd5bf9c --- /dev/null +++ b/pyui/preview_generated.py @@ -0,0 +1,70 @@ +# -*- coding: utf-8 -*- + +########################################################################### +## Python code generated with wxFormBuilder (version 4.2.1-5faebfea) +## http://www.wxformbuilder.org/ +## +## PLEASE DO *NOT* EDIT THIS FILE! +########################################################################### + +from .video import VideoPanel +import wx +import wx.xrc + +import gettext +_ = gettext.gettext + +########################################################################### +## Class PreviewPanel +########################################################################### + +class PreviewPanel ( wx.Panel ): + + def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 800,450 ), style = wx.BORDER_NONE|wx.FULL_REPAINT_ON_RESIZE|wx.TAB_TRAVERSAL, name = wx.EmptyString ): + wx.Panel.__init__ ( self, parent, id = id, pos = pos, size = size, style = style, name = name ) + + self.DragAcceptFiles( True ) + + centering_sizer = wx.FlexGridSizer( 3, 3, 0, 0 ) + centering_sizer.AddGrowableCol( 0 ) + centering_sizer.AddGrowableCol( 2 ) + centering_sizer.AddGrowableRow( 0 ) + centering_sizer.AddGrowableRow( 2 ) + centering_sizer.SetFlexibleDirection( wx.BOTH ) + centering_sizer.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + self.video_panel = VideoPanel( self, wx.ID_ANY, wx.DefaultPosition, wx.Size( 400,300 ), wx.BORDER_NONE|wx.FULL_REPAINT_ON_RESIZE|wx.TAB_TRAVERSAL ) + centering_sizer.Add( self.video_panel, 0, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + centering_sizer.Add( ( 0, 0), 1, wx.EXPAND, 5 ) + + + self.SetSizer( centering_sizer ) + self.Layout() + + def __del__( self ): + pass + + diff --git a/pyui/resources/mainframe.fbp b/pyui/resources/mainframe.fbp new file mode 100644 index 0000000..c5d0d38 --- /dev/null +++ b/pyui/resources/mainframe.fbp @@ -0,0 +1,936 @@ + + + + + Python + ; + 0 + connect + none + + + 0 + 1 + res + UTF-8 + mainframe_generated + 6000 + 1 + 1 + UI + MainFrame + /home/roz/Dev/rk/rk_pve/pyui + 0 + source_name + 1 + 1 + source_name + + 1 + 1 + 1 + 0 + 0 + + 0 + wxAUI_MGR_DEFAULT + + wxBOTH + + 1 + 0 + 1 + impl_virtual + + + + 0 + wxID_ANY + + + MainFrame + + 710,432 + wxDEFAULT_FRAME_STYLE + ; ; forward_declare + People's Video Editor + + 0 + + + wxTAB_TRAVERSAL + 1 + + + + 1 + 0 + 1 + + + 0 + wxID_ANY + + + mainmenu + protected + + + + ; ; forward_declare + + + + + + File + mainmenu_file + protected + + + 0 + 1 + + wxID_ANY + wxITEM_NORMAL + Quit + mainmenu_file_quit + none + + + + + + + + main_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 1 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + 100 + + 0 + + 1 + timeline_splitter + 1 + + + protected + 1 + + Resizable + 1 + -100 + -1 + 1 + + wxSPLIT_HORIZONTAL + wxSP_3D + ; ; forward_declare + 0 + + + + + + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + top_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + top_sizer + wxHORIZONTAL + none + + 5 + wxEXPAND + 1 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + 100 + + 0 + + 1 + media_splitter + 1 + + + protected + 1 + + Resizable + 0.0 + 200 + -1 + 1 + + wxSPLIT_VERTICAL + wxSP_3D + ; ; forward_declare + 0 + + + + + + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + media_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + right_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + right_sizer + wxHORIZONTAL + none + + 5 + wxEXPAND + 1 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + 100 + + 0 + + 1 + filter_splitter + 1 + + + protected + 1 + + Resizable + 1 + -200 + -1 + 1 + + wxSPLIT_VERTICAL + wxSP_3D + ; ; forward_declare + 0 + + + + + + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + center_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + center_sizer + wxVERTICAL + none + + 5 + wxEXPAND | wxALL + 1 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + preview_panel + 1 + + + protected + 1 + + Resizable + 1 + + PreviewPanel; .preview; + 0 + + + + wxTAB_TRAVERSAL + + + + 5 + wxEXPAND | wxALL + 0 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + navigation_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + navigation_sizer + wxVERTICAL + none + + 5 + wxEXPAND + 0 + + + scrubber_sizer + wxHORIZONTAL + none + + 5 + wxALL + 1 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + 100 + + 0 + + 0 + + 0 + + 1 + scrubber_slider + 1 + + + protected + 1 + + Resizable + 1 + + wxSL_HORIZONTAL + ; ; forward_declare + 0 + + + wxFILTER_NONE + wxDefaultValidator + + 50 + + + + + + + + + 5 + wxEXPAND + 0 + + + control_sizer + wxHORIZONTAL + none + + 5 + wxEXPAND + 0 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + + 0 + + + 0 + + 1 + control_toolbar + 1 + 1 + + + protected + 1 + + Resizable + 5 + 1 + + wxTB_HORIZONTAL + ; ; forward_declare + 0 + + + + + + + 0 + wxID_ANY + wxITEM_NORMAL + tool + m_tool1 + protected + + + + + + + + + + + + + + + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + filter_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + + + + + + + + + + + + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + timeline_panel + 1 + + + protected + 1 + + Resizable + 1 + + ; ; forward_declare + 0 + + + + wxTAB_TRAVERSAL + + + + + + + + diff --git a/pyui/resources/preview.fbp b/pyui/resources/preview.fbp new file mode 100644 index 0000000..8427e60 --- /dev/null +++ b/pyui/resources/preview.fbp @@ -0,0 +1,211 @@ + + + + + Python + ; + 0 + connect + none + + + 0 + 1 + res + UTF-8 + preview_generated + 6000 + 1 + 1 + UI + preview + /home/roz/Dev/rk/rk_pve/pyui + 0 + source_name + 1 + 1 + source_name + + 1 + 1 + 1 + 0 + 0 + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + PreviewPanel + + 800,450 + ; ; forward_declare + + 0 + + + wxBORDER_NONE|wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL + + 3 + wxBOTH + 0,2 + 0,2 + 0 + + centering_sizer + wxFLEX_GROWMODE_SPECIFIED + none + 3 + 0 + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 0 + + 1 + 1 + 1 + 1 + 0 + + 0 + 0 + + + + 1 + 0 + 1 + + 1 + 0 + Dock + 0 + Left + 0 + 1 + + 1 + + 0 + 0 + wxID_ANY + + 0 + + + 0 + + 1 + video_panel + 1 + + + protected + 1 + + Resizable + 1 + 400,300 + VideoPanel; .video; + 0 + + + + wxBORDER_NONE|wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + 5 + wxEXPAND + 1 + + 0 + protected + 0 + + + + + + diff --git a/pyui/resources/video.fbp b/pyui/resources/video.fbp new file mode 100644 index 0000000..cf1a7fb --- /dev/null +++ b/pyui/resources/video.fbp @@ -0,0 +1,60 @@ + + + + + Python + ; + 0 + connect + none + + + 0 + 1 + res + UTF-8 + video_generated + 6000 + 1 + 1 + UI + video + /home/roz/Dev/rk/rk_pve/pyui + 0 + source_name + 1 + 1 + source_name + + 1 + 1 + 1 + 0 + 0 + + 0 + wxAUI_MGR_DEFAULT + + + 1 + 1 + 1 + impl_virtual + + + 0 + wxID_ANY + + + VideoPanel + + 400,300 + ; ; forward_declare + + 0 + + + wxBORDER_NONE|wxFULL_REPAINT_ON_RESIZE|wxTAB_TRAVERSAL + + + diff --git a/pyui/video.py b/pyui/video.py new file mode 100644 index 0000000..f49c7b7 --- /dev/null +++ b/pyui/video.py @@ -0,0 +1,20 @@ +# 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 video_generated + +class VideoPanel(video_generated.VideoPanel): + pass diff --git a/pyui/video_generated.py b/pyui/video_generated.py new file mode 100644 index 0000000..4de1730 --- /dev/null +++ b/pyui/video_generated.py @@ -0,0 +1,31 @@ +# -*- coding: utf-8 -*- + +########################################################################### +## Python code generated with wxFormBuilder (version 4.2.1-5faebfea) +## http://www.wxformbuilder.org/ +## +## PLEASE DO *NOT* EDIT THIS FILE! +########################################################################### + +import wx +import wx.xrc + +import gettext +_ = gettext.gettext + +########################################################################### +## Class VideoPanel +########################################################################### + +class VideoPanel ( wx.Panel ): + + def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 400,300 ), style = wx.BORDER_NONE|wx.FULL_REPAINT_ON_RESIZE|wx.TAB_TRAVERSAL, name = wx.EmptyString ): + wx.Panel.__init__ ( self, parent, id = id, pos = pos, size = size, style = style, name = name ) + + self.DragAcceptFiles( True ) + + + def __del__( self ): + pass + +