GUIComp

class labpyproject.core.app.app_components.GUIComp(channelname='GUI_CHANNEL', queue_code_in='APPTOGUI_KEYCODE', queue_code_out='GUITOAPP_KEYCODE', exchangeobjecttypes=[<class 'labpyproject.core.app.app_components.GUIExchangeObject'>])[source]

Bases : labpyproject.core.app.app_components.SatelliteComp, labpyproject.core.app.app_components.AbstractGUIComp

Composant d’interface.

Constructeur

Paramètres
  • channelname (str) – canal de communication

  • queue_code_in (str), queue_code_out (str) – codes associés au canal GUI_CHANNEL (sens APP->GUI)

  • exchangeobjecttype (list) – objets d’échange attendus

Methods Summary

ask_GUI_info(exobj)

Demande d’information relative à la GUI émanant du composant métier.

handleExchangeObject(exobj)

Traite un objet d’échange provenant de l’application métier

handle_BUS_info(exobj)

Réception d’informations en provenance du composant métier : à particulariser.

handle_choice(exobj)

Retourne l’input utilisateur : à particulariser

refresh_view()

Réalise un update de l’affichage

show_content(dictargs)

Méthode principale d’affichage de contenu : à particulariser

signal_GUI_ready()

Signale à l’application et au composant business que l’interface est prête.

Methods Documentation

ask_GUI_info(exobj)[source]

Demande d’information relative à la GUI émanant du composant métier.

Paramètres

exobj (GUIExchangeObject) –

handleExchangeObject(exobj)[source]

Traite un objet d’échange provenant de l’application métier

Paramètres

exobj (GUIExchangeObject) –

handle_BUS_info(exobj)[source]

Réception d’informations en provenance du composant métier : à particulariser.

Paramètres

exobj (GUIExchangeObject) –

handle_choice(exobj)[source]

Retourne l’input utilisateur : à particulariser

Paramètres

exobj (GUIExchangeObject) –

refresh_view()[source]

Réalise un update de l’affichage

show_content(dictargs)[source]

Méthode principale d’affichage de contenu : à particulariser

Paramètres

dictargs (dict) – attribut dictargs d’un objet GUIExchangeObject

signal_GUI_ready()[source]

Signale à l’application et au composant business que l’interface est prête.