|
| QgsLayoutView (QWidget *parent=nullptr) |
| Constructor for QgsLayoutView. More...
|
|
| ~QgsLayoutView () override |
|
void | alignSelectedItems (QgsLayoutAligner::Alignment alignment) |
| Aligns all selected items using the specified alignment. More...
|
|
void | copyItems (const QList< QgsLayoutItem * > &items, ClipboardOperation operation) |
| Cuts or copies the a list of items, respecting the specified operation. More...
|
|
void | copySelectedItems (ClipboardOperation operation) |
| Cuts or copies the selected items, respecting the specified operation. More...
|
|
QgsLayout * | currentLayout () |
| Returns the current layout associated with the view. More...
|
|
const QgsLayout * | currentLayout () const |
| Returns the current layout associated with the view. More...
|
|
int | currentPage () const |
| Returns the page visible in the view. More...
|
|
QPointF | deltaForKeyEvent (QKeyEvent *event) |
| Returns the delta (in layout coordinates) by which to move items for the given key event. More...
|
|
void | distributeSelectedItems (QgsLayoutAligner::Distribution distribution) |
| Distributes all selected items using the specified distribution. More...
|
|
bool | hasItemsInClipboard () const |
| Returns true if the current clipboard contains layout items. More...
|
|
QgsLayoutViewMenuProvider * | menuProvider () const |
| Returns the provider for context menus. More...
|
|
QList< QgsLayoutItem * > | pasteItems (PasteMode mode) |
| Pastes items from clipboard, using the specified mode. More...
|
|
QList< QgsLayoutItem * > | pasteItems (QPointF layoutPoint) |
| Pastes items from clipboard, at the specified layoutPoint, in layout units. More...
|
|
QgsPreviewEffect::PreviewMode | previewMode () const |
| Returns the preview mode which may be used to modify the view's appearance. More...
|
|
bool | previewModeEnabled () const |
| Returns true if a preview effect is being used to alter the view's appearance. More...
|
|
void | resizeSelectedItems (QgsLayoutAligner::Resize resize) |
| Resizes all selected items using the specified resize mode. More...
|
|
void | scaleSafe (double scale) |
| Scales the view in a safe way, by limiting the acceptable range of the scale applied. More...
|
|
void | setCurrentLayout (QgsLayout *layout) |
| Sets the current layout to edit in the view. More...
|
|
void | setHorizontalRuler (QgsLayoutRuler *ruler) |
| Sets a horizontal ruler to synchronize with the view state. More...
|
|
void | setMenuProvider (QgsLayoutViewMenuProvider *provider) |
| Sets a provider for context menus. More...
|
|
void | setPaintingEnabled (bool enabled) |
| Sets whether widget repainting should be allowed for the view. More...
|
|
void | setPreviewMode (QgsPreviewEffect::PreviewMode mode) |
| Sets the preview mode which should be used to modify the view's appearance. More...
|
|
void | setPreviewModeEnabled (bool enabled) |
| Sets whether a preview effect should be used to alter the view's appearance. More...
|
|
void | setSectionLabel (const QString &label) |
| Sets a section label, to display above the first page shown in the view. More...
|
|
void | setTool (QgsLayoutViewTool *tool) |
| Sets the tool currently being used in the view. More...
|
|
void | setVerticalRuler (QgsLayoutRuler *ruler) |
| Sets a vertical ruler to synchronize with the view state. More...
|
|
void | setZoomLevel (double level) |
| Sets the zoom level for the view, where a zoom level of 1.0 corresponds to 100%. More...
|
|
QgsLayoutViewTool * | tool () |
| Returns the currently active tool for the view. More...
|
|
void | unsetTool (QgsLayoutViewTool *tool) |
| Unsets the current view tool, if it matches the specified tool. More...
|
|
QList< int > | visiblePageNumbers () const |
| Returns a list of page numbers for pages which are currently visible in the view. More...
|
|
QList< QgsLayoutItemPage * > | visiblePages () const |
| Returns a list of page items which are currently visible in the view. More...
|
|