Skip to content
Permalink
Browse files

Add some pixel sized wallpapers to the standard page sizes

  • Loading branch information
nyalldawson committed Jul 25, 2017
1 parent 30a83e1 commit 9e2673a1780b5932514dcf0ba1a3b5dcd5f65f2b
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/core/layout/qgspagesizeregistry.cpp
@@ -52,6 +52,9 @@ QgsPageSizeRegistry::QgsPageSizeRegistry()
add( QgsPageSize( QStringLiteral( "Arch E1" ), QgsLayoutSize( 762, 1066.8 ), QObject::tr( "Arch E1" ) ) );
add( QgsPageSize( QStringLiteral( "Arch E2" ), QgsLayoutSize( 660, 965 ), QObject::tr( "Arch E2" ) ) );
add( QgsPageSize( QStringLiteral( "Arch E3" ), QgsLayoutSize( 686, 991 ), QObject::tr( "Arch E3" ) ) );
add( QgsPageSize( QStringLiteral( "1920x1080" ), QgsLayoutSize( 1080, 1920, QgsUnitTypes::LayoutPixels ), QObject::tr( "1920×1080" ) ) );
add( QgsPageSize( QStringLiteral( "1280x800" ), QgsLayoutSize( 800, 1280, QgsUnitTypes::LayoutPixels ), QObject::tr( "1280×800" ) ) );
add( QgsPageSize( QStringLiteral( "1024x768" ), QgsLayoutSize( 768, 1024, QgsUnitTypes::LayoutPixels ), QObject::tr( "1024×768" ) ) );
}

void QgsPageSizeRegistry::add( const QgsPageSize &size )

0 comments on commit 9e2673a

Please sign in to comment.
You can’t perform that action at this time.