Okular
10#include "okularcore_export.h"
29class OKULARCORE_EXPORT
View
33 friend class DocumentPrivate;
57 Q_DECLARE_FLAGS(CapabilityFlags, CapabilityFlag)
75 virtual bool supportsCapability(ViewCapability capability)
const;
80 virtual CapabilityFlags capabilityFlags(ViewCapability capability)
const;
85 virtual QVariant capability(ViewCapability capability)
const;
90 virtual void setCapability(ViewCapability capability,
const QVariant &option);
99 Q_DECLARE_PRIVATE(
View)
109Q_DECLARE_OPERATORS_FOR_FLAGS(Okular::View::CapabilityFlags)
View(const QString &name)
Construct a new view with the specified name.
CapabilityFlag
The access type of a capability.
@ CapabilityRead
Possibility to read a capability.
@ CapabilityWrite
Possibility to write a capability.
@ CapabilitySerializable
The capability is suitable for being serialized/deserialized.
ViewCapability
The capabilities of a view.
@ ZoomModality
Possibility to get/set the zoom mode of the view.
@ Zoom
Possibility to get/set the zoom of the view.
@ TrimMargins
Possibility to toggle trim-margins mode.
@ ViewModeModality
Possibility to get/set the view mode.
@ Continuous
Possibility to toggle continuous mode.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:47:33 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.