Looking for Std_Export.svg and Std_Import.svg in source

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8577
Joined: Thu Dec 27, 2018 12:28 pm

Looking for Std_Export.svg and Std_Import.svg in source

Post by Roy_043 »

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
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

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

Post by vocx »

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. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
User avatar
Roy_043
Veteran
Posts: 8577
Joined: Thu Dec 27, 2018 12:28 pm

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

Post by Roy_043 »

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.
Post Reply