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 All 9 Lines | |||||
95 | lay->addWidget( m_displayCategories, row, 0, 1, 2 ); | 95 | lay->addWidget( m_displayCategories, row, 0, 1, 2 ); | ||
96 | 96 | | |||
97 | // Auto Show Thumbnail view | 97 | // Auto Show Thumbnail view | ||
98 | ++row; | 98 | ++row; | ||
99 | QLabel* autoShowLabel = new QLabel( i18n("Threshold for automatic thumbnail view: "), this ); | 99 | QLabel* autoShowLabel = new QLabel( i18n("Threshold for automatic thumbnail view: "), this ); | ||
100 | m_autoShowThumbnailView = new QSpinBox; | 100 | m_autoShowThumbnailView = new QSpinBox; | ||
101 | m_autoShowThumbnailView->setRange( 0, 10000 ); | 101 | m_autoShowThumbnailView->setRange( 0, 10000 ); | ||
102 | m_autoShowThumbnailView->setSingleStep( 10 ); | 102 | m_autoShowThumbnailView->setSingleStep( 10 ); | ||
103 | m_autoShowThumbnailView->setSpecialValueText( i18nc("Describing: 'ThumbnailView will not be automatically shown'","Disabled") ); | 103 | m_autoShowThumbnailView->setSpecialValueText( i18nc("Describing: 'ThumbnailView will not be automatically shown'","Disabled") ); | ||
pino: extra whitespace changes | |||||
104 | lay->addWidget( autoShowLabel, row, 0 ); | 104 | lay->addWidget( autoShowLabel, row, 0 ); | ||
105 | lay->addWidget( m_autoShowThumbnailView, row, 1 ); | 105 | lay->addWidget( m_autoShowThumbnailView, row, 1 ); | ||
106 | 106 | | |||
107 | 107 | | |||
108 | lay->setColumnStretch( 1, 1 ); | 108 | lay->setColumnStretch( 1, 1 ); | ||
109 | lay->setRowStretch( ++row, 1 ); | 109 | lay->setRowStretch( ++row, 1 ); | ||
110 | 110 | | |||
111 | // Whats This | 111 | // Whats This | ||
▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines |
extra whitespace changes