63 myEditedVariableSpeedSign(editedVariableSpeedSign),
64 myStepsValids(false) {
74 myStepsTable->setSelBackColor(FXRGBA(255, 255, 255, 255));
75 myStepsTable->setSelTextColor(FXRGBA(0, 0, 0, 255));
163 WRITE_WARNING(
"Closed FXMessageBox of type 'warning' with 'OK'");
172 getApp()->stopModal(
this, TRUE);
183 getApp()->stopModal(
this, FALSE);
216 FXTableItem* item = 0;
226 item =
new FXTableItem(
"");
228 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
229 item->setEnabled(
false);
233 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
234 item->setEnabled(
false);
#define GUIDesignTableIconCellWidth
width of cells that only contains an Icon
void resetChanges()
reset changes did in this dialog.
GNEVariableSpeedSign * myEditedVariableSpeedSign
Pointer to Variable Speed Signal.
void sortVariableSpeedSignSteps()
sort steps
const std::vector< GNEVariableSpeedSignStep * > & getVariableSpeedSignSteps() const
get values of variable speed signal
void updateTableSteps()
update data table
Dialog to edit sequences, parameters, etc.. of Additionals.
FXTable * myStepsTable
Table with the data.
#define WRITE_WARNING(msg)
static OptionsCont & getOptions()
Retrieves the options.
GNEUndoList * getUndoList() const
get the undoList object
~GNEVariableSpeedSignDialog()
destructor
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
#define GUIDesignAuxiliarHorizontalFrame
design for auxiliar (Without borders) horizontal frame used to pack another frames ...
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
long onCmdClickedStep(FXObject *, FXSelector, void *)
event called after clicked a row
GNEVariableSpeedSign * getEditedVariableSpeedSign() const
get edited Variable Speed Sign
#define GUIDesignTableAdditionals
design for tables used in additional dialogs
long onCmdAccept(FXObject *, FXSelector, void *)
event called after press accept button
#define GUIDesignButtonIcon
button only with icon (23x23)
bool isValid(SumoXMLAttr key, const std::string &value)
trigger: the time of the step
void acceptChanges()
Accept changes did in this dialog.
GNEViewNet * getViewNet() const
Returns a pointer to GNEViewNet in which additional element is located.
void cancelChanges()
Cancel changes did in this dialog.
#define GUIDesignLabelThick
label extended over frame with thick and with text justify to left and height of 23 ...
long onCmdCancel(FXObject *, FXSelector, void *)
event called after press cancel button
long onCmdAddStep(FXObject *, FXSelector, void *)
long onCmdReset(FXObject *, FXSelector, void *)
event called after press cancel button
long onCmdEditStep(FXObject *, FXSelector, void *)
event called after edit row
FXDEFMAP(GNEVariableSpeedSignDialog) GNERerouterDialogMap[]
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
trigger: a step description