hello_world.py 377 B

123456789101112
  1. """
  2. Copyright (c) Contributors to the Open 3D Engine Project.
  3. For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. SPDX-License-Identifier: Apache-2.0 OR MIT
  5. """
  6. # a simple test to make sure PySide2 widgets can be used
  7. from PySide2 import QtWidgets
  8. hello = QtWidgets.QPushButton("Hello world!")
  9. hello.resize(200, 60)
  10. hello.show()