예제 #1
0
    def register(self, link):
        if link != 'mapclient.register':
            return

        dlg = AuthoriseApplicationDialog(self)
        dlg.setModal(True)
        dlg.exec_()

        self._updateUi()
 def _linkActivated(self, link):
     if link == 'mapclient.register':
         dlg = AuthoriseApplicationDialog(self)
         dlg.setModal(True)
         dlg.exec_()
         self._updateUi()
     elif link == 'mapclient.deregister':
         self._pmrTool.deregister()
         self._updateUi()
 def _linkActivated(self, link):
     if link == 'mapclient.register':
         dlg = AuthoriseApplicationDialog(self)
         dlg.setModal(True)
         dlg.exec_()
         self._updateUi()
     elif link == 'mapclient.deregister':
         self._pmrTool.deregister()
         self._updateUi()
예제 #4
0
    def register(self, link):
        if link != "mapclient.register":
            return

        dlg = AuthoriseApplicationDialog(self)
        dlg.setModal(True)
        dlg.exec_()

        self._updateUi()
    def _register(self):
        dlg = AuthoriseApplicationDialog(self)
        dlg.setModal(True)
        dlg.exec_()

        self._updateUi()