Changeset View
Changeset View
Standalone View
Standalone View
Settings/GeneralPage.cpp
| Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Line(s) | 36 | { | |||
|---|---|---|---|---|---|
| 48 | m_trustTimeStamps = new KComboBox( box ); | 48 | m_trustTimeStamps = new KComboBox( box ); | ||
| 49 | m_trustTimeStamps->addItems( QStringList() << i18nc("As in 'always trust image dates'","Always") | 49 | m_trustTimeStamps->addItems( QStringList() << i18nc("As in 'always trust image dates'","Always") | ||
| 50 | << i18nc("As in 'ask whether to trust image dates'","Ask") | 50 | << i18nc("As in 'ask whether to trust image dates'","Ask") | ||
| 51 | << i18nc("As in 'never trust image dates'","Never") ); | 51 | << i18nc("As in 'never trust image dates'","Never") ); | ||
| 52 | timeStampLabel->setBuddy( m_trustTimeStamps ); | 52 | timeStampLabel->setBuddy( m_trustTimeStamps ); | ||
| 53 | lay->addWidget( timeStampLabel, row, 0 ); | 53 | lay->addWidget( timeStampLabel, row, 0 ); | ||
| 54 | lay->addWidget( m_trustTimeStamps, row, 1, 1, 3 ); | 54 | lay->addWidget( m_trustTimeStamps, row, 1, 1, 3 ); | ||
| 55 | 55 | | |||
| 56 | // Do EXIF rotate | 56 | // Do Exif rotate | ||
| 57 | row++; | 57 | row++; | ||
| 58 | m_useEXIFRotate = new QCheckBox( i18n( "Use EXIF orientation information" ), box ); | 58 | m_useEXIFRotate = new QCheckBox( i18n( "Use Exif orientation information" ), box ); | ||
| 59 | lay->addWidget( m_useEXIFRotate, row, 0, 1, 4 ); | 59 | lay->addWidget( m_useEXIFRotate, row, 0, 1, 4 ); | ||
| 60 | 60 | | |||
| 61 | // Use EXIF description | 61 | // Use Exif description | ||
| 62 | row++; | 62 | row++; | ||
| 63 | m_useEXIFComments = new QCheckBox( i18n( "Use EXIF description" ), box ); | 63 | m_useEXIFComments = new QCheckBox( i18n( "Use Exif description" ), box ); | ||
| 64 | lay->addWidget( m_useEXIFComments, row, 0, 1, 4 ); | 64 | lay->addWidget( m_useEXIFComments, row, 0, 1, 4 ); | ||
| 65 | connect(m_useEXIFComments, &QCheckBox::stateChanged, this, &GeneralPage::useEXIFCommentsChanged); | 65 | connect(m_useEXIFComments, &QCheckBox::stateChanged, this, &GeneralPage::useEXIFCommentsChanged); | ||
| 66 | 66 | | |||
| 67 | m_stripEXIFComments = new QCheckBox(i18n("Strip out camera generated default descriptions"), box); | 67 | m_stripEXIFComments = new QCheckBox(i18n("Strip out camera generated default descriptions"), box); | ||
| 68 | connect(m_stripEXIFComments, &QCheckBox::stateChanged, this, &GeneralPage::stripEXIFCommentsChanged); | 68 | connect(m_stripEXIFComments, &QCheckBox::stateChanged, this, &GeneralPage::stripEXIFCommentsChanged); | ||
| 69 | lay->addWidget(m_stripEXIFComments, row, 1, 1, 4); | 69 | lay->addWidget(m_stripEXIFComments, row, 1, 1, 4); | ||
| 70 | 70 | | |||
| 71 | row++; | 71 | row++; | ||
| ▲ Show 20 Lines • Show All 73 Lines • ▼ Show 20 Line(s) | |||||
| 145 | m_listenForAndroidDevicesOnStartup = new QCheckBox(i18n("Listen for Android devices on startup")); | 145 | m_listenForAndroidDevicesOnStartup = new QCheckBox(i18n("Listen for Android devices on startup")); | ||
| 146 | lay->addWidget(m_listenForAndroidDevicesOnStartup); | 146 | lay->addWidget(m_listenForAndroidDevicesOnStartup); | ||
| 147 | 147 | | |||
| 148 | lay1->addStretch( 1 ); | 148 | lay1->addStretch( 1 ); | ||
| 149 | 149 | | |||
| 150 | // Whats This | 150 | // Whats This | ||
| 151 | QString txt; | 151 | QString txt; | ||
| 152 | 152 | | |||
| 153 | txt = i18n( "<p>KPhotoAlbum will try to read the image date from EXIF information in the image. " | 153 | txt = i18n( "<p>KPhotoAlbum will try to read the image date from Exif information in the image. " | ||
| 154 | "If that fails it will try to get the date from the file's time stamp.</p>" | 154 | "If that fails it will try to get the date from the file's time stamp.</p>" | ||
| 155 | "<p>However, this information will be wrong if the image was scanned in (you want the date the image " | 155 | "<p>However, this information will be wrong if the image was scanned in (you want the date the image " | ||
| 156 | "was taken, not the date of the scan).</p>" | 156 | "was taken, not the date of the scan).</p>" | ||
| 157 | "<p>If you only scan images, in contrast to sometimes using " | 157 | "<p>If you only scan images, in contrast to sometimes using " | ||
| 158 | "a digital camera, you should reply <b>no</b>. If you never scan images, you should reply <b>yes</b>, " | 158 | "a digital camera, you should reply <b>no</b>. If you never scan images, you should reply <b>yes</b>, " | ||
| 159 | "otherwise reply <b>ask</b>. This will allow you to decide whether the images are from " | 159 | "otherwise reply <b>ask</b>. This will allow you to decide whether the images are from " | ||
| 160 | "the scanner or the camera, from session to session.</p>" ); | 160 | "the scanner or the camera, from session to session.</p>" ); | ||
| 161 | timeStampLabel->setWhatsThis( txt ); | 161 | timeStampLabel->setWhatsThis( txt ); | ||
| ▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines | |||||