forked from blue/squawk
hopefully end of refactoring of vcard to Info widget
This commit is contained in:
parent
bf11d8a74e
commit
e4a2728ef8
20 changed files with 268 additions and 1717 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue