 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
55 myStepsValids(false) {
68 myStepsTable->setSelBackColor(FXRGBA(255, 255, 255, 255));
69 myStepsTable->setSelTextColor(FXRGBA(0, 0, 0, 255));
110 double time = GNEAttributeCarrier::parse<double>(
myStepsTable->getItem(i, 0)->getText().text());
111 double speed = GNEAttributeCarrier::parse<double>(
myStepsTable->getItem(i, 1)->getText().text());
155 WRITE_DEBUG(
"Opening FXMessageBox of type 'warning'");
160 WRITE_DEBUG(
"Closed FXMessageBox of type 'warning' with 'OK'");
168 getApp()->stopModal(
this, TRUE);
179 getApp()->stopModal(
this, FALSE);
212 FXTableItem* item =
nullptr;
222 item =
new FXTableItem(
"");
224 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
225 item->setEnabled(
false);
229 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
230 item->setEnabled(
false);
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames
An Element which don't belongs to GNENet but has influency in the simulation.
#define GUIDesignLabelThick
label extended over frame with thick and with text justify to left and height of 23
~GNEVariableSpeedSignDialog()
destructor
long onCmdClickedStep(FXObject *, FXSelector, void *)
event called after clicked a row
Dialog to edit sequences, parameters, etc.. of Additionals.
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
method for setting the attribute and letting the object perform additional changes
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
long onCmdAccept(FXObject *, FXSelector, void *)
event called after press accept button
FXTable * myStepsTable
Table with the data.
long onCmdSortSteps(FXObject *, FXSelector, void *)
event called after clicked over sort step button
void cancelChanges()
Cancel changes did in this dialog.
long onCmdCancel(FXObject *, FXSelector, void *)
event called after press cancel button
long onCmdEditStep(FXObject *, FXSelector, void *)
event called after edit row
#define GUIDesignTableIconCellWidth
width of cells that only contains an Icon
FXDEFMAP(GNEVariableSpeedSignDialog) GNERerouterDialogMap[]
#define GUIDesignButtonIcon
button only with icon (23x23)
trigger: a step description
GNEUndoList * getUndoList() const
get the undoList object
trigger: the time of the step
GNEAdditional * myEditedAdditional
pointer to edited aditional
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
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)
GNEViewNet * getViewNet() const
Returns a pointer to GNEViewNet in which additional element is located.
#define GUIDesignTableAdditionals
design for tables used in additional dialogs
long onCmdAddStep(FXObject *, FXSelector, void *)
void updateTableSteps()
update data table
void sortAdditionalChildren()
sort children (used by Rerouters, VSS, TAZs...)
long onCmdReset(FXObject *, FXSelector, void *)
event called after press cancel button
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
method for checking if the key and their conrrespond attribute are valids
void resetChanges()
reset changes did in this dialog.