Inhomogeneous quantum liquids: Statics, dynamics, and thermodynamics