Removing menubar and titlebar from qt simulator: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
(Removed from categories, outdated)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''English''' [[Removing menubar and titlebar from qt simulator Bulgarian|Български]]
{{Delete | reason=Obsolete Symbian related content.}}


=Remove Menu Bar and Title Bar from Qt Simulator=
'''English''' [[Removing_menubar_and_titlebar_from_qt_simulator_Bulgarian|Български]]
 
= 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:
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:\QtSDK\Simulator\Application\models” (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 (&lt;<span class="caps">CTRL</span>-A&gt;) and delete (&lt;<span class="caps">DEL</span>&gt;), so that you have a transparent png of 360×640. 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:


Restart the simulator. <br /> Now, you have an additional device called “Symbian^3 Fullscreen” where your app is shown fullscreen.
<code>
 
name:Symbian^3 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&gt;/Simulator/Application/simulator.app/Contents/MacOS/models<br /> In order to “open” the simulator.app package, you right-click it in the Finder and choose the “Show Package Contents” option. After it, you can work with the package as with any other folder in your file system.
resolutionWidth:360
resolutionHeight:640
diagonalInInch:3.5
mockup:N8.png
offsetX:66
offsetY:153
defaultFontSize:7
style:s60,nseriesblack
menuImage:topUp,N8_portrait.png
availableGeometry:topUp,0,0,360,640
menuImage:rightUp,N8_landscape.png
availableGeometry:rightUp,0,0,640,360
symbianSoftKeyButton:topUp,0,0,640,180,60
symbianSoftKeyButton:topUp,0,180,640,180,60
symbianSoftKeyButton:rightUp,0,0,360,212,44
symbianSoftKeyButton:rightUp,0,427,360,212,44
</code>


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


* [[:Category:HowTo|HowTo]]
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
* [[:Category:Tools|Tools]]
** [[:Category:Tools::QtCreator|QtCreator]]

Latest revision as of 15:34, 27 June 2015

This article is nominated for deletion. Reason: Obsolete Symbian related content.
Please raise your support/opposition to this nomination in the article's discussion page.

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

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