def set_geometry(self, rect):
        rect = QRect(*rect)
        if rect.isValid():
            self.widget.setGeometry(rect)
Test that media subtype is used if type/subtype doesn't
dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_window.py/QtWindow.set_geometry--crossover with--dataset/ETHPy150Open jkbrzt/httpie/tests/test_output.py/TestPrettyOptions.test_subtype_based_pygments_lexer_match