fix windows icons
This commit is contained in:
@@ -38,9 +38,8 @@
|
|||||||
<file>res/message-icon.svg</file>
|
<file>res/message-icon.svg</file>
|
||||||
<file>res/lock.svg</file>
|
<file>res/lock.svg</file>
|
||||||
<file>res/lock.png</file>
|
<file>res/lock.png</file>
|
||||||
<file>res/lock_green.svg</file>
|
<file>res/lock_green.png</file>
|
||||||
<file>res/lock_blue.svg</file>
|
<file>res/unlocked.png</file>
|
||||||
<file>res/unlocked.svg</file>
|
|
||||||
<file>res/getAddrWhite.png</file>
|
<file>res/getAddrWhite.png</file>
|
||||||
<file>res/send-white.png</file>
|
<file>res/send-white.png</file>
|
||||||
<file>res/requestWhite.png</file>
|
<file>res/requestWhite.png</file>
|
||||||
|
|||||||
@@ -137,10 +137,10 @@ QString ChatItem::toChatLine()
|
|||||||
myDateTime.setTime_t(_timestamp);
|
myDateTime.setTime_t(_timestamp);
|
||||||
|
|
||||||
if (_confirmations == 0){
|
if (_confirmations == 0){
|
||||||
lock = "<b> <img src=':/icons/res/unlocked.svg'><b>";
|
lock = "<b> <img src=':/icons/res/unlocked.png'><b>";
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
lock = "<b> <img src=':/icons/res/lock_green.svg'><b>";
|
lock = "<b> <img src=':/icons/res/lock_green.png'><b>";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -126,6 +126,7 @@ void MainWindow::renderContactRequest(){
|
|||||||
requestContact.requestMemo->show();
|
requestContact.requestMemo->show();
|
||||||
|
|
||||||
requestContact.requestCID->setText(c.second.getCid());
|
requestContact.requestCID->setText(c.second.getCid());
|
||||||
|
requestContact.requestCID->setVisible(false);
|
||||||
requestContact.requestZaddr->setText(c.second.getRequestZaddr());
|
requestContact.requestZaddr->setText(c.second.getRequestZaddr());
|
||||||
requestContact.requestMyAddr->setText(c.second.getAddress());
|
requestContact.requestMyAddr->setText(c.second.getAddress());
|
||||||
}else{}
|
}else{}
|
||||||
@@ -152,6 +153,7 @@ void MainWindow::renderContactRequest(){
|
|||||||
requestContact.requestMemo->show();
|
requestContact.requestMemo->show();
|
||||||
|
|
||||||
requestContact.requestCID->setText(c.second.getCid());
|
requestContact.requestCID->setText(c.second.getCid());
|
||||||
|
requestContact.requestCID->setVisible(false);
|
||||||
requestContact.requestZaddr->setText(c.second.getRequestZaddr());
|
requestContact.requestZaddr->setText(c.second.getRequestZaddr());
|
||||||
requestContact.requestMyAddr->setText(c.second.getAddress());
|
requestContact.requestMyAddr->setText(c.second.getAddress());
|
||||||
}else{}
|
}else{}
|
||||||
|
|||||||
@@ -6,38 +6,28 @@
|
|||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1025</width>
|
<width>812</width>
|
||||||
<height>562</height>
|
<height>495</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>812</width>
|
||||||
|
<height>495</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Incoming contact request</string>
|
<string>Incoming contact request</string>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QGridLayout" name="gridLayout">
|
<layout class="QGridLayout" name="gridLayout">
|
||||||
<item row="6" column="1">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="label_7">
|
<widget class="QLabel" name="label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>My Zaddr :</string>
|
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Open requests</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0" rowspan="7">
|
<item row="0" column="3" colspan="2">
|
||||||
<widget class="QListView" name="requestContactOld">
|
|
||||||
<property name="mouseTracking">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
<property name="editTriggers">
|
|
||||||
<set>QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
|
|
||||||
</property>
|
|
||||||
<property name="alternatingRowColors">
|
|
||||||
<bool>false</bool>
|
|
||||||
</property>
|
|
||||||
<property name="selectionMode">
|
|
||||||
<enum>QAbstractItemView::SingleSelection</enum>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="0" column="1" colspan="4">
|
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Memo of the request</span></p></body></html></string>
|
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Memo of the request</span></p></body></html></string>
|
||||||
@@ -46,6 +36,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item row="1" column="0">
|
<item row="1" column="0">
|
||||||
<widget class="QListView" name="requestContact">
|
<widget class="QListView" name="requestContact">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>256</width>
|
||||||
|
<height>231</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="mouseTracking">
|
<property name="mouseTracking">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
@@ -60,18 +56,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="2" colspan="3">
|
<item row="1" column="1" colspan="6">
|
||||||
<widget class="QLineEdit" name="requestMyAddr"/>
|
|
||||||
</item>
|
|
||||||
<item row="7" column="1">
|
|
||||||
<widget class="QLabel" name="label_5">
|
|
||||||
<property name="text">
|
|
||||||
<string>Give a Nickname:</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="1" column="1" colspan="4">
|
|
||||||
<widget class="QListView" name="requestMemo">
|
<widget class="QListView" name="requestMemo">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>521</width>
|
||||||
|
<height>231</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="verticalScrollBarPolicy">
|
<property name="verticalScrollBarPolicy">
|
||||||
<enum>Qt::ScrollBarAlwaysOff</enum>
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
||||||
</property>
|
</property>
|
||||||
@@ -98,22 +90,112 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1" rowspan="2" colspan="4">
|
<item row="2" column="0">
|
||||||
<widget class="QLabel" name="label_4">
|
<widget class="QLabel" name="label_2">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Details of the request</span></p></body></html></string>
|
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Recently closed requests</span></p></body></html></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="3" column="0" rowspan="6" colspan="2">
|
||||||
<widget class="QLabel" name="label">
|
<widget class="QListView" name="requestContactOld">
|
||||||
<property name="text">
|
<property name="minimumSize">
|
||||||
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Open requests</span></p></body></html></string>
|
<size>
|
||||||
|
<width>256</width>
|
||||||
|
<height>192</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="mouseTracking">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="editTriggers">
|
||||||
|
<set>QAbstractItemView::EditKeyPressed|QAbstractItemView::SelectedClicked</set>
|
||||||
|
</property>
|
||||||
|
<property name="alternatingRowColors">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="selectionMode">
|
||||||
|
<enum>QAbstractItemView::SingleSelection</enum>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="3">
|
<item row="3" column="2" colspan="2">
|
||||||
|
<widget class="QLabel" name="label_8">
|
||||||
|
<property name="text">
|
||||||
|
<string>Request from :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="4" colspan="3">
|
||||||
|
<widget class="QLineEdit" name="requestZaddr">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>351</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>351</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="2">
|
||||||
|
<widget class="QLabel" name="label_7">
|
||||||
|
<property name="text">
|
||||||
|
<string>My Zaddr :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="4" colspan="3">
|
||||||
|
<widget class="QLineEdit" name="requestMyAddr">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>351</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>351</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="2" colspan="2">
|
||||||
|
<widget class="QLabel" name="label_5">
|
||||||
|
<property name="text">
|
||||||
|
<string>Give a Nickname:</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="5" column="4" colspan="2">
|
||||||
|
<widget class="QLineEdit" name="requestLabel"/>
|
||||||
|
</item>
|
||||||
|
<item row="6" column="2" colspan="3">
|
||||||
|
<widget class="QLabel" name="label_6">
|
||||||
|
<property name="text">
|
||||||
|
<string><html><head/><body><p align="right">Choose a avatar for your contact :</p></body></html></string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="7" column="2" colspan="2">
|
||||||
<widget class="QComboBox" name="comboBoxAvatar">
|
<widget class="QComboBox" name="comboBoxAvatar">
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>106</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>106</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Stag</string>
|
<string>Stag</string>
|
||||||
@@ -246,21 +328,14 @@
|
|||||||
</item>
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="0">
|
<item row="7" column="5" rowspan="2">
|
||||||
<widget class="QLabel" name="label_2">
|
|
||||||
<property name="text">
|
|
||||||
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Recently closed requests</span></p></body></html></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="7" column="2" colspan="2">
|
|
||||||
<widget class="QLineEdit" name="requestLabel"/>
|
|
||||||
</item>
|
|
||||||
<item row="4" column="2" colspan="3">
|
|
||||||
<widget class="QLineEdit" name="requestZaddr"/>
|
|
||||||
</item>
|
|
||||||
<item row="9" column="3">
|
|
||||||
<widget class="QPushButton" name="cancel">
|
<widget class="QPushButton" name="cancel">
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>80</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="baseSize">
|
<property name="baseSize">
|
||||||
<size>
|
<size>
|
||||||
<width>100</width>
|
<width>100</width>
|
||||||
@@ -278,8 +353,14 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="9" column="4">
|
<item row="7" column="6" rowspan="2">
|
||||||
<widget class="QPushButton" name="pushButton">
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="maximumSize">
|
||||||
|
<size>
|
||||||
|
<width>153</width>
|
||||||
|
<height>25</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Add this new Contact</string>
|
<string>Add this new Contact</string>
|
||||||
</property>
|
</property>
|
||||||
@@ -288,27 +369,17 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1">
|
<item row="8" column="3" colspan="2">
|
||||||
<widget class="QLabel" name="label_8">
|
<widget class="QLabel" name="requestCID">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Request from :</string>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="8" column="1" colspan="2">
|
<item row="2" column="2" colspan="5">
|
||||||
<widget class="QLabel" name="label_6">
|
<widget class="QLabel" name="label_4">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><html><head/><body><p align="right">Choose a avatar for your contact :</p></body></html></string>
|
<string><html><head/><body><p align="center"><span style=" font-weight:600; text-decoration: underline;">Details of the request</span></p></body></html></string>
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
|
||||||
<item row="5" column="2" colspan="3">
|
|
||||||
<widget class="QLineEdit" name="requestCID"/>
|
|
||||||
</item>
|
|
||||||
<item row="5" column="1">
|
|
||||||
<widget class="QLabel" name="label_9">
|
|
||||||
<property name="text">
|
|
||||||
<string>Cid :</string>
|
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
|||||||
Reference in New Issue
Block a user