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 FXCheckButton * buildFXCheckButton (FXComposite *p, const std::string &text, const std::string &tip, const std::string &help, FXObject *tgt, FXSelector sel, FXuint opts=CHECKBUTTON_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 check 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 720 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(), GNEDialog::buildDialog(), GUIDialog_ViewSettings::buildHeader(), GUIDialog_ViewSettings::buildOpenGLFrame(), GUIParameterTracker::buildToolBar(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNETAZRelDataFrame::ConfirmTAZRelation::ConfirmTAZRelation(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEGenericDataFrame::DataSetSelector::DataSetSelector(), GUIApplicationWindow::dependentBuild(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNECreateEdgeFrame::EdgeTypeSelector::EdgeTypeSelector(), GNEShapeFrame::GEOPOICreator::GEOPOICreator(), GNEConsecutiveSelector::GNEConsecutiveSelector(), GNEDrawingShape::GNEDrawingShape(), GNEGeometryPointDialog::GNEGeometryPointDialog(), GNEInspectorFrame::GNEInspectorFrame(), GNEMatchAttribute::GNEMatchAttribute(), GNENetgenerateDialog::GNENetgenerateDialog(), GNEOverlappedInspection::GNEOverlappedInspection(), GNEPathCreator::GNEPathCreator(), GNEPlanCreator::GNEPlanCreator(), GNERunDialog::GNERunDialog(), GNEVClassesDialog::GNEVClassesDialog(), GNEViewObjectSelector::GNEViewObjectSelector(), 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(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEMeanDataFrame::MeanDataEditor::MeanDataEditor(), MFXDecalsTable::MFXDecalsTable(), MFXGroupBoxModule::MFXGroupBoxModule(), MFXGroupBoxModule::MFXGroupBoxModule(), GUIDialog_ViewSettings::onCmdSaveSetting(), GNEOptionsEditorRow::OptionFilename::OptionFilename(), GNEOptionsEditorRow::OptionRow::OptionRow(), GNEParametersDialog::ParametersValues::ParameterRow::ParameterRow(), GNEParametersDialog::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::TAZSaveChanges::TAZSaveChanges(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), GNETypeFrame::TypeEditor::TypeEditor(), GNEVClassesDialog::VClassRow::VClassRow(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().

◆ buildFXCheckButton()

FXCheckButton * GUIDesigns::buildFXCheckButton ( FXComposite * p,
const std::string & text,
const std::string & tip,
const std::string & help,
FXObject * tgt,
FXSelector sel,
FXuint opts = CHECKBUTTON_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 check button

Definition at line 138 of file GUIDesigns.cpp.

Referenced by GNEFixDemandElementsDialog::FixRouteOptions::FixRouteOptions(), and GNEFixDemandElementsDialog::FixVehicleOptions::FixVehicleOptions().

Here is the caller graph for this function:

◆ 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

◆ 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::buildPopUpMenuCommonOptions(), GUIGlObject::buildPositionCopyEntry(), GNEApplicationWindowHelper::MenuBarFile::buildRecentConfigFiles(), GUIApplicationWindow::buildRecentConfigs(), GNEApplicationWindowHelper::MenuBarFile::buildRecentNetworkFiles(), GUIApplicationWindow::buildRecentNetworks(), GNELane::buildRechableOperations(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShapePopupOptions(), GUIGlObject::buildShowManipulatorPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GUIGlObject::buildShowTypeParamsPopupEntry(), GNELane::buildTemplateOperations(), GNEJunction::buildTLSOperations(), GNEElementTree::createPopUpMenu(), GUIApplicationWindow::fillMenuBar(), GNEDemandElementPlan::getPlanPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNENetworkElement::getShapeEditedPopUpMenu(), 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(), GNEApplicationWindow::fillMenuBar(), GUIApplicationWindow::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(), GNEApplicationWindow::fillMenuBar(), and GUIApplicationWindow::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: