QLabel toNodeLabel = new QLabel("To Edge:");
QLabel vTypeLabel = new QLabel("Vehicle Type:");
QLabel periodLabel = new QLabel("Emit interval:");
QLabel repnoLabel = new QLabel("Replication number:");
idText = new QLineEdit("Trip" + new Random().nextInt());
depTimeSpin = new QSpinBox();
ModelManager mm = ModelManager.getInstance();
depTimeSpin.setMinimum(mm.getSimulationStartTime());
depTimeSpin.setMaximum(mm.getSimulationEndTime());
fromEdgeEdit = new QLineEdit();
fromEdgeEdit.setEnabled(false);
fromEdgeSelectButton = new QPushButton("Select");
fromEdgeSelectButton.pressed.connect(this, "onFromNodeSelect()");
toEdgeEdit = new QLineEdit();
toEdgeEdit.setEnabled(false);
toEdgeSelectButton = new QPushButton("Select");
toEdgeSelectButton.pressed.connect(this, "onToNodeSelect()");
typeCombo = new QComboBox();
SumoManager sm = SumoManager.getInstance();