From e1d9b6dd1a9f52c53ba5967f5bb42a53844b1f25 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 21 Apr 2008 08:12:43 +0000 Subject: [PATCH] make the text of the creation and modification date labels copyable svn path=/trunk/KDE/kdegraphics/okular/; revision=799321 --- ui/annotationpropertiesdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/annotationpropertiesdialog.cpp b/ui/annotationpropertiesdialog.cpp index ab90a7b93..12475fed0 100644 --- a/ui/annotationpropertiesdialog.cpp +++ b/ui/annotationpropertiesdialog.cpp @@ -100,10 +100,12 @@ AnnotsPropertiesDialog::AnnotsPropertiesDialog( QWidget *parent, Okular::Documen tmplabel = new QLabel( page ); tmplabel->setText( i18n( "Created: %1", KGlobal::locale()->formatDateTime( ann->creationDate(), KLocale::LongDate, true ) ) ); + tmplabel->setTextInteractionFlags( Qt::TextSelectableByMouse ); gridlayout->addWidget( tmplabel, 1, 0, 1, 2 ); m_modifyDateLabel = new QLabel( page ); m_modifyDateLabel->setText( i18n( "Modified: %1", KGlobal::locale()->formatDateTime( ann->modificationDate(), KLocale::LongDate, true ) ) ); + m_modifyDateLabel->setTextInteractionFlags( Qt::TextSelectableByMouse ); gridlayout->addWidget( m_modifyDateLabel, 2, 0, 1, 2 ); gridlayout->addItem( new QSpacerItem( 5, 5, QSizePolicy::Fixed, QSizePolicy::MinimumExpanding ), 3, 0 );