Removing menubar and titlebar from qt simulator: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
If you are developing a full-screen application you might want to remove the menu bar at the bottom and the title bar at the top of the Symbian Simulator. Here is how:
If you are developing a full-screen application you might want to remove the menu bar at the bottom and the title bar at the top of the Symbian Simulator. Here is how:


# Go to "C:" (or equivalent) and copy the (e.g.) "symbian3" folder to a new folder we'll call "symbian3fullscreen".
# Go to "C:" (or equivalent) and copy the (e.g.) "symbian3" folder to a new folder we'll call "symbian3fullscreen".
# Inside the "symbian3fullscreen" folder, open "N8_portrait.png" in Gimp, select all (<CTRL-A>) and delete (<DEL>), so that you have a transparent png of 360x640. Save, and do the same for "N8_landscape.png".
# Inside the "symbian3fullscreen" folder, open "N8_portrait.png" in Gimp, select all (<CTRL-A>) and delete (<DEL>), so that you have a transparent png of 360x640. Save, and do the same for "N8_landscape.png".
# rename symbian3.config to symbian3fullscreen.config and edit it to:
# rename symbian3.config to symbian3fullscreen.config and edit it to:


<code><br />name:Symbian^3 Fullscreen<br />resolutionWidth:360<br />resolutionHeight:640<br />diagonalInInch:3.5<br />mockup:N8.png<br />offsetX:66<br />offsetY:153<br />defaultFontSize:7<br />style:s60,nseriesblack<br />menuImage:topUp,N8_portrait.png<br />availableGeometry:topUp,0,0,360,640<br />menuImage:rightUp,N8_landscape.png<br />availableGeometry:rightUp,0,0,640,360<br />symbianSoftKeyButton:topUp,0,0,640,180,60<br />symbianSoftKeyButton:topUp,0,180,640,180,60<br />symbianSoftKeyButton:rightUp,0,0,360,212,44<br />symbianSoftKeyButton:rightUp,0,427,360,212,44<br /></code>
<code><br />name:Symbian^3 Fullscreen<br />resolutionWidth:360<br />resolutionHeight:640<br />diagonalInInch:3.5<br />mockup:N8.png<br />offsetX:66<br />offsetY:153<br />defaultFontSize:7<br />style:s60,nseriesblack<br />menuImage:topUp,N8_portrait.png<br />availableGeometry:topUp,0,0,360,640<br />menuImage:rightUp,N8_landscape.png<br />availableGeometry:rightUp,0,0,640,360<br />symbianSoftKeyButton:topUp,0,0,640,180,60<br />symbianSoftKeyButton:topUp,0,180,640,180,60<br />symbianSoftKeyButton:rightUp,0,0,360,212,44<br />symbianSoftKeyButton:rightUp,0,427,360,212,44<br /></code>


Restart the simulator.<br />Now, you have an additional device called &quot;Symbian^3 Fullscreen&amp;quot; where your app is shown fullscreen.
Restart the simulator.<br />Now, you have an additional device called "Symbian^3 Fullscreen" where your app is shown fullscreen.


On MacOS X you can find the models inside the simulator.app application package. That is you'd like to copy the symbian3fullscreen directory to &lt;QtSDK folder&amp;gt;/Simulator/Application/simulator.app/Contents/MacOS/models
On MacOS X you can find the models inside the simulator.app application package. That is you'd like to copy the symbian3fullscreen directory to <QtSDK folder>/Simulator/Application/simulator.app/Contents/MacOS/models

Revision as of 14:43, 24 February 2015


English Български

Remove Menu Bar and Title Bar from Qt Simulator

If you are developing a full-screen application you might want to remove the menu bar at the bottom and the title bar at the top of the Symbian Simulator. Here is how:

  1. Go to "C:" (or equivalent) and copy the (e.g.) "symbian3" folder to a new folder we'll call "symbian3fullscreen".
  2. Inside the "symbian3fullscreen" folder, open "N8_portrait.png" in Gimp, select all (<CTRL-A>) and delete (), so that you have a transparent png of 360x640. Save, and do the same for "N8_landscape.png".
  3. rename symbian3.config to symbian3fullscreen.config and edit it to:
<br />name:Symbian^3 Fullscreen<br />resolutionWidth:360<br />resolutionHeight:640<br />diagonalInInch:3.5<br />mockup:N8.png<br />offsetX:66<br />offsetY:153<br />defaultFontSize:7<br />style:s60,nseriesblack<br />menuImage:topUp,N8_portrait.png<br />availableGeometry:topUp,0,0,360,640<br />menuImage:rightUp,N8_landscape.png<br />availableGeometry:rightUp,0,0,640,360<br />symbianSoftKeyButton:topUp,0,0,640,180,60<br />symbianSoftKeyButton:topUp,0,180,640,180,60<br />symbianSoftKeyButton:rightUp,0,0,360,212,44<br />symbianSoftKeyButton:rightUp,0,427,360,212,44<br />

Restart the simulator.
Now, you have an additional device called "Symbian^3 Fullscreen" where your app is shown fullscreen.

On MacOS X you can find the models inside the simulator.app application package. That is you'd like to copy the symbian3fullscreen directory to <QtSDK folder>/Simulator/Application/simulator.app/Contents/MacOS/models