 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
54 myStepsValids(false) {
67 myStepsTable->setSelBackColor(FXRGBA(255, 255, 255, 255));
68 myStepsTable->setSelTextColor(FXRGBA(0, 0, 0, 255));
109 double time = GNEAttributeCarrier::parse<double>(
myStepsTable->getItem(i, 0)->getText().text());
110 double speed = GNEAttributeCarrier::parse<double>(
myStepsTable->getItem(i, 1)->getText().text());
154 WRITE_DEBUG(
"Opening FXMessageBox of type 'warning'");
159 WRITE_DEBUG(
"Closed FXMessageBox of type 'warning' with 'OK'");
167 getApp()->stopModal(
this, TRUE);
178 getApp()->stopModal(
this, FALSE);
211 FXTableItem* item =
nullptr;
221 item =
new FXTableItem(
"");
223 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
224 item->setEnabled(
false);
228 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
229 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.
void sortChildAdditionals()
sort child additionals (used by Rerouters, VSS, TAZs...)
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.
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
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
const std::vector< GNEAdditional * > & getChildAdditionals() const
return child additionals
void resetChanges()
reset changes did in this dialog.