51 FXLabel* neteditLabel =
new FXLabel(descriptionFrame,
"SUMO netedit " VERSION_STRING,
nullptr,
GUIDesignLabelAboutInfo);
53 new FXLabel(descriptionFrame,
TL(
"Network editor for Eclipse SUMO, the Simulation of Urban MObility"),
nullptr,
GUIDesignLabelAboutInfo);
54 new FXLabel(descriptionFrame,
TL(
"Graphical editor for road networks and infrastructure."),
nullptr,
GUIDesignLabelAboutInfo);
58 std::string modules(HAVE_ENABLED);
59 while ((modules.size() > 0) && (modules.front() !=
' ')) {
60 modules.erase(modules.begin());
64 new FXLabel(descriptionFrame, std::string(
"SUMO_HOME: " + std::string(getenv(
"SUMO_HOME"))).c_str(),
nullptr,
GUIDesignLabelAboutInfo);
66 new FXLabel(
this,
"Copyright (C) 2001-2024 German Aerospace Center (DLR) and others.",
nullptr,
GUIDesignLabelAboutInfo);
67 new FXLabel(
this,
TL(
"This application is based on code provided by the Eclipse SUMO project."),
nullptr,
GUIDesignLabelAboutInfo);
68 new FXLabel(
this,
TL(
"These core components are available under the conditions of the Eclipse Public License v2."),
nullptr,
GUIDesignLabelAboutInfo);
72 (
new MFXLinkLabel(
this,
"https://www.eclipse.dev/sumo",
nullptr,
GUIDesignLabel(JUSTIFY_NORMAL)))->setTipText(
"https://www.eclipse.dev/sumo");
87 FXDialogBox::create();
#define GUIDesignLabelIcon
design for label with icon
#define GUIDesignLabelAboutInfo
label extended over frame without thick and with text justify to left
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames
#define GUIDesignDialogBox
#define GUIDesignLabel(justify)
#define GUIDesignButtonOK
#define GUIDesignHorizontalFrame
Horizontal frame extended over frame parent with padding and spacing.
GNEAbout(FXWindow *parent)
Constructor.
void create()
Creates the widget.
FXFont * myHeadlineFont
Font for the widget.
static FXButton * buildFXButton(FXComposite *p, const std::string &text, const std::string &tip, const std::string &help, FXIcon *ic, FXObject *tgt, FXSelector sel, FXuint opts=BUTTON_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
build button
static FXIcon * getIcon(const GUIIcon which)
returns a icon previously defined in the enum GUIIcon