| 34 | } |
| 35 | |
| 36 | void NoteDock::setNotesList(QList<Note*> list) { |
| 37 | m_notesList = list; |
| 38 | m_note = list.first(); |
| 39 | setAspects(std::move(list)); |
| 40 | |
| 41 | connect(m_note, &Note::backgroundColorChanged, this, &NoteDock::noteBackgroundColorChanged); |
| 42 | connect(m_note, &Note::textColorChanged, this, &NoteDock::noteTextColorChanged); |
| 43 | connect(m_note, &Note::textFontChanged, this, &NoteDock::noteTextFontChanged); |
| 44 | |
| 45 | CONDITIONAL_LOCK_RETURN; |
| 46 | |
| 47 | ui.kcbBgColor->setColor(m_note->backgroundColor()); |
| 48 | ui.kcbTextColor->setColor(m_note->textColor()); |
| 49 | ui.kfrTextFont->setFont(m_note->textFont()); |
| 50 | } |
| 51 | |
| 52 | void NoteDock::retranslateUi() { |
| 53 | } |
no test coverage detected