Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Set window flags
import sys
from PyQt5.QtCore import QSize, Qt
from PyQt5.QtWidgets import QApplication, QMainWindow
class Main(QMainWindow):
def __init__(self):
super(Main, self).__init__()
self.resize(QSize(800, 600))
self.setWindowFlags(Qt.FramelessWindowHint) # окно без рамки
if __name__ == '__main__':
app = QApplication(sys.argv)
ex = Main()
ex.show()
sys.exit(app.exec_())
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question