some thoughts on detecting condition for enablining or showing the button for encryption in chat window

This commit is contained in:
Blue 2023-03-15 21:17:44 +03:00
parent 21b40a9ccb
commit 283e9ebc4d
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
11 changed files with 269 additions and 17 deletions

View file

@ -315,6 +315,31 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="encryptionButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset theme="unlock"/>
</property>
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="attachButton">
<property name="text">