PySide/fr: Difference between revisions

From FreeCAD Documentation
(Created page with "PySide est décrit dans les 3 pages suivantes qui doivent se suivre l'une après l'autre")
(Created page with "* Exemples PySide Débutant (Bonjour tout le monde, annonces, saisir du texte, entrez le numéro) * PySide_Medium_Examples | Exemples PySide...")
Line 21: Line 21:
PySide est décrit dans les 3 pages suivantes qui doivent se suivre l'une après l'autre
PySide est décrit dans les 3 pages suivantes qui doivent se suivre l'une après l'autre


* [[Pyside Beginner_Examples |Exemples PySide Débutant ]] (Bonjour tout le monde, annonces, saisir du texte, entrez le numéro)
* [[PySide_Beginner_Examples|Beginner PySide Examples]] (Hello World, announcements, enter text, enter number)
* [[PySide_Medium_Examples|Medium PySide Examples]] (window sizing, hiding widgets, popup menus, mouse position, mouse events)
* [[PySide_Medium_Examples | Exemples PySide intermédiaire]] (fenêtre dimensionnement, cacher des widgets, des menus contextuels, position de la souris, les événements de souris)
* [[PySide_Advanced_Examples|Advanced PySide Examples]] (widgets etc.)
* [[PySide_Advanced_Examples | Exemples PySide avancés ]] (widgets, etc.)


They divide the subject matter into 3 parts, differentiated by level of exposure to PySide, Python and the FreeCAD internals. The first page has overview and background material giving a description of PySide and how it is put together while the second and third pages are mostly code examples at different levels.
They divide the subject matter into 3 parts, differentiated by level of exposure to PySide, Python and the FreeCAD internals. The first page has overview and background material giving a description of PySide and how it is put together while the second and third pages are mostly code examples at different levels.

Revision as of 17:12, 19 April 2015

PySide

PySideest un Python obligatoire de l'outil mutiplateforme GUI de Qt. FreeCAD utilise PySide pour tous les GUI (Interface Graphique Utilisateur). PySidea évolué à partir du package PyQt qui était auparavant utilisé par FreeCAD pour son interface graphique. Voir Differences Between PySide and PyQt pour plus d'information sur ces différences.

Les utilisateurs de FreeCAD atteingnent souvent les limites tout en utilisant l'interface intégrée. Mais pour les utilisateurs qui souhaitent personnaliser leurs opérations alors l'interface Python existe et est documentée dans le Didacticiel de scripts Python. L'interface Python pour FreeCAD avait une grande flexibilité et de la puissance.Pour cette interaction de l'utilisateur Python avec Freecad , on utilise PySide, qui est est documenté sur cette page.

Python offre la mention «d'impression» qui donne le code:

print 'Hello World'

Avec l'instruction Python print vous avez seulement un contrôle limité de l'apparence et du comportement. PySide fournit le contrôle manquant et gère également les environnements (tels que l'environnement de fichier macro FreeCAD) où les installations intégrées de Python ne sont pas suffisantes

Les capacités de PySide varient de:

à

PySide est décrit dans les 3 pages suivantes qui doivent se suivre l'une après l'autre

They divide the subject matter into 3 parts, differentiated by level of exposure to PySide, Python and the FreeCAD internals. The first page has overview and background material giving a description of PySide and how it is put together while the second and third pages are mostly code examples at different levels.

The intention is that the associated pages will provide simple Python code to run PySide so that the user working on a problem can easily copy the code, paste it into their own work, adapt it as necessary and return to their problem solving with FreeCAD. Hopefully they don't have to go chasing off across the internet looking for answers to PySide questions. At the same time this page is not intended to replace the various comprehensive PySide tutorials and reference sites available on the web.

Pivy
Scripted objects