Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/588f4551a60acf4a0a65496e11494eb6f3ee26e0?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

changed teacher action color on presentation mode

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent ba98d879b4
commit 588f4551a6
  1. 2
      src/gui/UBTeacherGuideWidget.cpp

@ -554,7 +554,7 @@ void UBTeacherGuidePresentationWidget::showData( QVector<tUBGEElementNode*> data
QTreeWidgetItem* newWidgetItem = new QTreeWidgetItem( mpRootWidgetItem);
newWidgetItem->setText(0, element->attributes.value("task"));
newWidgetItem->setFlags(Qt::ItemIsEnabled | Qt::ItemIsSelectable);
QString colorString = element->attributes.value("owner").toInt() == 0 ? "red" : "green";
QString colorString = element->attributes.value("owner").toInt() == 0 ? "blue" : "green";
UBTGAdaptableText* textWidget = new UBTGAdaptableText(newWidgetItem, 0);
textWidget->bottomMargin(14);
textWidget->setStyleSheet( "QWidget {background: #EEEEEE; border:none; color:" + colorString + ";}");

Loading…
Cancel
Save