Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
deco8 = needed_output8.decode("utf-8")
det8 = deco8.split("\t")
print("ADB: ", deco8)
except IndexError:
print(
bcolors.FAIL +
" 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_()
def __init__(self):
super(SwipeUX, self).__init__()
self.oldPos = None
self.setObjectName("SwipeUX")
self.setWindowFlags(Qt.FramelessWindowHint)
self.setAttribute(Qt.WA_NoSystemBackground, True)
self.setAttribute(Qt.WA_TranslucentBackground, True)
# self.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint | QtCore.Qt.FramelessWindowHint)
self.resize(70, 70)
# -----------------------
# =====================
icon = QtGui.QIcon()
icon.addPixmap(
QtGui.QPixmap(":/res/ui/guiscrcpy_logo.png"),
QtGui.QIcon.Normal,
QtGui.QIcon.Off,
)