QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Public Member Functions | List of all members
QgsStyleSaveDialog Class Reference

a dialog for setting properties of a newly saved style. More...

#include <qgsstylesavedialog.h>

Inheritance diagram for QgsStyleSaveDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsStyleSaveDialog (QWidget *parent=nullptr, QgsStyle::StyleEntity type=QgsStyle::SymbolEntity)
 Constructor for QgsSymbolSaveDialog. More...
 
bool isFavorite () const
 Returns true if the favorite is checked for the symbol. More...
 
QString name () const
 Returns the entered name for the new symbol. More...
 
QgsStyle::StyleEntity selectedType () const
 Returns the type of style entity to save. More...
 
void setDefaultTags (const QString &tags)
 Sets the default tags for the newly created item. More...
 
QString tags () const
 Returns any tags entered for the new symbol (as a comma separated value list). More...
 

Detailed Description

a dialog for setting properties of a newly saved style.

Since
QGIS 3.0

Definition at line 33 of file qgsstylesavedialog.h.

Constructor & Destructor Documentation

◆ QgsStyleSaveDialog()

QgsStyleSaveDialog::QgsStyleSaveDialog ( QWidget *  parent = nullptr,
QgsStyle::StyleEntity  type = QgsStyle::SymbolEntity 
)

Constructor for QgsSymbolSaveDialog.

Parameters
parentparent widget
typethe QgsStyle entity type being saved

Definition at line 28 of file qgsstylesavedialog.cpp.

Member Function Documentation

◆ isFavorite()

bool QgsStyleSaveDialog::isFavorite ( ) const

Returns true if the favorite is checked for the symbol.

Definition at line 119 of file qgsstylesavedialog.cpp.

◆ name()

QString QgsStyleSaveDialog::name ( ) const

Returns the entered name for the new symbol.

Definition at line 104 of file qgsstylesavedialog.cpp.

◆ selectedType()

QgsStyle::StyleEntity QgsStyleSaveDialog::selectedType ( ) const

Returns the type of style entity to save.

Since
QGIS 3.10

Definition at line 124 of file qgsstylesavedialog.cpp.

◆ setDefaultTags()

void QgsStyleSaveDialog::setDefaultTags ( const QString &  tags)

Sets the default tags for the newly created item.

Since
QGIS 3.10

Definition at line 109 of file qgsstylesavedialog.cpp.

◆ tags()

QString QgsStyleSaveDialog::tags ( ) const

Returns any tags entered for the new symbol (as a comma separated value list).

Definition at line 114 of file qgsstylesavedialog.cpp.


The documentation for this class was generated from the following files: