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

/* Generic for all tool bars */
/* West and east have different gradient */
QMainWindow 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 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 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 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);
}

/* Splitters for mailbox */
QSplitter::handle#splitter {
   width:  10px;
   height: 10px;
	background-color: rgb(10, 50, 152);
	image: url(StyleSheets/Images_Gray/splitter.png);
}

/* 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;
	width:  40px;	 
	height: 24px;
}
QDateTimeEdit::up-button#footer {
	subcontrol-position: right;
	border: none;
	width:  40px;
	height: 24px;
}
/* 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 QToolButton {*/
QToolBar QToolButton {
	border:  none;
	margin:  0px;
	padding: 0px;
	background: none;
	width:  56px;
	height: 42px;
	max-width:  56px;
	max-height: 42px;
}

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

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

/* Generic toolbar combo box */
QToolBar QComboBox { /* frame and content */
   border:        3px solid rgb(10, 50, 152);
   border-radius: 5px;
   padding:       1px 18px 1px 3px; /* trbl */
 /*min-width:     6em;
   max-width:    10em;*/
   color: rgb(10, 50, 152);
	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;
}

QToolBar QComboBox:disabled {
   color:  rgb(93, 118, 193);
   border: 3px solid rgb(93, 118, 193);
	background: rgb(172, 172, 172);
}

QToolBar QComboBox::drop-down {
     subcontrol-origin: padding;
     subcontrol-position: top right;
     width: 16px;
     border-left: none;
     border-top-right-radius:    5px;  /* same radius as the QComboBox */
     border-bottom-right-radius: 5px;
}

QToolBar QComboBox::down-arrow {
   image: url(StyleSheets/Images_Blue/btn_contextMenu_on.png);
}

QToolBar QComboBox::down-arrow:hover {
	image: url(StyleSheets/Images_Gray/btn_contextMenu_chpr.png);
}

QToolBar QComboBox QAbstractItemView {
   /*selection-background-color: blue;*/
}

/* Generic toolbar slider */
QToolBar QSlider:horizontal {
   width:  56px;
	height: 42px;
	min-width:  56px;
	min-height: 42px;
	max-width:  56px;
	max-height: 42px;
}
QToolBar QSlider::groove:horizontal {
   border: 2px solid rgb(25, 55, 156);
   border-radius: 3px;
   height: 4px;
   margin: 4px 0px;
}
QToolBar QSlider::groove:horizontal:disabled {
   border: 2px solid rgb(93, 118, 193);
}
QToolBar QSlider::groove:horizontal:hover {
   border: 2px solid rgb(255, 255, 255);
}
QToolBar QSlider::handle:horizontal {
   background: rgb(25, 55, 156);
   border:  1px solid rgb(10, 50, 152);
   width:  10px;
   margin:  -4px -2px;
   border-radius: 6px;
}
QToolBar QSlider::handle:horizontal:disabled {
   background: rgb(93, 118, 193);
   border:  1px solid rgb(93, 118, 193);
}

/* Generic toolbar jogshuttle */ 
QToolBar QDial {
   width:  56px;
	height: 42px;
	min-width:  56px;
	min-height: 42px;
	max-width:  56px;
	max-height: 42px;
}

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

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

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

/* Not yet implemented */
QToolButton#NYet:enabled {
	image: url(StyleSheets/Images_Gray/btn_WiP_on.png);
}
QToolButton#NYet:hover {
	image: url(StyleSheets/Images_Gray/btn_WiP_chpr.png);
}
QToolButton#NYet:pressed {
	image: url(StyleSheets/Images_Gray/btn_WiP_ch.png);
}
QToolButton#NYet:disabled {
	image: url(StyleSheets/Images_Blue/btn_WiP_off.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 ========================= */
