OllamaInterface/OllamaWidget.py

changeset 47
178d52749f25
parent 44
ef9a85b8768a
child 59
40a29731e0d0
equal deleted inserted replaced
46:80fda3c85da9 47:178d52749f25
916 @pyqtSlot() 916 @pyqtSlot()
917 def __serverStarted(self): 917 def __serverStarted(self):
918 """ 918 """
919 Private slot to handle the start of a local server. 919 Private slot to handle the start of a local server.
920 """ 920 """
921 self.__client.setMode(True) 921 self.__client.setMode(local=True)
922 922
923 @pyqtSlot() 923 @pyqtSlot()
924 def __serverStopped(self): 924 def __serverStopped(self):
925 """ 925 """
926 Private slot to handle the stopping of a local server. 926 Private slot to handle the stopping of a local server.
927 """ 927 """
928 self.__client.setMode(False) 928 self.__client.setMode(local=False)
929 929
930 @pyqtSlot() 930 @pyqtSlot()
931 def __serverDialogClosed(self): 931 def __serverDialogClosed(self):
932 """ 932 """
933 Private slot handling the closing of the local server dialog. 933 Private slot handling the closing of the local server dialog.

eric ide

mercurial