Notably , Fortitude Valley was the first electorate in any Australian parliament to be contested by a member of the labour movement , with William McNaughton Galloway , the president of the Brisbane Trades and Labour Council and secretary of the Seamen 's Union , unsuccessfully contesting the 1888 by-election .