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" ) );
69 this->setWindowTitle( tr(
"Save New 3D Symbol" ) );
78 if ( possibleEntities.size() < 2 )
90 mComboSaveAs->addItem( tr(
"Symbol" ), e );
118 mComboSaveAs->setCurrentIndex( 0 );
124 return mName->text();
129 mTags->setCurrentText( tags );
134 return mTags->currentText();
139 return mFavorite->isChecked();
144 if ( mComboSaveAs->count() > 0 )