[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/krecipes/src/dialogs
From: Unai Garro <Unai.Garro () ee ! ed ! ac ! uk>
Date: 2003-11-01 0:55:20
[Download RAW message or body]
CVS commit by uga:
highlight days
M +10 -2 dietviewdialog.cpp 1.4
--- kdenonbeta/krecipes/src/dialogs/dietviewdialog.cpp #1.3:1.4
@@ -46,5 +46,13 @@ void DietViewDialog::showDiet(const Reci
// Header
-QString htmlCode=QString("<html><head><title>%1</title></head><body>").arg(i18n("Diet"));
+QString htmlCode=QString("<html><head><title>%1</title>").arg(i18n("Diet"));
+
+// CSS
+htmlCode += "<STYLE type=\"text/css\">\n";
+htmlCode+="#day{ background-color: #E5E5E5; color: black; border:medium solid #d6d6d6;}";
+htmlCode +="</STYLE>";
+
+
+htmlCode+="</head><body>"; // /Header
// Title
@@ -69,5 +77,5 @@ for (int row=0,day=0; row<=((dayNumber-1
for (int col=0; (col<7) && (day<dayNumber); col++,day++) // New column (day)
{
- htmlCode+=QString("<td>");
+ htmlCode+=QString("<td id=\"day\">");
for (int meal=0;meal<mealNumber;meal++) // Meals in each cell
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic