WindowsColor Class

WindowsColor provides the set of frequently used in Windows 8 Modern UI (formerly known as Metro) interface colours compatible with QColor. More...

Header: #include <WindowsColor>
Inherits: QColor

Public Types

enum GlobalColor { DefaultColor, MetroUI_Sapphire, MetroUI_KleinBlue, MetroUI_Cardinal, MetroUI_Chocolate, …, Phone_Taupe }

Public Functions

WindowsColor(WindowsColor::GlobalColor color)

Detailed Description

Member Type Documentation

enum WindowsColor::GlobalColor

Enumerator WindowsColor::GlobalColor describes the set of predefined windows color used in Windows Metro UI. It contains a paltettes for Windows Phone or Classic Windows.

ConstantValueDescription
WindowsColor::DefaultColor0
 
WindowsColor::MetroUI_Sapphire1
 
WindowsColor::MetroUI_KleinBlue2
 
WindowsColor::MetroUI_Cardinal3
 
WindowsColor::MetroUI_Chocolate4
 
WindowsColor::MetroUI_RawUmber5
 
WindowsColor::MetroUI_DarkCerulean6
 
WindowsColor::MetroUI_GreenHouse7
 
WindowsColor::MetroUI_VidaLoca8
 
WindowsColor::MetroUI_NavyBlue9
 
WindowsColor::MetroUI_Matterhorn10
 
WindowsColor::MetroUI_Watercourse11
 
WindowsColor::MetroUI_LightGreen12
 
WindowsColor::MetroUI_Green13
 
WindowsColor::MetroUI_DarkGreen14
 
WindowsColor::MetroUI_Magenta15
 
WindowsColor::MetroUI_LightPurple16
 
WindowsColor::MetroUI_Purple17
 
WindowsColor::MetroUI_DarkPurple18
 
WindowsColor::MetroUI_Darken19
 
WindowsColor::MetroUI_Teal20
 
WindowsColor::MetroUI_LightBlue21
 
WindowsColor::MetroUI_Blue22
 
WindowsColor::MetroUI_DarkBlue23
 
WindowsColor::MetroUI_Yellow24
 
WindowsColor::MetroUI_Orange25
 
WindowsColor::MetroUI_DarkOrange26
 
WindowsColor::MetroUI_Red27
 
WindowsColor::MetroUI_DarkRed28
 
WindowsColor::MetroUI_White29
 
WindowsColor::MetroUI_Tile_Gradient130
 
WindowsColor::MetroUI_Tile_Gradient231
 
WindowsColor::MetroUI_Blue_Gradient132
 
WindowsColor::MetroUI_Blue_Gradient233
 
WindowsColor::MetroUI_Purple_Gradient134
 
WindowsColor::MetroUI_Purple_Gradient235
 
WindowsColor::MetroUI_DarkPurple_Gradient136
 
WindowsColor::MetroUI_DarkPurple_Gradient237
 
WindowsColor::MetroUI_Red_Gradient138
 
WindowsColor::MetroUI_Red_Gradient239
 
WindowsColor::MetroUI_Orange_Gradient140
 
WindowsColor::MetroUI_Orange_Gradient241
 
WindowsColor::MetroUI_Green_Gradient142
 
WindowsColor::MetroUI_Green_Gradient243
 
WindowsColor::MetroUI_SkyBlue_Gradient144
 
WindowsColor::MetroUI_SkyBlue_Gradient245
 
WindowsColor::Phone_Lime46
 
WindowsColor::Phone_Green47
 
WindowsColor::Phone_Emerald48
 
WindowsColor::Phone_Teal49
 
WindowsColor::Phone_Cyan50
 
WindowsColor::Phone_Cobalt51
 
WindowsColor::Phone_Indigo52
 
WindowsColor::Phone_Violet53
 
WindowsColor::Phone_Pink54
 
WindowsColor::Phone_Magenta55
 
WindowsColor::Phone_Crimson56
 
WindowsColor::Phone_Red57
 
WindowsColor::Phone_Orange58
 
WindowsColor::Phone_Amber59
 
WindowsColor::Phone_Yellow60
 
WindowsColor::Phone_Brown61
 
WindowsColor::Phone_Olive62
 
WindowsColor::Phone_Steel63
 
WindowsColor::Phone_Mauve64
 
WindowsColor::Phone_Taupe65
 

Member Function Documentation

WindowsColor::WindowsColor(WindowsColor::GlobalColor color)

Constructor of the class WindowsColor. Parameter the color is based on WindowsGlobalColor enumerator.