Changeset View
Changeset View
Standalone View
Standalone View
Settings/ThumbnailsPage.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 30 | { | |||
---|---|---|---|---|---|
52 | 52 | | |||
53 | // incremental Thumbnail building | 53 | // incremental Thumbnail building | ||
54 | ++row; | 54 | ++row; | ||
55 | m_incrementalThumbnails = new QCheckBox( i18n("Build thumbnails on demand" ) ); | 55 | m_incrementalThumbnails = new QCheckBox( i18n("Build thumbnails on demand" ) ); | ||
56 | lay->addWidget( m_incrementalThumbnails, row, 0, 1, 2); | 56 | lay->addWidget( m_incrementalThumbnails, row, 0, 1, 2); | ||
57 | 57 | | |||
58 | // Thumbnail aspect ratio | 58 | // Thumbnail aspect ratio | ||
59 | ++row; | 59 | ++row; | ||
60 | QLabel* thumbnailAspectRatioLabel = new QLabel( i18n("Thumbnail table cells aspect ratio") ); | 60 | QLabel* thumbnailAspectRatioLabel = new QLabel( i18n("Thumbnail table cells aspect ratio:") ); | ||
61 | m_thumbnailAspectRatio = new KComboBox( this ); | 61 | m_thumbnailAspectRatio = new KComboBox( this ); | ||
62 | m_thumbnailAspectRatio->addItems( QStringList() << i18n("1:1") << i18n("4:3") | 62 | m_thumbnailAspectRatio->addItems( QStringList() << i18n("1:1") << i18n("4:3") | ||
63 | << i18n("3:2") << i18n("16:9") << i18n("3:4") << i18n("2:3") << i18n("9:16")); | 63 | << i18n("3:2") << i18n("16:9") << i18n("3:4") << i18n("2:3") << i18n("9:16")); | ||
64 | lay->addWidget( thumbnailAspectRatioLabel, row, 0 ); | 64 | lay->addWidget( thumbnailAspectRatioLabel, row, 0 ); | ||
65 | lay->addWidget( m_thumbnailAspectRatio, row, 1 ); | 65 | lay->addWidget( m_thumbnailAspectRatio, row, 1 ); | ||
66 | 66 | | |||
67 | // Space around cells | 67 | // Space around cells | ||
68 | ++row; | 68 | ++row; | ||
69 | QLabel* thumbnailSpaceLabel = new QLabel( i18n("Space around cells") ); | 69 | QLabel* thumbnailSpaceLabel = new QLabel( i18n("Space around cells:") ); | ||
70 | m_thumbnailSpace = new QSpinBox; | 70 | m_thumbnailSpace = new QSpinBox; | ||
71 | m_thumbnailSpace->setRange( 0, 20 ); | 71 | m_thumbnailSpace->setRange( 0, 20 ); | ||
72 | lay->addWidget( thumbnailSpaceLabel, row, 0 ); | 72 | lay->addWidget( thumbnailSpaceLabel, row, 0 ); | ||
73 | lay->addWidget( m_thumbnailSpace, row, 1 ); | 73 | lay->addWidget( m_thumbnailSpace, row, 1 ); | ||
74 | 74 | | |||
75 | // Background color | 75 | // Background color | ||
76 | ++row; | 76 | ++row; | ||
77 | QLabel* backgroundColorLabel = new QLabel( i18n("Background Color") ); | 77 | QLabel* backgroundColorLabel = new QLabel( i18n("Background color:") ); | ||
78 | m_backgroundColor = new KColorButton; | 78 | m_backgroundColor = new KColorButton; | ||
79 | lay->addWidget( backgroundColorLabel, row, 0 ); | 79 | lay->addWidget( backgroundColorLabel, row, 0 ); | ||
80 | lay->addWidget( m_backgroundColor, row, 1 ); | 80 | lay->addWidget( m_backgroundColor, row, 1 ); | ||
81 | 81 | | |||
82 | // Display grid lines in the thumbnail view | 82 | // Display grid lines in the thumbnail view | ||
83 | ++row; | 83 | ++row; | ||
84 | m_thumbnailDisplayGrid = new QCheckBox( i18n("Display grid around thumbnails" ) ); | 84 | m_thumbnailDisplayGrid = new QCheckBox( i18n("Display grid around thumbnails" ) ); | ||
85 | lay->addWidget( m_thumbnailDisplayGrid, row, 0, 1, 2 ); | 85 | lay->addWidget( m_thumbnailDisplayGrid, row, 0, 1, 2 ); | ||
▲ Show 20 Lines • Show All 111 Lines • Show Last 20 Lines |