eric7/Preferences/ConfigurationPages/ProtobufPage.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8327
666c2b81cbb7
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
5 5
6 """ 6 """
7 Module implementing the protobuf configuration page. 7 Module implementing the protobuf configuration page.
8 """ 8 """
9 9
10 from E5Gui.E5PathPicker import E5PathPickerModes 10 from E5Gui.EricPathPicker import EricPathPickerModes
11 11
12 from .ConfigurationPageBase import ConfigurationPageBase 12 from .ConfigurationPageBase import ConfigurationPageBase
13 from .Ui_ProtobufPage import Ui_ProtobufPage 13 from .Ui_ProtobufPage import Ui_ProtobufPage
14 14
15 import Preferences 15 import Preferences
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.OPEN_FILE_MODE) 30 self.protocPicker.setMode(EricPathPickerModes.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.OPEN_FILE_MODE) 35 self.grpcPythonPicker.setMode(EricPathPickerModes.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