15#ifndef QGSLEGENDPATCHSHAPEBUTTON_H
16#define QGSLEGENDPATCHSHAPEBUTTON_H
79 void setDialogTitle(
const QString &title );
85 QString dialogTitle()
const;
134 void showEvent( QShowEvent *e )
override;
142 void showSettingsDialog();
149 void loadPatchFromStyle(
const QString &name );
156 QString mDialogTitle;
160 std::unique_ptr<QgsSymbol> mPreviewSymbol;
164 QMenu *mMenu =
nullptr;
168 bool mIsDefault =
true;
173 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.