15#ifndef QGSLEGENDPATCHSHAPEBUTTON_H
16#define QGSLEGENDPATCHSHAPEBUTTON_H
80 void setDialogTitle(
const QString &title );
86 QString dialogTitle()
const;
135 void showEvent( QShowEvent *e )
override;
143 void showSettingsDialog();
150 void loadPatchFromStyle(
const QString &name );
157 QString mDialogTitle;
161 std::unique_ptr<QgsSymbol> mPreviewSymbol;
165 QMenu *mMenu =
nullptr;
169 bool mIsDefault =
true;
174 void updatePreview();
Represents a patch shape for use in map legends.
A bar for displaying non-blocking messages to the user.
Abstract base class for all rendered symbols.