#!/usr/bin/env python
# -*- coding: utf-8 -*-
# generated by wxGlade 0.6.5 on Thu Mar 14 19:54:32 2013

import wx

# begin wxGlade: extracode
# end wxGlade


class Carrito(wx.Frame):
    def __init__(self, *args, **kwds):
        # begin wxGlade: Carrito.__init__
        kwds["style"] = wx.DEFAULT_FRAME_STYLE ^ wx.RESIZE_BORDER
        wx.Frame.__init__(self, *args, **kwds)
        self.panel_2 = wx.Panel(self, -1)
        self.label_carrito = wx.StaticText(self.panel_2, -1, "CARRITO")
        self.list_carrito = wx.ListCtrl(self.panel_2, -1, style=wx.LC_REPORT | wx.SUNKEN_BORDER)
        self.boton_quitar = wx.Button(self.panel_2, -1, "Quitar")
        self.boton_descuento = wx.Button(self.panel_2, -1, "Descuento")
        self.label_total = wx.StaticText(self.panel_2, -1, "Total", style=wx.ALIGN_RIGHT)
        self.label_total_imagen = wx.StaticText(self.panel_2, -1, "")
        self.static_line_1 = wx.StaticLine(self.panel_2, -1)
        self.label_tiipo_de_venta = wx.StaticText(self.panel_2, -1, "Tipo de Venta")
        self.notebook = wx.Notebook(self.panel_2, -1, style=0)
        self.panel_casual = wx.Panel(self.notebook, -1)
        self.label_entrega_casual = wx.StaticText(self.panel_casual, -1, "Entrega")
        self.text_entrega_casual = wx.TextCtrl(self.panel_casual, -1, "")
        self.label_paga_con_casual = wx.StaticText(self.panel_casual, -1, "Paga con")
        self.text_paga_con_casual_copy = wx.TextCtrl(self.panel_casual, -1, "")
        self.label_vuelto_casual = wx.StaticText(self.panel_casual, -1, "Vuelto")
        self.label_vuelto_imagen_casual_copy = wx.StaticText(self.panel_casual, -1, "")
        self.panel_cliente = wx.Panel(self.notebook, -1)
        self.texto_buscar_cliente = wx.TextCtrl(self.panel_cliente, -1, "Buscar...")
        self.radio_btn_dni_cliente = wx.RadioButton(self.panel_cliente, -1, "DNI")
        self.radio_btn_nombre_cliente = wx.RadioButton(self.panel_cliente, -1, "Nombre")
        self.list_cliente = wx.ListCtrl(self.panel_cliente, -1, style=wx.LC_REPORT | wx.SUNKEN_BORDER)
        self.Condicional = wx.CheckBox(self.panel_cliente, -1, "Condicional")
        self.label_total_cliente = wx.StaticText(self.panel_cliente, -1, "Total")
        self.texto_total_cliente = wx.TextCtrl(self.panel_cliente, -1, "")
        self.label_paga_con_cliente = wx.StaticText(self.panel_cliente, -1, "Pagar con")
        self.texto_paga_con_cliente = wx.TextCtrl(self.panel_cliente, -1, "")
        self.label_vuelto_cliente = wx.StaticText(self.panel_cliente, -1, "Vuelto")
        self.label_vuelto_imagen_cliente = wx.StaticText(self.panel_cliente, -1, "")
        self.boton_imprimir = wx.Button(self.panel_2, -1, "Imprimir")
        self.boton_cancelar = wx.Button(self.panel_2, -1, "Cancelar")
        self.boton_aceptar = wx.Button(self.panel_2, -1, "Aceptar")

        self.__set_properties()
        self.__do_layout()
        # end wxGlade

    def __set_properties(self):
        # begin wxGlade: Carrito.__set_properties
        self.SetTitle("frame_1")
        self.SetSize((1040, 576))
        self.label_carrito.SetFont(wx.Font(25, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.list_carrito.SetMinSize((200, 100))
        self.list_carrito.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.boton_quitar.SetMinSize((76, 20))
        self.boton_quitar.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.boton_descuento.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.label_total.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_total_imagen.SetMinSize((140, 25))
        self.label_total_imagen.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_tiipo_de_venta.SetFont(wx.Font(15, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_entrega_casual.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.text_entrega_casual.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_paga_con_casual.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.text_paga_con_casual_copy.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_vuelto_casual.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_vuelto_imagen_casual_copy.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.texto_buscar_cliente.SetMinSize((250, 25))
        self.texto_buscar_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.radio_btn_dni_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.radio_btn_nombre_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.list_cliente.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.Condicional.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_total_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_paga_con_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.texto_paga_con_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_vuelto_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.label_vuelto_imagen_cliente.SetFont(wx.Font(12, wx.DEFAULT, wx.NORMAL, wx.NORMAL, 0, "MS Shell Dlg 2"))
        self.notebook.SetFont(wx.Font(11, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        self.panel_2.SetFont(wx.Font(9, wx.DEFAULT, wx.NORMAL, wx.BOLD, 0, ""))
        # end wxGlade

    def __do_layout(self):
        # begin wxGlade: Carrito.__do_layout
        sizer_1 = wx.BoxSizer(wx.VERTICAL)
        sizer_2 = wx.BoxSizer(wx.VERTICAL)
        sizer_7 = wx.BoxSizer(wx.VERTICAL)
        sizer_13 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_10 = wx.BoxSizer(wx.VERTICAL)
        sizer_9_copy = wx.BoxSizer(wx.HORIZONTAL)
        sizer_14 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_11 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_9 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_3 = wx.BoxSizer(wx.VERTICAL)
        sizer_6 = wx.BoxSizer(wx.HORIZONTAL)
        grid_sizer_1 = wx.FlexGridSizer(1, 1, 0, 0)
        sizer_4 = wx.BoxSizer(wx.HORIZONTAL)
        sizer_5 = wx.BoxSizer(wx.VERTICAL)
        sizer_3.Add(self.label_carrito, 0, wx.LEFT, 7)
        sizer_4.Add(self.list_carrito, 1, wx.LEFT | wx.EXPAND, 5)
        sizer_5.Add(self.boton_quitar, 0, 0, 0)
        sizer_5.Add((20, 50), 0, 0, 0)
        sizer_5.Add(self.boton_descuento, 0, 0, 0)
        sizer_4.Add(sizer_5, 0, wx.LEFT | wx.RIGHT | wx.BOTTOM | wx.ALIGN_CENTER_VERTICAL, 45)
        sizer_3.Add(sizer_4, 1, wx.EXPAND, 0)
        sizer_6.Add(self.label_total, 1, wx.LEFT | wx.ALIGN_CENTER_VERTICAL, 390)
        grid_sizer_1.Add(self.label_total_imagen, 0, wx.LEFT, 3)
        sizer_6.Add(grid_sizer_1, 1, wx.EXPAND, 0)
        sizer_3.Add(sizer_6, 0, wx.EXPAND, 0)
        sizer_3.Add(self.static_line_1, 0, wx.TOP | wx.EXPAND, 45)
        sizer_3.Add(self.label_tiipo_de_venta, 0, wx.ALL, 3)
        sizer_2.Add(sizer_3, 1, wx.EXPAND, 0)
        sizer_9.Add(self.label_entrega_casual, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 2)
        sizer_9.Add(self.text_entrega_casual, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9.Add(self.label_paga_con_casual, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9.Add(self.text_paga_con_casual_copy, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9.Add(self.label_vuelto_casual, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9.Add(self.label_vuelto_imagen_casual_copy, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        self.panel_casual.SetSizer(sizer_9)
        sizer_11.Add(self.texto_buscar_cliente, 0, wx.ALL | wx.ALIGN_CENTER_HORIZONTAL, 3)
        sizer_11.Add(self.radio_btn_dni_cliente, 0, wx.ALL | wx.ALIGN_CENTER_HORIZONTAL, 3)
        sizer_11.Add(self.radio_btn_nombre_cliente, 0, wx.ALL | wx.ALIGN_CENTER_HORIZONTAL, 3)
        sizer_10.Add(sizer_11, 0, wx.EXPAND, 0)
        sizer_14.Add(self.list_cliente, 1, wx.EXPAND, 0)
        sizer_14.Add(self.Condicional, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_10.Add(sizer_14, 1, wx.EXPAND, 0)
        sizer_9_copy.Add(self.label_total_cliente, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9_copy.Add(self.texto_total_cliente, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9_copy.Add(self.label_paga_con_cliente, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9_copy.Add(self.texto_paga_con_cliente, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9_copy.Add(self.label_vuelto_cliente, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_9_copy.Add(self.label_vuelto_imagen_cliente, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 3)
        sizer_10.Add(sizer_9_copy, 0, wx.EXPAND, 0)
        self.panel_cliente.SetSizer(sizer_10)
        self.notebook.AddPage(self.panel_casual, "Casual")
        self.notebook.AddPage(self.panel_cliente, "Cliente")
        sizer_7.Add(self.notebook, 1, wx.ALL | wx.EXPAND, 2)
        sizer_13.Add(self.boton_imprimir, 0, wx.ALL, 3)
        sizer_13.Add(self.boton_cancelar, 0, wx.ALL, 3)
        sizer_13.Add(self.boton_aceptar, 0, wx.ALL, 3)
        sizer_7.Add(sizer_13, 0, wx.ALIGN_RIGHT, 0)
        sizer_2.Add(sizer_7, 0, wx.EXPAND, 0)
        self.panel_2.SetSizer(sizer_2)
        sizer_1.Add(self.panel_2, 1, wx.RIGHT, 0)
        self.SetSizer(sizer_1)
        self.Layout()
        # end wxGlade

# end of class Carrito
if __name__ == "__main__":
    app = wx.PySimpleApp(0)
    wx.InitAllImageHandlers()
    frame_Carrito = Carrito(None, -1, "")
    app.SetTopWindow(frame_Carrito)
    frame_Carrito.Show()
    app.MainLoop()
