Changeset View
Changeset View
Standalone View
Standalone View
Settings/ViewerPage.cpp
| Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Line(s) | 30 | { | |||
|---|---|---|---|---|---|
| 69 | 69 | | |||
| 70 | txt = i18n("<p>Set the standard size for images to be displayed in the viewer.</p> " | 70 | txt = i18n("<p>Set the standard size for images to be displayed in the viewer.</p> " | ||
| 71 | "<p><b>Full Viewer Size</b> indicates that the image will be stretched or shrunk to fill the viewer window.</p> " | 71 | "<p><b>Full Viewer Size</b> indicates that the image will be stretched or shrunk to fill the viewer window.</p> " | ||
| 72 | "<p><b>Natural Image Size</b> indicates that the image will be displayed pixel for pixel.</p> " | 72 | "<p><b>Natural Image Size</b> indicates that the image will be displayed pixel for pixel.</p> " | ||
| 73 | "<p><b>Natural Image Size If Possible</b> indicates that the image will be displayed pixel for pixel if it would fit the window, " | 73 | "<p><b>Natural Image Size If Possible</b> indicates that the image will be displayed pixel for pixel if it would fit the window, " | ||
| 74 | "otherwise it will be shrunk to fit the viewer.</p>"); | 74 | "otherwise it will be shrunk to fit the viewer.</p>"); | ||
| 75 | m_viewerStandardSize->setWhatsThis( txt); | 75 | m_viewerStandardSize->setWhatsThis( txt); | ||
| 76 | 76 | | |||
| 77 | QLabel* scalingLabel = new QLabel( i18n("Scaling Algorithm"), this ); | 77 | QLabel* scalingLabel = new QLabel( i18n("Scaling algorithm:"), this ); | ||
| 78 | m_smoothScale = new KComboBox( this ); | 78 | m_smoothScale = new KComboBox( this ); | ||
| 79 | m_smoothScale->addItems( QStringList() << i18n("Fastest" ) << i18n("Best") ); | 79 | m_smoothScale->addItems( QStringList() << i18n("Fastest" ) << i18n("Best") ); | ||
| 80 | scalingLabel->setBuddy( m_smoothScale ); | 80 | scalingLabel->setBuddy( m_smoothScale ); | ||
| 81 | 81 | | |||
| 82 | glay->addWidget( scalingLabel, 3, 0 ); | 82 | glay->addWidget( scalingLabel, 3, 0 ); | ||
| 83 | glay->addWidget( m_smoothScale, 3, 1 ); | 83 | glay->addWidget( m_smoothScale, 3, 1 ); | ||
| 84 | txt = i18n("<p>When displaying images, KPhotoAlbum normally performs smooth scaling of the image. " | 84 | txt = i18n("<p>When displaying images, KPhotoAlbum normally performs smooth scaling of the image. " | ||
| 85 | "If this option is not set, KPhotoAlbum will use a faster but less smooth scaling method.</p>"); | 85 | "If this option is not set, KPhotoAlbum will use a faster but less smooth scaling method.</p>"); | ||
| Show All 28 Lines | |||||