/* ---------------------------- */
/*  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(102, 102, 102),
										 stop: 0.1  rgb(102, 102, 102),
										 stop: 0.45 rgb(164, 164, 164),
										 stop: 0.55 rgb(164, 164, 164),
										 stop: 0.9  rgb(102, 102, 102));
	background-repeat: repeat-y;
}

QMainWindow#MxEasy QToolBar#west {
	background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
										 stop: 0    rgb(102, 100, 102),
										 stop: 0.45 rgb(164, 162, 164),
										 stop: 0.55 rgb(164, 162, 164),
										 stop: 1.0  rgb(102, 100, 102));
	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(102, 100, 102),
										 stop: 0.45 rgb(164, 162, 164),
										 stop: 0.55 rgb(164, 162, 164),
										 stop: 1.0  rgb(102, 100, 102));
	background-repeat: repeat-x;
}

/* Status bar */
/*QMainWindow#MxEasy QStatusBar {
	color: rgb(0, 49, 130);
	background-color: white;
}*/

/* Header of main & overview layout */
QLabel#header {
	color: white;
	background-color: rgb(55, 55, 55);
}
/* Footer of main layout */
QLabel#footer {
	color: white;
	background-color: rgb(55, 55, 55);
}

/* Current frame time edit */
QDateTimeEdit#footer {
	color: white;
	border: none;
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb( 55,  55,  55),
										 stop: 0.3  rgb( 25,  25,  25),
										 stop: 0.7  rgb( 25,  25,  25),
										 stop: 1.0  rgb( 55,  55,  55));
}
QDateTimeEdit:focus#footer {
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb( 55,  55,  55),
										 stop: 0.3  rgb( 80,  80,  80),
										 stop: 0.7  rgb( 80,  80,  80),
										 stop: 1.0  rgb( 55,  55,  55));
}
QDateTimeEdit:hover#footer {
	background: qlineargradient(x1:0, y1:0, x2:1, y2:0,
										 stop: 0    rgb( 55,  55,  55),
										 stop: 0.3  rgb( 80,  80,  80),
										 stop: 0.7  rgb( 80,  80,  80),
										 stop: 1.0  rgb( 55,  55,  55));
}
/* 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(212, 212, 212);
}
/* Background for camera views */
/* Works only for non "OpenGL" graphics */
QWidget#camera {
	background: rgb(88, 88, 88);
}

/* 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;
	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(56, 56, 56);
   border-radius: 5px;
   padding:       1px 18px 1px 3px; /* trbl */
 /*min-width:     6em;
   max-width:    10em;*/
   color: rgb(7, 7, 7);
	background: rgb(180, 180, 180);
	background-repeat: repeat-x;
}

QToolBar QComboBox:disabled {
   color:  rgb(93, 118, 193);
   border: 3px solid rgb(100, 100, 100);
	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_Gray/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(57, 57, 57);
   border-radius: 3px;
   height: 4px;
   margin: 4px 0px;
}
QToolBar QSlider::groove:horizontal:disabled {
   border: 2px solid rgb(100, 100, 100);
}
QToolBar QSlider::groove:horizontal:hover {
   border: 2px solid rgb(255, 255, 255);
}
QToolBar QSlider::handle:horizontal {
   background: rgb(57, 57, 57);
   border:  1px solid rgb(57, 57, 57);
   width:  10px;
   margin:  -4px -2px;
   border-radius: 6px;
}
QToolBar QSlider::handle:horizontal:disabled {
   background: rgb(100, 100, 100);
   border:  1px solid rgb(100, 100, 100);
}

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

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

/* Generic checkable toolbutton with menu */
/* QToolButton::DelayedPopup */
QMainWindow QToolButton:menu-indicator {
	subcontrol-position: bottom right;
	/*margin-right:  1px;
	margin-bottom: 1px;*/
	image: url(StyleSheets/Images_Gray/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_Gray/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_Gray/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_Gray/btn_contextMenu_on.png);
}
QMainWindow QToolButton:menu-arrow:disabled {
	image: url(StyleSheets/Images_Gray/btn_contextMenu_off.png);
}
QMainWindow 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_Gray/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_Gray/btn_logo_off.png);
}
/* =========== Player ========================= */
/* =========== Event ========================== */
/* =========== Image ========================== */
/* =========== Format ========================= */
/* =========== Memory ========================= */
