30 weeks and feel like crying

I have been fine most of my pregnancy but today I just feel so sad. In the beginning I decided to leave work because I was having trouble with miscarriages. I was finally happy when I found out I was pregnant especially later when I found out I was having my first lil girl and now I just feel fat and ugly and I feel like my husband doesn't see me attractive anymore. I've gained 30 pounds and feel big and swollen. I also feel lonely most of the time, since I no longer work and have interactions with anyone but my two younger kids. My family lives an hour away and I hate sharing my feelings with them because I'm too embarrassed to show my feelings because I feel like I'll start crying. I feel like I miss working and I miss feeling beautiful and confident. Any one else felt that way before? If so how long did it last? And how did you cope with it? Any advice ladies would be appreciated. Thanks.