author | zautrix <zautrix> | 2004-10-27 01:07:05 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-27 01:07:05 (UTC) |
commit | 4efb020e137fbb8b94d845a2aa0ffc894561aea9 (patch) (side-by-side diff) | |
tree | 62fa8844366362ccc7b8ed87b908e0222ab9a5f9 | |
parent | ba3d660ed4f856362d2b914ed744874c235b4001 (diff) | |
download | kdepimpi-4efb020e137fbb8b94d845a2aa0ffc894561aea9.zip kdepimpi-4efb020e137fbb8b94d845a2aa0ffc894561aea9.tar.gz kdepimpi-4efb020e137fbb8b94d845a2aa0ffc894561aea9.tar.bz2 |
fixed wn view
-rw-r--r-- | korganizer/kowhatsnextview.cpp | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/korganizer/kowhatsnextview.cpp b/korganizer/kowhatsnextview.cpp index 59b864c..0f0bf11 100644 --- a/korganizer/kowhatsnextview.cpp +++ b/korganizer/kowhatsnextview.cpp @@ -70,11 +70,18 @@ KOWhatsNextView::KOWhatsNextView(Calendar *calendar, QWidget *parent, connect(mView,SIGNAL(showIncidence(const QString &)),SLOT(showIncidence(const QString &))); QStyleSheet* stsh = mView->styleSheet(); QStyleSheetItem * style ; - + style = stsh->item ("a" ); + if ( style ) { + style->setMargin(QStyleSheetItem::MarginAll,0); + } style = stsh->item ("h2" ); if ( style ) { style->setMargin(QStyleSheetItem::MarginAll,0); } + style = stsh->item ("h3" ); + if ( style ) { + style->setMargin(QStyleSheetItem::MarginAll,0); + } style = stsh->item ("table" ); if ( style ) { style->setMargin(QStyleSheetItem::MarginAll,0); @@ -264,7 +271,7 @@ void KOWhatsNextView::updateView() mText +="<p></p>"; #endif - mText +="<big><big><strong><em><font color=\"#000080\">" + i18n("Incomplete Todo:") + "</font></em></strong></big></big>\n"; + mText +="<h2><em><font color=\"#000080\">" + i18n("Incomplete Todo:") + "</font></em></h2>\n"; mText += "<ul>\n"; while (!gotone && priority<6) { todo = todos.first(); @@ -303,7 +310,7 @@ void KOWhatsNextView::updateView() // mText += ipath; // mText += "\">"; //mText += i18n("Events and To-Dos that need a reply:") + "</h2>\n"; - mText +="<big><big><strong><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></strong></big></big>\n"; + mText +="<h2><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></h2>\n"; mText += "<table>\n"; } replys++; @@ -322,7 +329,7 @@ void KOWhatsNextView::updateView() if (me!=0) { if (me->status()==Attendee::NeedsAction && me->RSVP()) { if (replys == 0) { - mText +="<big><big><strong><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></strong></big></big>\n"; + mText +="<h2><em><font color=\"#000080\">" + i18n("Events and To-Dos that need a reply:") + "</font></em></h2>\n"; mText += "<table>\n"; } replys++; @@ -365,8 +372,8 @@ void KOWhatsNextView::appendDay( int i, QDate eventDate ) else if ( i == 1 ) date = "<em><font color=\"#000080\">" + day + "</font></em>" ; else date = "<em><font color=\"#000080\">" + day + "</font></em>"; - //mText += "<h2>" + date + "</h2>\n"; - mText += "<big><big><strong>" + date + "</strong></big></big>\n"; + mText += "<h2>" + date + "</h2>\n"; + //mText += "<big><big><strong>" + date + "</strong></big></big>\n"; mText += "<table>\n"; @@ -389,8 +396,8 @@ void KOWhatsNextView::appendDay( int i, QDate eventDate ) else date = "<em><font color=\"#000080\">" + i18n("In %1 days: ").arg( i ) +day + "</font></em>"; #endif - //mText += "<h2>" + date + "</h2>\n"; - mText += "<big><big><strong>" + date + "</strong></big></big>\n"; + mText += "<h2>" + date + "</h2>\n"; + //mText += "<big><big><strong>" + date + "</strong></big></big>\n"; mText += "<table>\n"; } } |