~ubuntu-branches/ubuntu/natty/digikam/natty

« back to all changes in this revision

Viewing changes to utilities/setup/setupmisc.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2010-08-26 19:25:16 UTC
  • mfrom: (1.2.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20100826192516-mkbdww0h5v2x4yoy
Tags: 2:1.4.0-0ubuntu1
* New upstream bugfix release (LP: #626751)
* Install the file NEWS as upstream changelog because "ChangeLog" is
  too verbose.
* Don't copy the desktop .pot file to imageplugins, not needed anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 * Description : mics configuration setup tab
8
8
 *
9
9
 * Copyright (C) 2004 by Renchi Raju <renchi@pooh.tam.uiuc.edu>
10
 
 * Copyright (C) 2005-2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
 
10
 * Copyright (C) 2005-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
11
 *
12
12
 * This program is free software; you can redistribute it
13
13
 * and/or modify it under the terms of the GNU General
78
78
SetupMisc::SetupMisc(QWidget* parent)
79
79
         : QScrollArea(parent), d(new SetupMiscPriv)
80
80
{
81
 
    QWidget *panel = new QWidget(viewport());
 
81
    QWidget* panel = new QWidget(viewport());
82
82
    setWidget(panel);
83
83
    setWidgetResizable(true);
84
84
 
85
 
    QVBoxLayout *layout               = new QVBoxLayout(panel);
 
85
    QVBoxLayout* layout               = new QVBoxLayout(panel);
86
86
    d->showTrashDeleteDialogCheck     = new QCheckBox(i18n("Confirm when moving items to the &trash."), panel);
87
87
    d->showPermanentDeleteDialogCheck = new QCheckBox(i18n("Confirm when permanently deleting items."), panel);
88
88
    d->sidebarApplyDirectlyCheck      = new QCheckBox(i18n("Do not confirm when applying changes in the &right sidebar."), panel);
89
89
    d->showSplashCheck                = new QCheckBox(i18n("&Show splash screen at startup."), panel);
90
90
    d->scanAtStart                    = new QCheckBox(i18n("&Scan for new items at startup (makes startup slower.)"), panel);
91
91
 
92
 
    KHBox *tabStyleHbox = new KHBox(panel);
 
92
    KHBox* tabStyleHbox = new KHBox(panel);
93
93
    d->sidebarTypeLabel = new QLabel(i18n("Sidebar tab title:"), tabStyleHbox);
94
94
    d->sidebarType      = new KComboBox(tabStyleHbox);
95
95
    d->sidebarType->addItem(i18n("Only For Active Tab"), 0);
96
96
    d->sidebarType->addItem(i18n("For All Tabs"),        1);
97
97
    d->sidebarType->setToolTip(i18n("Set this option to configure how sidebar tab titles are visible."));
98
98
 
99
 
    KHBox *stringComparisonHbox  = new KHBox(panel);
 
99
    KHBox* stringComparisonHbox  = new KHBox(panel);
100
100
    d->stringComparisonTypeLabel = new QLabel(i18n("String comparison type:"), stringComparisonHbox);
101
101
    d->stringComparisonType      = new KComboBox(stringComparisonHbox);
102
102
    d->stringComparisonType->addItem(i18nc("method to compare strings", "Natural"), AlbumSettings::Natural);
103
103
    d->stringComparisonType->addItem(i18nc("method to compare strings", "Normal"),  AlbumSettings::Normal);
104
 
    d->stringComparisonType->setToolTip(i18n("Sets the way in which strings are compared inside digiKam. "
 
104
    d->stringComparisonType->setToolTip(i18n("<qt>Sets the way in which strings are compared inside digiKam. "
105
105
                    "This eg. influences the sorting of the tree views.<br/>"
106
106
                    "<b>Natural</b> tries to compare strings in a way that regards some normal conventions "
107
107
                    "and will eg. result in sorting numbers naturally even if they have a different number of digits.<br/>"
108
108
                    "<b>Normal</b> uses a more technical approach. "
109
109
                    "Use this style if you eg. want to entitle albums with ISO dates (201006 or 20090523) "
110
 
                    "and the albums should be sorted according to these dates."));
 
110
                    "and the albums should be sorted according to these dates.</qt>"));
111
111
 
112
112
    // --------------------------------------------------------
113
113