Feature remove qt3 in optimizedialog

This is moving qt3 to qt4 in optimizedialog. I split them out from componentdialog change.