Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtuitools-module.qdoc
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
3
4/*!
5 \module QtUiTools
6 \title Qt UI Tools C++ Classes
7 \since 4.1
8 \ingroup modules
9 \qtcmakepackage UiTools
10 \qtvariable uitools
11
12 \brief Provides classes to handle forms created with \QD.
13
14 These forms are processed at run-time to produce dynamically-generated
15 user interfaces. In order to generate a form at run-time, a resource
16 file containing a UI file is needed. Applications that use the
17 form handling classes need to be configured to be built against the
18 QtUiTools module. This is done by including the following declaration
19 in a \c qmake project file to ensure that the application is compiled
20 and linked appropriately.
21
22 \if !defined(qtforpython)
23 \snippet quiloader/doc_src_qtuiloader.pro 0
24 \endif
25
26 A form loader object, provided by the QUiLoader class, is used to
27 construct the user interface. This user interface can
28 be retrieved from any QIODevice; for example, a QFile object can be
29 used to obtain a form stored in a project's resources. The
30 QUiLoader::load() function takes the user interface description
31 contained in the file and constructs the form widget.
32*/