0

を使用して、ウィンドウ サイズをspynner] Webview? I've looked through theQt Documentation and there does seem to be a way have a fixed size, but can't figure out how it implements in toPython`に設定する正しい方法を探しています。どんな助けでも大歓迎です。

http://doc.qt.io/qt-4.8/qwidget.html#setFixedSize

4

1 に答える 1

0

これを試してみてください:

browser = spynner.Browser()
browser.debug_level = spynner.DEBUG
browser.create_webview()
browser.show()
# now maximize the webview
browser.webview.showMaximized()

spynner pythonモジュールのGUIサイズを設定するにはどうすればよいですか?を参照してください。

于 2013-01-28T15:07:43.340 に答える