Mix cucumber, onion and salt well. Cut the pineapple rings into similar sized pieces and put them in a bowl with capsicum slices and tomato wedges. Heat vinegar, water and sugar until the sugar dissolve. Remove from heat and cool. Pour this mixture over the fruits and vegetables. Cover and chill.