def testPMRSearchDialog(self):        
     from mapclient.tools.pmr.pmrsearchdialog import PMRSearchDialog
     dlg = PMRSearchDialog()
     dlg.setModal(True)
     if dlg.exec_():
         ws = dlg.getSelectedWorkspace()
         print('the winner has selected:')
         print(ws)
 def pmr(self):
     from mapclient.tools.pmr.pmrsearchdialog import PMRSearchDialog
     dlg = PMRSearchDialog(self)
     dlg.setModal(True)
     dlg.exec_()