Task panel/ru: Difference between revisions

From FreeCAD Documentation
(Created page with "{{VeryImportantMessage|Пожалуйста, переформулируйте и обновите этот раздел}}")
(Updating to match new version of source page)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
{{TOCright}}
{{TOCright}}


<span id="Introduction"></span>
== Введение ==
== Введение ==


<div class="mw-translate-fuzzy">
[[Task_panel/ru|Панель задач]] отображается во вкладке {{MenuCommand|Задачи}} [[combo_view/ru|Комбо панели]] и является одной из важных панелей [[interface/ru|интерфейса]]. Это изменяемая область, которая в зависимости от активного в данный момент [[Workbenches/ru|верстака]] и инструмента может содержать любые графические элементы управления, такие как окна, таблицы, поля ввода, различные элементы выбора, поля ввода, кнопки, изображения и др.
[[Task_panel/ru|Панель задач]] отображается во вкладке {{MenuCommand|Задачи}} [[combo_view/ru|Комбо панели]] и является одной из важных панелей [[interface/ru|интерфейса]]. Это изменяемая область, которая в зависимости от активного в данный момент [[Workbenches/ru|верстака]] и инструмента может содержать любые графические элементы управления, такие как окна, таблицы, поля ввода, различные элементы выбора, поля ввода, кнопки, изображения и др.
</div>


[[File:FreeCAD_Combo_view_Task_panel_ru.png]]
[[File:FreeCAD_Combo_view_Task_panel_ru.png]]
Line 10: Line 13:
{{Caption|Панель задач с различными командами, если активен [[PartDesign_Workbench/ru|верстак PartDesign]] и выбран [[Sketch/ru|эскиз]].}}
{{Caption|Панель задач с различными командами, если активен [[PartDesign_Workbench/ru|верстак PartDesign]] и выбран [[Sketch/ru|эскиз]].}}


<span id="Working_with_the_task_panel"></span>
== Работа с панелью задач ==
== Работа с панелью задач ==


Line 20: Line 24:
{{Caption|Task panel that opens when a [[Sketch|Sketch]] is being edited. Various types of information are presented like solver messages, grid options, constraints, and geometrical elements.}}
{{Caption|Task panel that opens when a [[Sketch|Sketch]] is being edited. Various types of information are presented like solver messages, grid options, constraints, and geometrical elements.}}


There are many commands that require selection of shapes or objects present in the document; for such cases the task panel will wait for the user to select the appropriate objects from the [[tree view|tree view]] or the [[3D_view|3D view]]. When a task panel is open, it is possible to switch to the {{MenuCommand|Model}} tab to display the [[Tree_view|tree view]] to choose an object; once this is done, it is possible to switch back to the {{MenuCommand|Tasks}} tab to proceed with the command. The task panel is usually closed by clicking an {{Button|OK}} or a {{Button|Close}} button, or pressing the {{KEY|Esc}} key on the keyboard to abort the command.
There are many commands that require selection of shapes or objects present in the document; for such cases the task panel will wait for the user to select the appropriate objects from the [[Tree_view|tree view]] or the [[3D_view|3D view]]. When a task panel is open, it is possible to switch to the {{MenuCommand|Model}} tab to display the [[Tree_view|tree view]] to choose an object; once this is done, it is possible to switch back to the {{MenuCommand|Tasks}} tab to proceed with the command. The task panel is usually closed by clicking an {{Button|OK}} or a {{Button|Close}} button, or pressing the {{KEY|Esc}} key on the keyboard to abort the command.


[[File:FreeCAD_Combo_view_Task_panel_ArchComponent.png]]
[[File:FreeCAD_Combo_view_Task_panel_ArchComponent.png]]
Line 28: Line 32:
'''Note:''' Please notice that switching from the {{MenuCommand|Tasks}} tab to the {{MenuCommand|Model}} tab does not terminate the active command; the task will still be running in the background. The user is responsible for properly terminating or aborting the active command before starting a different task; leaving a task running may produce errors when trying to launch other tools.
'''Note:''' Please notice that switching from the {{MenuCommand|Tasks}} tab to the {{MenuCommand|Model}} tab does not terminate the active command; the task will still be running in the background. The user is responsible for properly terminating or aborting the active command before starting a different task; leaving a task running may produce errors when trying to launch other tools.


<span id="Notes"></span>
==Примечания==
==Примечания==


* Users migrating from other CAD solutions that use the {{KEY|ESC}} key as part of their workflow may get different results in FreeCAD. When {{KEY|ESC}} is pressed in FC if the task panel is in focus will auto-exit the task panel. To disable this functionality, please see [[Fine-tuning#Escape_Key|Escape Key]].
* Users migrating from other CAD solutions that use the {{KEY|ESC}} key as part of their workflow may get different results in FreeCAD. When {{KEY|ESC}} is pressed in FreeCAD the task panel that has the focus will close. To disable this functionality, please see [[Fine-tuning#Escape_Key|Fine tuning]] and [[Sketcher_Preferences#General|Sketcher Preferences]].


==Написание скриптов==

{{VeryImportantMessage|Пожалуйста, переформулируйте и обновите этот раздел}}

See [https://forum.freecadweb.org/viewtopic.php?f=10&t=44170&p=376759#p376759 forum thread]
Call that a Task Dialog widget can use to close the Task View. It can be closed with "this->close()", but that only closes the lower part of the view, not that view itself.

Using python:
{{Code|code=
Gui.Control.closeDialog()
}}

Using c++:
{{Code|code=
Gui::Control().closeDialog();
}}


{{Interface navi{{#translation:}}}}
{{Interface navi{{#translation:}}}}

Latest revision as of 14:06, 22 December 2023

Введение

Панель задач отображается во вкладке Задачи Комбо панели и является одной из важных панелей интерфейса. Это изменяемая область, которая в зависимости от активного в данный момент верстака и инструмента может содержать любые графические элементы управления, такие как окна, таблицы, поля ввода, различные элементы выбора, поля ввода, кнопки, изображения и др.

Панель задач с различными командами, если активен верстак PartDesign и выбран эскиз.

Работа с панелью задач

A task panel normally opens when a tool that requires user input is activated, either by pressing a toolbar button or double clicking on an object. If the tool doesn't need user input, it will produce its result or terminate, but won't display a task panel.

The user input may be anything such as text, 3D point coordinates, elements from a list, faces from a shape, or options to modify the way the tool operates.

Task panel that opens when a Sketch is being edited. Various types of information are presented like solver messages, grid options, constraints, and geometrical elements.

There are many commands that require selection of shapes or objects present in the document; for such cases the task panel will wait for the user to select the appropriate objects from the tree view or the 3D view. When a task panel is open, it is possible to switch to the Model tab to display the tree view to choose an object; once this is done, it is possible to switch back to the Tasks tab to proceed with the command. The task panel is usually closed by clicking an OK or a Close button, or pressing the Esc key on the keyboard to abort the command.

Task panel that opens when editing an Arch Component. The panel waits for the user to select objects that can be added or subtracted from the component.

Note: Please notice that switching from the Tasks tab to the Model tab does not terminate the active command; the task will still be running in the background. The user is responsible for properly terminating or aborting the active command before starting a different task; leaving a task running may produce errors when trying to launch other tools.

Примечания

  • Users migrating from other CAD solutions that use the ESC key as part of their workflow may get different results in FreeCAD. When ESC is pressed in FreeCAD the task panel that has the focus will close. To disable this functionality, please see Fine tuning and Sketcher Preferences.