The prefs file can be found in the following locations.

Linux

$HOME/qube/qube_guiPreferences.conf

Windows

c:/Documents and Settings/username/qube/qube_guiPreferences.conf

OS X

~/Library/Preferences/qube/qube_guiPreferences.conf