| 1 |
<?xml version="1.0" ?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [ |
| 3 |
<!ENTITY % Portuguese "INCLUDE"> |
| 4 |
]> |
| 5 |
|
| 6 |
<refentry lang="&language;"> |
| 7 |
<refentryinfo> |
| 8 |
<title |
| 9 |
>Documentação da Linha de Comandos do Qt</title> |
| 10 |
<author |
| 11 |
>&Lauri.Watts; &Lauri.Watts.mail;</author> |
| 12 |
<author |
| 13 |
>&Burkhard.Lueck; &Burkhard.Lueck.mail;</author> |
| 14 |
<date |
| 15 |
>2016-06-04</date> |
| 16 |
<releaseinfo |
| 17 |
>&Qt; 5.4</releaseinfo> |
| 18 |
<productname |
| 19 |
>Plataformas do KDE</productname> |
| 20 |
</refentryinfo> |
| 21 |
|
| 22 |
<refmeta> |
| 23 |
<refentrytitle |
| 24 |
>qt5options</refentrytitle> |
| 25 |
<manvolnum |
| 26 |
>7</manvolnum> |
| 27 |
</refmeta> |
| 28 |
|
| 29 |
<refnamediv> |
| 30 |
<refname |
| 31 |
>qt5options</refname> |
| 32 |
<refpurpose |
| 33 |
>As opções comuns da linha de comandos que se baseiem nas bibliotecas do Qt</refpurpose> |
| 34 |
</refnamediv> |
| 35 |
|
| 36 |
<refsynopsisdiv> |
| 37 |
<cmdsynopsis |
| 38 |
><command |
| 39 |
><replaceable |
| 40 |
>Aplicação do Qt</replaceable |
| 41 |
></command |
| 42 |
> <arg choice="opt" |
| 43 |
><option |
| 44 |
>-style=</option |
| 45 |
> <replaceable |
| 46 |
>estilo</replaceable |
| 47 |
> / <option |
| 48 |
>-style</option |
| 49 |
> <replaceable |
| 50 |
>estilo</replaceable |
| 51 |
></arg |
| 52 |
> <arg choice="opt" |
| 53 |
><option |
| 54 |
>-stylesheet=</option |
| 55 |
> <replaceable |
| 56 |
>folha de estilo</replaceable |
| 57 |
> / <option |
| 58 |
>-stylesheet</option |
| 59 |
> <replaceable |
| 60 |
>folha de estilo</replaceable |
| 61 |
></arg |
| 62 |
> <arg choice="opt" |
| 63 |
><option |
| 64 |
>-widgetcount</option |
| 65 |
></arg |
| 66 |
> <arg choice="opt" |
| 67 |
><option |
| 68 |
>-reverse</option |
| 69 |
></arg |
| 70 |
> <arg choice="opt" |
| 71 |
><option |
| 72 |
>-qmljsdebugger=</option |
| 73 |
> <replaceable |
| 74 |
>porto</replaceable |
| 75 |
></arg |
| 76 |
> <arg choice="opt" |
| 77 |
><option |
| 78 |
>-platform</option |
| 79 |
> <replaceable |
| 80 |
>nomePlataforma[:opções]</replaceable |
| 81 |
></arg |
| 82 |
> <arg choice="opt" |
| 83 |
><option |
| 84 |
>-platformpluginpath</option |
| 85 |
> <replaceable |
| 86 |
>localização</replaceable |
| 87 |
></arg |
| 88 |
> <arg choice="opt" |
| 89 |
><option |
| 90 |
>-platformtheme</option |
| 91 |
> <replaceable |
| 92 |
>temaPlataforma</replaceable |
| 93 |
></arg |
| 94 |
> <arg choice="opt" |
| 95 |
><option |
| 96 |
>-plugin</option |
| 97 |
> <replaceable |
| 98 |
>plugin</replaceable |
| 99 |
></arg |
| 100 |
> <arg choice="opt" |
| 101 |
><option |
| 102 |
>-qwindowgeometry</option |
| 103 |
> <replaceable |
| 104 |
>geometria</replaceable |
| 105 |
></arg |
| 106 |
> <arg choice="opt" |
| 107 |
><option |
| 108 |
>-qwindowicon</option |
| 109 |
> <replaceable |
| 110 |
>ícone</replaceable |
| 111 |
></arg |
| 112 |
> <arg choice="opt" |
| 113 |
><option |
| 114 |
>-qwindowtitle</option |
| 115 |
> <replaceable |
| 116 |
>título</replaceable |
| 117 |
></arg |
| 118 |
> <arg choice="opt" |
| 119 |
><option |
| 120 |
>-reverse</option |
| 121 |
></arg |
| 122 |
> <arg choice="opt" |
| 123 |
><option |
| 124 |
>-session</option |
| 125 |
> <replaceable |
| 126 |
>sessão</replaceable |
| 127 |
></arg |
| 128 |
> <arg choice="opt" |
| 129 |
><option |
| 130 |
>-display</option |
| 131 |
> <replaceable |
| 132 |
>máquina:número_ecrã</replaceable |
| 133 |
></arg |
| 134 |
> <arg choice="opt" |
| 135 |
><option |
| 136 |
>-geometry</option |
| 137 |
> <replaceable |
| 138 |
>geometria</replaceable |
| 139 |
></arg |
| 140 |
> <arg choice="opt" |
| 141 |
><option |
| 142 |
>-dialogs=</option |
| 143 |
> <replaceable |
| 144 |
>[xp|none]</replaceable |
| 145 |
></arg |
| 146 |
> <arg choice="opt" |
| 147 |
><option |
| 148 |
>-fontengine=</option |
| 149 |
> <replaceable |
| 150 |
>freetype</replaceable |
| 151 |
></arg |
| 152 |
> <arg choice="opt" |
| 153 |
><option |
| 154 |
>-h, --help e -? no Windows</option |
| 155 |
></arg |
| 156 |
> <arg choice="opt" |
| 157 |
><option |
| 158 |
>-v --version</option |
| 159 |
></arg |
| 160 |
> </cmdsynopsis> |
| 161 |
</refsynopsisdiv> |
| 162 |
|
| 163 |
|
| 164 |
<refsect1> |
| 165 |
<title |
| 166 |
>Opções</title> |
| 167 |
|
| 168 |
<para |
| 169 |
>As seguintes opções aplicam-se a todas as aplicações do &Qt;:</para> |
| 170 |
|
| 171 |
<variablelist> |
| 172 |
<!--http://doc.qt.io/qt-5/qapplication.html#QApplication--> |
| 173 |
<varlistentry> |
| 174 |
<term |
| 175 |
><option |
| 176 |
>-style=</option |
| 177 |
> <replaceable |
| 178 |
>estilo</replaceable |
| 179 |
> / <option |
| 180 |
>-style</option |
| 181 |
> <replaceable |
| 182 |
>estilo</replaceable |
| 183 |
> </term> |
| 184 |
<listitem |
| 185 |
><para |
| 186 |
>Define o estilo gráfico da aplicação. Os valores possíveis dependem da configuração do sistema. Se o Qt for compilado com os estilos adicionais ou se tiver estilos adicionais como 'plugins', estes ficarão disponíveis na opção '-style' da linha de comandos.</para> |
| 187 |
</listitem> |
| 188 |
</varlistentry> |
| 189 |
|
| 190 |
<varlistentry> |
| 191 |
<term |
| 192 |
><option |
| 193 |
>-stylesheet=</option |
| 194 |
> <replaceable |
| 195 |
>folha de estilo</replaceable |
| 196 |
> / <option |
| 197 |
>-stylesheet</option |
| 198 |
> <replaceable |
| 199 |
>folha de estilo</replaceable |
| 200 |
> </term> |
| 201 |
<listitem |
| 202 |
><para |
| 203 |
>Define a folha de estilo da aplicação. O valor deverá ser a localização de um ficheiro que contém a dita folha de estilo. </para |
| 204 |
></listitem> |
| 205 |
</varlistentry> |
| 206 |
|
| 207 |
<varlistentry> |
| 208 |
<term> |
| 209 |
<option |
| 210 |
>-widgetcount</option> |
| 211 |
</term> |
| 212 |
<listitem |
| 213 |
><para |
| 214 |
>Imprime uma mensagem de depuração no fim sobre o número de elementos gráficos não destruídos e o número máximo de elementos que existiram ao mesmo tempo. </para |
| 215 |
></listitem> |
| 216 |
</varlistentry> |
| 217 |
|
| 218 |
<varlistentry> |
| 219 |
<term> |
| 220 |
<option |
| 221 |
>-reverse</option> |
| 222 |
</term> |
| 223 |
<listitem |
| 224 |
><para |
| 225 |
>Configura a direcção da formatação da aplicação como <methodname |
| 226 |
>Qt::RightToLeft</methodname |
| 227 |
>. Esta opção pretende ajudar na depuração e não deve ser usada em produção. O valor por omissão é detectado automaticamente a partir da região do utilizador (ver também o <methodname |
| 228 |
>QLocale::textDirection()</methodname |
| 229 |
>). </para |
| 230 |
></listitem> |
| 231 |
</varlistentry> |
| 232 |
|
| 233 |
<varlistentry> |
| 234 |
<term |
| 235 |
><option |
| 236 |
>-qmljsdebugger=</option |
| 237 |
> <replaceable |
| 238 |
>porto</replaceable |
| 239 |
> </term> |
| 240 |
<listitem |
| 241 |
><para |
| 242 |
>Activa o depurador de QML/JS com um dado porto em particular. O valor deverá ser no formato porto:1234[,bloqueio], onde o bloqueio é opcional e fará com que a aplicação espere até que um depurador se ligue a ela. </para |
| 243 |
></listitem> |
| 244 |
</varlistentry> |
| 245 |
<!--http://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication--> |
| 246 |
<varlistentry> |
| 247 |
<term |
| 248 |
><option |
| 249 |
>-platform</option |
| 250 |
> <replaceable |
| 251 |
>nomePlataforma[:opções]</replaceable |
| 252 |
> </term> |
| 253 |
<listitem |
| 254 |
><para |
| 255 |
>Define o 'plugin' do QPA (Qt Platform Abstraction). </para |
| 256 |
></listitem> |
| 257 |
</varlistentry> |
| 258 |
|
| 259 |
<varlistentry> |
| 260 |
<term |
| 261 |
><option |
| 262 |
>-platformpluginpath</option |
| 263 |
> <replaceable |
| 264 |
>localização</replaceable |
| 265 |
> </term> |
| 266 |
<listitem |
| 267 |
><para |
| 268 |
>Define a localização dos 'plugins' da plataforma. </para |
| 269 |
></listitem> |
| 270 |
</varlistentry> |
| 271 |
|
| 272 |
<varlistentry> |
| 273 |
<term |
| 274 |
><option |
| 275 |
>-platformtheme</option |
| 276 |
> <replaceable |
| 277 |
>temaPlataforma</replaceable |
| 278 |
> </term> |
| 279 |
<listitem |
| 280 |
><para |
| 281 |
>Define o tema da plataforma. </para |
| 282 |
></listitem> |
| 283 |
</varlistentry> |
| 284 |
|
| 285 |
<varlistentry> |
| 286 |
<term |
| 287 |
><option |
| 288 |
>-plugin</option |
| 289 |
> <replaceable |
| 290 |
>plugin</replaceable |
| 291 |
> </term> |
| 292 |
<listitem |
| 293 |
><para |
| 294 |
>Define os 'plugins' adicionais a carregar. O argumento poderá ocorrer várias vezes. </para |
| 295 |
></listitem> |
| 296 |
</varlistentry> |
| 297 |
|
| 298 |
<varlistentry> |
| 299 |
<term |
| 300 |
><option |
| 301 |
>-qwindowgeometry</option |
| 302 |
> <replaceable |
| 303 |
>geometria</replaceable |
| 304 |
> </term> |
| 305 |
<listitem |
| 306 |
><para |
| 307 |
>Define a geometria da janela principal, usando a sintaxe do X11. Por exemplo: -qwindowgeometry 100x100+50+50 </para |
| 308 |
></listitem> |
| 309 |
</varlistentry> |
| 310 |
|
| 311 |
<varlistentry> |
| 312 |
<term |
| 313 |
><option |
| 314 |
>-qwindowicon</option |
| 315 |
> <replaceable |
| 316 |
>ícone</replaceable |
| 317 |
> </term> |
| 318 |
<listitem |
| 319 |
><para |
| 320 |
>Define o ícone por omissão da janela. </para |
| 321 |
></listitem> |
| 322 |
</varlistentry> |
| 323 |
|
| 324 |
<varlistentry> |
| 325 |
<term |
| 326 |
><option |
| 327 |
>-qwindowtitle</option |
| 328 |
> <replaceable |
| 329 |
>título</replaceable |
| 330 |
> </term> |
| 331 |
<listitem |
| 332 |
><para |
| 333 |
>Define o título da primeira janela. </para |
| 334 |
></listitem> |
| 335 |
</varlistentry> |
| 336 |
|
| 337 |
<varlistentry> |
| 338 |
<term |
| 339 |
><option |
| 340 |
>-session</option |
| 341 |
> <replaceable |
| 342 |
>sessão</replaceable |
| 343 |
> </term> |
| 344 |
<listitem |
| 345 |
><para |
| 346 |
>Repõe a aplicação a partir de uma sessão anterior. </para |
| 347 |
></listitem> |
| 348 |
</varlistentry> |
| 349 |
|
| 350 |
<varlistentry> |
| 351 |
<term |
| 352 |
><option |
| 353 |
>-display</option |
| 354 |
> <replaceable |
| 355 |
>máquina:número_ecrã</replaceable |
| 356 |
> </term> |
| 357 |
<listitem |
| 358 |
><para |
| 359 |
>Muda de ecrã no X11. Substitui a variável de ambiente DISPLAY. </para |
| 360 |
></listitem> |
| 361 |
</varlistentry> |
| 362 |
|
| 363 |
<varlistentry> |
| 364 |
<term |
| 365 |
><option |
| 366 |
>-geometry</option |
| 367 |
> <replaceable |
| 368 |
>geometria</replaceable |
| 369 |
> </term> |
| 370 |
<listitem |
| 371 |
><para |
| 372 |
>Define a geometria da janela principal no X11. Por exemplo: -geometry 100x100+50+50. </para |
| 373 |
></listitem> |
| 374 |
</varlistentry> |
| 375 |
|
| 376 |
<varlistentry> |
| 377 |
<term |
| 378 |
><option |
| 379 |
>-dialogs=</option |
| 380 |
> <replaceable |
| 381 |
>[xp|none]</replaceable |
| 382 |
> </term> |
| 383 |
<listitem |
| 384 |
><para |
| 385 |
>Só disponível na '-platform windows'. O 'xp' usa as janelas nativas com o estilo do XP e o 'none' desactiva-as.</para |
| 386 |
></listitem> |
| 387 |
</varlistentry> |
| 388 |
|
| 389 |
<varlistentry> |
| 390 |
<term |
| 391 |
><option |
| 392 |
>-fontengine=</option |
| 393 |
> <replaceable |
| 394 |
>freetype</replaceable |
| 395 |
> </term> |
| 396 |
<listitem |
| 397 |
><para |
| 398 |
>Usa o motor de tipos de letra FreeType. </para |
| 399 |
></listitem> |
| 400 |
</varlistentry> |
| 401 |
|
| 402 |
<!--http://doc.qt.io/qt-5/qcommandlineparser.html --> |
| 403 |
<varlistentry> |
| 404 |
<term> |
| 405 |
<option |
| 406 |
>-h, --help e -? no Windows</option> |
| 407 |
</term> |
| 408 |
<listitem |
| 409 |
><para |
| 410 |
>Imprime todas as opções e a descrição da aplicação. </para |
| 411 |
></listitem> |
| 412 |
</varlistentry> |
| 413 |
|
| 414 |
<varlistentry> |
| 415 |
<term> |
| 416 |
<option |
| 417 |
>-v --version</option> |
| 418 |
</term> |
| 419 |
<listitem |
| 420 |
><para |
| 421 |
>Mostra o texto da versão da aplicação. </para |
| 422 |
></listitem> |
| 423 |
</varlistentry> |
| 424 |
|
| 425 |
</variablelist> |
| 426 |
|
| 427 |
</refsect1> |
| 428 |
|
| 429 |
|
| 430 |
<refsect1> |
| 431 |
<title |
| 432 |
>Veja Também</title> |
| 433 |
<para |
| 434 |
><replaceable |
| 435 |
>kf5options</replaceable |
| 436 |
>(7)</para> |
| 437 |
|
| 438 |
</refsect1> |
| 439 |
|
| 440 |
<refsect1> |
| 441 |
<title |
| 442 |
>Autores</title> |
| 443 |
<para |
| 444 |
>A página de manual foi escrita originalmente por &Lauri.Watts; &Lauri.Watts.mail;</para> |
| 445 |
<para |
| 446 |
>Actualizado para as Plataformas 5 por &Burkhard.Lueck; &Burkhard.Lueck.mail;</para> |
| 447 |
<para |
| 448 |
>As informações desta página de manual são da <ulink url="http://doc.qt.io/qt-5/qapplication.html#QApplication" |
| 449 |
>documentação do QApplication</ulink |
| 450 |
>, da <ulink url="http://doc.qt.io/qt-5/qguiapplication.html#QGuiApplication" |
| 451 |
>documentação do QGuiApplication</ulink |
| 452 |
> e da <ulink url="http://doc.qt.io/qt-5/qcommandlineparser.html" |
| 453 |
>documentação do QCommandLineParser</ulink |
| 454 |
>.</para> |
| 455 |
</refsect1> |
| 456 |
|
| 457 |
</refentry> |