How to use the guiscrcpy.ui.resources.notif.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 / ui / resources / notif.py View on Github external
self.listWidget.addItems([deco])
            if exist:
                self.listWidget.addItems(["You may have more notifications."
                                          " guiscrcpy do not have enough permissions to view them."])
        else:
            self.listWidget.addItems(["You have no notifications here!"])


if __name__ == "__main__":

    app = QtWidgets.QApplication(sys.argv)

    # app.aboutToQuit().connect(app.deleteLater)
    window = QtWidgets.QMainWindow()

    prog = MyApp(window)

    window.show()

    app.exec_()

    sys.exit()
github srevinsaju / guiscrcpy / guiscrcpy / ui / resources / notif.py View on Github external
def __init__(self, Dialog):
        super(MyApp, self).__init__()
        Ui_Dialog.__init__(self)
        self.setupUi(Dialog)

        self.readNotif()