Skip to content
Snippets Groups Projects
Commit 5e8c3822 authored by Nicolas Jager's avatar Nicolas Jager Committed by Edric Milaret
Browse files

refreshing icons

- icons used in this patch are in /images/icons.

- icon btnVideo renamed btnComBarVideo.

Change-Id: Ia7b94b4086f53befd3f06b17b2c2de7998da0771
Tuleap: #354
parent b47d7f0e
Branches
Tags
No related merge requests found
Showing
with 59 additions and 42 deletions
......@@ -154,7 +154,7 @@ CallWidget::CallWidget(QWidget* parent) :
setupOutOfCallIM();
setupSmartListMenu();
connect(ui->smartList, &SmartList::btnVideoClicked, this, &CallWidget::on_btnvideo_clicked);
connect(ui->smartList, &SmartList::btnVideoClicked, this, &CallWidget::on_btnComBarVideo_clicked);
connect(RecentModel::instance().selectionModel(),
SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
......@@ -592,7 +592,7 @@ CallWidget::on_btnCall_clicked()
}
void
CallWidget::on_btnvideo_clicked()
CallWidget::on_btnComBarVideo_clicked()
{
if (not highLightedIndex_.isValid())
return;
......
......@@ -62,7 +62,7 @@ public slots:
public slots:
void on_ringContactLineEdit_returnPressed();
void on_btnCall_clicked();
void on_btnvideo_clicked();
void on_btnComBarVideo_clicked();
void showIMOutOfCall(const QModelIndex& nodeIdx);
inline void on_entered(const QModelIndex& i){highLightedIndex_ = i;};
......
......@@ -217,12 +217,12 @@
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/call/btn-call.svg</normaloff>:/images/call/btn-call.svg</iconset>
<normaloff>:/images/icons/ic_videocam_white.png</normaloff>:/images/icons/ic_videocam_white.png</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
<width>18</width>
<height>18</height>
</size>
</property>
</widget>
......@@ -660,6 +660,12 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>30</width>
......@@ -678,8 +684,8 @@
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>25</height>
<width>18</width>
<height>18</height>
</size>
</property>
</widget>
......@@ -791,12 +797,12 @@
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/ic_arrow_back_white.svg</normaloff>:/images/ic_arrow_back_white.svg</iconset>
<normaloff>:/images/icons/ic_arrow_back_white_24dp.png</normaloff>:/images/icons/ic_arrow_back_white_24dp.png</iconset>
</property>
<property name="iconSize">
<size>
<width>30</width>
<height>30</height>
<width>18</width>
<height>18</height>
</size>
</property>
<property name="flat">
......@@ -879,7 +885,13 @@
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/ic_content_copy_white.svg</normaloff>:/images/ic_content_copy_white.svg</iconset>
<normaloff>:/images/icons/ic_content_copy_white_24dp.png</normaloff>:/images/icons/ic_content_copy_white_24dp.png</iconset>
</property>
<property name="iconSize">
<size>
<width>18</width>
<height>18</height>
</size>
</property>
</widget>
</item>
......@@ -943,6 +955,15 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="leftMargin">
<number>6</number>
</property>
<property name="topMargin">
<number>6</number>
</property>
<property name="rightMargin">
<number>6</number>
</property>
<property name="bottomMargin">
<number>6</number>
</property>
......@@ -965,8 +986,8 @@
<widget class="QPushButton" name="sendButton">
<property name="minimumSize">
<size>
<width>36</width>
<height>36</height>
<width>30</width>
<height>30</height>
</size>
</property>
<property name="maximumSize">
......@@ -983,12 +1004,12 @@
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/ic_send_white.svg</normaloff>:/images/ic_send_white.svg</iconset>
<normaloff>:/images/icons/ic_send_white_24dp.png</normaloff>:/images/icons/ic_send_white_24dp.png</iconset>
</property>
<property name="iconSize">
<size>
<width>36</width>
<height>36</height>
<width>18</width>
<height>18</height>
</size>
</property>
</widget>
......@@ -1126,18 +1147,18 @@
</property>
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
<width>56</width>
<height>56</height>
</size>
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/call/btn-call.svg</normaloff>:/images/call/btn-call.svg</iconset>
<normaloff>:/images/icons/ic_done_white_24dp.png</normaloff>:/images/icons/ic_done_white_24dp.png</iconset>
</property>
<property name="iconSize">
<size>
<width>34</width>
<height>34</height>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
......@@ -1168,8 +1189,8 @@
</property>
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
<width>56</width>
<height>56</height>
</size>
</property>
<property name="layoutDirection">
......@@ -1177,12 +1198,12 @@
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/call/btn-ignore.svg</normaloff>:/images/call/btn-ignore.svg</iconset>
<normaloff>:/images/icons/ic_close_white_24dp.png</normaloff>:/images/icons/ic_close_white_24dp.png</iconset>
</property>
<property name="iconSize">
<size>
<width>34</width>
<height>34</height>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
......@@ -1317,8 +1338,8 @@
</property>
<property name="minimumSize">
<size>
<width>64</width>
<height>64</height>
<width>56</width>
<height>56</height>
</size>
</property>
<property name="maximumSize">
......@@ -1338,12 +1359,12 @@
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/call/btn-ignore.svg</normaloff>:/images/call/btn-ignore.svg</iconset>
<normaloff>:/images/icons/ic_close_white_24dp.png</normaloff>:/images/icons/ic_close_white_24dp.png</iconset>
</property>
<property name="iconSize">
<size>
<width>34</width>
<height>34</height>
<width>24</width>
<height>24</height>
</size>
</property>
</widget>
......@@ -1479,7 +1500,6 @@
<height>0</height>
</size>
</property>
<zorder>stackedWidget</zorder>
</widget>
</item>
</layout>
......
......@@ -26,7 +26,7 @@ ComBar::ComBar(QWidget* parent) :
ui(new Ui::ComBar)
{
ui->setupUi(this);
connect(ui->btnvideo, &QPushButton::clicked , this , [=](){
connect(ui->btnComBarVideo, &QPushButton::clicked , this , [=](){
emit btnVideoClicked();
});
......
......@@ -49,9 +49,9 @@
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnvideo">
<widget class="QPushButton" name="btnComBarVideo">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......@@ -68,20 +68,17 @@
<height>30</height>
</size>
</property>
<property name="mouseTracking">
<bool>true</bool>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="ressources.qrc">
<normaloff>:/images/hover-contact/btn-video.svg</normaloff>:/images/hover-contact/btn-video.svg</iconset>
<normaloff>:/images/icons/ic_videocam_white.png</normaloff>:/images/icons/ic_videocam_white.png</iconset>
</property>
<property name="iconSize">
<size>
<width>20</width>
<height>20</height>
<width>18</width>
<height>18</height>
</size>
</property>
</widget>
......
images/icons/ic_arrow_back_white_24dp.png

151 B

images/icons/ic_call_end_white_24dp.png

389 B

images/icons/ic_call_transfer_white_24px.png

703 B

images/icons/ic_call_white_24dp.png

420 B

images/icons/ic_chat_white_24dp.png

205 B

images/icons/ic_clear_white_24dp.png

257 B

images/icons/ic_close_white_24dp.png

257 B

images/icons/ic_content_copy_white_24dp.png

188 B

images/icons/ic_done_white_24dp.png

199 B

images/icons/ic_group_add_white_24dp.png

384 B

images/icons/ic_high_quality_white_24dp.png

218 B

images/icons/ic_mic_off_white_24dp.png

484 B

images/icons/ic_pause_white_100px.png

437 B

images/icons/ic_pause_white_24dp.png

90 B

images/icons/ic_person_add_white_24dp.png

329 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment