I'm talking to myself... ;-)

Am Samstag, 29. September 2007 19:29 schrieb Ralph Glasstetter:
> > In case it's not, colored labels might be an option as well.
>
> The Start/Stop labels are already in a bold font compared to
> Chapter/Bookmark... but of course, color would be much better!
>
> Why not using the same colors, as for the buttons?
>
> geen = start
> red =stop
> yellow (orange?) = chapter
> blue = bookmark

That was quite easy,... it's just html syntax!
Patch appended... ;-)

ciao
Ralph
--- svn/src/eventlistitem.cpp	2007-09-29 19:33:20.000000000 +0200
+++ copy/src/eventlistitem.cpp	2007-09-29 19:34:45.000000000 +0200
@@ -101,13 +101,13 @@
   {
   const char *type="";
   if (evtype==start)
-    type="<font size=\"+1\"><b>START</b></font><br>";
+    type="<font size=\"+1\" color=\"green\"><b>START</b></font><br>";
   else if (evtype==stop)
-    type="<font size=\"+1\"><b>STOP</b></font><br>";
+    type="<font size=\"+1\" color=\"red\"><b>STOP</b></font><br>";
   else if (evtype==chapter)
-    type="CHAPTER<br>";
+    type="<font size=\"+1\" color=\"orange\"><b>CHAPTER</b></font><br>";
   else if (evtype==bookmark)
-    type="BOOKMARK<br>";
+    type="<font size=\"+1\" color=\"blue\"><b>BOOKMARK</b></font><br>";
 
   return QString().sprintf("%s%02d:%02d:%02d.%03d<br>%d (%c)",type,
                            int(pts/(3600*90000)),
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
DVBCUT-user mailing list
DVBCUT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to