diff options
author | Kai Koehne <kai.koehne@qt.io> | 2017-06-16 17:38:29 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2017-06-22 09:50:33 +0000 |
commit | 4ba1f6ec607f05807f39a271e7e4c457fe3b0803 (patch) | |
tree | 977e9cfec3222eac47f4a50445405ba53e7fc996 /examples/uitools/textfinder/forms | |
parent | 6da03454544364ffe414b7c03cfcb0810abb43d4 (diff) |
TextFinder: Improve code and documentation
Task-number: QTBUG-61419
Change-Id: Ib00152f0a04546d275a40a5d57fe046b82ebc421
GPush-Base: 8abb03b0d84a3a94f7db41e010f69955488ea893
Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'examples/uitools/textfinder/forms')
-rw-r--r-- | examples/uitools/textfinder/forms/input.txt | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/examples/uitools/textfinder/forms/input.txt b/examples/uitools/textfinder/forms/input.txt index 96e8c3047..4dc15ce4e 100644 --- a/examples/uitools/textfinder/forms/input.txt +++ b/examples/uitools/textfinder/forms/input.txt @@ -1,9 +1,3 @@ -These forms are processed at run-time to produce dynamically-generated user interfaces. -In order to generate a form at run-time, a resource file containing a UI file is needed. -Applications that use the form handling classes need to be configured to be built against -the QtUiTools module. This is done by including the following declaration in a qmake project -file to ensure that the application is compiled and linked appropriately. A form loader object, -provided by the QUiLoader class, is used to construct the user interface. This user interface -can be retrieved from any QIODevice; for example, a QFile object can be used to obtain a form -stored in a project's resources. The QUiLoader::load() function takes the user interface -description contained in the file and constructs the form widget.
\ No newline at end of file +This user interface was loaded and processed at run-time. + +Applications that want to load .ui files at run-time must be configured to be link against the QtUiTools module. A form loader object, provided by the QUiLoader class, is used to construct the user interface. This user interface can be retrieved from any QIODevice; for example, a QFile object can be used to obtain a form stored in a project's resources. The QUiLoader::load() function takes the user interface description contained in the file and constructs the form widget. |