ui
This commit is contained in:
		
							
								
								
									
										70
									
								
								pyui/preview_generated.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										70
									
								
								pyui/preview_generated.py
									
									
									
									
									
										Normal file
									
								
							@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user