# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Apr 29 2017)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc

###########################################################################
## Class DialogEditPartParameter
###########################################################################

class DialogEditPartParameter ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = wx.EmptyString, pos = wx.DefaultPosition, size = wx.Size( 409,385 ), style = wx.DEFAULT_DIALOG_STYLE )
		
		self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
		
		bSizer1 = wx.BoxSizer( wx.VERTICAL )
		
		fgSizer1 = wx.FlexGridSizer( 0, 2, 0, 0 )
		fgSizer1.AddGrowableCol( 1 )
		fgSizer1.SetFlexibleDirection( wx.BOTH )
		fgSizer1.SetNonFlexibleGrowMode( wx.FLEX_GROWMODE_SPECIFIED )
		
		self.m_staticText3 = wx.StaticText( self, wx.ID_ANY, u"Name", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText3.Wrap( -1 )
		fgSizer1.Add( self.m_staticText3, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.edit_part_parameter_name = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1.Add( self.edit_part_parameter_name, 1, wx.ALL|wx.ALIGN_CENTER_VERTICAL|wx.EXPAND, 5 )
		
		self.m_staticText4 = wx.StaticText( self, wx.ID_ANY, u"Description", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText4.Wrap( -1 )
		fgSizer1.Add( self.m_staticText4, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.edit_part_parameter_description = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1.Add( self.edit_part_parameter_description, 0, wx.ALL|wx.EXPAND|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.m_staticText5 = wx.StaticText( self, wx.ID_ANY, u"Unit", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText5.Wrap( -1 )
		fgSizer1.Add( self.m_staticText5, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		choice_part_parameter_unitChoices = []
		self.choice_part_parameter_unit = wx.Choice( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, choice_part_parameter_unitChoices, 0 )
		self.choice_part_parameter_unit.SetSelection( 0 )
		fgSizer1.Add( self.choice_part_parameter_unit, 0, wx.ALL, 5 )
		
		self.m_staticText6 = wx.StaticText( self, wx.ID_ANY, u"Value Type", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText6.Wrap( -1 )
		fgSizer1.Add( self.m_staticText6, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer6 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.radio_choice_parameter_numeric = wx.RadioButton( self, wx.ID_ANY, u"Numeric", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.radio_choice_parameter_numeric, 0, wx.ALL, 5 )
		
		self.radio_choice_parameter_text = wx.RadioButton( self, wx.ID_ANY, u"Text", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.radio_choice_parameter_text, 0, wx.ALL, 5 )
		
		
		fgSizer1.Add( bSizer6, 1, wx.EXPAND, 5 )
		
		self.static_value = wx.StaticText( self, wx.ID_ANY, u"Value", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.static_value.Wrap( -1 )
		fgSizer1.Add( self.static_value, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		self.edit_part_parameter_value = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		fgSizer1.Add( self.edit_part_parameter_value, 1, wx.ALL|wx.EXPAND, 5 )
		
		self.static_min_value = wx.StaticText( self, wx.ID_ANY, u"Min Value", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.static_min_value.Wrap( -1 )
		fgSizer1.Add( self.static_min_value, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer7 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.edit_part_parameter_min_value = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer7.Add( self.edit_part_parameter_min_value, 0, wx.ALL, 5 )
		
		choice_part_parameter_min_prefixChoices = []
		self.choice_part_parameter_min_prefix = wx.Choice( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, choice_part_parameter_min_prefixChoices, 0 )
		self.choice_part_parameter_min_prefix.SetSelection( 0 )
		bSizer7.Add( self.choice_part_parameter_min_prefix, 0, wx.ALL, 5 )
		
		
		fgSizer1.Add( bSizer7, 1, wx.EXPAND, 5 )
		
		self.static_nom_value = wx.StaticText( self, wx.ID_ANY, u"Nominal Value", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.static_nom_value.Wrap( -1 )
		fgSizer1.Add( self.static_nom_value, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer71 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.edit_part_parameter_nom_value = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer71.Add( self.edit_part_parameter_nom_value, 0, wx.ALL, 5 )
		
		choice_part_parameter_nom_prefixChoices = []
		self.choice_part_parameter_nom_prefix = wx.Choice( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, choice_part_parameter_nom_prefixChoices, 0 )
		self.choice_part_parameter_nom_prefix.SetSelection( 0 )
		bSizer71.Add( self.choice_part_parameter_nom_prefix, 0, wx.ALL, 5 )
		
		
		fgSizer1.Add( bSizer71, 1, wx.EXPAND, 5 )
		
		self.static_max_value = wx.StaticText( self, wx.ID_ANY, u"Max Value", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.static_max_value.Wrap( -1 )
		fgSizer1.Add( self.static_max_value, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
		
		bSizer72 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.edit_part_parameter_max_value = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer72.Add( self.edit_part_parameter_max_value, 0, wx.ALL, 5 )
		
		choice_part_parameter_max_prefixChoices = []
		self.choice_part_parameter_max_prefix = wx.Choice( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, choice_part_parameter_max_prefixChoices, 0 )
		self.choice_part_parameter_max_prefix.SetSelection( 0 )
		bSizer72.Add( self.choice_part_parameter_max_prefix, 0, wx.ALL, 5 )
		
		
		fgSizer1.Add( bSizer72, 1, wx.EXPAND, 5 )
		
		
		bSizer1.Add( fgSizer1, 1, wx.EXPAND, 5 )
		
		button_part_edit = wx.StdDialogButtonSizer()
		self.button_part_editApply = wx.Button( self, wx.ID_APPLY )
		button_part_edit.AddButton( self.button_part_editApply )
		self.button_part_editCancel = wx.Button( self, wx.ID_CANCEL )
		button_part_edit.AddButton( self.button_part_editCancel )
		button_part_edit.Realize();
		
		bSizer1.Add( button_part_edit, 0, wx.EXPAND, 5 )
		
		
		self.SetSizer( bSizer1 )
		self.Layout()
		
		self.Centre( wx.BOTH )
		
		# Connect Events
		self.radio_choice_parameter_numeric.Bind( wx.EVT_RADIOBUTTON, self.onRadioNumeric )
		self.radio_choice_parameter_text.Bind( wx.EVT_RADIOBUTTON, self.onRadioText )
		self.button_part_editApply.Bind( wx.EVT_BUTTON, self.onButtonPartParameterEditApply )
		self.button_part_editCancel.Bind( wx.EVT_BUTTON, self.onButtonPartParameterEditCancel )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def onRadioNumeric( self, event ):
		event.Skip()
	
	def onRadioText( self, event ):
		event.Skip()
	
	def onButtonPartParameterEditApply( self, event ):
		event.Skip()
	
	def onButtonPartParameterEditCancel( self, event ):
		event.Skip()
	

