Added option to limit length of strings within a QDualEntryElement