Add Button to FEM Toolbar Tutorial/it: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

3 January 2024

  • curprev 16:4216:42, 3 January 2024Simone.b talk contribs 4,054 bytes +31 Created page with "'''Risultato''': si dovrebbe aver appena aggiunto con successo un pulsante di test alla barra degli strumenti e al menu di FEM. Ora si può compilare FreeCAD e testare il tuo nuovo pulsante."
  • curprev 16:4116:41, 3 January 2024Simone.b talk contribs 4,023 bytes −9 Created page with "Per aggiungere il comando al menu '''Risolvi''' di FEM, cercare il seguente snippet di codice in {{incode|Workbench.cpp}}:"
  • curprev 16:4016:40, 3 January 2024Simone.b talk contribs 4,032 bytes +6 Created page with "Cercare il seguente snippet di codice in {{incode|/Gui/Workbench.cpp}} e aggiungere il nuovo comando:"
  • curprev 16:4016:40, 3 January 2024Simone.b talk contribs 4,026 bytes +16 Created page with "Aggiungeremo il nuovo comando sia alla barra degli strumenti '''Risolvi''' che al menu '''Risolvi'''."
  • curprev 16:3916:39, 3 January 2024Simone.b talk contribs 4,010 bytes +4 Created page with "'''Nota''': vedere questo [https://forum.freecadweb.org/viewtopic.php?f=18&t=46693&start=10#p402004 thread di discussione] nel forum se sono coinvolte le icone."
  • curprev 16:3916:39, 3 January 2024Simone.b talk contribs 4,006 bytes −1 Created page with "Non si dimentichi di registrare il comando in fondo al file del modulo con il metodo {{incode|addCommand(...)}}:"
  • curprev 16:3916:39, 3 January 2024Simone.b talk contribs 4,007 bytes +27 Created page with "Basta copiare/incollare un comando esistente, quindi modificare l'icona, il testo del menu e il suggerimento in {{incode|__init__(self)}}:"
  • curprev 16:3816:38, 3 January 2024Simone.b talk contribs 3,980 bytes +14 Created page with "Deve essere aggiunta una nuova classe per il comando nel modulo {{incode|src/Mod/Fem/femcommands/commands.py}}."
  • curprev 16:3816:38, 3 January 2024Simone.b talk contribs 3,966 bytes +7 Created page with "Il nuovo file icona SVG deve essere registrato per il pulsante della GUI inserendolo in {{incode|src/Mod/Fem/Gui/Resources/Fem.qrc}}:"
  • curprev 16:3716:37, 3 January 2024Simone.b talk contribs 3,959 bytes +3 Created page with "Deve essere inserito in: {{incode|src/Mod/Fem/Gui/Resources/icons/}}."
  • curprev 16:3716:37, 3 January 2024Simone.b talk contribs 3,956 bytes +33 Created page with "Per il pulsante abbiamo bisogno di un file icona. Si può utilizzare uno qualsiasi dei propri strumenti preferiti per crearlo, ma deve essere nel formato SVG. Qui utilizzeremo il file {{FileName|FEM_testButton.svg}} come esempio."
  • curprev 16:3616:36, 3 January 2024Simone.b talk contribs 3,923 bytes +64 Created page with "Il compito può essere suddiviso in quattro parti: * '''Creare un nuovo file di icone'''. * '''Registrare il nuovo file di icone'''. È necessaria la modifica di {{incode|src/Mod/Fem/Gui/Resources/Fem.qrc}} * '''Creare una nuova classe di comandi'''. È necessaria la modifica di {{incode|src/Mod/Fem/femcommands/commands.py}} * '''Aggiungere un nuovo comando all'ambiente'''. È necessaria la modifica di {{incode|src/Mod/Fem/Gui/Workbench.cpp}}"
  • curprev 16:3216:32, 3 January 2024Simone.b talk contribs 3,859 bytes +57 Created page with "L'ambiente FEM dispone di barre degli strumenti e di menu. Questo tutorial mostra come aggiungere un pulsante di prova a una barra degli strumenti. Mostra anche come aggiungere una voce di menu a un menu."
  • curprev 16:2016:20, 3 January 2024Simone.b talk contribs 3,802 bytes +3 Created page with "{{TutorialInfo/it |Topic=FEM |Level=Advanced |Time=60 min |Author=JohnWang |FCVersion=0.19 |Files= }}"

17 December 2023