set maxLen for Chatmessages

This commit is contained in:
DenioD
2020-05-21 20:31:54 +02:00
parent ee672cfcca
commit 7e0748dd24
8 changed files with 88 additions and 48 deletions

View File

@@ -1400,7 +1400,7 @@
<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;Contactlist&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QTextEdit" name="memoTxtChat">
<widget class="ChatMemoEdit" name="memoTxtChat">
<property name="geometry">
<rect>
<x>340</x>
@@ -1633,6 +1633,22 @@
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="memoSize">
<property name="geometry">
<rect>
<x>1160</x>
<y>540</y>
<width>91</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string notr="true">0 / 512</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</widget>
</widget>
</item>
@@ -1819,6 +1835,11 @@
<extends>QLabel</extends>
<header>fillediconlabel.h</header>
</customwidget>
<customwidget>
<class>ChatMemoEdit</class>
<extends>QTextEdit</extends>
<header location="global">mainwindow.h</header>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>Address1</tabstop>