/* ---------------------------- */
/*  MxEasy default style sheet  */
/* ---------------------------- */

/* Generic for all tool bars */
/* West and east have different gradient */
QMainWindow#MxEasy QToolBar {
	border: none;
	margin: 0px;
	padding: 0px;
	spacing: 0px;
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb(112, 112, 112),
										 stop: 0.1  rgb(112, 112, 112),
										 stop: 0.45 rgb(172, 172, 172),
										 stop: 0.55 rgb(172, 172, 172),
										 stop: 0.9  rgb(112, 112, 112));
	background-repeat: repeat-y;
}

QMainWindow#MxEasy QToolBar#west {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
										 stop: 0    rgb(112, 112, 112),
										 stop: 0.45 rgb(172, 172, 172),
										 stop: 0.55 rgb(172, 172, 172),
										 stop: 1.0  rgb(112, 112, 112));
	background-repeat: repeat-x;
}

/* Toolbars west and east */
QMainWindow#MxEasy QToolBar#east {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
										 stop: 0    rgb(112, 112, 112),
										 stop: 0.45 rgb(172, 172, 172),
										 stop: 0.55 rgb(172, 172, 172),
										 stop: 1.0  rgb(112, 112, 112));
	background-repeat: repeat-x;
}

/* Status bar */
QMainWindow#MxEasy QStatusBar {
	color: rgb(10, 50, 152);
	background-color: white;
}
/* Header of main & overview layout */
QLabel#header {
	color: white;
	background-color: rgb(10, 50, 152);
}
/* Footer of main layout */
QLabel#footer {
	color: white;
	background-color: rgb(10, 50, 152);
}

/* Current frame time edit */
QDateTimeEdit#footer {
	color: white;
	border: none;
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb( 10,  50, 152),
										 stop: 0.3  rgb(  0,  35, 137),
										 stop: 0.7  rgb(  0,  35, 137),
										 stop: 1.0  rgb( 10,  50, 152));
}
QDateTimeEdit:focus#footer {
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb( 10,  50, 152),
										 stop: 0.3  rgb( 20,  65, 167),
										 stop: 0.7  rgb( 20,  65, 167),
										 stop: 1.0  rgb( 10,  50, 152));
}
QDateTimeEdit:hover#footer {
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb( 10,  50, 152),
										 stop: 0.3  rgb( 20,  65, 167),
										 stop: 0.7  rgb( 20,  65, 167),
										 stop: 1.0  rgb( 10,  50, 152));
}
/* Empty buttons */
QDateTimeEdit::down-button#footer {
	subcontrol-position: left;
	border: none;
	height: 24px;
	width: 40px;	 
}
QDateTimeEdit::up-button#footer {
	subcontrol-position: right;
	border: none;
	height: 24px;
	width: 40px;
}
/* Arrows left and right */
QDateTimeEdit::down-arrow#footer {
	image: url(StyleSheets/Images_Gray/downArrow_on.png);
}
QDateTimeEdit::down-arrow:disabled#footer {
	image: url(StyleSheets/Images_Gray/downArrow_off.png);
}
QDateTimeEdit::down-arrow:hover#footer {
	image: url(StyleSheets/Images_Gray/downArrow_chpr.png);
}
QDateTimeEdit::down-arrow::pressed#footer {
	image: url(StyleSheets/Images_Gray/downArrow_ch.png);
}

QDateTimeEdit::up-arrow#footer {
	image: url(StyleSheets/Images_Gray/upArrow_on.png);
}
QDateTimeEdit::up-arrow:disabled#footer {
	image: url(StyleSheets/Images_Gray/upArrow_off.png);
}
QDateTimeEdit::up-arrow:hover#footer {
	image: url(StyleSheets/Images_Gray/upArrow_chpr.png);
}
QDateTimeEdit::up-arrow:pressed#footer {
	image: url(StyleSheets/Images_Gray/upArrow_ch.png);
}

/* Background for layout */
QWidget#layout {
	background: rgb(110, 110, 110);
}
/* Background for camera views */
/* Works only for non "OpenGL" graphics */
QWidget#camera {
	background: rgb(120, 120, 120);
}

/* Generic toolbar button */
/*QMainWindow#MxEasy QToolButton {*/
QToolBar QToolButton {
	border:  none;
	margin:  0px;
	padding: 0px;
	background: none;
	height: 42px;
	width:  56px;
	max-height: 42px;
	max-width:  56px;
}

/* Generic toolbar checkbox */
QToolBar QCheckBox {
	border:  none;
	margin:  0px;
	padding: 0px;
	spacing: 0px;
	background: none;
	height: 42px;
	width:  56px;
	max-height: 42px;
	max-width:  56px;
}

QToolBar QCheckBox:indicator {
   width:  56px;
	height: 42px;
	max-height: 42px;
	max-width:  56px;
}

/* Toolbar separator */
QToolBar:separator {
	image: url(StyleSheets/Images_Gray/btn_separator.png);
}

/* Generic checkable toolbutton with menu */
/* QToolButton::DelayedPopup */
QMainWindow#MxEasy QToolButton:menu-indicator {
	subcontrol-position: bottom right;
	image: url(StyleSheets/Images_Blue/btn_contextMenu_on.png);
}
QMainWindow#MxEasy QToolButton:menu-indicator:hover {
	image: url(StyleSheets/Images_Gray/btn_contextMenu_chpr.png);
}
QMainWindow#MxEasy QToolButton:menu-indicator:disabled {
	image: url(StyleSheets/Images_Blue/btn_contextMenu_off.png);
}
QMainWindow#MxEasy QToolButton:menu-indicator:pressed {
	image: url(StyleSheets/Images_Gray/btn_contextMenu_ch.png);
}

/* QToolButton::MenuButtonPopup */
QMainWindow#MxEasy QToolButton:menu-button {
	subcontrol-position: bottom right;
	image: url(StyleSheets/Images_Blue/btn_contextMenu_on.png);
}
QMainWindow#MxEasy QToolButton:menu-arrow:hover {
	image: url(StyleSheets/Images_Gray/btn_contextMenu_chpr.png);
}
QMainWindow#MxEasy QToolButton:menu-arrow {
	image: url(StyleSheets/Images_Blue/btn_contextMenu_on.png);
}
QMainWindow#MxEasy QToolButton:menu-arrow:disabled {
	image: url(StyleSheets/Images_Blue/btn_contextMenu_off.png);
}
QMainWindow#MxEasy QToolButton:menu-arrow:open {
	 image: url(StyleSheets/Images_Gray/btn_contextMenu_ch.png);
}

/* MxEasy buttons: north, west, east and context dependant south tool bars */
/* Buttons object name must be set, e.g. "No01" for first button in northern tool bar */

/* Outsourced to specialized style sheets for speed purposes when loading */

/* =========== MxEasy north buttons =========== */
/* =========== MxEasy west buttons ============ */
/* =========== MxEasy east buttons ============ */
/* =========== MxEasy south buttons =========== */
QToolButton#Abou:enabled {
	image: url(StyleSheets/Images_Blue/btn_logo_on.png);
}
QToolButton#Abou:hover {
	image: url(StyleSheets/Images_Gray/btn_logo_chpr.png);
}
QToolButton#Abou:pressed {
	image: url(StyleSheets/Images_Gray/btn_logo_ch.png);
}
QToolButton#Abou:disabled {
	image: url(StyleSheets/Images_Blue/btn_logo_off.png);
}
/* =========== Player ========================= */
/* =========== Event ========================== */
/* =========== Image ========================== */
/* =========== Format ========================= */
/* =========== Memory ========================= */
