ウィンドウのサイズを変更
2017/10/15
Python2.7.8, PySide1.2.2
widget.resize(250, 150)
# -*- coding: utf-8 -*-
import sys
from PyQt4 import QtGui
def main():
app = QtGui.QApplication(sys.argv)
w = QtGui.QWidget()
w.resize(250, 150)
w.move(300, 300)
w.setWindowTitle('Simple')
w.show()
sys.exit(app.exec_())
if __name__ == '__main__':
main()