How to use the guiscrcpy.__main__.MyApp function in guiscrcpy

To help you get started, we’ve selected a few guiscrcpy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github srevinsaju / guiscrcpy / guiscrcpy / __main__.py View on Github external
" ADB is not installed on your system" +
            bcolors.ENDC)

    # ------------------

    time.sleep(0.5)
    app.processEvents()

    rw = SwipeUX()  # Load swipe UI
    rw.show()  # show Swipe UI

    window = QtWidgets.QMainWindow()  # Create windwo
    app.setStyleSheet(qdarkstyle.load_stylesheet_pyqt5())
    # windoww = QtWidgets.QMainWindow()
    # windowww = QtWidgets.QMainWindow()
    prog = MyApp(window)
    # panel = Panel(windoww)
    panel = Panel()
    progg = MyAppv()
    window.show()
    splash.hide()
    # windowww.show()
    # windoww.show()
    app.exec_()
    # appo.exec_()
    sys.exit()
github srevinsaju / guiscrcpy / guiscrcpy / __main__.py View on Github external
def __init__(self, MainWindow):

        super(MyApp, self).__init__()
        # uic.loadUi(qtCreatorFile, self)

        Ui_MainWindow.__init__(self)
        self.setupUi(MainWindow)
        # self.setupUi(self)
        # self.menuAbout.itemPressed.connect(self.menu_about)

        # check if process Scrcpy is running right now in while loop
        """
        background-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:1, stop:0 rgba(0, 255, 255, 255), stop:1 rgba(0, 255, 152, 255));
color: rgb(0, 0, 0);
border-radius: 10px;
border-color: qlineargradient(spread:pad, x1:0, y1:0, x2:1, y2:0, stop:0 rgba(0, 0, 255, 255), stop:1 rgba(255, 0, 255, 255));
        """

        #bit_rate = bitrate0