hopefully end of refactoring of vcard to Info widget

This commit is contained in:
Blue 2023-02-20 21:12:32 +03:00
parent bf11d8a74e
commit e4a2728ef8
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
20 changed files with 268 additions and 1717 deletions

View file

@ -25,3 +25,20 @@ UI::Description::Description(QWidget* parent):
}
UI::Description::~Description() {}
QString UI::Description::title() const {
return m_ui->descriptionHeading->text();
}
QString UI::Description::description() const {
return m_ui->description->toPlainText();
}
void UI::Description::setDescription(const QString& description) {
m_ui->description->setText(description);
}
void UI::Description::setEditable(bool editable) {
m_ui->description->setReadOnly(!editable);
}