Exemplo n.º 1
0
    def applyTimestepSelection(self):
        selectionString = str(self.widget().lineEditSelectionString.text())

        Application.vrpApp.mw.spawnPatienceDialog()
        reqId = theGuiMsgHandler().setSelectionString(selectionString)
        theGuiMsgHandler().waitforAnswer(reqId)
        Application.vrpApp.mw.unSpawnPatienceDialog()

        # update params of project in ObjectMgr
        params = ObjectMgr().getParamsOfObject(0)
        params.selectionString = selectionString
        ObjectMgr().setParams(0, params)
Exemplo n.º 2
0
    def applyTimestepSelection(self):
        selectionString = str(self.widget().lineEditSelectionString.text())

        Application.vrpApp.mw.spawnPatienceDialog()
        reqId = theGuiMsgHandler().setSelectionString(selectionString)
        theGuiMsgHandler().waitforAnswer(reqId)
        Application.vrpApp.mw.unSpawnPatienceDialog()

        # update params of project in ObjectMgr
        params = ObjectMgr().getParamsOfObject(0)
        params.selectionString = selectionString
        ObjectMgr().setParams(0, params)