Skip to content

Commit f38f15e

Browse files
author
timlinux
committedDec 9, 2006
Set the geometry for the application on installation - in particular we want to get the toolbars placed in a decent default way
git-svn-id: http://svn.osgeo.org/qgis/trunk@6221 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1e24e5a commit f38f15e

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed
 

‎win_build/qgis-debug.nsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ ShowInstDetails show
8585
ShowUnInstDetails show
8686

8787
Section "MainSection" SEC01
88+
!include qgis_window_geometry.nsi
8889
SetOutPath "$INSTDIR"
8990
SetOverwrite try
9091
;------- Qt

‎win_build/qgis.nsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ ShowInstDetails show
8484
ShowUnInstDetails show
8585

8686
Section "MainSection" SEC01
87+
;Set the reg key so we get default toolbar layout
88+
!include qgis_window_geometry.nsi
8789
SetOutPath "$INSTDIR"
8890
SetOverwrite try
8991
;------- Qt

‎win_build/qgis_window_geometry.nsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
############################### reg2nsis begin #################################
2+
# This NSIS-script was generated by the Reg2Nsis utility #
3+
# Author : Artem Zankovich #
4+
# URL : http://aarrtteemm.nm.ru #
5+
# Usage : You can freely inserts this into your setup script as inline text #
6+
# or include file with the help of !include directive. #
7+
# Please don't remove this header. #
8+
################################################################################
9+
10+
WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "state" 40004200790074006500410072007200610079002800000000000000ff000000000000000000fc000000000000000200000000000000020000000000000005000000000000001600000046000000690000006c00000065000000540000006f0000006f0000006c00000042000000610000007200010000000000000000000000000000001a00000000000000be00000000000000270000000000000000000000000000000000000000000000000000000000000000000000000000000800000048000000650000006c0000007000000000000000020027000000000000001a00ff00ff00ff00ff00ff00ff00ff00ff000000000000000000000000000000000000000000020027000000000000001a000000000000000e000000500000006c0000007500000067000000690000006e0000007300000000000000020026000000000000001a00ff00ff00ff00ff00ff00ff00ff00ff000000000000000000000000000000000000000000020026000000000000001a00000000000000180000004c00000061000000790000006500000072000000540000006f0000006f0000006c000000420000006100000072000100000000000000be000000000000001a000000000001009000000000000000270000000000000000000000000000000000000000000000000000000000000000000000000000000a00000047000000520000004100000053000000530001000000000002004e000000000000001a00000000000200b20000000000000027000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000003000000000000001c0000004d0000006100000070000000200000004e000000610000007600000069000000670000006100000074000000690000006f0000006e00010000000000000000000000000000004100000000000100270000000000000027000000000000000000000000000000000000000000000000000000000000000000000000000000140000004100000074000000740000007200000069000000620000007500000074000000650000007300010000000000010027000000000000004100000000000100040000000000000027000000000000000000000000000000000000000000000000000000000000000000000000000000140000004400000069000000670000006900000074000000690000007a000000690000006e000000670001000000000002002b000000000000004100000000000200d50000000000000027000000000000000000000000000000000000000000000000000000000000000000fd0000000000000000000000000005000000000000000200610000000000000004000000000000000400000000000000080000000000000008002900
11+
WriteRegStr HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "maximized" "false"
12+
WriteRegDWORD HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "x" 0xfffffffc
13+
WriteRegDWORD HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "y" 0xfffffffc
14+
WriteRegDWORD HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "w" 0x500
15+
WriteRegDWORD HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "h" 0x2e6
16+
WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "canvasSplitterState" 40004200790074006500410072007200610079002800000000000000ff00000000000000000000000000000002000000000001000900000000000300e10001000000000000000600010000000000000001002900
17+
WriteRegBin HKEY_CURRENT_USER "Software\QuantumGIS\qgis\Geometry" "legendSplitterState" 40004200790074006500410072007200610079002800000000000000ff0000000000000000000000000000000200000000000100ed000000000000005e0001000000000000000600010000000000000002002900
18+
19+
############################### reg2nsis end #################################

0 commit comments

Comments
 (0)
Please sign in to comment.