Std CloseAllWindows/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
{{Docnav
|[[Std_Close|CloseActiveWindow]]
|[[Std_CloseActiveWindow|CloseActiveWindow]]
|[[Std_Save|Save]]
|[[Std_Save|Save]]
|[[Std_File_Menu|File Menu]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconL=Std_CloseActiveWindow.svg
|IconR=Std_Save.svg
|IconR=Std_Save.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}


{{GuiCommand
<div class="mw-translate-fuzzy">
|Name=Std CloseAllWindows
{{GuiCommand|Name=Std_CloseAll|MenuLocation=[[Std_File_Menu|File]] → Close All|Workbenches=All|Shortcut=...|SeeAlso=[[Std_Close|Close]], [[Std_SaveAs|Save As...]] e [[Std_Save|Save]]}}
|MenuLocation=File → Close All
</div>
|Workbenches=All
|SeeAlso=[[Std_CloseActiveWindow|Std Close]]
}}


<span id="Description"></span>
<div class="mw-translate-fuzzy">
==Descriere==
==Descriere==
Comanda închide toate documentele proiectului, chiar și cele care nu sunt active. Cu această comandă nu ieșiți din FreeCAD.
Comanda închide toate documentele proiectului, chiar și cele care nu sunt active. Cu această comandă nu ieșiți din FreeCAD.
</div>


The '''Std CloseAllWindows''' command closes all documents.
The '''Std CloseAllWindows''' command closes all windows, thereby closing all documents.


<span id="Usage"></span>
<div class="mw-translate-fuzzy">
==Utilizare==
==Utilizare==
Alegeți {{KEY| File}} → {{KEY| Close All}} din meniul principal.
Dacă în proiect există documente nesalvate sau modificate, se afișează un mesaj și sunteți întrebați dacă doriți să le salvați:
[[Image:UnsavedDocument.png]]


# Select the {{MenuCommand|File → [[Image:Std_CloseAllWindows.svg|16px]] Close All}} option from the menu.
În cazul unui răspuns afirmativ,
* dacă documentul a fost deja salvat, utilizați numele și setul de adrese,
* dacă documentul nu a fost salvat niciodată, deschideți fereastra pentru a defini calea și a atribui un nume documentului:
[[Image:FileSaveAs.png]]
{{clear}}
Comanda {{KEY|Chiudi}} în schimb, închide doar documentul activ și permite continuarea lucrului cu alte documente ale proiectului.
{{clear}}

=== Link ===
[[ComandiPerCategorie/it|Comandi per categorie]]
</div>

# Select the {{MenuCommand|File → Close All}} option from the menu.
# If there are unsaved documents a dialog box will prompt you to save them:
# If there are unsaved documents a dialog box will prompt you to save them:
#* Press the {{Button|Save}} button to save the active document. If required enter a filename first.
#* Press the {{Button|Save}} button to save the active document. If required enter a filename first.
Line 45: Line 33:
==Options==
==Options==


* When the dialog box is displayed: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
* If there are multiple unsaved documents: check the {{CheckBox|TRUE|Apply answer to all}} checkbox to avoid being prompted for each unsaved document separately.
* If there are unsaved documents: press {{KEY|Esc}} or the {{Button|Cancel}} button to abort the command.
* If there are multiple unsaved documents: check the {{MenuCommand|Apply answer to all}} checkbox to avoid being prompted for each unsaved document separately.


==Preferences==
==Notes==


* A document can also be closed by right-clicking it in the [[Tree_view|Tree view]] and selecting {{MenuCommand|Close document}} from the context menu.
* The last used file location is stored: {{MenuCommand|Tools → Edit parameters... → BaseApp → Preferences → General → FileOpenSavePath}}.


==Scripting==
==Scripting==
Line 57: Line 45:


To close a document use the {{incode|closeDocument}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].
To close a document use the {{incode|closeDocument}} method of the FreeCAD application. For a scripting example see [[Std_New|Std New]].



{{Docnav
{{Docnav
|[[Std_Close|CloseActiveWindow]]
|[[Std_CloseActiveWindow|CloseActiveWindow]]
|[[Std_Save|Save]]
|[[Std_Save|Save]]
|[[Std_File_Menu|File Menu]]
|[[Std_File_Menu|Std File Menu]]
|IconL=
|IconL=Std_CloseActiveWindow.svg
|IconR=Std_Save.svg
|IconR=Std_Save.svg
|IconC=Freecad.svg
|IconC=Freecad.svg
}}
}}


{{Std Base navi{{#translation:}}}}
{{Std_Base_navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}

Latest revision as of 11:47, 21 April 2024

Std CloseAllWindows

Menu location
File → Close All
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Std Close

Descriere

Comanda închide toate documentele proiectului, chiar și cele care nu sunt active. Cu această comandă nu ieșiți din FreeCAD.

The Std CloseAllWindows command closes all windows, thereby closing all documents.

Utilizare

  1. Select the File → Close All option from the menu.
  2. If there are unsaved documents a dialog box will prompt you to save them:
    • Press the Save button to save the active document. If required enter a filename first.
    • Press the Discard button to discard the active document and lose all changes.

Options

  • When the dialog box is displayed: press Esc or the Cancel button to abort the command.
  • If there are multiple unsaved documents: check the Apply answer to all checkbox to avoid being prompted for each unsaved document separately.

Notes

  • A document can also be closed by right-clicking it in the Tree view and selecting Close document from the context menu.

Scripting

See also: FreeCAD Scripting Basics.

To close a document use the closeDocument method of the FreeCAD application. For a scripting example see Std New.