[rkward-cvs] rkward/rkward/misc rkobjectlistview.cpp,1.15,1.16

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Apr 20 12:13:35 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29958

Modified Files:
	rkobjectlistview.cpp 
Log Message:
Use some icons in object listview, which seem to be standard KDE (but we'd really need our own custom icons for this)

Index: rkobjectlistview.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/misc/rkobjectlistview.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** rkobjectlistview.cpp	17 Apr 2006 21:30:42 -0000	1.15
--- rkobjectlistview.cpp	20 Apr 2006 12:13:32 -0000	1.16
***************
*** 211,227 ****
  		switch(static_cast<RKVariable*> (object)->getVarType ()) {
  			case RObject::Number:
! 				item->setPixmap (0, SmallIcon("ledblue",8));
  				break;
  			case RObject::Factor:
! 				item->setPixmap (0, SmallIcon("ledgreen",8));
  				break;
  			case RObject::String:
! 				item->setPixmap (0, SmallIcon("ledyellow",8));
  				break;
  			case RObject::Invalid:
! 				item->setPixmap (0, SmallIcon("cancel",8));
  				break;
  			case RObject::Unknown:
! 				item->setPixmap (0, SmallIcon("ledred",8));
  				break;
  		}
--- 211,227 ----
  		switch(static_cast<RKVariable*> (object)->getVarType ()) {
  			case RObject::Number:
! 				item->setPixmap (0, SmallIcon("math_paren",12));
  				break;
  			case RObject::Factor:
! 				item->setPixmap (0, SmallIcon("math_onetwomatrix",12));
  				break;
  			case RObject::String:
! 				item->setPixmap (0, SmallIcon("text",12));
  				break;
  			case RObject::Invalid:
! 				item->setPixmap (0, SmallIcon("no",12));
  				break;
  			case RObject::Unknown:
! 				item->setPixmap (0, SmallIcon("help",12));
  				break;
  		}





More information about the rkward-tracker mailing list