Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py

changeset 454
d28d558f7484
parent 307
bdc899125e39
child 537
72b32daeb8d6
equal deleted inserted replaced
453:a81097a85889 454:d28d558f7484
42 42
43 self.__startAct = QAction( 43 self.__startAct = QAction(
44 UI.PixmapCache.getIcon( 44 UI.PixmapCache.getIcon(
45 os.path.join("VcsPlugins", "vcsMercurial", "icons", "startServer.png")), 45 os.path.join("VcsPlugins", "vcsMercurial", "icons", "startServer.png")),
46 self.trUtf8("Start Server"), self) 46 self.trUtf8("Start Server"), self)
47 self.__startAct.triggered.connect(self.__startServer) 47 self.__startAct.triggered[()].connect(self.__startServer)
48 self.__stopAct = QAction( 48 self.__stopAct = QAction(
49 UI.PixmapCache.getIcon( 49 UI.PixmapCache.getIcon(
50 os.path.join("VcsPlugins", "vcsMercurial", "icons", "stopServer.png")), 50 os.path.join("VcsPlugins", "vcsMercurial", "icons", "stopServer.png")),
51 self.trUtf8("Stop Server"), self) 51 self.trUtf8("Stop Server"), self)
52 self.__stopAct.triggered.connect(self.__stopServer) 52 self.__stopAct.triggered[()].connect(self.__stopServer)
53 self.__browserAct = QAction( 53 self.__browserAct = QAction(
54 UI.PixmapCache.getIcon("home.png"), 54 UI.PixmapCache.getIcon("home.png"),
55 self.trUtf8("Start Browser"), self) 55 self.trUtf8("Start Browser"), self)
56 self.__browserAct.triggered.connect(self.__startBrowser) 56 self.__browserAct.triggered[()].connect(self.__startBrowser)
57 57
58 self.__portSpin = QSpinBox(self) 58 self.__portSpin = QSpinBox(self)
59 self.__portSpin.setMinimum(2048) 59 self.__portSpin.setMinimum(2048)
60 self.__portSpin.setMaximum(65535) 60 self.__portSpin.setMaximum(65535)
61 self.__portSpin.setToolTip(self.trUtf8("Enter the server port")) 61 self.__portSpin.setToolTip(self.trUtf8("Enter the server port"))

eric ide

mercurial