Module ihm_pyxmaker :: Class IhmPyxmaker
[hide private]
[frames] | no frames]

Class IhmPyxmaker

source code

Class which manage the PYGTK IHM

Class Hierarchy for IhmPyxmaker
Class Hierarchy for IhmPyxmaker

Instance Methods [hide private]
 
__init__(self, listing_menu, listing_lang, dict_config, dict_about, path_base, fct_p_config_save, fct_config_open, fct_lang_change, fct_gener_setup) source code
 
start_ihm(self)
Allow to launch the HMI
source code
 
scr_base(self)
Main window
source code
 
scr_title(self, texte)
Manage the screen title display
source code
 
scr_alim(self)
Allow to supply the menus
source code
 
scr_info(self)
The information screen
source code
 
scr_exe(self)
The executable screen
source code
 
scr_param(self)
The parameters screen
source code
 
p_notice(self, widget)
Launch the PDF documentation
source code
 
scr_change_previous(self, widget)
Manage the "previous screen" button, and screens display
source code
 
scr_change_next(self, widget)
Manage the "next screen" button, and screens display
source code
 
win_about(self, widget)
Show About window dialog
source code
 
win_question(self, widget, texte='')
Show a question window to the user with YES/NO buttons
source code
 
win_info(self, widget, texte='')
Create an info window.
source code
 
win_error(self, widget, texte='')
Create an error window with texte.
source code
 
win_confirm(self)
Display the different listing to the user for validation before generate the executable
source code
 
p_win_confirm_response(self, widget)
Allow to valid the scripts creation
source code
 
p_lang_alim(self)
Allow to supply the language combobox
source code
 
p_lang_change(self, widget)
Allow to change the language
source code
 
p_config_open(self, widget)
Allow to load the project configuration
source code
 
p_config_save(self, widget)
Allow to save the project configuration
source code
 
p_select_dir_pj(self, widget)
Allow to choose the project directory
source code
 
p_select_setup_icon(self, widget)
Allow to choose an icon for the setup install
source code
 
f_load_py(self, path)
Allow to create listing for .py file and package
source code
 
f_load_cbox_exec(self, widget)
Allow to supply the .py combobox on executable screen
source code
 
f_file_analyze(self, path, listing_file)
Allow to analyze .py file
source code
 
f_package_analyze(self, path)
Allow to recursively analyze packages
source code
 
p_cxf_listing(self, listing_file, listing_dir, path)
Create the different listing for the cx_freeze script
source code
 
f_generate_dict_param(self)
Allow to generate the parameters dctionnary
source code
 
p_generate_global(self, widget)
Launch the creation interface
source code
Method Details [hide private]

start_ihm(self)

source code 

Allow to launch the HMI

PARAMETERS

None

RETURNS

None

scr_base(self)

source code 

Main window

PARAMETERS

None

RETURNS

None

scr_title(self, texte)

source code 

Manage the screen title display

PARAMETERS

texte

The text to display

RETURNS

None

scr_alim(self)

source code 

Allow to supply the menus

PARAMETERS

None

RETURNS

None

scr_info(self)

source code 

The information screen

PARAMETERS

None

RETURNS

None

scr_exe(self)

source code 

The executable screen

PARAMETERS

None

RETURNS

None

scr_param(self)

source code 

The parameters screen

PARAMETERS

None

RETURNS

None

p_notice(self, widget)

source code 

Launch the PDF documentation

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

scr_change_previous(self, widget)

source code 

Manage the "previous screen" button, and screens display

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

scr_change_next(self, widget)

source code 

Manage the "next screen" button, and screens display

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

win_about(self, widget)

source code 

Show About window dialog

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

win_question(self, widget, texte='')

source code 

Show a question window to the user with YES/NO buttons

PARAMETERS

widget

The widget that call the procedure

texte

The text to display in the question window

RETURNS

The answer (True or False) of the user

win_info(self, widget, texte='')

source code 

Create an info window. Wait ack to continue

PARAMETERS

widget

The widget that call the procedure

texte

The text to display in the question window

RETURNS

None

win_error(self, widget, texte='')

source code 

Create an error window with texte. Wait ack to continue

PARAMETERS

widget

The widget that call the procedure

texte

The text to display in the question window

RETURNS

None

win_confirm(self)

source code 

Display the different listing to the user for validation before generate the executable

PARAMETERS

None

RETURNS

None

p_win_confirm_response(self, widget)

source code 

Allow to valid the scripts creation

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

p_lang_alim(self)

source code 

Allow to supply the language combobox

PARAMETERS

None

RETURNS

None

p_lang_change(self, widget)

source code 

Allow to change the language

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

p_config_open(self, widget)

source code 

Allow to load the project configuration

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

p_config_save(self, widget)

source code 

Allow to save the project configuration

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

p_select_dir_pj(self, widget)

source code 

Allow to choose the project directory

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

p_select_setup_icon(self, widget)

source code 

Allow to choose an icon for the setup install

PARAMETERS

widget

The widget that call the procedure

RETURNS

None

f_load_py(self, path)

source code 

Allow to create listing for .py file and package

PARAMETERS

path

the path to analyze

RETURNS

Two listing that contains the .py files and the directories

f_load_cbox_exec(self, widget)

source code 

Allow to supply the .py combobox on executable screen

PARAMETERS

widget

The widget that call the procedure

RETURNS

The number of entries in the combobox

f_file_analyze(self, path, listing_file)

source code 

Allow to analyze .py file

PARAMETERS

path

The package path to analyze

listing_file

Contains the file to analyse

RETURNS

None

f_package_analyze(self, path)

source code 

Allow to recursively analyze packages

PARAMETERS

path

The package path to analyze

RETURNS

A list of import to add

p_cxf_listing(self, listing_file, listing_dir, path)

source code 

Create the different listing for the cx_freeze script

PARAMETERS

listing_file

The different .py files

listing_dir

The different directories, and potential package

path

The path whele files are located

RETURNS

None

f_generate_dict_param(self)

source code 

Allow to generate the parameters dctionnary

PARAMETERS

None

RETURNS

A dictionnary that contains parameters A boolean that indicate the dictionnary creation status

p_generate_global(self, widget)

source code 

Launch the creation interface

PARAMETERS

widget

The widget that call the procedure

RETURNS

None