Browse Source
beginning integration formemo counter of limited characters; changing from QLineEdit to QTextEdit for wrapping of text
pull/130/head
Charles
4 years ago
No known key found for this signature in database
GPG Key ID: 251655CC546D9787
2 changed files with
15 additions and
2 deletions
-
src/chatmodel.cpp
-
src/contactrequest.ui
|
|
@ -734,7 +734,7 @@ QObject::connect(request.newZaddr, &QPushButton::clicked, [&] () { |
|
|
|
|
|
|
|
QString addr = request.zaddr->text(); |
|
|
|
QString myAddr = request.myzaddr->text().trimmed(); |
|
|
|
QString memo = request.memorequest->text().trimmed(); |
|
|
|
QString memo = request.memorequest->toPlainText().trimmed(); |
|
|
|
QString avatar = QString(":/icons/res/") + request.comboBoxAvatar->currentText() + QString(".png"); |
|
|
|
QString label = request.labelRequest->text().trimmed(); |
|
|
|
|
|
|
|
|
|
@ -432,12 +432,25 @@ |
|
|
|
</layout> |
|
|
|
</item> |
|
|
|
<item row="9" column="0" colspan="6"> |
|
|
|
<widget class="QTextEdit" name="textEdit"> |
|
|
|
<widget class="QTextEdit" name="memorequest"> |
|
|
|
<property name="placeholderText"> |
|
|
|
<string>Add a memo to your request</string> |
|
|
|
</property> |
|
|
|
</widget> |
|
|
|
</item> |
|
|
|
<item row="11" column="0"> |
|
|
|
<widget class="QLabel" name="memoSizeChat"> |
|
|
|
<property name="sizePolicy"> |
|
|
|
<sizepolicy hsizetype="Fixed" vsizetype="Preferred"> |
|
|
|
<horstretch>0</horstretch> |
|
|
|
<verstretch>0</verstretch> |
|
|
|
</sizepolicy> |
|
|
|
</property> |
|
|
|
<property name="text"> |
|
|
|
<string>0/235</string> |
|
|
|
</property> |
|
|
|
</widget> |
|
|
|
</item> |
|
|
|
</layout> |
|
|
|
</widget> |
|
|
|
<resources/> |
|
|
|