Gui Command/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "=== Iconițe === 400px|right")
(Updating to match new version of source page)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{TOCright}}

<div class="mw-translate-fuzzy">
GuiCommand este una dintre cele mai importante funcții ale FreeCAD
GuiCommand este una dintre cele mai importante funcții ale FreeCAD
în principalul punct de interacțiune al utilizatorului. De fiecare dată când utilizatorul
în principalul punct de interacțiune al utilizatorului. De fiecare dată când utilizatorul
Line 11: Line 14:
* Înregistrare macro
* Înregistrare macro
* si asa mai departe...
* si asa mai departe...
</div>


== Naming ==

<div class="mw-translate-fuzzy">
=== Nominalizare ===
=== Nominalizare ===
The GuiCommand is named in a certain way: ''ModuleName_CommandName''
The GuiCommand is named in a certain way: ''ModuleName_CommandName''
e.g "Base_Open" this is the Open Gui Command in the Base system.
e.g "Base_Open" this is the Open Gui Command in the Base system.
The GuiCommand in a certain module is named with the module name
The GuiCommand in a certain module is named with the module name
in front e.g. "Part_Cylinder".
in front e.g. "Part_Cylinder".
</div>


<div class="mw-translate-fuzzy">
If the docu is not finished use [[Template:UnfinishedDocu]]
If the docu is not finished use [[Template:UnfinishedDocu]]
</div>


== Help page ==

<div class="mw-translate-fuzzy">
=== Pagina Help ===
=== Pagina Help ===
Fiecare GuiCommand trebuie să aibă o pagină de ajutor. Pagina de ajutor este găzduită pe
Fiecare GuiCommand trebuie să aibă o pagină de ajutor. Pagina de ajutor este găzduită pe
FreeCAD docu wiki. Articolul are același nume ca și GuiCommand, de ex. [[Draft ShapeString]].
FreeCAD docu wiki. Articolul are același nume ca și GuiCommand, de ex. [[Draft ShapeString]].
</div>


<div class="mw-translate-fuzzy">
To create your own help pages you can use the template:
To create your own help pages you can use the template:
[[GuiCommand model]]
[[GuiCommand model]]
</div>


<div class="mw-translate-fuzzy">
Exemplu:
Exemplu:
* [[Draft ShapeString]]
* [[Draft ShapeString]]
* [[Draft Line]]
* [[Draft Line]]
</div>


<div class="mw-translate-fuzzy">
=== Iconițe ===
=== Iconițe ===
[[Image:Tango-Palette.png|400px|right]]
[[Image:Tango-Palette.png|400px|right]]
</div>


[[Image:Tango-Palette.png|400px|right]]

<div class="mw-translate-fuzzy">
Every GuiCommand has to have an icon. We use the [http://tango.freedesktop.org/Tango_Desktop_Project Tango icon set] and its guidelines. On the right side you see
Every GuiCommand has to have an icon. We use the [http://tango.freedesktop.org/Tango_Desktop_Project Tango icon set] and its guidelines. On the right side you see
the tango color palette.
the tango color palette.
</div>


<div class="mw-translate-fuzzy">
Preferable all Icons are drafted with SVG with e.g. [http://inkscape.org Inkscape].
Preferable all Icons are drafted with SVG with e.g. [http://inkscape.org Inkscape].
This makes it easier to apply changes and derive
This makes it easier to apply changes and derive
additional Icons in the same application space.
additional Icons in the same application space.
</div>


<div class="mw-translate-fuzzy">
'''icons color coding chart'''
'''icons color coding chart'''
</div>


[[Image:Colorchart.png|200px]]
[[Image:Colorchart.png|200px]]


Încercăm cât mai mult posibil să respectăm această diagramă, astfel încât culoarea icoanelor are un sens direct.
We try as much as possible to respect this chart, so the color of the icons has a direct meaning.

=== Quality requirements ===
There are a lot of GuiCommands (Features) in FreeCAD which are experimental
or used shortly for implementation purposes. These GuiCommands are mostly in
the dedicated workbenches like Part, Mesh or Cam.
To ensure a good user experience the workbench ''Complete'' was created. This
workbench incorporates all GuiCommands
which meet certain '''Quality requirements''' which are described here:

* The Command/Feature has to be '''finished'''. No work in progress!
* Has to have a '''help page''' like [[Draft ShapeString]]
** All the fields in [[Template:GuiCommand]] have to filled in
** A picture of the dialogs the command eventually yield
** detailed description of the command and all its parameters and settings
** Description of the related python interfaces and classes with example code
* Set up a proper Icon and menu position

Hopefully this becomes true for all GuiCommands in the [[List of Commands]].


[[Category:User Documentation]]
[[Category:Command_Reference]]


{{Powerdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 09:05, 16 August 2022

GuiCommand este una dintre cele mai importante funcții ale FreeCAD în principalul punct de interacțiune al utilizatorului. De fiecare dată când utilizatorul selectează un element de meniu sau apasă butonul unei bare de instrumente pe care îl activează a GuiCommand. Unele dintre atributele unui GuiCommand sunt:

  • Definește un nume
  • Conține o pictogramă
  • Definește domeniul de aplicare pentru o anulare / refacere
  • Are o pagină de ajutor
  • Deschide și controlează dialogurile
  • Înregistrare macro
  • si asa mai departe...

Naming

Nominalizare

The GuiCommand is named in a certain way: ModuleName_CommandName e.g "Base_Open" this is the Open Gui Command in the Base system. The GuiCommand in a certain module is named with the module name in front e.g. "Part_Cylinder".

If the docu is not finished use Template:UnfinishedDocu

Help page

Pagina Help

Fiecare GuiCommand trebuie să aibă o pagină de ajutor. Pagina de ajutor este găzduită pe FreeCAD docu wiki. Articolul are același nume ca și GuiCommand, de ex. Draft ShapeString.

To create your own help pages you can use the template: GuiCommand model

Iconițe

Every GuiCommand has to have an icon. We use the Tango icon set and its guidelines. On the right side you see the tango color palette.

Preferable all Icons are drafted with SVG with e.g. Inkscape. This makes it easier to apply changes and derive additional Icons in the same application space.

icons color coding chart

Încercăm cât mai mult posibil să respectăm această diagramă, astfel încât culoarea icoanelor are un sens direct.