I also lost my husband two and a half years ago, so sympathise. I went through a phase of comfort eating, but decided I had to do something to get myself back on track.
This is what has worked for me (now a stone lighter, since February...)
1. I order groceries online only - stick to the same list each week, no fatty stuff allowed. (I do not enter a supermarket ever.) I mostly eat fish (sardines/tuna/mackerel) but I also eat a lot of turkey in the form of turkey steaks, they are very low fat, but very filling! I also gave up bread completely, as I never ate it quickly enough to stop it going mouldy and I don't have much room in my freezer.
2. Portion control! I love chips, but I limit myself to 7 only. I find that is enough to indulge my craving. I also use a smaller plate. As a treat I allow myself 6 giant chocolate buttons or a Tunnocks teacake. I also like ice cream, but only have the Hagen Daaz mini portions.
3. Keep active! I try to get in my 10000 steps each day. I was ill recently and didn't leave the house for 10 days - put half a stone back on!!!
4. Don't eat if you don't feel hungry. I find I can go till 11 am or 12 noon before I actually feel like eating. Then I might have a snack around 4 pm and dinner around 8 pm.
5. Only eat when sitting at a table in your own house. I never eat anything in cafes.
Just a few ideas, some of them might work for you?
Definitely ask the GP about the medication, too, it's probably not helping with your weight control.