The best way to avoid quality loss is to use lossless export - by leave the default export options.
VideoPad support lossless transcoding for h.264 and MPEG4 codecs. Video data are simply copied from the input video to the output, without the trimmed section.
Please note that if the input and output format does not match or the codec is not supported, the video must be re-encoded. Re-encoding is always lossy.