I wrote an application using C++/Qt and libxrandr library to change the resolution and orientation of monitor. But I must extend the functionality. Help me please understand how to do the following:
- get a list of connected monitors
- change the resolution and orientation of each of them
- place them against each other (for example, the first monitor on the left, second from right)