This commit is contained in:
2025-10-10 05:47:12 +02:00
parent 6b5d7de5b2
commit 26fbdce569
11 changed files with 1540 additions and 0 deletions

33
pyui/application.py Normal file
View File

@ -0,0 +1,33 @@
# People's Video Editor: high quality, GPU accelerated mp4 editor
# Copyright (C) 2025 Roz K <roz@rozk.net>
#
# 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 <https://www.gnu.org/licenses/>.
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()