Plugins/VcsPlugins/vcsMercurial/HgServeDialog.py

changeset 3345
071afe8be2a1
parent 3302
e92f0dd51979
child 3484
645c12de6b0c
equal deleted inserted replaced
3343:f7a6d271bb40 3345:071afe8be2a1
46 self.__startAct = QAction( 46 self.__startAct = QAction(
47 UI.PixmapCache.getIcon( 47 UI.PixmapCache.getIcon(
48 os.path.join("VcsPlugins", "vcsMercurial", "icons", 48 os.path.join("VcsPlugins", "vcsMercurial", "icons",
49 "startServer.png")), 49 "startServer.png")),
50 self.tr("Start Server"), self) 50 self.tr("Start Server"), self)
51 self.__startAct.triggered[()].connect(self.__startServer) 51 self.__startAct.triggered.connect(self.__startServer)
52 self.__stopAct = QAction( 52 self.__stopAct = QAction(
53 UI.PixmapCache.getIcon( 53 UI.PixmapCache.getIcon(
54 os.path.join("VcsPlugins", "vcsMercurial", "icons", 54 os.path.join("VcsPlugins", "vcsMercurial", "icons",
55 "stopServer.png")), 55 "stopServer.png")),
56 self.tr("Stop Server"), self) 56 self.tr("Stop Server"), self)
57 self.__stopAct.triggered[()].connect(self.__stopServer) 57 self.__stopAct.triggered.connect(self.__stopServer)
58 self.__browserAct = QAction( 58 self.__browserAct = QAction(
59 UI.PixmapCache.getIcon("home.png"), 59 UI.PixmapCache.getIcon("home.png"),
60 self.tr("Start Browser"), self) 60 self.tr("Start Browser"), self)
61 self.__browserAct.triggered[()].connect(self.__startBrowser) 61 self.__browserAct.triggered.connect(self.__startBrowser)
62 62
63 self.__portSpin = QSpinBox(self) 63 self.__portSpin = QSpinBox(self)
64 self.__portSpin.setMinimum(2048) 64 self.__portSpin.setMinimum(2048)
65 self.__portSpin.setMaximum(65535) 65 self.__portSpin.setMaximum(65535)
66 self.__portSpin.setToolTip(self.tr("Enter the server port")) 66 self.__portSpin.setToolTip(self.tr("Enter the server port"))

eric ide

mercurial