Python PyQt5.QtGui.QMainWindow() Examples

The following are 1 code examples for showing how to use PyQt5.QtGui.QMainWindow(). These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example.

You may check out the related API usage on the sidebar.

You may also want to check out all available functions/classes of the module PyQt5.QtGui , or try the search function .

Example 1
Project: grap   Author: AirbusCyber   File:    License: MIT License 5 votes vote down vote up
def get_QMainWindow():
    """QMainWindow getter."""

        import PySide.QtGui as QtGui
        return QtGui.QMainWindow
    except ImportError:
        import PyQt5.QtWidgets as QtWidgets
        return QtWidgets.QMainWindow