develop richtext editor using qt designer