|
|
@ -62,8 +62,8 @@ UBTBDocumentEditWidget::UBTBDocumentEditWidget(UBTeacherBarDataMgr* pDataMgr, QW |
|
|
|
mpKeywords->setObjectName("DockPaletteWidgetLineEdit"); |
|
|
|
mpKeywords->setObjectName("DockPaletteWidgetLineEdit"); |
|
|
|
mpLevel = new QComboBox(this); |
|
|
|
mpLevel = new QComboBox(this); |
|
|
|
mpLevel->setObjectName("DockPaletteWidgetComboBox"); |
|
|
|
mpLevel->setObjectName("DockPaletteWidgetComboBox"); |
|
|
|
mpTopic = new QComboBox(this); |
|
|
|
mpTopic = new QLineEdit(this); |
|
|
|
mpTopic->setObjectName("DockPaletteWidgetComboBox"); |
|
|
|
mpTopic->setObjectName("DockPaletteWidgetLineEdit"); |
|
|
|
mpAuthor = new QLineEdit(this); |
|
|
|
mpAuthor = new QLineEdit(this); |
|
|
|
mpAuthor->setObjectName("DockPaletteWidgetLineEdit"); |
|
|
|
mpAuthor->setObjectName("DockPaletteWidgetLineEdit"); |
|
|
|
mpKeywordLabel = new QLabel(tr("Keywords:"), this); |
|
|
|
mpKeywordLabel = new QLabel(tr("Keywords:"), this); |
|
|
@ -179,7 +179,7 @@ void UBTBDocumentEditWidget::updateFields() |
|
|
|
mpTarget->setPlainText(mpDataMgr->sessionTarget()); |
|
|
|
mpTarget->setPlainText(mpDataMgr->sessionTarget()); |
|
|
|
mpKeywords->setText(mpDataMgr->keywords()); |
|
|
|
mpKeywords->setText(mpDataMgr->keywords()); |
|
|
|
// TODO: retrieve the level
|
|
|
|
// TODO: retrieve the level
|
|
|
|
// TODO retrieve the topic
|
|
|
|
mpTopic->setText(mpDataMgr->topic()); |
|
|
|
mpAuthor->setText(mpDataMgr->authors()); |
|
|
|
mpAuthor->setText(mpDataMgr->authors()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|