Пример #1
0
    def show(self):
        self._telaFocada = CApplication.getTelaFocada()
        self._telaPrincipal = CApplication.getTelaPrincipal()
        self._telaPrincipal.setVisible(False)

        CApplication.hideTelaPrincipal()
        self._telaPopup.show()
        CApplication.setFocus(None)
        self.focusNextChild()
Пример #2
0
 def setFocus(self):
     if self.acceptFocus():
         CApplication.setFocus(self)
Пример #3
0
 def close(self):
     CApplication.hideTelaPrincipal()
     self._telaPrincipal.setVisible(True)
     self._telaPrincipal.show()
     CApplication.setFocus(self._telaFocada)