Uporabite lastne pisave
Da bo vaš uporabniški vmesnik pri predogledu na napravi uporabljal prilagojene pisave, morate te pisave uvoziti v mapo projekta. Qt Creator jih namesti na napravo skupaj z vašim uporabniškim vmesnikom.
Opomba: Če nameravate animirati tekoče številke,uporabite pisave s fiksno širino, da se pri spremembi ne bodo zdele, kot da skačejo po zaslonu.
Dodajanje pisav:
- Izberite » Assets « > »
«. - Poiščite mapo, ki vsebuje datoteke pisav, jih izberite in nato izberite » Open «.
- V pogovornem oknu » Add Resources « izberite mesto, kamor se bo datoteka shranila.
- Izberite » OK «, da shranite pisave.
Črkovne vrste se dodajo na seznam črkovnih vrst za lastnost » Font « v datoteki » Properties «.
Glejte tudi Kako: Oblikovanje uporabniških vmesnikov » Qt Quick «, Oblikovanje uporabniškega vmesnika »Qt Quick « in Oblikovanje uporabniških vmesnikov » Qt Quick «.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.