75 myRouteList->setSelBackColor(FXRGBA(255, 255, 255, 255));
76 myRouteList->setSelTextColor(FXRGBA(0, 0, 0, 255));
77 myRouteList->setEditable(
false);
86 myVehicleTypeList->setSelBackColor(FXRGBA(255, 255, 255, 255));
87 myVehicleTypeList->setSelTextColor(FXRGBA(0, 0, 0, 255));
88 myVehicleTypeList->setEditable(
false);
97 myFlowList->setSelBackColor(FXRGBA(255, 255, 255, 255));
98 myFlowList->setSelTextColor(FXRGBA(0, 0, 0, 255));
99 myFlowList->setEditable(
false);
103 updateVehicleTypeTable();
122 getApp()->stopModal(
this, TRUE);
132 getApp()->stopModal(
this, FALSE);
167 std::vector<GNEAdditional*> calibratorFlowsToErase;
170 calibratorFlowsToErase.push_back(j);
174 if (calibratorFlowsToErase.size() > 0) {
176 WRITE_DEBUG(
"Opening FXMessageBox of type 'question'");
184 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'No'");
185 }
else if (answer == 4) {
186 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'ESC'");
192 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'Yes'");
194 for (
auto j : calibratorFlowsToErase) {
236 throw ProcessError(
"myEditedAdditional->getViewNet()->getNet()->getAttributeCarriers().demandElements.at(SUMO_TAG_ROUTE) cannot be empty");
283 FXMessageBox::warning(getApp(), MBOX_OK,
288 std::vector<GNEAdditional*> calibratorFlowsToErase;
291 calibratorFlowsToErase.push_back(j);
295 if (calibratorFlowsToErase.size() > 0) {
302 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'No'");
303 }
else if (answer == 4) {
304 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'ESC'");
310 WRITE_DEBUG(
"Closed FXMessageBox of type 'question' with 'Yes'");
312 for (
auto j : calibratorFlowsToErase) {
361 FXTableItem* item =
nullptr;
372 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
373 item->setEnabled(
false);
400 FXTableItem* item =
nullptr;
411 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
412 item->setEnabled(
false);
439 FXTableItem* item =
nullptr;
443 item =
new FXTableItem(i.second->getAttribute(
SUMO_ATTR_ID).c_str());
452 item =
new FXTableItem(
"");
454 item->setJustify(FXTableItem::CENTER_X | FXTableItem::CENTER_Y);
455 item->setEnabled(
false);