37 defaultTags.sort( Qt::CaseInsensitive );
38 mTags->addItems( defaultTags );
40 QList< QgsStyle::StyleEntity > possibleEntities;
44 this->setWindowTitle( tr(
"Save New Symbol" ) );
49 this->setWindowTitle( tr(
"Save New Color Ramp" ) );
54 this->setWindowTitle( tr(
"Save New Text Format" ) );
59 this->setWindowTitle( tr(
"Save New Label Settings" ) );
64 this->setWindowTitle( tr(
"Save New Legend Patch Shape" ) );
73 if ( possibleEntities.size() < 2 )
85 mComboSaveAs->addItem( tr(
"Symbol" ), e );
109 mComboSaveAs->setCurrentIndex( 0 );
115 return mName->text();
120 mTags->setCurrentText( tags );
125 return mTags->currentText();
130 return mFavorite->isChecked();
135 if ( mComboSaveAs->count() > 0 )