eric7/Preferences/ConfigurationPages/ProtobufPage.py

branch
eric7
changeset 8327
666c2b81cbb7
parent 8312
800c432b34c8
child 8356
68ec9c3d4de5
equal deleted inserted replaced
8325:547319e56c60 8327:666c2b81cbb7
25 """ 25 """
26 super().__init__() 26 super().__init__()
27 self.setupUi(self) 27 self.setupUi(self)
28 self.setObjectName("ProtobufPage") 28 self.setObjectName("ProtobufPage")
29 29
30 self.protocPicker.setMode(E5PathPickerModes.OpenFileMode) 30 self.protocPicker.setMode(E5PathPickerModes.OPEN_FILE_MODE)
31 self.protocPicker.setToolTip(self.tr( 31 self.protocPicker.setToolTip(self.tr(
32 "Press to select the Protobuf compiler via a file selection" 32 "Press to select the Protobuf compiler via a file selection"
33 " dialog.")) 33 " dialog."))
34 34
35 self.grpcPythonPicker.setMode(E5PathPickerModes.OpenFileMode) 35 self.grpcPythonPicker.setMode(E5PathPickerModes.OPEN_FILE_MODE)
36 self.grpcPythonPicker.setToolTip(self.tr( 36 self.grpcPythonPicker.setToolTip(self.tr(
37 "Press to select the Python interpreter containing the gRPC" 37 "Press to select the Python interpreter containing the gRPC"
38 " compiler via a file selection dialog.")) 38 " compiler via a file selection dialog."))
39 39
40 # set initial values 40 # set initial values

eric ide

mercurial