def minimumSizeHint(self): x_points = round((self._high_frequency - self._low_frequency) / self._frequency_step) y_points = round(self._high_dbm - self._low_dbm) return QtCore.QSize(x_points * 4, y_points * 1)