Screen naming. More...
#include <ScreenName.h>
Static Public Member Functions | |
static QString | getNameForScreen (QScreen *screen) |
Get a descriptive name for a screen. More... | |
Screen naming.
This class exists because display-plugins and interface need to share the same, fairly involved rule for converting QScreen data to user-facing text.
|
static |
Get a descriptive name for a screen.
This is used in the graphics settings, to name monitors. This function tries to generate human friendly and unique, even if two identical monitors are present.
screen | Screen to provide a name for |