1# -*- coding: utf-8 -*- 2 3""" 4*************************************************************************** 5 QtWidgets.py 6 --------------------- 7 Date : November 2015 8 Copyright : (C) 2015 by Matthias Kuhn 9 Email : matthias at opengis dot ch 10*************************************************************************** 11* * 12* This program is free software; you can redistribute it and/or modify * 13* it under the terms of the GNU General Public License as published by * 14* the Free Software Foundation; either version 2 of the License, or * 15* (at your option) any later version. * 16* * 17*************************************************************************** 18""" 19 20__author__ = 'Matthias Kuhn' 21__date__ = 'November 2015' 22__copyright__ = '(C) 2015, Matthias Kuhn' 23 24from PyQt5.QtWidgets import * 25 26QLayout.setMargin = lambda self, m: self.setContentsMargins(m, m, m, m) 27