QGIS API Documentation 3.39.0-Master (bca3cdb6021)
|
a dialog for setting properties of a newly saved style. More...
#include <qgsstylesavedialog.h>
Public Member Functions | |
QgsStyleSaveDialog (QWidget *parent=nullptr, QgsStyle::StyleEntity type=QgsStyle::SymbolEntity) | |
Constructor for QgsSymbolSaveDialog. | |
QgsStyle * | destinationStyle () |
Returns the destination style database. | |
bool | isFavorite () const |
Returns true if the favorite is checked for the symbol. | |
QString | name () const |
Returns the entered name for the new symbol. | |
QgsStyle::StyleEntity | selectedType () const |
Returns the type of style entity to save. | |
void | setDefaultTags (const QString &tags) |
Sets the default tags for the newly created item. | |
QString | tags () const |
Returns any tags entered for the new symbol (as a comma separated value list). | |
a dialog for setting properties of a newly saved style.
Definition at line 32 of file qgsstylesavedialog.h.
QgsStyleSaveDialog::QgsStyleSaveDialog | ( | QWidget * | parent = nullptr , |
QgsStyle::StyleEntity | type = QgsStyle::SymbolEntity |
||
) |
Constructor for QgsSymbolSaveDialog.
parent | parent widget |
type | the QgsStyle entity type being saved |
Definition at line 30 of file qgsstylesavedialog.cpp.
QgsStyle * QgsStyleSaveDialog::destinationStyle | ( | ) |
Returns the destination style database.
Definition at line 167 of file qgsstylesavedialog.cpp.
bool QgsStyleSaveDialog::isFavorite | ( | ) | const |
Returns true
if the favorite is checked for the symbol.
Definition at line 154 of file qgsstylesavedialog.cpp.
QString QgsStyleSaveDialog::name | ( | ) | const |
Returns the entered name for the new symbol.
Definition at line 139 of file qgsstylesavedialog.cpp.
QgsStyle::StyleEntity QgsStyleSaveDialog::selectedType | ( | ) | const |
Returns the type of style entity to save.
Definition at line 159 of file qgsstylesavedialog.cpp.
void QgsStyleSaveDialog::setDefaultTags | ( | const QString & | tags | ) |
Sets the default tags for the newly created item.
Definition at line 144 of file qgsstylesavedialog.cpp.
QString QgsStyleSaveDialog::tags | ( | ) | const |
Returns any tags entered for the new symbol (as a comma separated value list).
Definition at line 149 of file qgsstylesavedialog.cpp.