mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
[gui/hidpi] vectorize attribute table toolbar icons
This commit is contained in:
parent
ace324b636
commit
aae8fefd91
@ -184,12 +184,14 @@
|
||||
<file>themes/default/mActionCapturePolygon.png</file>
|
||||
<file>themes/default/mActionCapturePolygon.svg</file>
|
||||
<file>themes/default/mActionNewTableRow.png</file>
|
||||
<file>themes/default/mActionNewTableRow.svg</file>
|
||||
<file>themes/default/mActionChangeLabelProperties.png</file>
|
||||
<file>themes/default/mActionChangeLabelProperties.svg</file>
|
||||
<file>themes/default/mActionCheckQgisVersion.png</file>
|
||||
<file>themes/default/mActionCollapseTree.png</file>
|
||||
<file>themes/default/mActionCollapseTree.svg</file>
|
||||
<file>themes/default/mActionComposerManager.svg</file>
|
||||
<file>themes/default/mActionConditionalFormatting.svg</file>
|
||||
<file>themes/default/mActionContextHelp.png</file>
|
||||
<file>themes/default/mActionCopySelected.png</file>
|
||||
<file>themes/default/mActionCreateMemory.png</file>
|
||||
@ -198,6 +200,7 @@
|
||||
<file>themes/default/mActionDecreaseBrightness.svg</file>
|
||||
<file>themes/default/mActionDecreaseContrast.svg</file>
|
||||
<file>themes/default/mActionDeleteAttribute.png</file>
|
||||
<file>themes/default/mActionDeleteAttribute.svg</file>
|
||||
<file>themes/default/mActionDeletePart.png</file>
|
||||
<file>themes/default/mActionDeletePart.svg</file>
|
||||
<file>themes/default/mActionDeleteRing.png</file>
|
||||
@ -293,6 +296,7 @@
|
||||
<file>themes/default/mActionMoveLabel.svg</file>
|
||||
<file>themes/default/mActionMoveVertex.png</file>
|
||||
<file>themes/default/mActionNewAttribute.png</file>
|
||||
<file>themes/default/mActionNewAttribute.svg</file>
|
||||
<file>themes/default/mActionNewBookmark.png</file>
|
||||
<file>themes/default/mActionNewBookmark.svg</file>
|
||||
<file>themes/default/mActionNewComposer.svg</file>
|
||||
@ -351,6 +355,7 @@
|
||||
<file>themes/default/mActionSelectAll.png</file>
|
||||
<file>themes/default/mActionSelectAll.svg</file>
|
||||
<file>themes/default/mActionSelectedToTop.png</file>
|
||||
<file>themes/default/mActionSelectedToTop.svg</file>
|
||||
<file>themes/default/mActionSelectFreehand.svg</file>
|
||||
<file>themes/default/mActionSelectPan.png</file>
|
||||
<file>themes/default/mActionSelectPolygon.svg</file>
|
||||
|
2104
images/themes/default/mActionConditionalFormatting.svg
Normal file
2104
images/themes/default/mActionConditionalFormatting.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 82 KiB |
1023
images/themes/default/mActionDeleteAttribute.svg
Normal file
1023
images/themes/default/mActionDeleteAttribute.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 38 KiB |
1317
images/themes/default/mActionNewAttribute.svg
Normal file
1317
images/themes/default/mActionNewAttribute.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 48 KiB |
1312
images/themes/default/mActionNewTableRow.svg
Normal file
1312
images/themes/default/mActionNewTableRow.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 47 KiB |
1281
images/themes/default/mActionSelectedToTop.svg
Normal file
1281
images/themes/default/mActionSelectedToTop.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 46 KiB |
@ -10609,7 +10609,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer* layer )
|
||||
}
|
||||
else if ( vlayer->geometryType() == QGis::NoGeometry )
|
||||
{
|
||||
mActionAddFeature->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.png" ) );
|
||||
mActionAddFeature->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.svg" ) );
|
||||
}
|
||||
|
||||
mActionOpenFieldCalc->setEnabled( true );
|
||||
|
@ -206,7 +206,7 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid
|
||||
|
||||
mActionRemoveSelection->setIcon( QgsApplication::getThemeIcon( "/mActionDeselectAll.svg" ) );
|
||||
mActionSelectAll->setIcon( QgsApplication::getThemeIcon( "/mActionSelectAll.svg" ) );
|
||||
mActionSelectedToTop->setIcon( QgsApplication::getThemeIcon( "/mActionSelectedToTop.png" ) );
|
||||
mActionSelectedToTop->setIcon( QgsApplication::getThemeIcon( "/mActionSelectedToTop.svg" ) );
|
||||
mActionCopySelectedRows->setIcon( QgsApplication::getThemeIcon( "/mActionEditCopy.svg" ) );
|
||||
mActionPasteFeatures->setIcon( QgsApplication::getThemeIcon( "/mActionEditPaste.svg" ) );
|
||||
mActionZoomMapToSelectedRows->setIcon( QgsApplication::getThemeIcon( "/mActionZoomToSelected.svg" ) );
|
||||
@ -216,12 +216,12 @@ QgsAttributeTableDialog::QgsAttributeTableDialog( QgsVectorLayer *theLayer, QWid
|
||||
mActionSaveEdits->setIcon( QgsApplication::getThemeIcon( "/mActionSaveEdits.svg" ) );
|
||||
mActionDeleteSelected->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteSelected.svg" ) );
|
||||
mActionOpenFieldCalculator->setIcon( QgsApplication::getThemeIcon( "/mActionCalculateField.svg" ) );
|
||||
mActionAddAttribute->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.png" ) );
|
||||
mActionRemoveAttribute->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.png" ) );
|
||||
mActionAddAttribute->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.svg" ) );
|
||||
mActionRemoveAttribute->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.svg" ) );
|
||||
mTableViewButton->setIcon( QgsApplication::getThemeIcon( "/mActionOpenTable.svg" ) );
|
||||
mAttributeViewButton->setIcon( QgsApplication::getThemeIcon( "/mActionPropertyItem.png" ) );
|
||||
mActionExpressionSelect->setIcon( QgsApplication::getThemeIcon( "/mIconExpressionSelect.svg" ) );
|
||||
mActionAddFeature->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.png" ) );
|
||||
mActionAddFeature->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.svg" ) );
|
||||
|
||||
// toggle editing
|
||||
bool canChangeAttributes = mLayer->dataProvider()->capabilities() & QgsVectorDataProvider::ChangeAttributeValues;
|
||||
|
@ -59,8 +59,8 @@ QgsFieldsProperties::QgsFieldsProperties( QgsVectorLayer *layer, QWidget* parent
|
||||
// Init as hidden by default, it will be enabled if project is set to
|
||||
mAttributeEditorOptionsWidget->setVisible( false );
|
||||
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.png" ) );
|
||||
mDeleteAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.png" ) );
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.svg" ) );
|
||||
mDeleteAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.svg" ) );
|
||||
mToggleEditingButton->setIcon( QgsApplication::getThemeIcon( "/mActionToggleEditing.svg" ) );
|
||||
mCalculateFieldButton->setIcon( QgsApplication::getThemeIcon( "/mActionCalculateField.svg" ) );
|
||||
|
||||
|
@ -50,8 +50,8 @@ QgsNewSpatialiteLayerDialog::QgsNewSpatialiteLayerDialog( QWidget *parent, Qt::W
|
||||
QSettings settings;
|
||||
restoreGeometry( settings.value( "/Windows/NewSpatiaLiteLayer/geometry" ).toByteArray() );
|
||||
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.png" ) );
|
||||
mRemoveAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.png" ) );
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.svg" ) );
|
||||
mRemoveAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.svg" ) );
|
||||
mTypeBox->addItem( tr( "Text data" ), "text" );
|
||||
mTypeBox->addItem( tr( "Whole number" ), "integer" );
|
||||
mTypeBox->addItem( tr( "Decimal number" ), "real" );
|
||||
|
@ -63,8 +63,8 @@ QgsNewGeoPackageLayerDialog::QgsNewGeoPackageLayerDialog( QWidget *parent, Qt::W
|
||||
QSettings settings;
|
||||
restoreGeometry( settings.value( "/Windows/NewGeoPackageLayer/geometry" ).toByteArray() );
|
||||
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.png" ) );
|
||||
mRemoveAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.png" ) );
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.svg" ) );
|
||||
mRemoveAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.svg" ) );
|
||||
|
||||
#ifdef SUPPORT_GEOMETRY_LESS
|
||||
mGeometryTypeBox->addItem( tr( "Non spatial" ), wkbNone );
|
||||
|
@ -40,8 +40,8 @@ QgsNewVectorLayerDialog::QgsNewVectorLayerDialog( QWidget *parent, const Qt::Win
|
||||
QSettings settings;
|
||||
restoreGeometry( settings.value( "/Windows/NewVectorLayer/geometry" ).toByteArray() );
|
||||
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.png" ) );
|
||||
mRemoveAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.png" ) );
|
||||
mAddAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.svg" ) );
|
||||
mRemoveAttributeButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.svg" ) );
|
||||
mTypeBox->addItem( tr( "Text data" ), "String" );
|
||||
mTypeBox->addItem( tr( "Whole number" ), "Integer" );
|
||||
mTypeBox->addItem( tr( "Decimal number" ), "Real" );
|
||||
|
@ -40,9 +40,9 @@ QgsRasterLayerSaveAsDialog::QgsRasterLayerSaveAsDialog( QgsRasterLayer* rasterLa
|
||||
, mResolutionState( OriginalResolution )
|
||||
{
|
||||
setupUi( this );
|
||||
mAddNoDataManuallyToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.png" ) );
|
||||
mAddNoDataManuallyToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewAttribute.svg" ) );
|
||||
mLoadTransparentNoDataToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionCopySelected.png" ) );
|
||||
mRemoveSelectedNoDataToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.png" ) );
|
||||
mRemoveSelectedNoDataToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionDeleteAttribute.svg" ) );
|
||||
mRemoveAllNoDataToolButton->setIcon( QgsApplication::getThemeIcon( "/mActionRemove.png" ) );
|
||||
|
||||
mNoDataTableWidget->setColumnCount( 2 );
|
||||
|
@ -58,7 +58,7 @@ QgsRelationEditorWidget::QgsRelationEditorWidget( QWidget* parent )
|
||||
buttonLayout->addWidget( mSaveEditsButton );
|
||||
// add feature
|
||||
mAddFeatureButton = new QToolButton( this );
|
||||
mAddFeatureButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.png" ) );
|
||||
mAddFeatureButton->setIcon( QgsApplication::getThemeIcon( "/mActionNewTableRow.svg" ) );
|
||||
mAddFeatureButton->setText( tr( "Add child feature" ) );
|
||||
mAddFeatureButton->setToolTip( tr( "Add child feature" ) );
|
||||
mAddFeatureButton->setObjectName( "mAddFeatureButton" );
|
||||
|
@ -400,7 +400,7 @@
|
||||
<action name="mActionAddFeature">
|
||||
<property name="icon">
|
||||
<iconset resource="../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/mActionNewTableRow.png</normaloff>:/images/themes/default/mActionNewTableRow.png</iconset>
|
||||
<normaloff>:/images/themes/default/mActionNewTableRow.svg</normaloff>:/images/themes/default/mActionNewTableRow.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Add feature</string>
|
||||
@ -484,7 +484,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/mActionSelectedToTop.png</normaloff>:/images/themes/default/mActionSelectedToTop.png</iconset>
|
||||
<normaloff>:/images/themes/default/mActionSelectedToTop.svg</normaloff>:/images/themes/default/mActionSelectedToTop.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Move selection to top</string>
|
||||
@ -556,7 +556,7 @@
|
||||
<action name="mActionRemoveAttribute">
|
||||
<property name="icon">
|
||||
<iconset resource="../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/mActionDeleteAttribute.png</normaloff>:/images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
<normaloff>:/images/themes/default/mActionDeleteAttribute.svg</normaloff>:/images/themes/default/mActionDeleteAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Delete field</string>
|
||||
@ -571,7 +571,7 @@
|
||||
<action name="mActionAddAttribute">
|
||||
<property name="icon">
|
||||
<iconset resource="../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/mActionNewAttribute.png</normaloff>:/images/themes/default/mActionNewAttribute.png</iconset>
|
||||
<normaloff>:/images/themes/default/mActionNewAttribute.svg</normaloff>:/images/themes/default/mActionNewAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>New field</string>
|
||||
@ -604,7 +604,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset resource="../../images/images.qrc">
|
||||
<normaloff>:/images/themes/default/rendererCategorizedSymbol.svg</normaloff>:/images/themes/default/rendererCategorizedSymbol.svg</iconset>
|
||||
<normaloff>:/images/themes/default/mActionConditionalFormatting.svg</normaloff>:/images/themes/default/mActionConditionalFormatting.svg</iconset>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Conditional formatting</string>
|
||||
|
@ -127,7 +127,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.svg</normaloff>../../images/themes/default/mActionNewAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
@ -377,7 +377,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.svg</normaloff>../../images/themes/default/mActionDeleteAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
|
@ -333,7 +333,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.svg</normaloff>../../images/themes/default/mActionNewAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
@ -407,7 +407,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.svg</normaloff>../../images/themes/default/mActionDeleteAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
|
@ -181,7 +181,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.svg</normaloff>../../images/themes/default/mActionNewAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
@ -265,7 +265,7 @@
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.svg</normaloff>../../images/themes/default/mActionDeleteAttribute.svg</iconset>
|
||||
</property>
|
||||
<property name="toolButtonStyle">
|
||||
<enum>Qt::ToolButtonTextBesideIcon</enum>
|
||||
|
@ -565,7 +565,7 @@ datasets with maximum width and height specified below.</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.png</normaloff>../../images/themes/default/mActionNewAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionNewAttribute.svg</normaloff>../../images/themes/default/mActionNewAttribute.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
@ -596,7 +596,7 @@ datasets with maximum width and height specified below.</string>
|
||||
</property>
|
||||
<property name="icon">
|
||||
<iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.png</normaloff>../../images/themes/default/mActionDeleteAttribute.png</iconset>
|
||||
<normaloff>../../images/themes/default/mActionDeleteAttribute.svg</normaloff>../../images/themes/default/mActionDeleteAttribute.svg</iconset>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user