Korzystanie z gotowych komponentów
Aby korzystać z typów QML w interfejsach użytkownika, zaimportuj do swojego projektu moduły Qt, które je zawierają, wybierając opcję „ Components ” > „
”. Więcej informacji znajdziesz w sekcji „Importowanie modułów”. Następnie możesz tworzyć instancje komponentów, przeciągając je z okna „ Components ” do widoku „ 2D ” lub „ Navigator ”.
Aby edytować wygląd instancji komponentu, należy ją zaznaczyć w widoku „ 2D ” lub „ Navigator ”, a następnie ustawić jej właściwości w widoku „ Properties ”.
Więcej informacji na temat tworzenia własnych komponentów można znaleźć w sekcji Tworzenie komponentów niestandardowych.
Typy komponentów
Zobacz też : Jak korzystać z komponentów interfejsu użytkownika, Projektowanie interfejsu użytkownikQt Quick a oraz Projektowanie interfejsów użytkownik 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.