mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
ffe8ddaf9d
for the file naming map and file versioning. Please wait until the commit storm ends to report any bug. Albert and Enrico svn path=/trunk/kdegraphics/kpdf/; revision=374920
38 lines
1.5 KiB
C
38 lines
1.5 KiB
C
/***************************************************************************
|
|
* Copyright (C) 2004 by Enrico Ros <eros.kde@email.it> *
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
***************************************************************************/
|
|
|
|
#include <klocale.h>
|
|
|
|
// The purpose of this file is only to display a sort of descriptive text
|
|
// when the user clicks on each memory profile.
|
|
|
|
void DlgPerformance::init()
|
|
{
|
|
QFont labelFont = descLabel->font();
|
|
labelFont.setBold( true );
|
|
descLabel->setFont( labelFont );
|
|
}
|
|
|
|
void DlgPerformance::lowRadio_toggled( bool on )
|
|
{
|
|
if ( on )
|
|
descLabel->setText( i18n("Keeps used memory as low as possible. Don't reuse anything. (for systems with low memory)") );
|
|
}
|
|
|
|
void DlgPerformance::normalRadio_toggled( bool on )
|
|
{
|
|
if ( on )
|
|
descLabel->setText( i18n("A good compromise between memory usage and speed gain. Preload next page and boost searches. (for systems with 256MB of memory typically)") );
|
|
}
|
|
|
|
void DlgPerformance::aggressiveRadio_toggled( bool on )
|
|
{
|
|
if ( on )
|
|
descLabel->setText( i18n("Keeps everything in memory. Preload next pages. Boost searches. (for systems with more than 512MB of memory)") );
|
|
}
|