From d31d360340580c73a8f2ab7cc1c1ab9771e6833f Mon Sep 17 00:00:00 2001 From: nuri Date: Sun, 26 Nov 2017 22:20:35 +0000 Subject: [PATCH] icon theme: add missing icons in size 16x16px git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5116 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- ico/16x16/go-bottom.png | Bin 0 -> 370 bytes ico/16x16/go-down-double.png | Bin 0 -> 429 bytes ico/16x16/go-down.png | Bin 370 -> 352 bytes ico/16x16/go-top.png | Bin 0 -> 371 bytes ico/16x16/go-up-double.png | Bin 0 -> 417 bytes ico/22x22/dialog-information.png | Bin 253 -> 271 bytes ico/copyright | 2 ++ qelectrotech.qrc | 4 ++++ sources/elementspanelwidget.cpp | 26 +++++++++++++------------- sources/projectview.cpp | 2 +- sources/qeticons.cpp | 13 +++++++++++-- sources/qeticons.h | 8 ++++++-- 12 files changed, 37 insertions(+), 18 deletions(-) create mode 100644 ico/16x16/go-bottom.png create mode 100644 ico/16x16/go-down-double.png create mode 100644 ico/16x16/go-top.png create mode 100644 ico/16x16/go-up-double.png diff --git a/ico/16x16/go-bottom.png b/ico/16x16/go-bottom.png new file mode 100644 index 0000000000000000000000000000000000000000..490b265c0dd4a72583a9a0b5f5738c38ac6d4784 GIT binary patch literal 370 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4&xWlcR@+)`OXX90wW>Dthj& z{MGt_fA@^*EjCdG5<=^C8C!l&WBd2D`qMr0b2}fYpR)|Fct5+&Y;ULGJn7`TRjY2v za9=Ooo7l6{Pc!!GZqIxtj?Fgb(;X(K-gM?j+$R#}uX(rg#Jp90`$ZVG(+1EUhgVz*rapa<%yg{z}3^|B_*w{R_|w)IVQ24p~tZQz{FMabT>D%c2BBJC^ww9 z>eWdBbIB;ClGyJ#YhxMXLcUh?2sb4Cns%(={g*9!t$rPpzr_CSkkgTe~DWM4f!xokl literal 0 HcmV?d00001 diff --git a/ico/16x16/go-down-double.png b/ico/16x16/go-down-double.png new file mode 100644 index 0000000000000000000000000000000000000000..46e2bed31ba90e11edc7e53744fd08c6d39a9337 GIT binary patch literal 429 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4%T~GyQ_$c zw6*rc(?wrJ>)LzIx;ps?XdevU`+bJw4EYcB$D(FSCO?{Aa%{$psM(?0L%P5J^Kn`C z`|m%m>6V_8QU!Nvo&L1x7wgqWb7s2*ny^l2P5kj-&TP{&-l>t#yjIFiGQZEnkYF@( zPxjh$ua(7Xzs3fN$TM7c{Z(vg(07J!9&uM}SDiahU2i1UKY#7k*$m(IeqYU?pybcM z=eg|Ij0l%)9_z}D6lO9>bb070SvDx1{1VRNw)o=OYgLQ~v`;#UH?QZ~swK_9#&FGJ zUnozLLIq2K!>27%9hH|%b_~8PWx#)vb%U*azo*>RmrdK$8AMz^2BlwE`uq1!meWDK UH$I>L1Bwg=Pgg&ebxsLQ030T(vj6}9 literal 0 HcmV?d00001 diff --git a/ico/16x16/go-down.png b/ico/16x16/go-down.png index 4459ab35d9395be18d072a8ba89c17c1afe9277c..05c690b067951f4fd3b81ab10c4c08a8d304bd91 100644 GIT binary patch delta 250 zcmVZeO|!SI+_vqms@|7U?uKkKn3U4IuIo9_RaNzxQgd3Yly^!g&mwYUW{mj*Pt;LO1|UbI$t!s`>_;nc3AUJ36o& zIR*}w=cSoljB%5(5Fp0*?ws2KKFsWV9k&sD13_svj6}907*qoM6N<$f-L@d A4FCWD delta 269 zcmV+o0rLLf0`dZoZh!AdL_t(IjqQ)IPQySDL}xFK=M!YJ2+}U$i?Z7Dk#Xd5H-ARcV|XBz&~G*Tp45LKk1AybCRq5 ztPXA)=iE+fJ)1IXt!K`;9e~YPz$Ji1-}m=rS*n2>kiPG4V}FdtX_{US0_wW{@ZMhl zIO)3X4uBk*N!|cBRZ3-5RlSdWfVOR4LkO8t>Wt)ezbCmBk@FBjX03hu_SRU}JkJ+N zl01sYLyS>G2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4sb#nLV5d$Ipn}`8%b9FS+Oas;cjc8)jZ-e8U_eBB;A`Pgtm`V#{NR$Fo=6 z^A|DkHD)PDNIR|c$>N>2roQG!sW0>z}sl5AvG+ zuFgz?XVWSzh89BsryB;FMFn^Me5cQFVcXm0nQMhE-cosHAN+**^n}2?p zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4Mhf4maf0Iyg=ZQ7@e+Bu3fTd=_*-~GD!O7t1>gTe~ HDWM4f+OVIK literal 0 HcmV?d00001 diff --git a/ico/22x22/dialog-information.png b/ico/22x22/dialog-information.png index 1f2a3c6802441ce211e2d142b3fbe04821d12a11..2bb174d6c3120d523c93e9cae0b7c095ed2eda98 100644 GIT binary patch delta 169 zcmV;a09OC~0gnQZZhwqPL_t(IjbmUK1yI1qz`(%Z>+AcUnuc!PyqS>&#@V!KQzJDD z_4D(qXJBApV4{X$*Z>PI3A^>L>KPaq7!C!BHNx1~z@b1ftUkqQFfp3(0s038G8hdC zIG}1!AZr+$K>^E(R5uvCtOyMaEt@!T;uI+QsMgi>s01@jeJP=K^+%5nB002ovPDHLk FV1iPDLzDmj diff --git a/ico/copyright b/ico/copyright index 79e819d94..0a65a9885 100644 --- a/ico/copyright +++ b/ico/copyright @@ -159,6 +159,8 @@ Clarification: ico/16x16/folder-only-this.png by Nuri from the QElectroTech team (License CC BY-ND 3.0) ico/16x16/folder-properties.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/go-down-double.png by Nuri from the QElectroTech team (License CC BY-ND 3.0) + ico/16x16/go-up-double.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) diff --git a/qelectrotech.qrc b/qelectrotech.qrc index c819f41d9..0c0fef062 100644 --- a/qelectrotech.qrc +++ b/qelectrotech.qrc @@ -573,5 +573,9 @@ ico/16x16/folder-edit.png ico/16x16/folder-open.png ico/16x16/folder-properties.png + ico/16x16/go-up-double.png + ico/16x16/go-down-double.png + ico/16x16/go-top.png + ico/16x16/go-bottom.png diff --git a/sources/elementspanelwidget.cpp b/sources/elementspanelwidget.cpp index c906712dc..26cfb89c2 100644 --- a/sources/elementspanelwidget.cpp +++ b/sources/elementspanelwidget.cpp @@ -43,19 +43,19 @@ ElementsPanelWidget::ElementsPanelWidget(QWidget *parent) : QWidget(parent) { elements_panel = new ElementsPanel(this); // initialise les actions - open_directory = new QAction(QET::Icons::FolderOpen, tr("Ouvrir le dossier correspondant"), this); - copy_path = new QAction(QET::Icons::IC_CopyFile, tr("Copier le chemin"), this); - prj_activate = new QAction(QET::Icons::ProjectFile, tr("Basculer vers ce projet"), this); - prj_close = new QAction(QET::Icons::DocumentClose, tr("Fermer ce projet"), this); - prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this); - prj_prop_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du folio"), this); - prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un folio"), this); - prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer ce folio"), this); - prj_move_diagram_up = new QAction(QET::Icons::GoUp, tr("Remonter ce folio"), this); - prj_move_diagram_down = new QAction(QET::Icons::GoDown, tr("Abaisser ce folio"), this); - prj_move_diagram_upx10 = new QAction(QET::Icons::GoUp, tr("Remonter ce folio x10"), this); - prj_move_diagram_top = new QAction(QET::Icons::GoUp, tr("Remonter ce folio au debut"), this); - prj_move_diagram_downx10 = new QAction(QET::Icons::GoDown, tr("Abaisser ce folio x10"), this); + open_directory = new QAction(QET::Icons::FolderOpen, tr("Ouvrir le dossier correspondant"), this); + copy_path = new QAction(QET::Icons::IC_CopyFile, tr("Copier le chemin"), this); + prj_activate = new QAction(QET::Icons::ProjectFile, tr("Basculer vers ce projet"), this); + prj_close = new QAction(QET::Icons::DocumentClose, tr("Fermer ce projet"), this); + prj_edit_prop = new QAction(QET::Icons::DialogInformation, tr("Propriétés du projet"), this); + prj_prop_diagram = new QAction(QET::Icons::DialogInformation, tr("Propriétés du folio"), this); + prj_add_diagram = new QAction(QET::Icons::DiagramAdd, tr("Ajouter un folio"), this); + prj_del_diagram = new QAction(QET::Icons::DiagramDelete, tr("Supprimer ce folio"), this); + prj_move_diagram_up = new QAction(QET::Icons::GoUp, tr("Remonter ce folio"), this); + prj_move_diagram_down = new QAction(QET::Icons::GoDown, tr("Abaisser ce folio"), this); + prj_move_diagram_upx10 = new QAction(QET::Icons::GoUpDouble, tr("Remonter ce folio x10"), this); + prj_move_diagram_top = new QAction(QET::Icons::GoTop, tr("Remonter ce folio au debut"), this); + prj_move_diagram_downx10 = new QAction(QET::Icons::GoDownDouble, tr("Abaisser ce folio x10"), this); tbt_add = new QAction(QET::Icons::TitleBlock, tr("Nouveau modèle"), this); tbt_edit = new QAction(QET::Icons::TitleBlock, tr("Éditer ce modèle"), this); tbt_remove = new QAction(QET::Icons::TitleBlock, tr("Supprimer ce modèle"), this); diff --git a/sources/projectview.cpp b/sources/projectview.cpp index 13840d636..b7dc709c1 100644 --- a/sources/projectview.cpp +++ b/sources/projectview.cpp @@ -387,7 +387,7 @@ void ProjectView::addDiagram(DiagramView *diagram_view) return; // Add new tab for the diagram - m_tab->addTab(diagram_view, QET::Icons::Diagram, diagram_view -> title()); + m_tab->addTab(diagram_view, QET::Icons::Diagram, diagram_view -> title()); diagram_view->setFrameStyle(QFrame::Plain | QFrame::NoFrame); m_diagram_view_list << diagram_view; diff --git a/sources/qeticons.cpp b/sources/qeticons.cpp index 20604d327..64e160b3d 100644 --- a/sources/qeticons.cpp +++ b/sources/qeticons.cpp @@ -99,8 +99,12 @@ namespace QET { QIcon Forbidden; QIcon FullScreenEnter; QIcon FullScreenExit; - QIcon GoDown; - QIcon GoUp; + QIcon GoBottom; + QIcon GoDown; + QIcon GoDownDouble; + QIcon GoTop; + QIcon GoUp; + QIcon GoUpDouble; QIcon Ground; QIcon Grid; QIcon Hide; @@ -237,6 +241,7 @@ void QET::Icons::initIcons() { IC_CopyFile .addFile(":/ico/16x16/item-copy.png"); DiagramAdd .addFile(":/ico/16x16/folio-new.png"); DiagramAdd .addFile(":/ico/22x22/diagram_add.png"); + Diagram .addFile(":/ico/16x16/diagram.png"); Diagram .addFile(":/ico/diagram.png"); DiagramBg .addFile(":/ico/22x22/diagram_bg.png"); DiagramDelete .addFile(":/ico/16x16/folio-delete.png"); @@ -358,10 +363,14 @@ void QET::Icons::initIcons() { FullScreenEnter .addFile(":/ico/22x22/view-fullscreen.png"); FullScreenExit .addFile(":/ico/16x16/view-restore.png"); FullScreenExit .addFile(":/ico/22x22/view-restore.png"); + GoBottom .addFile(":/ico/16x16/go-bottom.png"); GoDown .addFile(":/ico/16x16/go-down.png"); GoDown .addFile(":/ico/22x22/go-down.png"); + GoDownDouble .addFile(":/ico/16x16/go-down-double.png"); + GoTop .addFile(":/ico/16x16/go-top.png"); GoUp .addFile(":/ico/16x16/go-up.png"); GoUp .addFile(":/ico/22x22/go-up.png"); + GoUpDouble .addFile(":/ico/16x16/go-up-double.png"); Ground .addFile(":/ico/16x16/ground.png"); Grid .addFile(":/ico/16x16/grid.png"); Grid .addFile(":/ico/22x22/grid.png"); diff --git a/sources/qeticons.h b/sources/qeticons.h index 9d5e5d2c6..dd0a34aa7 100644 --- a/sources/qeticons.h +++ b/sources/qeticons.h @@ -105,8 +105,12 @@ namespace QET { extern QIcon Forbidden; extern QIcon FullScreenEnter; extern QIcon FullScreenExit; - extern QIcon GoDown; - extern QIcon GoUp; + extern QIcon GoBottom; + extern QIcon GoDown; + extern QIcon GoDownDouble; + extern QIcon GoTop; + extern QIcon GoUp; + extern QIcon GoUpDouble; extern QIcon Ground; extern QIcon Grid; extern QIcon Hide;