Browse Source

fix some typos, delete -add only a contact- on chattab

pull/130/head
DenioD 4 years ago
parent
commit
7d081f678c
  1. 6
      src/chatmodel.cpp
  2. 33
      src/contactrequest.ui

6
src/chatmodel.cpp

@ -399,7 +399,7 @@ void MainWindow::sendChat() {
}
connD->status->setText(tr("Please wait..."));
connD->statusDetail->setText(tr("Your Message will be send"));
connD->statusDetail->setText(tr("Your Message will be sent"));
d->show();
ui->memoTxtChat->clear();
@ -518,7 +518,7 @@ void::MainWindow::addContact()
});
QObject::connect(request.sendRequestButton, &QPushButton::clicked, this, &MainWindow::saveandsendContact);
QObject::connect(request.onlyAdd, &QPushButton::clicked, this, &MainWindow::saveContact);
// QObject::connect(request.onlyAdd, &QPushButton::clicked, this, &MainWindow::saveContact);
dialog.exec();
@ -716,7 +716,7 @@ void MainWindow::ContactRequest() {
}
connD->status->setText(tr("Please wait..."));
connD->statusDetail->setText(tr("Your Contact will be send"));
connD->statusDetail->setText(tr("Your contact request will be sent"));
d->show();
ui->memoTxtChat->clear();

33
src/contactrequest.ui

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>777</width>
<width>780</width>
<height>427</height>
</rect>
</property>
@ -233,7 +233,7 @@
</property>
</spacer>
</item>
<item row="7" column="1" colspan="3">
<item row="7" column="1">
<widget class="QLabel" name="label_2">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p align=&quot;center&quot;&gt;&lt;span style=&quot; font-weight:600; text-decoration: underline;&quot;&gt;Insert a memo for your request&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
@ -318,36 +318,11 @@
</property>
</spacer>
</item>
<item row="9" column="2">
<widget class="QPushButton" name="onlyAdd">
<property name="maximumSize">
<size>
<width>152</width>
<height>25</height>
</size>
</property>
<property name="baseSize">
<size>
<width>100</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Only add this contact</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="9" column="3" colspan="2">
<widget class="QPushButton" name="sendRequestButton">
<property name="maximumSize">
<size>
<width>188</width>
<width>300</width>
<height>25</height>
</size>
</property>
@ -358,7 +333,7 @@
</size>
</property>
<property name="text">
<string>Add Contact &amp; send request</string>
<string>Add Contact and send request</string>
</property>
<property name="autoDefault">
<bool>false</bool>

Loading…
Cancel
Save