15#ifndef QGSLEGENDPATCHSHAPEBUTTON_H 
   16#define QGSLEGENDPATCHSHAPEBUTTON_H 
   48    QSize minimumSizeHint() 
const override;
 
   49    QSize sizeHint() 
const override;
 
   77    void setDialogTitle( 
const QString &title );
 
   83    QString dialogTitle() 
const;
 
  131    void changeEvent( QEvent *e ) 
override;
 
  132    void showEvent( QShowEvent *e ) 
override;
 
  133    void resizeEvent( QResizeEvent *event ) 
override;
 
  136    void mousePressEvent( QMouseEvent *e ) 
override;
 
  140    void showSettingsDialog();
 
  147    void loadPatchFromStyle( 
const QString &name );
 
  154    QString mDialogTitle;
 
  158    std::unique_ptr<QgsSymbol> mPreviewSymbol;
 
  162    QMenu *mMenu = 
nullptr;
 
  166    bool mIsDefault = 
true;
 
  171    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.