Exemplo n.º 1
0
    def __init__(self, parent=None):
        super(LaunchServer, self).__init__(parent)

        # set up ui
        self.ui = Ui_LaunchServer()
        self.ui.setupUi(self)

        # signals
        self.ui.launchButton.clicked.connect(self._onLaunchButtonClicked)
        self.ui.cancelButton.clicked.connect(self._onCancelPortScan)
Exemplo n.º 2
0
    def __init__(self, parent=None):
        super(LaunchServer, self).__init__(parent)

        # set up ui
        self.ui = Ui_LaunchServer()
        self.ui.setupUi(self)

        # signals
        self.ui.launchButton.clicked.connect(self._onLaunchButtonClicked)
        self.ui.cancelButton.clicked.connect(self._onCancelPortScan)
Exemplo n.º 3
0
class LaunchServer(QMainWindow):
    def __init__(self, parent=None):
        super(LaunchServer, self).__init__(parent)

        # set up ui
        self.ui = Ui_LaunchServer()
        self.ui.setupUi(self)

        # signals
        self.ui.launchButton.clicked.connect(self._onLaunchButtonClicked)
        self.ui.cancelButton.clicked.connect(self._onCancelPortScan)

    def _onLaunchButtonClicked(self):
        filePath = self.ui.filePathLineEdit.text()
        print(filePath)
        launchApp.launch(self, filePath)

    def _onCancelPortScan(self):
        self.close()
Exemplo n.º 4
0
class LaunchServer(QMainWindow):

    def __init__(self, parent=None):
        super(LaunchServer, self).__init__(parent)

        # set up ui
        self.ui = Ui_LaunchServer()
        self.ui.setupUi(self)

        # signals
        self.ui.launchButton.clicked.connect(self._onLaunchButtonClicked)
        self.ui.cancelButton.clicked.connect(self._onCancelPortScan)

    def _onLaunchButtonClicked(self):
        filePath = self.ui.filePathLineEdit.text()
        print(filePath)
        launchApp.launch(self, filePath)


    def _onCancelPortScan(self):
        self.close()