Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIDesigns Class Reference

#include <GUIDesigns.h>

Static Public Member Functions

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 FXLabel * buildFXLabel (FXComposite *p, const std::string &text, const std::string &tip, const std::string &help, FXIcon *ic, FXuint opts, 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)
 Construct label with given text and icon.
 
static FXMenuCheck * buildFXMenuCheckbox (FXComposite *p, const std::string &text, const std::string &info, FXObject *tgt, FXSelector sel)
 build menu checkbox
 
static MFXMenuCheckIconbuildFXMenuCheckboxIcon (FXComposite *p, const std::string &text, const std::string &shortcut, const std::string &info, FXIcon *icon, FXObject *tgt, FXSelector sel)
 build menu checkbox with icon
 
static FXMenuCommand * buildFXMenuCommand (FXComposite *p, const std::string &text, const std::string &help, FXIcon *icon, FXObject *tgt, FXSelector sel, const bool disable=false)
 build menu command with help
 
static FXMenuCommand * buildFXMenuCommand (FXComposite *p, const std::string &text, FXIcon *icon, FXObject *tgt, FXSelector sel, const bool disable=false)
 build menu command
 
static FXMenuCommand * buildFXMenuCommandRecentFile (FXComposite *p, const std::string &text, FXObject *tgt, FXSelector sel)
 build menu command (for recent files)
 
static FXMenuCommand * buildFXMenuCommandShortcut (FXComposite *p, const std::string &text, const std::string &shortcut, const std::string &info, FXIcon *icon, FXObject *tgt, FXSelector sel)
 build menu command
 
static FXMenuTitle * buildFXMenuTitle (FXComposite *p, const std::string &text, FXIcon *icon, FXMenuPane *menuPane)
 build menu title
 
static FXRadioButton * buildFXRadioButton (FXComposite *p, const std::string &text, const std::string &tip, const std::string &help, FXObject *tgt, FXSelector sel, FXuint opts=RADIOBUTTON_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 radio button
 

Detailed Description

Definition at line 701 of file GUIDesigns.h.

Member Function Documentation

◆ buildFXButton()

FXButton * GUIDesigns::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 
)
static

build button

Definition at line 128 of file GUIDesigns.cpp.

Referenced by GNEPythonToolDialogElements::Argument::Argument(), GUIDialog_ViewSettings::buildBackgroundFrame(), GUIDialog_ViewSettings::buildButtons(), GUIDialog_ViewSettings::buildHeader(), GUIDialog_ViewSettings::buildOpenGLFrame(), GUIParameterTracker::buildToolBar(), GNEAllowVClassesDialog::buildVClass(), GNEFixDemandElements::Buttons::Buttons(), GNEFixNetworkElements::Buttons::Buttons(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNETAZRelDataFrame::ConfirmTAZRelation::ConfirmTAZRelation(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEAllowVClassesDialog::constructor(), GNEMultipleParametersDialog::constructor(), GNESingleParametersDialog::constructor(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEGenericDataFrame::DataSetSelector::DataSetSelector(), GUIApplicationWindow::dependentBuild(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNECreateEdgeFrame::EdgeTypeSelector::EdgeTypeSelector(), GNEFrameAttributeModules::GenericDataAttributes::GenericDataAttributes(), GNEShapeFrame::GEOPOICreator::GEOPOICreator(), GNEAbout::GNEAbout(), GNEAdditionalDialog::GNEAdditionalDialog(), GNEAttributesCreator::GNEAttributesCreator(), GNEAttributesCreatorRow::GNEAttributesCreatorRow(), GNEAttributesEditor::GNEAttributesEditor(), GNECalibratorDialog::GNECalibratorDialog(), GNEConsecutiveSelector::GNEConsecutiveSelector(), GNEDemandElementDialog::GNEDemandElementDialog(), GNEDrawingShape::GNEDrawingShape(), GNEFixAdditionalElements::GNEFixAdditionalElements(), GNEFixElementsDialog::GNEFixElementsDialog(), GNEGeometryPointDialog::GNEGeometryPointDialog(), GNEInspectorFrame::GNEInspectorFrame(), GNEKeepElementsDialog::GNEKeepElementsDialog(), GNEMatchAttribute::GNEMatchAttribute(), GNEMatchGenericDataAttribute::GNEMatchGenericDataAttribute(), GNENeteditAttributes::GNENeteditAttributes(), GNENetgenerateDialog::GNENetgenerateDialog(), GNENetworkSelector::GNENetworkSelector(), GNEOptionsDialog::GNEOptionsDialog(), GNEOverlappedInspection::GNEOverlappedInspection(), GNEPathCreator::GNEPathCreator(), GNEPlanCreator::GNEPlanCreator(), GNEPythonToolDialog::GNEPythonToolDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNERunNetgenerateDialog::GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNEUndoListDialog::GNEUndoListDialog(), GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog(), GNEVTypeDistributionsDialog::GNEVTypeDistributionsDialog(), GUIDialog_AboutSUMO::GUIDialog_AboutSUMO(), GUIDialog_AppSettings::GUIDialog_AppSettings(), GUIDialog_Breakpoints::GUIDialog_Breakpoints(), GUIDialog_ChooserAbstract::GUIDialog_ChooserAbstract(), GUIDialog_EditViewport::GUIDialog_EditViewport(), GUIDialog_Feedback::GUIDialog_Feedback(), GUIDialog_GLChosenEditor::GUIDialog_GLChosenEditor(), GUIDialog_HallOfFame::GUIDialog_HallOfFame(), GUICalibrator::GUIManip_Calibrator::GUIManip_Calibrator(), GUILaneSpeedTrigger::GUIManip_LaneSpeedTrigger::GUIManip_LaneSpeedTrigger(), GUITriggeredRerouter::GUIManip_TriggeredRerouter::GUIManip_TriggeredRerouter(), GUISaveDialog::initialize(), GNEOptionsDialogElements::InputFilename::InputFilename(), GNEOptionsDialogElements::InputOption::InputOption(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEMeanDataFrame::MeanDataEditor::MeanDataEditor(), MFXDecalsTable::MFXDecalsTable(), MFXGroupBoxModule::MFXGroupBoxModule(), MFXGroupBoxModule::MFXGroupBoxModule(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNENeteditAttributes::onCmdHelp(), GNEMultipleParametersDialog::ParametersOperations::onCmdHelpParameter(), GNESingleParametersDialog::ParametersOperations::onCmdHelpParameter(), GNEVTypeDistributionsDialog::ParametersOperations::onCmdHelpParameter(), GNEOverlappedInspection::onCmdOverlappingHelp(), GUIDialog_ViewSettings::onCmdSaveSetting(), GNEFrame::openHelpAttributesDialog(), GNEMultipleParametersDialog::ParametersValues::ParameterRow::ParameterRow(), GNESingleParametersDialog::ParametersValues::ParameterRow::ParameterRow(), GNEVTypeDistributionsDialog::ParametersValues::ParameterRow::ParameterRow(), GNEFrameAttributeModules::ParametersEditor::ParametersEditor(), GNEFrameAttributeModules::ParametersEditor::ParametersEditor(), GNESingleParametersDialog::ParametersOperations::ParametersOperations(), GNEVTypeDistributionsDialog::ParametersOperations::ParametersOperations(), GNEMultipleParametersDialog::ParametersOperations::ParametersOperations(), GNEDeleteFrame::ProtectElements::ProtectElements(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), GUIDialog_ViewSettings::rebuildColorMatrix(), GUIDialog_ViewSettings::rebuildScaleMatrix(), MFXDecalsTable::Row::Row(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZParameters::TAZParameters(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETypeFrame::TypeEditor::TypeEditor(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().

◆ buildFXLabel()

FXLabel * GUIDesigns::buildFXLabel ( FXComposite *  p,
const std::string &  text,
const std::string &  tip,
const std::string &  help,
FXIcon *  ic,
FXuint  opts,
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 
)
static

Construct label with given text and icon.

Definition at line 118 of file GUIDesigns.cpp.

Referenced by GUIApplicationWindow::buildToolBars(), GUIApplicationWindow::dependentBuild(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().

Here is the caller graph for this function:

◆ buildFXMenuCheckbox()

FXMenuCheck * GUIDesigns::buildFXMenuCheckbox ( FXComposite *  p,
const std::string &  text,
const std::string &  info,
FXObject *  tgt,
FXSelector  sel 
)
static

build menu checkbox

Definition at line 85 of file GUIDesigns.cpp.

References GUIDesignHeight.

Referenced by GNEApplicationWindowHelper::EditMenuCommands::buildOpenSUMOMenuCommands(), GNEApplicationWindowHelper::WindowsMenuCommands::buildWindowsMenuCommands(), and GUIApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ buildFXMenuCheckboxIcon()

MFXMenuCheckIcon * GUIDesigns::buildFXMenuCheckboxIcon ( FXComposite *  p,
const std::string &  text,
const std::string &  shortcut,
const std::string &  info,
FXIcon *  icon,
FXObject *  tgt,
FXSelector  sel 
)
static

◆ buildFXMenuCommand() [1/2]

FXMenuCommand * GUIDesigns::buildFXMenuCommand ( FXComposite *  p,
const std::string &  text,
const std::string &  help,
FXIcon *  icon,
FXObject *  tgt,
FXSelector  sel,
const bool  disable = false 
)
static

build menu command with help

Definition at line 57 of file GUIDesigns.cpp.

References GUIDesignHeight.

◆ buildFXMenuCommand() [2/2]

FXMenuCommand * GUIDesigns::buildFXMenuCommand ( FXComposite *  p,
const std::string &  text,
FXIcon *  icon,
FXObject *  tgt,
FXSelector  sel,
const bool  disable = false 
)
static

build menu command

Definition at line 42 of file GUIDesigns.cpp.

References GUIDesignHeight.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildCenterPopupEntry(), GUICursorDialog::buildDialogElements(), GNELane::buildEdgeOperations(), GNELane::buildLaneOperations(), GNEDemandElement::buildMenuAddReverse(), GNEDemandElement::buildMenuCommandRouteLength(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GNEApplicationWindowHelper::MenuBarFile::buildRecentConfigFiles(), GUIApplicationWindow::buildRecentConfigs(), GNEApplicationWindowHelper::MenuBarFile::buildRecentNetworkFiles(), GUIApplicationWindow::buildRecentNetworks(), GNELane::buildRechableOperations(), GNEViewNet::buildSelectionACPopupEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShapePopupOptions(), GUIGlObject::buildShowManipulatorPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GUIGlObject::buildShowTypeParamsPopupEntry(), GNELane::buildTemplateOperations(), GNEJunction::buildTLSOperations(), GNEElementTree::createPopUpMenu(), GUIApplicationWindow::fillMenuBar(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNENetworkElement::getShapeEditedPopUpMenu(), GNEContainer::GNEContainerPopupMenu::GNEContainerPopupMenu(), GNEPerson::GNEPersonPopupMenu::GNEPersonPopupMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), and GUIParameterTableWindow::onRightButtonPress().

◆ buildFXMenuCommandRecentFile()

FXMenuCommand * GUIDesigns::buildFXMenuCommandRecentFile ( FXComposite *  p,
const std::string &  text,
FXObject *  tgt,
FXSelector  sel 
)
static

build menu command (for recent files)

Definition at line 107 of file GUIDesigns.cpp.

References GUIDesignHeight.

Referenced by GNEApplicationWindowHelper::MenuBarFile::buildRecentConfigFiles(), GUIApplicationWindow::buildRecentConfigs(), GNEApplicationWindowHelper::MenuBarFile::buildRecentNetworkFiles(), and GUIApplicationWindow::buildRecentNetworks().

Here is the caller graph for this function:

◆ buildFXMenuCommandShortcut()

FXMenuCommand * GUIDesigns::buildFXMenuCommandShortcut ( FXComposite *  p,
const std::string &  text,
const std::string &  shortcut,
const std::string &  info,
FXIcon *  icon,
FXObject *  tgt,
FXSelector  sel 
)
static

build menu command

Definition at line 74 of file GUIDesigns.cpp.

References GUIDesignHeight.

Referenced by GNEApplicationWindowHelper::FileMenuCommands::buildAdditionalSection(), GNEApplicationWindowHelper::ModesMenuCommands::CommonMenuCommands::buildCommonMenuCommands(), GNEApplicationWindowHelper::ModesMenuCommands::DataMenuCommands::buildDataMenuCommands(), GNEApplicationWindowHelper::FileMenuCommands::buildDataSection(), GNEApplicationWindowHelper::ModesMenuCommands::DemandMenuCommands::buildDemandMenuCommands(), GNEApplicationWindowHelper::FileMenuCommands::buildDemandSection(), GNEApplicationWindowHelper::FileMenuCommands::buildEdgeTypeSection(), GNEApplicationWindowHelper::FileMenuCommands::buildFileMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildFrontElementMenuCommand(), GNEApplicationWindowHelper::HelpMenuCommands::buildHelpMenuCommands(), GUIMainWindow::buildLanguageMenu(), GNEApplicationWindowHelper::LocateMenuCommands::buildLocateMenuCommands(), GNEApplicationWindowHelper::LockMenuCommands::buildLockMenuCommands(), GNEApplicationWindowHelper::FileMenuCommands::buildMeanDataSection(), GNEApplicationWindowHelper::FileMenuCommands::buildNeteditConfigSection(), GNEApplicationWindowHelper::ModesMenuCommands::NetworkMenuCommands::buildNetworkMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildOpenSUMOMenuCommands(), GNEApplicationWindowHelper::ProcessingMenuCommands::buildProcessingMenuCommands(), GNEApplicationWindowHelper::FileMenuCommands::buildSumoConfigSection(), GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands(), GNEApplicationWindowHelper::FileMenuCommands::buildTrafficLightSection(), GNEApplicationWindowHelper::EditMenuCommands::buildUndoRedoMenuCommands(), GNEApplicationWindowHelper::EditMenuCommands::buildViewMenuCommands(), GNEApplicationWindowHelper::WindowsMenuCommands::buildWindowsMenuCommands(), GUIApplicationWindow::fillMenuBar(), GNEApplicationWindow::fillMenuBar(), and GNEPythonTool::GNEPythonTool().

Here is the caller graph for this function:

◆ buildFXMenuTitle()

FXMenuTitle * GUIDesigns::buildFXMenuTitle ( FXComposite *  p,
const std::string &  text,
FXIcon *  icon,
FXMenuPane *  menuPane 
)
static

build menu title

Definition at line 31 of file GUIDesigns.cpp.

References GUIDesignHeight.

Referenced by GUIMainWindow::buildLanguageMenu(), GUIApplicationWindow::fillMenuBar(), and GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ buildFXRadioButton()

FXRadioButton * GUIDesigns::buildFXRadioButton ( FXComposite *  p,
const std::string &  text,
const std::string &  tip,
const std::string &  help,
FXObject *  tgt,
FXSelector  sel,
FXuint  opts = RADIOBUTTON_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 
)
static

The documentation for this class was generated from the following files: