Task panel/ru

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



Работа с панелью задач
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.



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 tab to display the tree view to choose an object; once this is done, it is possible to switch back to the  tab to proceed with the command. The task panel is usually closed by clicking an or a  button, or pressing the  key on the keyboard to abort the command.



Note: Please notice that switching from the tab to the  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.

Написание скриптов
See 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:

Using c++: