[qet] qet/qet: [5110] icon theme: add dedicated icons for actions " show only this folder" and "show all folders" in the collection panel |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
- To: qet@xxxxxxxxxxxxxxxxxxx
- Subject: [qet] qet/qet: [5110] icon theme: add dedicated icons for actions " show only this folder" and "show all folders" in the collection panel
- From: subversion@xxxxxxxxxxxxx
- Date: Sun, 26 Nov 2017 05:54:31 +0100
Revision: 5110
Author: nuri
Date: 2017-11-26 05:54:31 +0100 (Sun, 26 Nov 2017)
Log Message:
-----------
icon theme: add dedicated icons for actions "show only this folder" and "show all folders" in the collection panel
Modified Paths:
--------------
trunk/ico/16x16/view-refresh.png
trunk/ico/22x22/view-refresh.png
trunk/ico/copyright
trunk/qelectrotech.qrc
trunk/sources/ElementsCollection/elementscollectionwidget.cpp
trunk/sources/qeticons.cpp
trunk/sources/qeticons.h
Added Paths:
-----------
trunk/ico/16x16/folder-only-this.png
trunk/ico/16x16/folder-show-all.png
Added: trunk/ico/16x16/folder-only-this.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/folder-only-this.png
===================================================================
--- trunk/ico/16x16/folder-only-this.png 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/ico/16x16/folder-only-this.png 2017-11-26 04:54:31 UTC (rev 5110)
Property changes on: trunk/ico/16x16/folder-only-this.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Added: trunk/ico/16x16/folder-show-all.png
===================================================================
(Binary files differ)
Index: trunk/ico/16x16/folder-show-all.png
===================================================================
--- trunk/ico/16x16/folder-show-all.png 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/ico/16x16/folder-show-all.png 2017-11-26 04:54:31 UTC (rev 5110)
Property changes on: trunk/ico/16x16/folder-show-all.png
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Modified: trunk/ico/16x16/view-refresh.png
===================================================================
(Binary files differ)
Modified: trunk/ico/22x22/view-refresh.png
===================================================================
(Binary files differ)
Modified: trunk/ico/copyright
===================================================================
--- trunk/ico/copyright 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/ico/copyright 2017-11-26 04:54:31 UTC (rev 5110)
@@ -148,6 +148,8 @@
ico/16x16/endline-triangle.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
ico/16x16/export-csv.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
ico/16x16/folio-new.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
+ ico/16x16/folder-only-this.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
+ ico/16x16/folder-show-all.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
ico/16x16/ground.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
ico/16x16/label.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
ico/16x16/list-remove.png by Nuri from the QElectroTech team (License CC BY-ND 3.0)
Modified: trunk/qelectrotech.qrc
===================================================================
--- trunk/qelectrotech.qrc 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/qelectrotech.qrc 2017-11-26 04:54:31 UTC (rev 5110)
@@ -554,5 +554,7 @@
<file>ico/windows_icon/qelectrotech.ico</file>
<file>ico/windows_icon/qelectrotech.rc</file>
<file>ico/copyright</file>
+ <file>ico/16x16/folder-only-this.png</file>
+ <file>ico/16x16/folder-show-all.png</file>
</qresource>
</RCC>
Modified: trunk/sources/ElementsCollection/elementscollectionwidget.cpp
===================================================================
--- trunk/sources/ElementsCollection/elementscollectionwidget.cpp 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/sources/ElementsCollection/elementscollectionwidget.cpp 2017-11-26 04:54:31 UTC (rev 5110)
@@ -146,8 +146,8 @@
m_edit_dir = new QAction(QET::Icons::FolderEdit, tr("Éditer le dossier"), this);
m_new_directory = new QAction(QET::Icons::FolderNew, tr("Nouveau dossier"), this);
m_new_element = new QAction(QET::Icons::ElementNew, tr("Nouvel élément"), this);
- m_show_this_dir = new QAction(QET::Icons::ZoomDraw, tr("Afficher uniquement ce dossier"), this);
- m_show_all_dir = new QAction(QET::Icons::ZoomOriginal, tr("Afficher tous les dossiers"), this);
+ m_show_this_dir = new QAction(QET::Icons::FolderOnlyThis,tr("Afficher uniquement ce dossier"), this);
+ m_show_all_dir = new QAction(QET::Icons::FolderShowAll, tr("Afficher tous les dossiers"), this);
m_dir_propertie = new QAction(QET::Icons::Folder, tr("Propriété du dossier"), this);
}
@@ -479,7 +479,7 @@
showAndExpandItem(m_showed_index, true, true);
ElementCollectionItem *eci = elementCollectionItemForIndex(m_showed_index);
if (eci)
- eci->setBackground(QBrush(Qt::yellow));
+ eci->setBackground(QBrush(QColor(255, 204, 0, 255)));
search();
}
else
Modified: trunk/sources/qeticons.cpp
===================================================================
--- trunk/sources/qeticons.cpp 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/sources/qeticons.cpp 2017-11-26 04:54:31 UTC (rev 5110)
@@ -91,6 +91,8 @@
QIcon FolderDelete;
QIcon FolderEdit;
QIcon FolderNew;
+ QIcon FolderOnlyThis;
+ QIcon FolderShowAll;
QIcon Forbidden;
QIcon FullScreenEnter;
QIcon FullScreenExit;
@@ -331,6 +333,8 @@
FolderEdit .addFile(":/ico/22x22/folder-edit.png");
FolderNew .addFile(":/ico/16x16/folder-new.png");
FolderNew .addFile(":/ico/22x22/folder-new.png");
+ FolderOnlyThis .addFile(":/ico/16x16/folder-only-this.png");
+ FolderShowAll .addFile(":/ico/16x16/folder-show-all.png");
Forbidden .addFile(":/ico/16x16/user-busy.png");
FullScreenEnter .addFile(":/ico/16x16/view-fullscreen.png");
FullScreenEnter .addFile(":/ico/22x22/view-fullscreen.png");
Modified: trunk/sources/qeticons.h
===================================================================
--- trunk/sources/qeticons.h 2017-11-26 03:46:48 UTC (rev 5109)
+++ trunk/sources/qeticons.h 2017-11-26 04:54:31 UTC (rev 5110)
@@ -98,6 +98,8 @@
extern QIcon FolderDelete;
extern QIcon FolderEdit;
extern QIcon FolderNew;
+ extern QIcon FolderOnlyThis;
+ extern QIcon FolderShowAll;
extern QIcon Forbidden;
extern QIcon FullScreenEnter;
extern QIcon FullScreenExit;