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