What are the ideal PC requirements for UE4?

It all depends on what you are going to work. For all that matters, if you got space, you can have a 27-29 inch display and a 19-22 inch Wacom/Huion tablet along (if you use one). Even with some space, artists use to have the tablet in front of them, with the keyboard in a tray below the table and with a display raised in height at left or right their eyesight. As for resolution this usually means higher prices. You can be good with just Full HD (1080p) if you are just going to code and blueprint, but if you are an artist you might want at least a QHD (1440p) for drawing and sculpting.

At my country QHD is more expensive than 4K and image quality for low priced 4K just is not recommended if you want to keep your eyesight sharp…