removed size constants, used qtSizePolicy to determine size of each widget