|
|
@ -1023,14 +1023,18 @@ void UBTeacherGuidePageZeroWidget::switchToMode(tUBTGZeroPageMode mode) |
|
|
|
QString inputStyleSheet("QTextEdit { background: white; border-radius: 10px; border: 2px;}"); |
|
|
|
QString inputStyleSheet("QTextEdit { background: white; border-radius: 10px; border: 2px;}"); |
|
|
|
mpModePushButton->hide(); |
|
|
|
mpModePushButton->hide(); |
|
|
|
mpSessionTitle->setReadOnly(false); |
|
|
|
mpSessionTitle->setReadOnly(false); |
|
|
|
|
|
|
|
mpSessionTitle->managePlaceholder(false); |
|
|
|
mpSessionTitle->setStyleSheet(inputStyleSheet); |
|
|
|
mpSessionTitle->setStyleSheet(inputStyleSheet); |
|
|
|
QFont titleFont(QApplication::font().family(), 11, -1); |
|
|
|
QFont titleFont(QApplication::font().family(), 11, -1); |
|
|
|
mpSessionTitle->document()->setDefaultFont(titleFont); |
|
|
|
mpSessionTitle->document()->setDefaultFont(titleFont); |
|
|
|
mpAuthors->setReadOnly(false); |
|
|
|
mpAuthors->setReadOnly(false); |
|
|
|
|
|
|
|
mpAuthors->managePlaceholder(false); |
|
|
|
mpAuthors->setStyleSheet(inputStyleSheet); |
|
|
|
mpAuthors->setStyleSheet(inputStyleSheet); |
|
|
|
mpObjectives->setReadOnly(false); |
|
|
|
mpObjectives->setReadOnly(false); |
|
|
|
|
|
|
|
mpObjectives->managePlaceholder(false); |
|
|
|
mpObjectives->setStyleSheet(inputStyleSheet); |
|
|
|
mpObjectives->setStyleSheet(inputStyleSheet); |
|
|
|
mpKeywords->setReadOnly(false); |
|
|
|
mpKeywords->setReadOnly(false); |
|
|
|
|
|
|
|
mpKeywords->managePlaceholder(false); |
|
|
|
mpKeywords->setStyleSheet(inputStyleSheet); |
|
|
|
mpKeywords->setStyleSheet(inputStyleSheet); |
|
|
|
mpSchoolLevelValueLabel->hide(); |
|
|
|
mpSchoolLevelValueLabel->hide(); |
|
|
|
mpSchoolLevelBox->show(); |
|
|
|
mpSchoolLevelBox->show(); |
|
|
|