diff --git a/ui/widgets/vcard.cpp b/ui/widgets/vcard.cpp
index 4584638..b092ef8 100644
--- a/ui/widgets/vcard.cpp
+++ b/ui/widgets/vcard.cpp
@@ -69,6 +69,10 @@ VCard::VCard(const QString& jid, bool edit, QWidget* parent):
m_ui->description->setReadOnly(true);
m_ui->url->setReadOnly(true);
m_ui->title->setText(tr("Contact %1 card").arg(jid));
+
+ m_ui->addAddressButton->hide();
+ m_ui->addPhoneButton->hide();
+ m_ui->addEmailButton->hide();
}
connect(m_ui->buttonBox, &QDialogButtonBox::accepted, this, &VCard::onButtonBoxAccepted);
diff --git a/ui/widgets/vcard.ui b/ui/widgets/vcard.ui
index a582d3c..fbd0b82 100644
--- a/ui/widgets/vcard.ui
+++ b/ui/widgets/vcard.ui
@@ -9,8 +9,8 @@
0
0
- 594
- 651
+ 526
+ 662
@@ -560,22 +560,31 @@
0
0
- 575
- 475
+ 514
+ 488
-
- -
-
-
- Qt::Horizontal
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
- -
-
+
-
+
-
-
+
<html><head/><body><p><span style=" font-style:italic;">User has no contact e-mail addresses</span></p></body></html>
@@ -586,17 +595,34 @@
- -
-
-
- <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">E-Mail addresses</span></p></body></html>
+
-
+
+
+ Qt::Vertical
-
- Qt::AlignCenter
+
+
+ 20
+ 40
+
-
+
- -
+
-
+
+
-
+
+
+ <html><head/><body><p><span style=" font-style:italic;">User has no contact e-mail addresses</span></p></body></html>
+
+
+ Qt::AlignCenter
+
+
+
+
+
+ -
Qt::AlignHCenter|Qt::AlignTop
@@ -655,39 +681,109 @@
- -
-
-
- Qt::Horizontal
+
-
+
+
+ <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">Addresses</span></p></body></html>
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
- -
+
-
Qt::Horizontal
- -
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Horizontal
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+ <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">E-Mail addresses</span></p></body></html>
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+
+ -
+
+
+ <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">Phone numbers</span></p></body></html>
+
+
+ Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter
+
+
+
+ -
Qt::Horizontal
- -
-
+
-
+
+
-
+
+
+ <html><head/><body><p><span style=" font-style:italic;">User has no contact e-mail addresses</span></p></body></html>
+
+
+ Qt::AlignCenter
+
+
+
+
+
+ -
+
- Qt::Vertical
+ Qt::Horizontal
-
-
- 20
- 40
-
-
-
+
-
@@ -702,55 +798,7 @@
- -
-
-
-
-
-
- <html><head/><body><p><span style=" font-style:italic;">User has no contact e-mail addresses</span></p></body></html>
-
-
- Qt::AlignCenter
-
-
-
-
-
- -
-
-
- <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">Addresses</span></p></body></html>
-
-
- Qt::AlignCenter
-
-
-
- -
-
-
-
-
-
- <html><head/><body><p><span style=" font-style:italic;">User has no contact e-mail addresses</span></p></body></html>
-
-
- Qt::AlignCenter
-
-
-
-
-
- -
-
-
- <html><head/><body><p><span style=" font-size:16pt; font-weight:600;">Phone numbers</span></p></body></html>
-
-
- Qt::AlignCenter
-
-
-
- -
+
-
Qt::Horizontal