Looking for Std_Export.svg and Std_Import.svg in source

Discussions about the wiki documentation of FreeCAD and its translation.
User avatar
Roy_043
Posts: 1220
Joined: Thu Dec 27, 2018 12:28 pm

Looking for Std_Export.svg and Std_Import.svg in source

Postby Roy_043 » Sun Apr 05, 2020 2:37 pm

I can't find the files Std_Export.svg and Std_Import.svg are based on in the source. Where are they (derived from)?

the sPixmap variable is commented out in CommandDoc.cpp:

Code: Select all

//===========================================================================
// Std_Import
//===========================================================================

DEF_STD_CMD_A(StdCmdImport)

StdCmdImport::StdCmdImport()
  : Command("Std_Import")
{
    // setting the
    sGroup        = QT_TR_NOOP("File");
    sMenuText     = QT_TR_NOOP("&Import...");
    sToolTipText  = QT_TR_NOOP("Import a file in the active document");
    sWhatsThis    = "Std_Import";
    sStatusTip    = QT_TR_NOOP("Import a file in the active document");
    //sPixmap       = "Open";
    sAccel        = "Ctrl+I";
}
vocx
Posts: 3962
Joined: Thu Oct 18, 2018 9:18 pm

Re: Looking for Std_Export.svg and Std_Import.svg in source

Postby vocx » Sun Apr 05, 2020 5:08 pm

Roy_043 wrote:
Sun Apr 05, 2020 2:37 pm
I can't find the files Std_Export.svg and Std_Import.svg are based on in the source. Where are they (derived from)?
If there is no icon in the source, then there isn't supposed to be an icon in the wiki either.

However, a long time ago, mario and renatorivo did a million edits to the wiki. Maybe they added some icons that weren't supposed to be there. This is also the reason why some wiki pages don't match their command names. As you can see, the Std_Import and Std_Export icons were uploaded in 2013, a long time ago.

FreeCAD has used the icon style from the Tango project, so it is possible that those icons come straight from Tango but were never used in the software itself.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: paypal.
User avatar
Roy_043
Posts: 1220
Joined: Thu Dec 27, 2018 12:28 pm

Re: Looking for Std_Export.svg and Std_Import.svg in source

Postby Roy_043 » Sun Apr 05, 2020 5:16 pm

Thanks. You are right. I should have looked at the GUI. Don't know why I didn't in this case.
I'll remove those icons from the command documentation then. They can only cause confusion.