mirror of
https://invent.kde.org/graphics/okular
synced 2024-09-29 20:54:45 +00:00
668dcad8da
Ctrl+right mouse button is what is needed to do that. At the moment, only line, stamp and geometric annotations can be moved with mouse dragging. svn path=/trunk/KDE/kdegraphics/okular/; revision=689185
35 lines
1.2 KiB
C++
35 lines
1.2 KiB
C++
/***************************************************************************
|
|
* Copyright (C) 2006 by Pino Toscano <pino@kde.org> *
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
***************************************************************************/
|
|
|
|
#ifndef ANNOTATIONGUIUTILS_H
|
|
#define ANNOTATIONGUIUTILS_H
|
|
|
|
#include <QtCore/QString>
|
|
|
|
namespace Okular {
|
|
class Annotation;
|
|
}
|
|
|
|
class AnnotationGuiUtils
|
|
{
|
|
public:
|
|
/**
|
|
* Returns the translated string with the type of the given @p annotation.
|
|
*/
|
|
static QString captionForAnnotation( Okular::Annotation * annotation );
|
|
|
|
static QString contents( const Okular::Annotation * annotation );
|
|
static QString contentsHtml( const Okular::Annotation * annotation );
|
|
|
|
static bool canBeMoved( Okular::Annotation * annotation );
|
|
};
|
|
|
|
|
|
#endif
|