18 #ifndef QGSLAYOUTMAPWIDGET_H    19 #define QGSLAYOUTMAPWIDGET_H    25 #include "ui_qgslayoutmapwidgetbase.h"    26 #include "ui_qgslayoutmaplabelingwidgetbase.h"    56     void mScaleLineEdit_editingFinished();
    57     void setToMapCanvasExtent();
    58     void setToMapCanvasScale();
    59     void viewExtentInCanvas();
    60     void viewScaleInCanvas();
    62     void mFollowVisibilityPresetCheckBox_stateChanged( 
int state );
    63     void mKeepLayerListCheckBox_stateChanged( 
int state );
    64     void mKeepLayerStylesCheckBox_stateChanged( 
int state );
    65     void mDrawCanvasItemsCheckBox_stateChanged( 
int state );
    67     void mOverviewBlendModeComboBox_currentIndexChanged( 
int index );
    68     void mOverviewInvertCheckbox_toggled( 
bool state );
    69     void mOverviewCenterCheckbox_toggled( 
bool state );
    70     void overviewStackingChanged( 
int value );
    71     void overviewStackingLayerChanged( 
QgsMapLayer *layer );
    73     void mXMinLineEdit_editingFinished();
    74     void mXMaxLineEdit_editingFinished();
    75     void mYMinLineEdit_editingFinished();
    76     void mYMaxLineEdit_editingFinished();
    78     void mAtlasMarginRadio_toggled( 
bool checked );
    80     void mAtlasCheckBox_toggled( 
bool checked );
    81     void mAtlasMarginSpinBox_valueChanged( 
int value );
    82     void mAtlasFixedScaleRadio_toggled( 
bool checked );
    83     void mAtlasPredefinedScaleRadio_toggled( 
bool checked );
    85     void mAddGridPushButton_clicked();
    86     void mRemoveGridPushButton_clicked();
    87     void mGridUpButton_clicked();
    88     void mGridDownButton_clicked();
    91     void mGridListWidget_currentItemChanged( QListWidgetItem *current, QListWidgetItem *previous );
    92     void mGridListWidget_itemChanged( QListWidgetItem *item );
    93     void mGridPropertiesButton_clicked();
    96     void mAddOverviewPushButton_clicked();
    97     void mRemoveOverviewPushButton_clicked();
    98     void mOverviewUpButton_clicked();
    99     void mOverviewDownButton_clicked();
   101     void mOverviewCheckBox_toggled( 
bool state );
   102     void mOverviewListWidget_currentItemChanged( QListWidgetItem *current, QListWidgetItem *previous );
   103     void mOverviewListWidget_itemChanged( QListWidgetItem *item );
   104     void setOverviewItemsEnabled( 
bool enabled );
   106     void blockOverviewItemsSignals( 
bool block );
   113     void populateDataDefinedButtons();
   118     void updateGuiElements();
   124     void compositionAtlasToggled( 
bool atlasEnabled );
   126     void aboutToShowKeepLayersVisibilityPresetsMenu();
   128     void followVisibilityPresetSelected( 
int currentIndex );
   129     void keepLayersVisibilityPresetSelected();
   131     void onMapThemesChanged();
   134     void overviewSymbolChanged();
   135     void showLabelSettings();
   136     void switchToMoveContentTool();
   137     void aboutToShowBookmarkMenu();
   140     QPointer< QgsLayoutItemMap > mMapItem;
   144     QPointer< QgsLayoutMapLabelingWidget > mLabelWidget;
   145     QMenu *mBookmarkMenu = 
nullptr;
   149     void updateComposerExtentFromGui();
   152     void blockAllSignals( 
bool b );
   154     void rotationChanged( 
double value );
   157     void toggleAtlasScalingOptionsByLayerType();
   160     void updateMapForAtlas();
   163     bool hasPredefinedScales() 
const;
   165     QListWidgetItem *addGridListItem( 
const QString &
id, 
const QString &name );
   167     void loadGridEntries();
   169     QListWidgetItem *addOverviewListItem( 
const QString &
id, 
const QString &name );
   171     void loadOverviewEntries();
   173     void storeCurrentLayerSet();
   179     QList<QgsMapLayer *> orderedPresetVisibleLayers( 
const QString &name ) 
const;
   198     int columnCount( 
const QModelIndex &parent = QModelIndex() ) 
const override;
   199     QVariant data( 
const QModelIndex &index, 
int role ) 
const override;
   200     bool setData( 
const QModelIndex &index, 
const QVariant &value, 
int role ) 
override;
   201     Qt::ItemFlags flags( 
const QModelIndex &index ) 
const override;
   205     bool filterAcceptsRow( 
int source_row, 
const QModelIndex &source_parent ) 
const override;
   209     QPointer< QgsLayoutItemMap > mMapItem;
   232     void updateGuiElements();
   233     void labelMarginChanged( 
double val );
   234     void labelMarginUnitsChanged();
   235     void showPartialsToggled( 
bool checked );
   236     void showUnplacedToggled( 
bool checked );
   239     QPointer< QgsLayoutItemMap > mMapItem;
 Base class for all map layer types. 
 
Base class for graphical items within a QgsLayout. 
 
An individual overview which is drawn above the map content in a QgsLayoutItemMap, and shows the extent of another QgsLayoutItemMap. 
 
A common interface for layout designer dialogs and widgets. 
 
const QgsCoordinateReferenceSystem & crs
 
Map canvas is a class for displaying all GIS data types on a canvas. 
 
Layout graphical items for displaying a map. 
 
An individual grid which is drawn above the map content in a QgsLayoutItemMap. 
 
A QSortFilterProxyModel subclass for sorting the entries in a QgsBookmarkManagerModel. 
 
This class represents a coordinate reference system (CRS). 
 
A model for items attached to a layout. 
 
Model for label blocking items. 
 
Interface for master layout type objects, such as print layouts and reports. 
 
Represents a vector layer which manages a vector based data sets.