34 FXMAPFUNC(SEL_CLOSE, 0, GNEOverwriteElementsDialog::onCmdCancel),
49 FXDialogBox(applicationWindow->getApp(), ("Overwrite " + elementType + " elements").c_str(),
GUIDesignDialogBoxExplicit(310, 90)) {
55 new FXLabel(mainFrame, (
"Selected " + elementType +
" file was already loaded.\n Continue or overwrite elements?").c_str(),
nullptr,
GUIDesignLabelOverwrite);
66 show(PLACEMENT_SCREEN);
70 applicationWindow->getApp()->runModalFor(
this);
92 getApp()->stopModal(
this, FALSE);
99 getApp()->stopModal(
this, FALSE);
FXDEFMAP(GNEOverwriteElementsDialog) GNEOverwriteElementsDialogMap[]
@ MID_GNE_SELECT
select element
#define GUIDesignDialogBoxExplicit(width, height)
design for dialog box with specific width and height (for example, additional dialogs)
#define GUIDesignButtonAccept
Accept Button.
#define GUIDesignButtonCancel
Cancel Button.
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames
#define GUIDesignLabelOverwrite
label extended over frame without thick and with text justify to left
#define GUIDesignButtonOverwrite
overwrite Button
#define GUIDesignAuxiliarFrame
design for auxiliar (Without borders) frame extended in all directions
#define GUIDesignHorizontalFrame
Horizontal frame extended over frame parent with padding and spacing.
The main window of Netedit.
Dialog for edit rerouters.
long onCmdClose(FXObject *obj, FXSelector, void *)
event when dialog is closed
FXButton * myAcceptButton
FOX need this.
Result myResult
result (by default cancel)
Result getResult() const
get result
FXButton * myOverwriteButton
button for overwritte
long onCmdSelectOption(FXObject *obj, FXSelector, void *)
~GNEOverwriteElementsDialog()
destructor
static FXIcon * getIcon(const GUIIcon which)
returns a icon previously defined in the enum GUIIcon