Python PyQt5.QtGui.QCheckBox() Examples

The following are 1 code examples of PyQt5.QtGui.QCheckBox(). 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 also want to check out all available functions/classes of the module PyQt5.QtGui , or try the search function .
Example #1
Source File: QtShim.py    From grap with MIT License 5 votes vote down vote up
def get_QCheckBox():
    """QCheckBox getter."""

    try:
        import PySide.QtGui as QtGui
        return QtGui.QCheckBox
    except ImportError:
        import PyQt5.QtWidgets as QtWidgets
        return QtWidgets.QCheckBox