Changeset View
Changeset View
Standalone View
Standalone View
Settings/FileVersionDetectionPage.cpp
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Line(s) | 90 | { | |||
---|---|---|---|---|---|
102 | layout->addWidget(m_modifiedFileComponent); | 102 | layout->addWidget(m_modifiedFileComponent); | ||
103 | 103 | | |||
104 | QLabel* originalFileComponentLabel = new QLabel( i18n("Original file replacement text:" ), modifiedBox ); | 104 | QLabel* originalFileComponentLabel = new QLabel( i18n("Original file replacement text:" ), modifiedBox ); | ||
105 | layout->addWidget(originalFileComponentLabel); | 105 | layout->addWidget(originalFileComponentLabel); | ||
106 | 106 | | |||
107 | m_originalFileComponent = new QLineEdit(modifiedBox); | 107 | m_originalFileComponent = new QLineEdit(modifiedBox); | ||
108 | layout->addWidget(m_originalFileComponent); | 108 | layout->addWidget(m_originalFileComponent); | ||
109 | 109 | | |||
110 | m_moveOriginalContents = new QCheckBox(i18n("Move meta-data (i.e. delete tags from the original):"), modifiedBox); | 110 | m_moveOriginalContents = new QCheckBox(i18n("Move meta-data (i.e. delete tags from the original)"), modifiedBox); | ||
111 | layout->addWidget(m_moveOriginalContents); | 111 | layout->addWidget(m_moveOriginalContents); | ||
112 | 112 | | |||
113 | m_autoStackNewFiles = new QCheckBox(i18n("Automatically stack new versions of images"), modifiedBox); | 113 | m_autoStackNewFiles = new QCheckBox(i18n("Automatically stack new versions of images"), modifiedBox); | ||
114 | layout->addWidget(m_autoStackNewFiles); | 114 | layout->addWidget(m_autoStackNewFiles); | ||
115 | 115 | | |||
116 | txt = i18n( "<p>When KPhotoAlbum searches for new files and finds a file that matches the " | 116 | txt = i18n( "<p>When KPhotoAlbum searches for new files and finds a file that matches the " | ||
117 | "<i>modified file search regexp</i> it is assumed that an original version of " | 117 | "<i>modified file search regexp</i> it is assumed that an original version of " | ||
118 | "the image may exist. The regexp pattern will be replaced with the <i>original " | 118 | "the image may exist. The regexp pattern will be replaced with the <i>original " | ||
Show All 24 Lines | |||||
143 | txt = i18n( "<p>If this option is set, new versions of an image are automatically stacked " | 143 | txt = i18n( "<p>If this option is set, new versions of an image are automatically stacked " | ||
144 | "and placed to the top of the stack. This way the new image is shown when the " | 144 | "and placed to the top of the stack. This way the new image is shown when the " | ||
145 | "stack is in collapsed state - the default state in KPhotoAlbum.</p>" ); | 145 | "stack is in collapsed state - the default state in KPhotoAlbum.</p>" ); | ||
146 | m_autoStackNewFiles->setWhatsThis( txt ); | 146 | m_autoStackNewFiles->setWhatsThis( txt ); | ||
147 | } | 147 | } | ||
148 | 148 | | |||
149 | // Copy File Support | 149 | // Copy File Support | ||
150 | { | 150 | { | ||
151 | QGroupBox* copyBox = new QGroupBox( i18nc("Configure the feature to make a copy of a file first and then open the copied file with an external application", "Copy File and Open with an External Application"), this ); | 151 | QGroupBox* copyBox = new QGroupBox( i18nc("Configure the feature to make a copy of a file first and then open the copied file with an external application", "Copy File and Open with an External Application"), this ); | ||
pino: extra whitespace changes | |||||
152 | topLayout->addWidget( copyBox ); | 152 | topLayout->addWidget( copyBox ); | ||
153 | QVBoxLayout* layout = new QVBoxLayout(copyBox); | 153 | QVBoxLayout* layout = new QVBoxLayout(copyBox); | ||
154 | 154 | | |||
155 | QLabel* copyFileComponentLabel = new QLabel( i18n("Copy file search regexp:" ), copyBox ); | 155 | QLabel* copyFileComponentLabel = new QLabel( i18n("Copy file search regexp:" ), copyBox ); | ||
156 | layout->addWidget(copyFileComponentLabel); | 156 | layout->addWidget(copyFileComponentLabel); | ||
157 | 157 | | |||
158 | m_copyFileComponent = new QLineEdit(copyBox); | 158 | m_copyFileComponent = new QLineEdit(copyBox); | ||
159 | layout->addWidget(m_copyFileComponent); | 159 | layout->addWidget(m_copyFileComponent); | ||
▲ Show 20 Lines • Show All 65 Lines • Show Last 20 Lines |
extra whitespace changes