URL
https://opencores.org/ocsvn/phr/phr/trunk
Subversion Repositories phr
Compare Revisions
- This comparison shows the changes necessary to convert path
/phr/trunk
- from Rev 171 to Rev 172
- ↔ Reverse comparison
Rev 171 → Rev 172
/codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/imagen.jpg
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/imagen.jpg
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/phr-gui.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/phr-gui.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/phr-gui.py (revision 172)
@@ -0,0 +1,116 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# generated by wxGlade 0.6.3 on Tue Mar 18 21:30:25 2014
+
+import wx
+# imports by maximiq
+import os # se usa para el dialogo de abrir fichero
+import subprocess # para interactuar con el shell
+
+# begin wxGlade: extracode
+# end wxGlade
+
+
+
+class MyFrame(wx.Frame):
+ def __init__(self, *args, **kwds):
+ # begin wxGlade: MyFrame.__init__
+ kwds["style"] = wx.DEFAULT_FRAME_STYLE
+ wx.Frame.__init__(self, *args, **kwds)
+ self.frame_1_statusbar = self.CreateStatusBar(1, 0)
+ self.bitmap_1 = wx.StaticBitmap(self, -1, wx.Bitmap("imagen.jpg", wx.BITMAP_TYPE_ANY))
+ self.label_1 = wx.StaticText(self, -1, "Aca puede ir algo de texto para aclarar como es el \nprocedimiento para hacer andar el programa.")
+ self.text_ctrl_3 = wx.TextCtrl(self, -1, "")
+ self.button_3 = wx.Button(self, -1, "Elegir fichero")
+ self.button_4 = wx.Button(self, -1, "Grabar")
+ self.text_ctrl_2 = wx.TextCtrl(self, -1, "", style=wx.TE_PROCESS_ENTER|wx.TE_MULTILINE)
+
+ self.__set_properties()
+ self.__do_layout()
+
+ self.Bind(wx.EVT_BUTTON, self.choose_file_button, self.button_3)
+ self.Bind(wx.EVT_BUTTON, self.action_button, self.button_4)
+ # end wxGlade
+
+ def __set_properties(self):
+ # begin wxGlade: MyFrame.__set_properties
+ self.SetTitle("Titulo de la ventana")
+ self.frame_1_statusbar.SetStatusWidths([-1])
+ # statusbar fields
+ frame_1_statusbar_fields = ["frame_1_statusbar"]
+ for i in range(len(frame_1_statusbar_fields)):
+ self.frame_1_statusbar.SetStatusText(frame_1_statusbar_fields[i], i)
+ self.text_ctrl_2.SetMinSize((350, 135))
+ # end wxGlade
+
+ def __do_layout(self):
+ # begin wxGlade: MyFrame.__do_layout
+ sizer_1 = wx.BoxSizer(wx.VERTICAL)
+ grid_sizer_1 = wx.FlexGridSizer(5, 1, 0, 0)
+ grid_sizer_2 = wx.FlexGridSizer(1, 3, 0, 0)
+ grid_sizer_1.Add(self.bitmap_1, 0, wx.ALL, 5)
+ grid_sizer_1.Add(self.label_1, 0, wx.ALL, 5)
+ grid_sizer_2.Add(self.text_ctrl_3, 0, wx.ALL|wx.EXPAND, 5)
+ grid_sizer_2.Add(self.button_3, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.Add(self.button_4, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.AddGrowableCol(0)
+ grid_sizer_1.Add(grid_sizer_2, 1, wx.EXPAND, 0)
+ grid_sizer_1.Add(self.text_ctrl_2, 0, wx.ALL|wx.EXPAND, 5)
+ sizer_1.Add(grid_sizer_1, 1, wx.EXPAND, 0)
+ self.SetSizer(sizer_1)
+ sizer_1.Fit(self)
+ self.Layout()
+ self.Centre()
+ # end wxGlade
+
+ def choose_file_button(self, event): # wxGlade: MyFrame.
+ #funcion editada por maximiq
+ #self.text_ctrl_3.SetValue("Hola")
+
+ wildcard = "Python source (*.py)|*.py|" \
+ "Compiled Python (*.pyc)|*.pyc|" \
+ "All files (*.*)|*.*"
+ dialog = wx.FileDialog(None, "Titulo de la ventana", os.getcwd(), "", wildcard, wx.OPEN)
+ if dialog.ShowModal() == wx.ID_OK:
+ self.text_ctrl_3.SetValue(dialog.GetPath())
+
+ dialog.Destroy()
+
+ event.Skip()
+
+ def action_button(self, event): # wxGlade: MyFrame.
+ #print "Event handler `action_button' not implemented"
+ # by maximiq
+
+ # preparar entorno
+ self.button_4.Disable()
+ self.frame_1_statusbar.SetFields(["Espere ..."])
+
+ self.text_ctrl_2.WriteText("\n======================================\n" \
+ + "El fichero elegido es:\n" \
+ + self.text_ctrl_3.GetValue() \
+ + "\n\nEjecucion de un comando (dir c:):\n")
+
+ command = "dir c:" # the shell command
+ process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
+
+ for line in iter(process.stdout.readline, ''):
+ self.text_ctrl_2.WriteText(line)
+ process.stdout.close()
+
+ # finalizando
+ self.button_4.Enable()
+ self.frame_1_statusbar.SetFields(["Listo"])
+
+ event.Skip()
+
+# end of class MyFrame
+
+
+if __name__ == "__main__":
+ app = wx.App(False)
+ #wx.InitAllImageHandlers()
+ frame_1 = MyFrame(None, -1, "")
+ app.SetTopWindow(frame_1)
+ frame_1.Show()
+ app.MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/rapid.wxg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/rapid.wxg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events/rapid.wxg (revision 172)
@@ -0,0 +1,98 @@
+
+
+
+
+
+
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/imagen.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/imagen.jpg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/imagen.jpg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/imagen.jpg (revision 172)
codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/imagen.jpg
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/phr-gui.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/phr-gui.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/phr-gui.py (revision 172)
@@ -0,0 +1,116 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# generated by wxGlade 0.6.3 on Tue Mar 18 21:30:25 2014
+
+import wx
+# imports by maximiq
+import os # se usa para el dialogo de abrir fichero
+import subprocess # para interactuar con el shell
+
+# begin wxGlade: extracode
+# end wxGlade
+
+
+
+class MyFrame(wx.Frame):
+ def __init__(self, *args, **kwds):
+ # begin wxGlade: MyFrame.__init__
+ kwds["style"] = wx.DEFAULT_FRAME_STYLE
+ wx.Frame.__init__(self, *args, **kwds)
+ self.frame_1_statusbar = self.CreateStatusBar(1, 0)
+ self.bitmap_1 = wx.StaticBitmap(self, -1, wx.Bitmap("imagen.jpg", wx.BITMAP_TYPE_ANY))
+ self.label_1 = wx.StaticText(self, -1, "Aca puede ir algo de texto para aclarar como es el \nprocedimiento para hacer andar el programa.")
+ self.text_ctrl_3 = wx.TextCtrl(self, -1, "")
+ self.button_3 = wx.Button(self, -1, "Elegir fichero")
+ self.button_4 = wx.Button(self, -1, "Grabar")
+ self.text_ctrl_2 = wx.TextCtrl(self, -1, "", style=wx.TE_PROCESS_ENTER|wx.TE_MULTILINE)
+
+ self.__set_properties()
+ self.__do_layout()
+
+ self.Bind(wx.EVT_BUTTON, self.choose_file_button, self.button_3)
+ self.Bind(wx.EVT_BUTTON, self.action_button, self.button_4)
+ # end wxGlade
+
+ def __set_properties(self):
+ # begin wxGlade: MyFrame.__set_properties
+ self.SetTitle("Titulo de la ventana")
+ self.frame_1_statusbar.SetStatusWidths([-1])
+ # statusbar fields
+ frame_1_statusbar_fields = ["frame_1_statusbar"]
+ for i in range(len(frame_1_statusbar_fields)):
+ self.frame_1_statusbar.SetStatusText(frame_1_statusbar_fields[i], i)
+ self.text_ctrl_2.SetMinSize((350, 135))
+ # end wxGlade
+
+ def __do_layout(self):
+ # begin wxGlade: MyFrame.__do_layout
+ sizer_1 = wx.BoxSizer(wx.VERTICAL)
+ grid_sizer_1 = wx.FlexGridSizer(5, 1, 0, 0)
+ grid_sizer_2 = wx.FlexGridSizer(1, 3, 0, 0)
+ grid_sizer_1.Add(self.bitmap_1, 0, wx.ALL, 5)
+ grid_sizer_1.Add(self.label_1, 0, wx.ALL, 5)
+ grid_sizer_2.Add(self.text_ctrl_3, 0, wx.ALL|wx.EXPAND, 5)
+ grid_sizer_2.Add(self.button_3, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.Add(self.button_4, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.AddGrowableCol(0)
+ grid_sizer_1.Add(grid_sizer_2, 1, wx.EXPAND, 0)
+ grid_sizer_1.Add(self.text_ctrl_2, 0, wx.ALL|wx.EXPAND, 5)
+ sizer_1.Add(grid_sizer_1, 1, wx.EXPAND, 0)
+ self.SetSizer(sizer_1)
+ sizer_1.Fit(self)
+ self.Layout()
+ self.Centre()
+ # end wxGlade
+
+ def choose_file_button(self, event): # wxGlade: MyFrame.
+ #funcion editada por maximiq
+ #self.text_ctrl_3.SetValue("Hola")
+
+ wildcard = "Python source (*.py)|*.py|" \
+ "Compiled Python (*.pyc)|*.pyc|" \
+ "All files (*.*)|*.*"
+ dialog = wx.FileDialog(None, "Titulo de la ventana", os.getcwd(), "", wildcard, wx.OPEN)
+ if dialog.ShowModal() == wx.ID_OK:
+ self.text_ctrl_3.SetValue(dialog.GetPath())
+
+ dialog.Destroy()
+
+ event.Skip()
+
+ def action_button(self, event): # wxGlade: MyFrame.
+ #print "Event handler `action_button' not implemented"
+ # by maximiq
+
+ # preparar entorno
+ self.button_4.Disable()
+ self.frame_1_statusbar.SetFields(["Espere ..."])
+
+ self.text_ctrl_2.WriteText("\n======================================\n" \
+ + "El fichero elegido es:\n" \
+ + self.text_ctrl_3.GetValue() \
+ + "\n\nEjecucion de un comando (dir c:):\n")
+
+ command = "dir c:" # the shell command
+ process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
+
+ for line in iter(process.stdout.readline, ''):
+ self.text_ctrl_2.WriteText(line)
+ process.stdout.close()
+
+ # finalizando
+ self.button_4.Enable()
+ self.frame_1_statusbar.SetFields(["Listo"])
+
+ event.Skip()
+
+# end of class MyFrame
+
+
+if __name__ == "__main__":
+ app = wx.App(False)
+ #wx.InitAllImageHandlers()
+ frame_1 = MyFrame(None, -1, "")
+ app.SetTopWindow(frame_1)
+ frame_1.Show()
+ app.MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/rapid.wxg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/rapid.wxg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/rapid.wxg (revision 172)
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+ Titulo de la ventana
+ 1
+ 1
+
+
+ frame_1_statusbar
+
+
+
+ wxVERTICAL
+
+ wxEXPAND
+ 0
+
+
+ 0
+ 5
+ 1
+ 0
+
+ wxALL
+ 5
+
+
+ 1
+ C:\Me\minimal python2.7.6\prueba 2\imagen.jpg
+
+
+
+ wxALL
+ 5
+
+
+ 1
+
+
+
+
+ wxEXPAND
+ 0
+
+
+ 0
+ 1
+ 0
+ 3
+ 0
+
+ wxALL|wxEXPAND
+ 5
+
+
+
+
+
+ wxRIGHT|wxTOP|wxBOTTOM
+ 5
+
+
+
+
+ choose_file_button
+
+
+
+
+ wxRIGHT|wxTOP|wxBOTTOM
+ 5
+
+
+
+
+ action_button
+
+
+
+
+
+
+ wxALL|wxEXPAND
+ 5
+
+
+
+ 350, 135
+
+
+
+
+
+
+
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/setup.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/setup.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/setup.py (revision 172)
@@ -0,0 +1,53 @@
+#!/usr/bin/python
+
+from distutils.core import setup
+import py2exe
+
+manifest = """
+
+
+
+Your Application
+
+
+
+
+
+
+"""
+
+"""
+installs manifest and icon into the .exe
+but icon is still needed as we open it
+for the window icon (not just the .exe)
+changelog and logo are included in dist
+"""
+
+setup(
+ options = {
+ "py2exe":{
+ "dll_excludes": ["MSVCP90.dll", "HID.DLL", "w9xpopen.exe"],
+ }
+ },
+ windows = [
+ {
+ "script": "phr-gui.py",
+ # "icon_resources": [(1, "yourapplication.ico")],
+ # "other_resources": [(24,1,manifest)]
+ }
+ ],
+ # data_files=["yourapplication.ico"]
+)
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/nis/Licencia.txt
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/nis/Licencia.txt (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/nis/Licencia.txt (revision 172)
@@ -0,0 +1 @@
+Este es el archivo para la licencia.
\ No newline at end of file
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/nis/para_instalador.nsi
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/nis/para_instalador.nsi (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui_events_dist/nis/para_instalador.nsi (revision 172)
@@ -0,0 +1,133 @@
+; Script generated by the HM NIS Edit Script Wizard.
+
+; HM NIS Edit Wizard helper defines
+!define PRODUCT_NAME "PHR GUI"
+!define PRODUCT_VERSION "0.1"
+!define PRODUCT_PUBLISHER "CUDAR (UTN-FRC)"
+!define PRODUCT_WEB_SITE "http://www.frc.utn.edu.ar/"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\phr-gui.exe"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+
+; MUI 1.67 compatible ------
+!include "MUI.nsh"
+
+; MUI Settings
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+!insertmacro MUI_PAGE_LICENSE "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\nis\Licencia.txt"
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+; Finish page
+!define MUI_FINISHPAGE_RUN "$INSTDIR\phr-gui.exe"
+!insertmacro MUI_PAGE_FINISH
+
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_INSTFILES
+
+; Language files
+!insertmacro MUI_LANGUAGE "Spanish"
+
+; MUI end ------
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+OutFile "phr-gui_instalar.exe"
+InstallDir "$PROGRAMFILES\PHR GUI"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+ShowInstDetails show
+ShowUnInstDetails show
+
+Section "Principal" SEC01
+ SetOutPath "$INSTDIR"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\bz2.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\imagen.jpg"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\library.zip"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\phr-gui.exe"
+ CreateDirectory "$SMPROGRAMS\PHR GUI"
+ CreateShortCut "$SMPROGRAMS\PHR GUI\PHR GUI.lnk" "$INSTDIR\phr-gui.exe"
+ CreateShortCut "$DESKTOP\PHR GUI.lnk" "$INSTDIR\phr-gui.exe"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\python27.dll"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\select.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\unicodedata.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wx._controls_.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wx._core_.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wx._gdi_.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wx._misc_.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wx._windows_.pyd"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wxbase30u_net_vc90.dll"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wxbase30u_vc90.dll"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wxmsw30u_adv_vc90.dll"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wxmsw30u_core_vc90.dll"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\wxmsw30u_html_vc90.dll"
+ File "C:\Me\minimal python2.7.6\wx_simple_gui_events_dist\dist\_hashlib.pyd"
+SectionEnd
+
+Section -AdditionalIcons
+ WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
+ CreateShortCut "$SMPROGRAMS\PHR GUI\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
+ CreateShortCut "$SMPROGRAMS\PHR GUI\Uninstall.lnk" "$INSTDIR\uninst.exe"
+SectionEnd
+
+Section -Post
+ WriteUninstaller "$INSTDIR\uninst.exe"
+ WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\phr-gui.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\phr-gui.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+
+Function un.onUninstSuccess
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "La desinstalación de $(^Name) finalizó satisfactoriamente."
+FunctionEnd
+
+Function un.onInit
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "¿Está completamente seguro que desea desinstalar $(^Name) junto con todos sus componentes?" IDYES +2
+ Abort
+FunctionEnd
+
+Section Uninstall
+ Delete "$INSTDIR\${PRODUCT_NAME}.url"
+ Delete "$INSTDIR\uninst.exe"
+ Delete "$INSTDIR\_hashlib.pyd"
+ Delete "$INSTDIR\wxmsw30u_html_vc90.dll"
+ Delete "$INSTDIR\wxmsw30u_core_vc90.dll"
+ Delete "$INSTDIR\wxmsw30u_adv_vc90.dll"
+ Delete "$INSTDIR\wxbase30u_vc90.dll"
+ Delete "$INSTDIR\wxbase30u_net_vc90.dll"
+ Delete "$INSTDIR\wx._windows_.pyd"
+ Delete "$INSTDIR\wx._misc_.pyd"
+ Delete "$INSTDIR\wx._gdi_.pyd"
+ Delete "$INSTDIR\wx._core_.pyd"
+ Delete "$INSTDIR\wx._controls_.pyd"
+ Delete "$INSTDIR\unicodedata.pyd"
+ Delete "$INSTDIR\select.pyd"
+ Delete "$INSTDIR\python27.dll"
+ Delete "$INSTDIR\phr-gui.exe"
+ Delete "$INSTDIR\library.zip"
+ Delete "$INSTDIR\imagen.jpg"
+ Delete "$INSTDIR\bz2.pyd"
+
+ Delete "$SMPROGRAMS\PHR GUI\Uninstall.lnk"
+ Delete "$SMPROGRAMS\PHR GUI\Website.lnk"
+ Delete "$DESKTOP\PHR GUI.lnk"
+ Delete "$SMPROGRAMS\PHR GUI\PHR GUI.lnk"
+
+ RMDir "$SMPROGRAMS\PHR GUI"
+ RMDir "$INSTDIR"
+
+ DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+ DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
+ SetAutoClose true
+SectionEnd
\ No newline at end of file
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/programa.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/programa.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/programa.py (revision 172)
@@ -0,0 +1,52 @@
+#!/usr/bin/env python
+# -*- coding: CP1252 -*-
+#
+# generated by wxGlade 0.6.8 (standalone edition) on Sat Mar 22 20:34:38 2014
+#
+
+import wx
+
+# begin wxGlade: dependencies
+import gettext
+# end wxGlade
+
+# begin wxGlade: extracode
+# end wxGlade
+
+
+class MyFrame(wx.Frame):
+ def __init__(self, *args, **kwds):
+ # begin wxGlade: MyFrame.__init__
+ kwds["style"] = wx.DEFAULT_FRAME_STYLE
+ wx.Frame.__init__(self, *args, **kwds)
+ self.label_1 = wx.StaticText(self, wx.ID_ANY, _("Hola mundo !!!"))
+
+ self.__set_properties()
+ self.__do_layout()
+ # end wxGlade
+
+ def __set_properties(self):
+ # begin wxGlade: MyFrame.__set_properties
+ self.SetTitle(_("frame_1"))
+ self.SetBackgroundColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_3DFACE))
+ # end wxGlade
+
+ def __do_layout(self):
+ # begin wxGlade: MyFrame.__do_layout
+ sizer_1 = wx.BoxSizer(wx.VERTICAL)
+ sizer_1.Add(self.label_1, 0, wx.ALL, 20)
+ self.SetSizer(sizer_1)
+ sizer_1.Fit(self)
+ self.Layout()
+ # end wxGlade
+
+# end of class MyFrame
+if __name__ == "__main__":
+ gettext.install("app") # replace with the appropriate catalog name
+
+ app = wx.App(False)
+ #wx.InitAllImageHandlers()
+ frame_1 = MyFrame(None, wx.ID_ANY, "")
+ app.SetTopWindow(frame_1)
+ frame_1.Show()
+ app.MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/setup.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/setup.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/setup.py (revision 172)
@@ -0,0 +1,53 @@
+#!/usr/bin/python
+
+from distutils.core import setup
+import py2exe
+
+manifest = """
+
+
+
+Your Application
+
+
+
+
+
+
+"""
+
+"""
+installs manifest and icon into the .exe
+but icon is still needed as we open it
+for the window icon (not just the .exe)
+changelog and logo are included in dist
+"""
+
+setup(
+ options = {
+ "py2exe":{
+ "dll_excludes": ["MSVCP90.dll", "HID.DLL", "w9xpopen.exe"],
+ }
+ },
+ windows = [
+ {
+ "script": "programa.py",
+ # "icon_resources": [(1, "yourapplication.ico")],
+ # "other_resources": [(24,1,manifest)]
+ }
+ ],
+ # data_files=["yourapplication.ico"]
+)
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/nis/Licencia.txt
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/nis/Licencia.txt (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/nis/Licencia.txt (revision 172)
@@ -0,0 +1 @@
+Este es el archivo para la licencia.
\ No newline at end of file
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/nis/for_installer.nsi
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/nis/for_installer.nsi (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/nis/for_installer.nsi (revision 172)
@@ -0,0 +1,131 @@
+; Script generated by the HM NIS Edit Script Wizard.
+
+; HM NIS Edit Wizard helper defines
+!define PRODUCT_NAME "PHR GUI"
+!define PRODUCT_VERSION "0.1"
+!define PRODUCT_PUBLISHER "CUDAR (UTN-FRC)"
+!define PRODUCT_WEB_SITE "http://opencores.org/project,phr"
+!define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\programa.exe"
+!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
+!define PRODUCT_UNINST_ROOT_KEY "HKLM"
+
+; MUI 1.67 compatible ------
+!include "MUI.nsh"
+
+; MUI Settings
+!define MUI_ABORTWARNING
+!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
+!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
+
+; Welcome page
+!insertmacro MUI_PAGE_WELCOME
+; License page
+!insertmacro MUI_PAGE_LICENSE "C:\Me\minimal python2.7.6\py2exe_wx_nis\nis\Licencia.txt"
+; Directory page
+!insertmacro MUI_PAGE_DIRECTORY
+; Instfiles page
+!insertmacro MUI_PAGE_INSTFILES
+; Finish page
+!define MUI_FINISHPAGE_RUN "$INSTDIR\programa.exe"
+!insertmacro MUI_PAGE_FINISH
+
+; Uninstaller pages
+!insertmacro MUI_UNPAGE_INSTFILES
+
+; Language files
+!insertmacro MUI_LANGUAGE "Spanish"
+
+; MUI end ------
+
+Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"
+OutFile "phr-gui_instalar.exe"
+InstallDir "$PROGRAMFILES\PHR GUI"
+InstallDirRegKey HKLM "${PRODUCT_DIR_REGKEY}" ""
+ShowInstDetails show
+ShowUnInstDetails show
+
+Section "Principal" SEC01
+ SetOutPath "$INSTDIR"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\bz2.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\library.zip"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\programa.exe"
+ CreateDirectory "$SMPROGRAMS\PHR GUI"
+ CreateShortCut "$SMPROGRAMS\PHR GUI\PHR GUI.lnk" "$INSTDIR\programa.exe"
+ CreateShortCut "$DESKTOP\PHR GUI.lnk" "$INSTDIR\programa.exe"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\python27.dll"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\select.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\unicodedata.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wx._controls_.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wx._core_.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wx._gdi_.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wx._misc_.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wx._windows_.pyd"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wxbase30u_net_vc90.dll"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wxbase30u_vc90.dll"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wxmsw30u_adv_vc90.dll"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wxmsw30u_core_vc90.dll"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\wxmsw30u_html_vc90.dll"
+ File "C:\Me\minimal python2.7.6\py2exe_wx_nis\dist\_hashlib.pyd"
+SectionEnd
+
+Section -AdditionalIcons
+ WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
+ CreateShortCut "$SMPROGRAMS\PHR GUI\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
+ CreateShortCut "$SMPROGRAMS\PHR GUI\Uninstall.lnk" "$INSTDIR\uninst.exe"
+SectionEnd
+
+Section -Post
+ WriteUninstaller "$INSTDIR\uninst.exe"
+ WriteRegStr HKLM "${PRODUCT_DIR_REGKEY}" "" "$INSTDIR\programa.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayName" "$(^Name)"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "UninstallString" "$INSTDIR\uninst.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayIcon" "$INSTDIR\programa.exe"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "DisplayVersion" "${PRODUCT_VERSION}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "URLInfoAbout" "${PRODUCT_WEB_SITE}"
+ WriteRegStr ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}" "Publisher" "${PRODUCT_PUBLISHER}"
+SectionEnd
+
+
+Function un.onUninstSuccess
+ HideWindow
+ MessageBox MB_ICONINFORMATION|MB_OK "La desinstalación de PHR GUI finalizó satisfactoriamente."
+FunctionEnd
+
+Function un.onInit
+ MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "¿Está completamente seguro que desea desinstalar PHR GUI junto con todos sus componentes?" IDYES +2
+ Abort
+FunctionEnd
+
+Section Uninstall
+ Delete "$INSTDIR\${PRODUCT_NAME}.url"
+ Delete "$INSTDIR\uninst.exe"
+ Delete "$INSTDIR\_hashlib.pyd"
+ Delete "$INSTDIR\wxmsw30u_html_vc90.dll"
+ Delete "$INSTDIR\wxmsw30u_core_vc90.dll"
+ Delete "$INSTDIR\wxmsw30u_adv_vc90.dll"
+ Delete "$INSTDIR\wxbase30u_vc90.dll"
+ Delete "$INSTDIR\wxbase30u_net_vc90.dll"
+ Delete "$INSTDIR\wx._windows_.pyd"
+ Delete "$INSTDIR\wx._misc_.pyd"
+ Delete "$INSTDIR\wx._gdi_.pyd"
+ Delete "$INSTDIR\wx._core_.pyd"
+ Delete "$INSTDIR\wx._controls_.pyd"
+ Delete "$INSTDIR\unicodedata.pyd"
+ Delete "$INSTDIR\select.pyd"
+ Delete "$INSTDIR\python27.dll"
+ Delete "$INSTDIR\programa.exe"
+ Delete "$INSTDIR\library.zip"
+ Delete "$INSTDIR\bz2.pyd"
+
+ Delete "$SMPROGRAMS\PHR GUI\Uninstall.lnk"
+ Delete "$SMPROGRAMS\PHR GUI\Website.lnk"
+ Delete "$DESKTOP\PHR GUI.lnk"
+ Delete "$SMPROGRAMS\PHR GUI\PHR GUI.lnk"
+
+ RMDir "$SMPROGRAMS\PHR GUI"
+ RMDir "$INSTDIR"
+
+ DeleteRegKey ${PRODUCT_UNINST_ROOT_KEY} "${PRODUCT_UNINST_KEY}"
+ DeleteRegKey HKLM "${PRODUCT_DIR_REGKEY}"
+ SetAutoClose true
+SectionEnd
\ No newline at end of file
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/rad.wxg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/rad.wxg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/rad.wxg (revision 172)
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+ frame_1
+ wxSYS_COLOUR_3DFACE
+
+ wxVERTICAL
+
+ wxALL
+ 20
+
+
+ 1
+
+
+
+
+
+
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/readme.txt
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/readme.txt (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx_nis/readme.txt (revision 172)
@@ -0,0 +1,7 @@
+para compilar desde la consola ejecutar:
+python setup.py py2exe
+
+la infromacion se obtuvo de:
+http://www.py2exe.org/index.cgi/Tutorial
+http://wiki.wxpython.org/CreatingStandaloneExecutables
+http://wiki.wxpython.org/DistributingYourApplication
\ No newline at end of file
Index: codigo/gui/windows/minimal python2.7.6/wx_hola_mundo/wx_example.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_hola_mundo/wx_example.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_hola_mundo/wx_example.py (revision 172)
@@ -0,0 +1,16 @@
+import wx
+class MyFrame(wx.Frame):
+ def __init__(self, parent, title):
+ wx.Frame.__init__(self, parent, -1, title )
+ btn = wx.Button(self, -1, "Hola")
+ self.Bind(wx.EVT_BUTTON, self.say_hello, btn)
+
+ def say_hello(self,*arg):
+ print "hola todo el mundo!"
+
+class MyApp(wx.App):
+ def OnInit(self):
+ frame = MyFrame(None, "Simple wxPython App")
+ frame.Show(True)
+ return True
+MyApp().MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/subprocess/process.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/subprocess/process.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/subprocess/process.py (revision 172)
@@ -0,0 +1,26 @@
+#from subprocess import check_output
+#st = check_output("dir C:", shell=True)
+#print st
+
+import subprocess
+
+command = "dir c:" # the shell command
+process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
+
+#Launch the shell command:
+#output, error = process.communicate()
+#print output
+
+for line in iter(process.stdout.readline, ''):
+ print line,
+process.stdout.close()
+
+
+#while True:
+# out = process.stdout.read(1)
+# if out == '' and process.poll() != None:
+# break
+# if out != '':
+# sys.stdout.write(out)
+# sys.stdout.flush()
+
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx/programa.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx/programa.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx/programa.py (revision 172)
@@ -0,0 +1,52 @@
+#!/usr/bin/env python
+# -*- coding: CP1252 -*-
+#
+# generated by wxGlade 0.6.8 (standalone edition) on Sat Mar 22 20:34:38 2014
+#
+
+import wx
+
+# begin wxGlade: dependencies
+import gettext
+# end wxGlade
+
+# begin wxGlade: extracode
+# end wxGlade
+
+
+class MyFrame(wx.Frame):
+ def __init__(self, *args, **kwds):
+ # begin wxGlade: MyFrame.__init__
+ kwds["style"] = wx.DEFAULT_FRAME_STYLE
+ wx.Frame.__init__(self, *args, **kwds)
+ self.label_1 = wx.StaticText(self, wx.ID_ANY, _("Hola mundo !!!"))
+
+ self.__set_properties()
+ self.__do_layout()
+ # end wxGlade
+
+ def __set_properties(self):
+ # begin wxGlade: MyFrame.__set_properties
+ self.SetTitle(_("frame_1"))
+ self.SetBackgroundColour(wx.SystemSettings_GetColour(wx.SYS_COLOUR_3DFACE))
+ # end wxGlade
+
+ def __do_layout(self):
+ # begin wxGlade: MyFrame.__do_layout
+ sizer_1 = wx.BoxSizer(wx.VERTICAL)
+ sizer_1.Add(self.label_1, 0, wx.ALL, 20)
+ self.SetSizer(sizer_1)
+ sizer_1.Fit(self)
+ self.Layout()
+ # end wxGlade
+
+# end of class MyFrame
+if __name__ == "__main__":
+ gettext.install("app") # replace with the appropriate catalog name
+
+ app = wx.App(False)
+ #wx.InitAllImageHandlers()
+ frame_1 = MyFrame(None, wx.ID_ANY, "")
+ app.SetTopWindow(frame_1)
+ frame_1.Show()
+ app.MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx/setup.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx/setup.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx/setup.py (revision 172)
@@ -0,0 +1,53 @@
+#!/usr/bin/python
+
+from distutils.core import setup
+import py2exe
+
+manifest = """
+
+
+
+Your Application
+
+
+
+
+
+
+"""
+
+"""
+installs manifest and icon into the .exe
+but icon is still needed as we open it
+for the window icon (not just the .exe)
+changelog and logo are included in dist
+"""
+
+setup(
+ options = {
+ "py2exe":{
+ "dll_excludes": ["MSVCP90.dll", "HID.DLL", "w9xpopen.exe"],
+ }
+ },
+ windows = [
+ {
+ "script": "programa.py",
+ # "icon_resources": [(1, "yourapplication.ico")],
+ # "other_resources": [(24,1,manifest)]
+ }
+ ],
+ # data_files=["yourapplication.ico"]
+)
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx/rad.wxg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx/rad.wxg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx/rad.wxg (revision 172)
@@ -0,0 +1,22 @@
+
+
+
+
+
+
+ frame_1
+ wxSYS_COLOUR_3DFACE
+
+ wxVERTICAL
+
+ wxALL
+ 20
+
+
+ 1
+
+
+
+
+
+
Index: codigo/gui/windows/minimal python2.7.6/py2exe_wx/readme.txt
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_wx/readme.txt (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_wx/readme.txt (revision 172)
@@ -0,0 +1,7 @@
+para compilar desde la consola ejecutar:
+python setup.py py2exe
+
+la infromacion se obtuvo de:
+http://www.py2exe.org/index.cgi/Tutorial
+http://wiki.wxpython.org/CreatingStandaloneExecutables
+http://wiki.wxpython.org/DistributingYourApplication
\ No newline at end of file
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui/imagen.jpg
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui/imagen.jpg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui/imagen.jpg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui/imagen.jpg (revision 172)
codigo/gui/windows/minimal python2.7.6/wx_simple_gui/imagen.jpg
Property changes :
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui/prueba_corregido.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui/prueba_corregido.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui/prueba_corregido.py (revision 172)
@@ -0,0 +1,80 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# generated by wxGlade 0.6.3 on Tue Mar 18 21:30:25 2014
+
+import wx
+
+# begin wxGlade: extracode
+# end wxGlade
+
+
+
+class MyFrame(wx.Frame):
+ def __init__(self, *args, **kwds):
+ # begin wxGlade: MyFrame.__init__
+ kwds["style"] = wx.DEFAULT_FRAME_STYLE
+ wx.Frame.__init__(self, *args, **kwds)
+ self.frame_1_statusbar = self.CreateStatusBar(1, 0)
+ self.bitmap_1 = wx.StaticBitmap(self, -1, wx.Bitmap("imagen.jpg", wx.BITMAP_TYPE_ANY))
+ self.label_1 = wx.StaticText(self, -1, "Aca puede ir algo de texto para aclarar como es el \nprocedimiento para hacer andar el programa.")
+ self.text_ctrl_3 = wx.TextCtrl(self, -1, "")
+ self.button_3 = wx.Button(self, -1, "Elegir fichero")
+ self.button_4 = wx.Button(self, -1, "Grabar")
+ self.text_ctrl_2 = wx.TextCtrl(self, -1, "", style=wx.TE_PROCESS_ENTER|wx.TE_MULTILINE)
+
+ self.__set_properties()
+ self.__do_layout()
+
+ self.Bind(wx.EVT_BUTTON, self.choose_file_button, self.button_3)
+ self.Bind(wx.EVT_BUTTON, self.action_button, self.button_4)
+ # end wxGlade
+
+ def __set_properties(self):
+ # begin wxGlade: MyFrame.__set_properties
+ self.SetTitle("Titulo de la ventana")
+ self.frame_1_statusbar.SetStatusWidths([-1])
+ # statusbar fields
+ frame_1_statusbar_fields = ["frame_1_statusbar"]
+ for i in range(len(frame_1_statusbar_fields)):
+ self.frame_1_statusbar.SetStatusText(frame_1_statusbar_fields[i], i)
+ self.text_ctrl_2.SetMinSize((350, 135))
+ # end wxGlade
+
+ def __do_layout(self):
+ # begin wxGlade: MyFrame.__do_layout
+ sizer_1 = wx.BoxSizer(wx.VERTICAL)
+ grid_sizer_1 = wx.FlexGridSizer(5, 1, 0, 0)
+ grid_sizer_2 = wx.FlexGridSizer(1, 3, 0, 0)
+ grid_sizer_1.Add(self.bitmap_1, 0, wx.ALL, 5)
+ grid_sizer_1.Add(self.label_1, 0, wx.ALL, 5)
+ grid_sizer_2.Add(self.text_ctrl_3, 0, wx.ALL|wx.EXPAND, 5)
+ grid_sizer_2.Add(self.button_3, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.Add(self.button_4, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.AddGrowableCol(0)
+ grid_sizer_1.Add(grid_sizer_2, 1, wx.EXPAND, 0)
+ grid_sizer_1.Add(self.text_ctrl_2, 0, wx.ALL|wx.EXPAND, 5)
+ sizer_1.Add(grid_sizer_1, 1, wx.EXPAND, 0)
+ self.SetSizer(sizer_1)
+ sizer_1.Fit(self)
+ self.Layout()
+ self.Centre()
+ # end wxGlade
+
+ def choose_file_button(self, event): # wxGlade: MyFrame.
+ print "Event handler `choose_file_button' not implemented"
+ event.Skip()
+
+ def action_button(self, event): # wxGlade: MyFrame.
+ print "Event handler `action_button' not implemented"
+ event.Skip()
+
+# end of class MyFrame
+
+
+if __name__ == "__main__":
+ app = wx.App(False)
+ #wx.InitAllImageHandlers()
+ frame_1 = MyFrame(None, -1, "")
+ app.SetTopWindow(frame_1)
+ frame_1.Show()
+ app.MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui/rapid.wxg
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui/rapid.wxg (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui/rapid.wxg (revision 172)
@@ -0,0 +1,98 @@
+
+
+
+
+
+
+ Titulo de la ventana
+ 1
+ 1
+
+
+ frame_1_statusbar
+
+
+
+ wxVERTICAL
+
+ wxEXPAND
+ 0
+
+
+ 0
+ 5
+ 1
+ 0
+
+ wxALL
+ 5
+
+
+ 1
+ C:\Me\minimal python2.7.6\prueba 2\imagen.jpg
+
+
+
+ wxALL
+ 5
+
+
+ 1
+
+
+
+
+ wxEXPAND
+ 0
+
+
+ 0
+ 1
+ 0
+ 3
+ 0
+
+ wxALL|wxEXPAND
+ 5
+
+
+
+
+
+ wxRIGHT|wxTOP|wxBOTTOM
+ 5
+
+
+
+
+ choose_file_button
+
+
+
+
+ wxRIGHT|wxTOP|wxBOTTOM
+ 5
+
+
+
+
+ action_button
+
+
+
+
+
+
+ wxALL|wxEXPAND
+ 5
+
+
+
+ 350, 135
+
+
+
+
+
+
+
Index: codigo/gui/windows/minimal python2.7.6/wx_simple_gui/prueba.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_simple_gui/prueba.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_simple_gui/prueba.py (revision 172)
@@ -0,0 +1,80 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# generated by wxGlade 0.6.3 on Tue Mar 18 21:30:25 2014
+
+import wx
+
+# begin wxGlade: extracode
+# end wxGlade
+
+
+
+class MyFrame(wx.Frame):
+ def __init__(self, *args, **kwds):
+ # begin wxGlade: MyFrame.__init__
+ kwds["style"] = wx.DEFAULT_FRAME_STYLE
+ wx.Frame.__init__(self, *args, **kwds)
+ self.frame_1_statusbar = self.CreateStatusBar(1, 0)
+ self.bitmap_1 = wx.StaticBitmap(self, -1, wx.Bitmap("imagen.jpg", wx.BITMAP_TYPE_ANY))
+ self.label_1 = wx.StaticText(self, -1, "Aca puede ir algo de texto para aclarar como es el \nprocedimiento para hacer andar el programa.")
+ self.text_ctrl_3 = wx.TextCtrl(self, -1, "")
+ self.button_3 = wx.Button(self, -1, "Elegir fichero")
+ self.button_4 = wx.Button(self, -1, "Grabar")
+ self.text_ctrl_2 = wx.TextCtrl(self, -1, "", style=wx.TE_PROCESS_ENTER|wx.TE_MULTILINE)
+
+ self.__set_properties()
+ self.__do_layout()
+
+ self.Bind(wx.EVT_BUTTON, self.choose_file_button, self.button_3)
+ self.Bind(wx.EVT_BUTTON, self.action_button, self.button_4)
+ # end wxGlade
+
+ def __set_properties(self):
+ # begin wxGlade: MyFrame.__set_properties
+ self.SetTitle("Titulo de la ventana")
+ self.frame_1_statusbar.SetStatusWidths([-1])
+ # statusbar fields
+ frame_1_statusbar_fields = ["frame_1_statusbar"]
+ for i in range(len(frame_1_statusbar_fields)):
+ self.frame_1_statusbar.SetStatusText(frame_1_statusbar_fields[i], i)
+ self.text_ctrl_2.SetMinSize((350, 135))
+ # end wxGlade
+
+ def __do_layout(self):
+ # begin wxGlade: MyFrame.__do_layout
+ sizer_1 = wx.BoxSizer(wx.VERTICAL)
+ grid_sizer_1 = wx.FlexGridSizer(5, 1, 0, 0)
+ grid_sizer_2 = wx.FlexGridSizer(1, 3, 0, 0)
+ grid_sizer_1.Add(self.bitmap_1, 0, wx.ALL, 5)
+ grid_sizer_1.Add(self.label_1, 0, wx.ALL, 5)
+ grid_sizer_2.Add(self.text_ctrl_3, 0, wx.ALL|wx.EXPAND, 5)
+ grid_sizer_2.Add(self.button_3, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.Add(self.button_4, 0, wx.RIGHT|wx.TOP|wx.BOTTOM, 5)
+ grid_sizer_2.AddGrowableCol(0)
+ grid_sizer_1.Add(grid_sizer_2, 1, wx.EXPAND, 0)
+ grid_sizer_1.Add(self.text_ctrl_2, 0, wx.ALL|wx.EXPAND, 5)
+ sizer_1.Add(grid_sizer_1, 1, wx.EXPAND, 0)
+ self.SetSizer(sizer_1)
+ sizer_1.Fit(self)
+ self.Layout()
+ self.Centre()
+ # end wxGlade
+
+ def choose_file_button(self, event): # wxGlade: MyFrame.
+ print "Event handler `choose_file_button' not implemented"
+ event.Skip()
+
+ def action_button(self, event): # wxGlade: MyFrame.
+ print "Event handler `action_button' not implemented"
+ event.Skip()
+
+# end of class MyFrame
+
+
+if __name__ == "__main__":
+ app = wx.PySimpleApp(0)
+ wx.InitAllImageHandlers()
+ frame_1 = MyFrame(None, -1, "")
+ app.SetTopWindow(frame_1)
+ frame_1.Show()
+ app.MainLoop()
Index: codigo/gui/windows/minimal python2.7.6/wx_file_dialog/file_dialog.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/wx_file_dialog/file_dialog.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/wx_file_dialog/file_dialog.py (revision 172)
@@ -0,0 +1,13 @@
+import wx
+import os
+
+
+app = wx.App(False)
+wildcard = "Python source (*.py)|*.py|" \
+ "Compiled Python (*.pyc)|*.pyc|" \
+ "All files (*.*)|*.*"
+dialog = wx.FileDialog(None, "Titulo de la ventana", os.getcwd(), "", wildcard, wx.OPEN)
+if dialog.ShowModal() == wx.ID_OK:
+ print dialog.GetPath()
+
+dialog.Destroy()
Index: codigo/gui/windows/minimal python2.7.6/py2exe_basic/programa.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_basic/programa.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_basic/programa.py (revision 172)
@@ -0,0 +1 @@
+print 'Hola mundo!!!'
Index: codigo/gui/windows/minimal python2.7.6/py2exe_basic/setup.py
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_basic/setup.py (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_basic/setup.py (revision 172)
@@ -0,0 +1,4 @@
+from distutils.core import setup
+import py2exe
+
+setup(console=['programa.py'])
Index: codigo/gui/windows/minimal python2.7.6/py2exe_basic/readme.txt
===================================================================
--- codigo/gui/windows/minimal python2.7.6/py2exe_basic/readme.txt (nonexistent)
+++ codigo/gui/windows/minimal python2.7.6/py2exe_basic/readme.txt (revision 172)
@@ -0,0 +1,3 @@
+tutorial segido de:
+
+http://www.py2exe.org/index.cgi/Tutorial
\ No newline at end of file