 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
67 myIntervalTable->setSelBackColor(FXRGBA(255, 255, 255, 255));
68 myIntervalTable->setSelTextColor(FXRGBA(0, 0, 0, 255));
69 myIntervalTable->setEditable(
false);
72 updateIntervalTable();
90 WRITE_DEBUG(
"Opening FXMessageBox of type 'warning'");
92 FXMessageBox::warning(getApp(), MBOX_OK,
"Overlapping detected",
"%s", (
"Values of '" +
myEditedAdditional->
getID() +
"' cannot be saved. There are intervals overlapped.").c_str());
94 WRITE_DEBUG(
"Closed FXMessageBox of type 'warning' with 'OK'");
100 getApp()->stopModal(
this, TRUE);
111 getApp()->stopModal(
this, FALSE);
190 FXTableItem* item =
nullptr;
197 item =
new FXTableItem(i->getAttribute(
SUMO_ATTR_END).c_str());
201 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
202 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.
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
long onCmdReset(FXObject *, FXSelector, void *)
event after press reset button
weights: time range begin
void cancelChanges()
Cancel changes did in this dialog.
bool checkAdditionalChildrenOverlapping() const
check if children are overlapped (Used by Rerouters)
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 *)
void acceptChanges()
Accept changes did in this dialog.
const std::vector< GNEAdditional * > & getAdditionalChildren() const
return vector of additionals that have as Parent this edge (For example, Calibrators)
FXDEFMAP(GNERerouterDialog) GNERerouterDialogMap[]
GNEViewNet * getViewNet() const
Returns a pointer to GNEViewNet in which additional element is located.
#define GUIDesignTableAdditionals
design for tables used in additional dialogs
an aggreagated-output interval
void sortAdditionalChildren()
sort children (used by Rerouters, VSS, TAZs...)
FXTable * myIntervalTable
list with intervals
void resetChanges()
reset changes did in this dialog.
Dialog for edit rerouter intervals.