/*Содержимое*/
QTreeWidget {
font-size: 10pt; 
font-family: Tahoma;
}

/*Заголовок*/
QHeaderView {
font-size: 12pt; 
font-family: Tahoma;
}



/*Бранчи*/
QTreeWidget::branch:has-siblings:!adjoins-item {
    border-image: url(vline.png) 0;
	
}
QTreeWidget::branch:has-siblings:adjoins-item {
    border-image: url(branch-more.png) 0;
	
}
QTreeWidget::branch:!has-children:!has-siblings:adjoins-item {
    border-image: url(branch-end.png) 0;
}
QTreeWidget::branch:closed:has-children:!has-siblings,
QTreeWidget::branch:closed:has-children:has-siblings {
        border-image: none;
        image: url(branch-closed.png);
}
QTreeWidget::branch:open:has-children:!has-siblings,
QTreeWidget::branch:open:has-children:has-siblings  {
        border-image: none;
        image: url(branch-open.png);
}

/*Выделение Групп при наведении курсора*/
QTreeWidget::item:has-children:hover {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #88cc88, stop: 1 #88cc88);
}
/*Выделение Обучаемых/Инструкторов при наведении курсора*/
QTreeWidget::item:!has-children:hover {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #e7effd, stop: 1 #cbdaf1);
}

/*Выделение Групп*/
QTreeWidget::item:has-children,
QTreeWidget::branch:has-children {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #88aa88, stop: 1 #88bb88);
}
QTreeWidget::item:has-children:selected {
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #55aa55, stop: 1 #55bb55);
}

/*Выделение Обучаемых/Инструкторов*/
QTreeWidget::branch:!has-children {
    background: transparent;	
}
QTreeWidget::branch:!has-children:selected{
    background: transparent;
}
QTreeWidget::item:!has-children:selected{
    background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6ea1f1, stop: 1 #567dbc);
	color: #ffffff;
	
}

/*Разделение ячеек Обучаемых
QTreeWidget::item:!has-children:has-siblings {
    border-bottom: 1px solid #bfcde4;
}*/


