def default_size(parent, width, height):
 if (parent is not None):
  width = parent.width()
  height = parent.height()
 return (width, height)

def default_size ( parent , width , height ) : if ( parent is not None ) : width = parent . width ( ) height = parent . height ( ) return ( width , height )
return the parents size .