Somewhere on the Fife Circle line, such as Burntisland. Supposed to be good for fish and chips.
There's only three places I'd consider on the Fife Circle - Dalmeny, Aberdour and Dunfermline (Town). Burntisland is a wee town with a brilliant beach and a (big, but crappy) fairground. It has little else of note, including the chippies.
South Queensferry proper is 10mins down the hill from Dalmeny (17 mins from Edinburgh), it has a nice old high street, fish and chip shops, boat trips and views of the Forth Rail Bridge.
Aberdour (30 mins via Dalgety Bay) has a castle (partially ruined) next to the station, lots of wee artisan shops, two fantastic beaches 20 mins from the station and an excellent bakers shop.
Dunfermline Town (30 mins via Rosyth) is a big town in West Fife. Must visits are Dunfermline Abbey, the Abbot House and Pittencrieff Park. On exiting the station, walk straight up the hill through the park, cross the footbridge at the top and walk down the High Street - takes around the 15 minutes. Also, as of next Tuesday (10th July) it has a Wetherspoons halfway down the High Street.