From 24333d0a19e064e3692de9d54822a96c82ad21c3 Mon Sep 17 00:00:00 2001 From: frostasm Date: Wed, 11 Oct 2017 17:03:51 +0300 Subject: [PATCH] Add toolbar button for copy url to clipboard --- .../icons/application/16x16/actions/url-copy.png | Bin 0 -> 900 bytes .../icons/application/22x22/actions/url-copy.png | Bin 0 -> 1338 bytes src/gui/MainWindow.cpp | 1 + src/gui/MainWindow.ui | 10 ++++++++++ 4 files changed, 11 insertions(+) create mode 100644 share/icons/application/16x16/actions/url-copy.png create mode 100644 share/icons/application/22x22/actions/url-copy.png diff --git a/share/icons/application/16x16/actions/url-copy.png b/share/icons/application/16x16/actions/url-copy.png new file mode 100644 index 0000000000000000000000000000000000000000..154d2439e868d1382cdad95e54d3e29ce3a04d21 GIT binary patch literal 900 zcmV-~1AF|5P)EC2Ruij@3N_;;X-GzaplSlbpLOLzide*}>1{`t=)L-ZZ_uX?mtmqiN^EoEiR-ecgLd@Si|e|D}KY<^3VE{cx@fOeR~BR2%wZI3sk`KN`&ft<`&Pf@W%v3G(mIcVYc1dj8RwM zz@x|6+u1{BYX>0(T5AHgB>;xKurl9ps42cDag6${_hVY1ZD`!SpW6BwQXPGyC*Nm2 zBP8QhYhXEny0huY7kdVe3_bF|5f*PnC_3N+L1j}F@d;6+^X>?z-agB#hdb!LucN#J zzScTrWT$^UH+ymZnR|MjgDtfYmJ1%PuLuQ#M8k^hwGl3SJx!#zNJsnbwFDxvnq*bB zIdS07%OibHAKa(fEUIG$m1+}pxx4sm*nj*1Fise a8TuD-9)CQ5m(O)6>iO{8~!aZg_cf-t?Te z=X>7wdA|4k4ujjqP)}2<)yXX_Ewx!$SzB3_RhdktzUJoUV_jWc^Z0*8sGFFmfGk;? z|ID+`zjNAT=ee9U>Bv}-2$$f;@XZ;RCx`6Y%G9G9Hsm}04b@;UjMdlIzt7$d9bKPY zwCa;bo-5Y|>cvRE0Zz6X z7k=|$c6Ju>Xz)egP{r)Z)d@Q|x=Dksa-6@RKw&D)wlI#tfh!?uEK7kU3Fdhl3`0Y> z+;s^up2zx9JK8--3Ww4?AWfT`biNc(G6z7zJ_{Es+V4}MsU}Nmb=~~FO1SRWsA%9gR z7zyxs0m%m>re?zzZ@~kF)p+#58r(9sqkHrOrY44=ikII79MRZ3{71L0s+&F(!_xs@| z9^bz@E|*T*>;fRrO8vBILf7b$3b8q-5K20uGGaqb>5J&=e+q9KYO$l~cx2-u2Ss@I z*Z{`6e?9yCiL#9)b)~hyoCR2L10vN~3cf(sDCATUC6JevjGNOE8ud-6f8}YUq@>&h z95vyKrc&3mz1PwuP1^{$=J|^lT%%;rHA6Fn(Mg~F9Y4k4HG>@NM@KH;Z}FV(8bG>jt0jYKU6#wW);jslEz+R*#+ zIW+98#_rv_Lsi;rwvdaW2nrsGxm>Pb{}DEp!T9OVoA>N&Yx_ZY?b}I=3LZ$39~OQD zl@)98;gQcG^n+4PO-+I0IA}DQh`y&7K`CrST?{`B#WkH1R8wtoU9eSLjb!(V~_G`HK$)$Ob6Y5l78E&6B; wADMUb+v0s@SR*FNqyJ}?SvL^|m7actionEntryAutoType->setIcon(filePath()->icon("actions", "auto-type", false)); m_ui->actionEntryCopyUsername->setIcon(filePath()->icon("actions", "username-copy", false)); m_ui->actionEntryCopyPassword->setIcon(filePath()->icon("actions", "password-copy", false)); + m_ui->actionEntryCopyURL->setIcon(filePath()->icon("actions", "url-copy", false)); m_ui->actionGroupNew->setIcon(filePath()->icon("actions", "group-new", false)); m_ui->actionGroupEdit->setIcon(filePath()->icon("actions", "group-edit", false)); diff --git a/src/gui/MainWindow.ui b/src/gui/MainWindow.ui index 7e88bd9d4..258dd90c8 100644 --- a/src/gui/MainWindow.ui +++ b/src/gui/MainWindow.ui @@ -292,6 +292,7 @@ + @@ -496,6 +497,9 @@ &Title + + Copy title to clipboard + @@ -504,6 +508,9 @@ &URL + + Copy URL to clipboard + @@ -512,6 +519,9 @@ &Notes + + Copy notes to clipboard +