Narzędzia w GUI

From FreeCAD Documentation
Revision as of 15:00, 21 March 2024 by Kaktus (talk | contribs) (Created page with "Polecenia Gui to jedna z najważniejszych funkcji FreeCAD, stanowiąca główny punkt interakcji użytkownika. Za każdym razem, gdy użytkownik wybiera pozycję z menu lub naciska przycisk paska narzędziowego, aktywowane zostaje GuiCommand. Niektóre z atrybutów GuiCommand to: * Definiuje nazwę, * Zawiera ikonę, * Określa zakres operacji cofania/przywracania, * Posiada stronę pomocy, * Otwiera i kontroluje okna dialogowe, * Nagrywanie makr, * i inne.")

Polecenia Gui to jedna z najważniejszych funkcji FreeCAD, stanowiąca główny punkt interakcji użytkownika. Za każdym razem, gdy użytkownik wybiera pozycję z menu lub naciska przycisk paska narzędziowego, aktywowane zostaje GuiCommand. Niektóre z atrybutów GuiCommand to:

  • Definiuje nazwę,
  • Zawiera ikonę,
  • Określa zakres operacji cofania/przywracania,
  • Posiada stronę pomocy,
  • Otwiera i kontroluje okna dialogowe,
  • Nagrywanie makr,
  • i inne.

Nazwy

The GuiCommand is named in a standard 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 documentation is not finished use Template:UnfinishedDocu.

Help page

Every GuiCommand has to have a help page. The help page is hosted on the FreeCAD documentation wiki. The article has the same name as the GuiCommand, e.g. Draft ShapeString.

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

Example:

Icons

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.

All icons should be created in SVG format with a vector image application, such as Inkscape. This makes it easier to apply changes and derive additional icons in the same application space.

Icons color coding chart

We try as much as possible to respect this chart, so the color of the icons has a direct meaning.