KDevelop API Documentation

kdevdebugger.cpp

Go to the documentation of this file.
00001 /* This file is part of the KDE project
00002    Copyright (C) 2002 Matthias Hoelzer-Kluepfel <hoelzer@kde.org>
00003    Copyright (C) 2002 John Firebaugh <jfirebaugh@kde.org>
00004 
00005    This library is free software; you can redistribute it and/or
00006    modify it under the terms of the GNU Library General Public
00007    License as published by the Free Software Foundation; either
00008    version 2 of the License, or (at your option) any later version.
00009 
00010    This library is distributed in the hope that it will be useful,
00011    but WITHOUT ANY WARRANTY; without even the implied warranty of
00012    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013    Library General Public License for more details.
00014 
00015    You should have received a copy of the GNU Library General Public License
00016    along with this library; see the file COPYING.LIB.  If not, write to
00017    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018    Boston, MA 02111-1307, USA.
00019 */
00020 #include "kdevdebugger.h"
00021 
00022 KDevDebugger::KDevDebugger(QObject *parent, const char *name)
00023   : QObject(parent, name)
00024 {
00025 }
00026 
00027 
00028 KDevDebugger::~KDevDebugger()
00029 {
00030 }
00031 
00032 const QPixmap* KDevDebugger::inactiveBreakpointPixmap()
00033 {
00034   const char*breakpoint_gr_xpm[]={
00035   "11 16 6 1",
00036   "c c #c6c6c6",
00037   "d c #2c2c2c",
00038   "# c #000000",
00039   ". c None",
00040   "a c #ffffff",
00041   "b c #555555",
00042   "...........",
00043   "...........",
00044   "...#####...",
00045   "..#aaaaa#..",
00046   ".#abbbbbb#.",
00047   "#abbbbbbbb#",
00048   "#abcacacbd#",
00049   "#abbbbbbbb#",
00050   "#abcacacbd#",
00051   "#abbbbbbbb#",
00052   ".#bbbbbbb#.",
00053   "..#bdbdb#..",
00054   "...#####...",
00055   "...........",
00056   "...........",
00057   "..........."};
00058   static QPixmap pixmap( breakpoint_gr_xpm );
00059   return &pixmap;
00060 }
00061 
00062 const QPixmap* KDevDebugger::activeBreakpointPixmap()
00063 {
00064   const char* breakpoint_xpm[]={
00065   "11 16 6 1",
00066   "c c #c6c6c6",
00067   ". c None",
00068   "# c #000000",
00069   "d c #840000",
00070   "a c #ffffff",
00071   "b c #ff0000",
00072   "...........",
00073   "...........",
00074   "...#####...",
00075   "..#aaaaa#..",
00076   ".#abbbbbb#.",
00077   "#abbbbbbbb#",
00078   "#abcacacbd#",
00079   "#abbbbbbbb#",
00080   "#abcacacbd#",
00081   "#abbbbbbbb#",
00082   ".#bbbbbbb#.",
00083   "..#bdbdb#..",
00084   "...#####...",
00085   "...........",
00086   "...........",
00087   "..........."};
00088   static QPixmap pixmap( breakpoint_xpm );
00089   return &pixmap;
00090 }
00091 
00092 const QPixmap* KDevDebugger::reachedBreakpointPixmap()
00093 {
00094   const char*breakpoint_bl_xpm[]={
00095   "11 16 7 1",
00096   "a c #c0c0ff",
00097   "# c #000000",
00098   "c c #0000c0",
00099   "e c #0000ff",
00100   "b c #dcdcdc",
00101   "d c #ffffff",
00102   ". c None",
00103   "...........",
00104   "...........",
00105   "...#####...",
00106   "..#ababa#..",
00107   ".#bcccccc#.",
00108   "#acccccccc#",
00109   "#bcadadace#",
00110   "#acccccccc#",
00111   "#bcadadace#",
00112   "#acccccccc#",
00113   ".#ccccccc#.",
00114   "..#cecec#..",
00115   "...#####...",
00116   "...........",
00117   "...........",
00118   "..........."};
00119   static QPixmap pixmap( breakpoint_bl_xpm );
00120   return &pixmap;
00121 }
00122 
00123 const QPixmap* KDevDebugger::disabledBreakpointPixmap()
00124 {
00125   const char*breakpoint_wh_xpm[]={
00126   "11 16 7 1",
00127   "a c #c0c0ff",
00128   "# c #000000",
00129   "c c #0000c0",
00130   "e c #0000ff",
00131   "b c #dcdcdc",
00132   "d c #ffffff",
00133   ". c None",
00134   "...........",
00135   "...........",
00136   "...#####...",
00137   "..#ddddd#..",
00138   ".#ddddddd#.",
00139   "#ddddddddd#",
00140   "#ddddddddd#",
00141   "#ddddddddd#",
00142   "#ddddddddd#",
00143   "#ddddddddd#",
00144   ".#ddddddd#.",
00145   "..#ddddd#..",
00146   "...#####...",
00147   "...........",
00148   "...........",
00149   "..........."};
00150   static QPixmap pixmap( breakpoint_wh_xpm );
00151   return &pixmap;
00152 }
00153 
00154 const QPixmap* KDevDebugger::executionPointPixmap()
00155 {
00156   const char*exec_xpm[]={
00157   "11 16 4 1",
00158   "a c #00ff00",
00159   "b c #000000",
00160   ". c None",
00161   "# c #00c000",
00162   "...........",
00163   "...........",
00164   "...........",
00165   "#a.........",
00166   "#aaa.......",
00167   "#aaaaa.....",
00168   "#aaaaaaa...",
00169   "#aaaaaaaaa.",
00170   "#aaaaaaa#b.",
00171   "#aaaaa#b...",
00172   "#aaa#b.....",
00173   "#a#b.......",
00174   "#b.........",
00175   "...........",
00176   "...........",
00177   "..........."};
00178   static QPixmap pixmap( exec_xpm );
00179   return &pixmap;
00180 }
00181 
00182 #include "kdevdebugger.moc"
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:36 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003