[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/office/kraft/src
From: Klaas Freitag <freitag () suse ! de>
Date: 2009-11-02 20:02:53
Message-ID: 1257192173.443345.28379.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1043997 by freitag:
- fixed font size of documentoverview through css file
M +1 -0 docoverview.css
M +1 -0 docoverview_ro.css
M +1 -1 docpostcard.cpp
M +3 -5 htmlview.cpp
M +1 -3 kraftview.cpp
--- trunk/playground/office/kraft/src/docoverview.css #1043996:1043997
@@ -1,5 +1,6 @@
body { margin:2px;
background-image:url(pics/docoverviewbg.png);
+ font-size:x-small;
}
table {
--- trunk/playground/office/kraft/src/docoverview_ro.css #1043996:1043997
@@ -1,6 +1,7 @@
body { margin:20px;
background-image:url(pics/docoverviewbg.png);
color: #4e4e4e;
+ font-size:x-small;
}
td {
--- trunk/playground/office/kraft/src/docpostcard.cpp #1043996:1043997
@@ -30,7 +30,7 @@
DocPostCard::DocPostCard( QWidget *parent )
:HtmlView( parent ), mMode( Full )
{
- setZoomFactor( 70 );
+
}
void DocPostCard::setHeaderData( const QString& type, const QString& date,
--- trunk/playground/office/kraft/src/htmlview.cpp #1043996:1043997
@@ -32,8 +32,6 @@
connect( this, SIGNAL( setWindowCaption( const QString & ) ),
SLOT( setTitle( const QString & ) ) );
- setZoomFactor( 80 );
-
setJScriptEnabled(false);
setJavaEnabled(false);
setMetaRefreshEnabled(false);
@@ -100,7 +98,7 @@
void HtmlView::updateZoomActions()
{
mZoomInAction->setEnabled( zoomFactor() + mZoomStep <= 300 );
- mZoomOutAction->setEnabled( zoomFactor() - mZoomStep >= 20 );
+ mZoomOutAction->setEnabled( zoomFactor() - mZoomStep > 100 );
// Prefs::self()->setZoomFactor( zoomFactor() );
}
@@ -110,7 +108,7 @@
KStandardDirs stdDirs;
QString filename = stdDirs.findResource( "data", QString( "kraft/%1" ) .arg( mStyleSheetFile ) );
filename = KStandardDirs::locate( "appdata", mStyleSheetFile );
- kDebug() << "OOOO here ists doch: " << filename << " out of " << mStyleSheetFile;
+ kDebug() << "found this stylefile: " << filename << " out of " << mStyleSheetFile;
QString t = QString( "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\">"
"<html><head><title>%1</title>" ).arg( mTitle );
if ( ! filename.isEmpty() ) {
@@ -138,7 +136,7 @@
{
begin();
- // kDebug() << "Show content: " << content << endl;
+ // kDebug() << "Show content: " << content;
writeTopFrame();
writeContent( content );
--- trunk/playground/office/kraft/src/kraftview.cpp #1043996:1043997
@@ -34,10 +34,8 @@
#include <q3buttongroup.h>
#include <QToolTip>
#include <QFont>
-#include <q3ptrlist.h>
#include <QResizeEvent>
-#include <Q3ValueList>
-#include <Q3Frame>
+
#include <QPalette>
#include <kdebug.h>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic