From d163636ec6914a95c7a8333dc94bc0cae68b226a Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Mon, 19 Nov 2012 18:25:09 +0000 Subject: [PATCH] Added Reload icon https://codereview.appspot.com/6849079/ git-svn-id: http://skia.googlecode.com/svn/trunk@6486 2bbb7eff-a529-9590-31e7-b0007b416f81 --- debugger/QT/Icons/.qrc | 1 + debugger/QT/Icons/inspector.png | Bin 0 -> 1960 bytes debugger/QT/Icons/profile.png | Bin 0 -> 243 bytes debugger/QT/SkDebuggerGUI.cpp | 8 +++--- debugger/QT/qrc_SkIcons.cpp | 58 +++++++++++++++++++++++++++++----------- 5 files changed, 47 insertions(+), 20 deletions(-) create mode 100644 debugger/QT/Icons/inspector.png create mode 100644 debugger/QT/Icons/profile.png diff --git a/debugger/QT/Icons/.qrc b/debugger/QT/Icons/.qrc index 043daa1..dc9075a 100644 --- a/debugger/QT/Icons/.qrc +++ b/debugger/QT/Icons/.qrc @@ -12,5 +12,6 @@ rewind.png previous.png next.png + profile.png \ No newline at end of file diff --git a/debugger/QT/Icons/inspector.png b/debugger/QT/Icons/inspector.png new file mode 100644 index 0000000000000000000000000000000000000000..360f23ef472730d0d17c0c072055f188053c8b32 GIT binary patch literal 1960 zcmV;Z2UqxsP)2)41YZGSjD}B|V2qEb@q-@}OGt>pM--C!_@F^lBmog)09(eU6{LksJAKUK&fLej z=ed_3&YhV%%uI{Al9iLa&)RGK*MG0Q&e_6wL{lKG@ zCb$7gs#*nx;xw4K^r9j%p~*|%%kbC+!&o(7sgd@e@T&Gu)l zs+H4?&cy!TO?{-@xKGQh(_Q{bi-}Aw}f2-HZt&Kpe8L29&D#uSX2EO#8XKrsN?%Ox+y?Dn!xyn+Q z;&kmIW#h3Cs8@aBG~(&0*Ji4o-2crx-*w>99iwey%(|*xll|dir%Lz!;7_+(KX~BQ zYj=(1Y9+}w&e*ep0BOGQ`;un}Jg0wr;pK%aiNEmud)|9s?^`G0eiqgN*!!sm-w~<( z&28_w@S8rC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+viwQyX0Ou literal 0 HcmV?d00001 diff --git a/debugger/QT/Icons/profile.png b/debugger/QT/Icons/profile.png new file mode 100644 index 0000000000000000000000000000000000000000..d4b8501810bedca75b1b1b4a03abc3ce986772a6 GIT binary patch literal 243 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=fdzmSQK*5Dp-y;YjHK@)?VR+?^QK zos)S9l1z8>b!1@J*w6hZkrl}2EbxddW?X?_wfUrhf)$=Fjv*25$$$7+c$hh6 zuwBU8aCI@C1aBiFKcm~GO^MBH-_BevXnx{j`asd(Rl`LAi4Ot`vdrd)mP%xs`2-6e zooUN%!{R1u@IbM_Tu>|j)6rQK@8<394XrT|oD?J4w~f=?Il+X*&6z=h>B(016Pkqu fFC;&l;$R57D6b*1_t1Nw8yGxY{an^LB{Ts5(K$(G literal 0 HcmV?d00001 diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp index d548d7b..e7be72d 100644 --- a/debugger/QT/SkDebuggerGUI.cpp +++ b/debugger/QT/SkDebuggerGUI.cpp @@ -568,28 +568,28 @@ void SkDebuggerGUI::setupUi(QMainWindow *SkDebuggerGUI) { fActionDirectory.setText("Directory"); QIcon profile; - profile.addFile(QString::fromUtf8(":/images/Ico/reload.png"), QSize(), + profile.addFile(QString::fromUtf8(":/profile.png"), QSize(), QIcon::Normal, QIcon::Off); fActionProfile.setIcon(profile); fActionProfile.setText("Profile"); fActionProfile.setDisabled(true); QIcon inspector; - inspector.addFile(QString::fromUtf8(":/images/Ico/inspector.png"), + inspector.addFile(QString::fromUtf8(":/inspector.png"), QSize(), QIcon::Normal, QIcon::Off); fActionInspector.setShortcut(QKeySequence(tr("Ctrl+I"))); fActionInspector.setIcon(inspector); fActionInspector.setText("Inspector"); QIcon play; - play.addFile(QString::fromUtf8(":/images/Ico/play.png"), QSize(), + play.addFile(QString::fromUtf8(":/play.png"), QSize(), QIcon::Normal, QIcon::Off); fActionPlay.setShortcut(QKeySequence(tr("Ctrl+P"))); fActionPlay.setIcon(play); fActionPlay.setText("Play"); QIcon pause; - pause.addFile(QString::fromUtf8(":/images/Ico/pause.png"), QSize(), + pause.addFile(QString::fromUtf8(":/pause.png"), QSize(), QIcon::Normal, QIcon::Off); fActionPause.setShortcut(QKeySequence(tr("Space"))); fActionPause.setCheckable(true); diff --git a/debugger/QT/qrc_SkIcons.cpp b/debugger/QT/qrc_SkIcons.cpp index cda45f9..1f93efe 100644 --- a/debugger/QT/qrc_SkIcons.cpp +++ b/debugger/QT/qrc_SkIcons.cpp @@ -1,8 +1,8 @@ /**************************************************************************** ** Resource object code ** -** Created: Sat Nov 17 10:29:08 2012 -** by: The Resource Compiler for Qt version 4.8.3 +** Created: Mon Nov 19 12:59:51 2012 +** by: The Resource Compiler for Qt version 4.8.2 ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ @@ -10,7 +10,7 @@ #include static const unsigned char qt_resource_data[] = { - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/skia.png + // D:/src/skia.1/trunk/debugger/QT/Icons/skia.png 0x0,0x0,0x4,0x1e, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -79,7 +79,7 @@ static const unsigned char qt_resource_data[] = { 0x69,0x86,0xa2,0x6f,0x34,0xf6,0x6,0x39,0x2f,0x1,0x98,0xc7,0xcc,0xe6,0x31,0xcc, 0x43,0xe0,0x85,0xe9,0xf,0xe0,0xb7,0xf8,0x5,0xfe,0x47,0xd1,0xc6,0x31,0x88,0x99, 0xe7,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/delete.png + // D:/src/skia.1/trunk/debugger/QT/Icons/delete.png 0x0,0x0,0x5,0x87, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -171,7 +171,7 @@ static const unsigned char qt_resource_data[] = { 0xe9,0x96,0xe,0x90,0x34,0x95,0x67,0xde,0xbc,0x1,0xfe,0x2f,0xbb,0xe1,0xff,0x8e, 0xff,0x6,0xd,0xb3,0xf2,0x0,0x51,0x1b,0x2c,0x34,0x0,0x0,0x0,0x0,0x49,0x45, 0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/next.png + // D:/src/skia.1/trunk/debugger/QT/Icons/next.png 0x0,0x0,0x3,0xaa, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -233,7 +233,7 @@ static const unsigned char qt_resource_data[] = { 0xe1,0x2,0xe3,0xd8,0xcb,0xe5,0xd7,0xed,0x88,0xf7,0x33,0x1c,0xfa,0x35,0x4f,0x3b, 0xf1,0xbf,0x8b,0xbf,0x1,0x89,0x9f,0x95,0xb4,0x21,0x16,0x51,0x5d,0x0,0x0,0x0, 0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/inspector.png + // D:/src/skia.1/trunk/debugger/QT/Icons/inspector.png 0x0,0x0,0x7,0xa8, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -359,7 +359,7 @@ static const unsigned char qt_resource_data[] = { 0xc4,0xfc,0xeb,0xc7,0xff,0x95,0xdb,0xff,0x5d,0xb6,0xdd,0x1,0x13,0x77,0xfc,0x5f, 0x2e,0xfe,0x3,0x8e,0x26,0xc0,0xa6,0x8,0xff,0x6,0x23,0x0,0x0,0x0,0x0,0x49, 0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/breakpoint_16x16.png + // D:/src/skia.1/trunk/debugger/QT/Icons/breakpoint_16x16.png 0x0,0x0,0x4,0x54, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -432,7 +432,7 @@ static const unsigned char qt_resource_data[] = { 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xe1, 0xf,0x4b,0x5c,0x44,0xc0,0xce,0x74,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae, 0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/blank.png + // D:/src/skia.1/trunk/debugger/QT/Icons/blank.png 0x0,0x0,0x0,0x92, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -445,7 +445,7 @@ static const unsigned char qt_resource_data[] = { 0xcb,0x63,0x60,0x18,0x5,0xa3,0x60,0x14,0x8c,0x2,0x8,0x0,0x0,0x4,0x10,0x0, 0x1,0x85,0x3f,0xaa,0x72,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60, 0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/reload.png + // D:/src/skia.1/trunk/debugger/QT/Icons/reload.png 0x0,0x0,0x7,0x8c, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -569,7 +569,7 @@ static const unsigned char qt_resource_data[] = { 0x4a,0x25,0x73,0x0,0x44,0x0,0x84,0x0,0xdc,0x78,0x6b,0x5,0x4a,0x17,0xac,0x88, 0x52,0x57,0x54,0xcb,0x75,0xf8,0x7f,0xd4,0xec,0x69,0x2,0x3f,0xb2,0xd3,0x69,0x0, 0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/breakpoint.png + // D:/src/skia.1/trunk/debugger/QT/Icons/breakpoint.png 0x0,0x0,0x8,0xc7, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -713,7 +713,7 @@ static const unsigned char qt_resource_data[] = { 0x1c,0x8f,0xb2,0x9f,0x9,0x7b,0xf0,0xfd,0xf2,0x4f,0xa6,0x94,0xfa,0x22,0xc9,0xf7, 0x6d,0x0,0xe,0x19,0xb9,0x2a,0xab,0x3b,0x72,0x2d,0x0,0x0,0x0,0x0,0x49,0x45, 0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/play.png + // D:/src/skia.1/trunk/debugger/QT/Icons/play.png 0x0,0x0,0x4,0x31, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -784,7 +784,7 @@ static const unsigned char qt_resource_data[] = { 0x81,0x65,0x60,0x1a,0x77,0xf9,0x37,0xea,0x7f,0x5e,0x7f,0x3,0x6e,0xb2,0xc3,0xf0, 0x1c,0xaa,0x77,0x3f,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/pause.png + // D:/src/skia.1/trunk/debugger/QT/Icons/pause.png 0x0,0x0,0x4,0x9d, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -861,7 +861,7 @@ static const unsigned char qt_resource_data[] = { 0xf7,0x9e,0x3c,0x96,0x3f,0xb,0x80,0x0,0xfa,0x94,0xe7,0xbe,0x54,0x95,0x3e,0x23, 0x5f,0x79,0x72,0xf3,0xe7,0xb,0xe0,0x3f,0x84,0x11,0xd1,0x4,0x27,0x48,0x17,0xe1, 0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/rewind.png + // D:/src/skia.1/trunk/debugger/QT/Icons/rewind.png 0x0,0x0,0x4,0x51, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -934,7 +934,26 @@ static const unsigned char qt_resource_data[] = { 0xd8,0x1c,0x6c,0x6,0x3,0x76,0x71,0x2d,0xbf,0x6f,0xff,0x1,0x15,0x13,0xb7,0x7f, 0x67,0x24,0x89,0x36,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42,0x60,0x82, - // C:/rphillips/src/skia.0/trunk/debugger/QT/Icons/previous.png + // D:/src/skia.1/trunk/debugger/QT/Icons/profile.png + 0x0,0x0,0x0,0xf3, + 0x89, + 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, + 0x0,0x0,0x20,0x0,0x0,0x0,0x20,0x8,0x6,0x0,0x0,0x0,0x73,0x7a,0x7a,0xf4, + 0x0,0x0,0x0,0x4,0x73,0x42,0x49,0x54,0x8,0x8,0x8,0x8,0x7c,0x8,0x64,0x88, + 0x0,0x0,0x0,0x1,0x73,0x52,0x47,0x42,0x0,0xae,0xce,0x1c,0xe9,0x0,0x0,0x0, + 0x4,0x67,0x41,0x4d,0x41,0x0,0x0,0xb1,0x8f,0xb,0xfc,0x61,0x5,0x0,0x0,0x0, + 0x9,0x70,0x48,0x59,0x73,0x0,0x0,0xe,0xc4,0x0,0x0,0xe,0xc4,0x1,0x95,0x2b, + 0xe,0x1b,0x0,0x0,0x0,0x78,0x49,0x44,0x41,0x54,0x58,0x47,0x63,0xfc,0xf,0x4, + 0xc,0x3,0x8,0x98,0x6,0xd0,0x6e,0xb0,0xd5,0xa3,0xe,0x18,0xd,0x81,0x1,0xf, + 0x1,0x46,0xb2,0xb2,0x61,0x83,0x6,0xf6,0xcc,0xd3,0x70,0x83,0xe4,0x4c,0x35,0xe0, + 0x21,0x30,0xea,0x80,0xd1,0x10,0x18,0xf0,0x10,0xa0,0x6a,0x36,0x9c,0x15,0x75,0x18, + 0x6b,0x36,0x4c,0x53,0x13,0xc5,0x99,0x3d,0x7,0x3c,0x4,0x46,0x1d,0x30,0xe0,0x21, + 0x80,0x37,0x11,0x2a,0x6f,0xf2,0xc5,0x9a,0x78,0xee,0x9e,0xbb,0x8d,0x55,0x7c,0x34, + 0x11,0x92,0x5c,0x15,0x8e,0xb6,0x9,0x47,0x43,0x60,0x34,0x4,0x46,0x43,0x0,0x18, + 0x2,0xe4,0xb5,0x7,0xc8,0x29,0x71,0x70,0xe8,0x19,0xf0,0xca,0x8,0x0,0x56,0xd1, + 0x1f,0x28,0x14,0xbd,0xc2,0xef,0x0,0x0,0x0,0x0,0x49,0x45,0x4e,0x44,0xae,0x42, + 0x60,0x82, + // D:/src/skia.1/trunk/debugger/QT/Icons/previous.png 0x0,0x0,0x3,0xaf, 0x89, 0x50,0x4e,0x47,0xd,0xa,0x1a,0xa,0x0,0x0,0x0,0xd,0x49,0x48,0x44,0x52,0x0, @@ -1056,6 +1075,11 @@ static const unsigned char qt_resource_name[] = { 0x0,0x48,0x4e,0x87, 0x0,0x72, 0x0,0x65,0x0,0x77,0x0,0x69,0x0,0x6e,0x0,0x64,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67, + // profile.png + 0x0,0xb, + 0x0,0xcb,0x7c,0xe7, + 0x0,0x70, + 0x0,0x72,0x0,0x6f,0x0,0x66,0x0,0x69,0x0,0x6c,0x0,0x65,0x0,0x2e,0x0,0x70,0x0,0x6e,0x0,0x67, // previous.png 0x0,0xc, 0x8,0x37,0xcd,0x47, @@ -1066,9 +1090,11 @@ static const unsigned char qt_resource_name[] = { static const unsigned char qt_resource_struct[] = { // : - 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0xc,0x0,0x0,0x0,0x1, + 0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0xd,0x0,0x0,0x0,0x1, // :/rewind.png 0x0,0x0,0x1,0x16,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x33,0x26, + // :/profile.png + 0x0,0x0,0x1,0x30,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x37,0x7b, // :/breakpoint.png 0x0,0x0,0x0,0xc6,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x21,0x85, // :/skia.png @@ -1078,7 +1104,7 @@ static const unsigned char qt_resource_struct[] = { // :/reload.png 0x0,0x0,0x0,0xac,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x19,0xf5, // :/previous.png - 0x0,0x0,0x1,0x30,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x37,0x7b, + 0x0,0x0,0x1,0x4c,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x38,0x72, // :/blank.png 0x0,0x0,0x0,0x94,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x19,0x5f, // :/breakpoint_16x16.png -- 2.7.4