FramelessWindowHint

阅读更多

__author__ = 'Administrator'

from PyQt4 import QtGui,QtCore,Qt

from sys import argv

app = QtGui.QApplication(argv)

widget = QtGui.QWidget()

widget.resize(250,300)

widget.setGeometry(250,300,300,300)

widget.setWindowTitle("a window title")

widget.setWindowFlags(QtCore.Qt.FramelessWindowHint)

widget.show()

app.exec_()


  • SublimeText2.rar (7.1 MB)
  • 下载次数: 0

你可能感兴趣的:(FramelessWindowHint)