[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kghostview
From: Albert Astals Cid <tsdgeos () terra ! es>
Date: 2005-01-17 19:52:37
Message-ID: 20050117195237.140F01B555 () office ! kde ! org
[Download RAW message or body]
CVS commit by aacid:
Set the defaults for AntialiasingArguments and NonAntialiasingArguments as well as \
show the current gs detected version
M +2 -0 kghostview.kcfg 1.7
M +6 -3 kgvconfigdialog.cpp 1.31
--- kdegraphics/kghostview/kghostview.kcfg #1.6:1.7
@@ -57,8 +57,10 @@
<label>Arguments for ghostscript if running with \
antialiasing</label> <whatsthis></whatsthis>
+ <default>-sDEVICE=x11 -dTextAlphaBits=4 \
-dGraphicsAlphaBits=2 -dMaxBitmap=10000000</default> </entry>
<entry name="NonAntialiasingArguments" type="String">
<label></label>
<whatsthis></whatsthis>
+ <default>-sDEVICE=x11</default>
</entry>
<entry name="Version" type="String">
--- kdegraphics/kghostview/kgvconfigdialog.cpp #1.30:1.31
@@ -135,12 +135,15 @@ void ConfigDialog::showSettings( KGVPar
const char* name = "kghostview-settings";
if ( KConfigDialog::showDialog( name ) ) return;
+
+ if ( Configuration::redetectionCounter() < currentRedetection ) \
redoGSDetection(); +
KConfigDialog* dialog = new KConfigDialog( 0, name,
Configuration::self(), KDialogBase::IconList );
dialog->addPage( new GeneralSettingsWidget( 0, "general-settings" ),
i18n( "General" ), QString::fromLatin1( "kghostview" ) );
- dialog->addPage( new GSSettingsWidget( 0, "gs-settings" ),
- i18n( "Ghostscript Configuration" ), QString::fromLatin1( "pdf" ) );
+ GSSettingsWidget *gssw = new GSSettingsWidget( 0, "gs-settings" );
+ dialog->addPage( gssw, i18n( "Ghostscript Configuration" ), QString::fromLatin1( \
"pdf" ) );
- if ( Configuration::redetectionCounter() < currentRedetection ) \
redoGSDetection(); + gssw->setDetectedVersion(Configuration::version());
QObject::connect( dialog, SIGNAL( settingsChanged() ), main, SLOT( \
slotConfigurationChanged() ) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic