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()
Esempio n. 2
0
    def register(self, link):
        if link != "mapclient.register":
            return

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

        self._updateUi()
Esempio n. 3
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 _register(self):
        dlg = AuthoriseApplicationDialog(self)
        dlg.setModal(True)
        dlg.exec_()

        self._updateUi()