def __init__(self):
     super(CustomerPriceUpdate_Dialog, self).__init__()
     self.ui = Ui_KPS_CustomerPriceUpdate.Ui_CustomerPriceUpdate()
     self.ui.setupUi(self)
     self.ui.bt_AddEvent.clicked.connect(self.clicked_bt_Add_Event)    
     #self.ui.bt_Select_Route.clicked.connect(self.clicked_bt_Add_Event)
     self.ui.cb_Origin.addItems(RH.getLocations())
     self.ui.cb_Destination.addItems(RH.getLocations())
     self.ui.cb_Priority.addItems(RH.getPriorities())
     self.updateDisplayedRoutes()
     self.ui.cb_Origin.currentIndexChanged.connect(self.updateDisplayedRoutes)  
     self.ui.cb_Destination.currentIndexChanged.connect(self.updateDisplayedRoutes)
     self.ui.cb_Priority.currentIndexChanged.connect(self.updateDisplayedRoutes)  
 def __init__(self):
     super(TransportDiscontinued_Dialog, self).__init__()
     self.ui = Ui_KPS_TransportDiscontinued.Ui_TransportDiscontinued()
     self.ui.setupUi(self)
     self.ui.bt_AddEvent.clicked.connect(self.clicked_bt_Add_Event)    
    
     self.ui.cb_Origin.addItems(RH.getLocations())
     self.ui.cb_Destination.addItems(RH.getLocations())
     self.ui.cb_TransportType.addItems(RH.getTransportTypes())
     
     self.ui.cb_Origin.currentIndexChanged.connect(self.updateDisplayedRoutes)
     self.ui.cb_Destination.currentIndexChanged.connect(self.updateDisplayedRoutes)
     self.ui.cb_TransportType.currentIndexChanged.connect(self.updateDisplayedRoutes)