 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
66 myIntervalTable->setSelBackColor(FXRGBA(255, 255, 255, 255));
67 myIntervalTable->setSelTextColor(FXRGBA(0, 0, 0, 255));
68 myIntervalTable->setEditable(
false);
71 updateIntervalTable();
89 WRITE_DEBUG(
"Opening FXMessageBox of type 'warning'");
91 FXMessageBox::warning(getApp(), MBOX_OK,
"Overlapping detected",
"%s", (
"Values of '" +
myEditedAdditional->
getID() +
"' cannot be saved. There are intervals overlapped.").c_str());
93 WRITE_DEBUG(
"Closed FXMessageBox of type 'warning' with 'OK'");
99 getApp()->stopModal(
this, TRUE);
110 getApp()->stopModal(
this, FALSE);
189 FXTableItem* item =
nullptr;
196 item =
new FXTableItem(i->getAttribute(
SUMO_ATTR_END).c_str());
200 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
201 item->setEnabled(
false);
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames
#define GUIDesignLabelThick
label extended over frame with thick and with text justify to left and height of 23
const std::string getID() const
function to support debugging
long onCmdCancel(FXObject *, FXSelector, void *)
event after press cancel button
Dialog for edit rerouters.
void updateIntervalTable()
update data table
Dialog to edit sequences, parameters, etc.. of Additionals.
void sortChildAdditionals()
sort child additionals (used by Rerouters, VSS, TAZs...)
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
@ SUMO_ATTR_BEGIN
weights: time range begin
void cancelChanges()
Cancel changes did in this dialog.
long onCmdAddInterval(FXObject *, FXSelector, void *)
add new interval
#define GUIDesignTableIconCellWidth
width of cells that only contains an Icon
#define GUIDesignButtonIcon
button only with icon (23x23)
GNEUndoList * getUndoList() const
get the undoList object
long onCmdSortIntervals(FXObject *, FXSelector, void *)
sort current intervals
long onCmdClickedInterval(FXObject *, FXSelector, void *)
remove or edit interval
~GNERerouterDialog()
destructor
GNEAdditional * myEditedAdditional
pointer to edited aditional
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
long onCmdAccept(FXObject *, FXSelector, void *)
bool checkChildAdditionalsOverlapping() const
check if children are overlapped (Used by Rerouters)
@ MID_GNE_REROUTEDIALOG_TABLE_INTERVAL
select table interval
@ MID_GNE_REROUTEDIALOG_SORT_INTERVAL
sort rerouter intervals
void acceptChanges()
Accept changes did in this dialog.
FXDEFMAP(GNERerouterDialog) GNERerouterDialogMap[]
GNEViewNet * getViewNet() const
Returns a pointer to GNEViewNet in which additional element is located.
@ SUMO_ATTR_END
weights: time range end
#define GUIDesignTableAdditionals
design for tables used in additional dialogs
@ SUMO_TAG_INTERVAL
an aggreagated-output interval
@ MID_GNE_REROUTEDIALOG_ADD_INTERVAL
add interval
FXTable * myIntervalTable
list with intervals
const std::vector< GNEAdditional * > & getChildAdditionals() const
return child additionals
void resetChanges()
reset changes did in this dialog.
Dialog for edit rerouter intervals.