×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:Aplicação em tela cheia, em Qt

From Nokia Developer Wiki
Jump to: navigation, search
marcelobarrosalmeida (Talk | contribs)
m (small pt_bt fixes)
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot change of template (Template:CodeSnippet) - now using Template:ArticleMetaData)
Line 1: Line 1:
{{CodeSnippet
+
{{ArticleMetaData
 
|id=...
 
|id=...
 
|platform=S60 3rd Edition FP1, S60 3rd Edition FP2, S60 5th Edition  
 
|platform=S60 3rd Edition FP1, S60 3rd Edition FP2, S60 5th Edition  
Line 7: Line 7:
 
|creationdate=30 August 2009
 
|creationdate=30 August 2009
 
|keywords=QWidget
 
|keywords=QWidget
 +
 +
|sourcecode= <!-- Link to example source code (e.g. [[Media:The Code Example ZIP.zip]]) -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|sdk=<!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
 +
|devicecompatability=<!-- Compatible devices (e.g.: All* (must have GPS) ) -->
 +
|signing=<!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities=<!-- Capabilities required (e.g. Location, NetworkServices.) -->
 +
|author=[[User:Cabezonxdg]]
 
}}
 
}}
 
<br>
 
<br>

Revision as of 09:31, 26 June 2011

Article Metadata
Tested with
Devices(s): Emulator
Compatibility
Platform(s): S60 3rd Edition FP1, S60 3rd Edition FP2, S60 5th Edition
Symbian
Article
Keywords: QWidget
Created: cabezonxdg (30 Aug 2009)
Last edited: hamishwillee (26 Jun 2011)


A função QWidget::showFullScreen() é utilizada para exibir widgets em tela cheia. Ao chamar esta função no widget que representa a janela de sua aplicação esta será exibida em tela cheia.

Appnormalscrqt.PNG
Aplicação utilizando o tamanho de tela padrão



Appfullscrqt.PNG
Aplicação em tela cheia

Nota: Este método funciona apenas em widgets que são janela. Ou seja, widgets que não são filhos de outros widgets (top-level widget).

Nota2: Esta função possue algumas incompatibilidades com o servidor X. Consultar a referência da função para maiores informações.

203 page views in the last 30 days.