From e16bdce46222bcbe3feb36d29f3000d8ca22cde7 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Wed, 1 Aug 2012 17:12:41 +0200 Subject: Restore the forms/ subdir that was lost in the uitools reimport These files are referenced in the .qrc file, so they are necessary during compilation. The files were copied from the commit referenced in the initial import of the qttools.git repository. Change-Id: Id1f182a7a9dd4e08e63fb903b978de192b85cd98 Reviewed-by: Lars Knoll --- examples/uitools/textfinder/forms/input.txt | 9 +++ examples/uitools/textfinder/forms/textfinder.ui | 89 +++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 examples/uitools/textfinder/forms/input.txt create mode 100644 examples/uitools/textfinder/forms/textfinder.ui (limited to 'examples') diff --git a/examples/uitools/textfinder/forms/input.txt b/examples/uitools/textfinder/forms/input.txt new file mode 100644 index 000000000..29dfe5d6c --- /dev/null +++ b/examples/uitools/textfinder/forms/input.txt @@ -0,0 +1,9 @@ +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 diff --git a/examples/uitools/textfinder/forms/textfinder.ui b/examples/uitools/textfinder/forms/textfinder.ui new file mode 100644 index 000000000..af05192db --- /dev/null +++ b/examples/uitools/textfinder/forms/textfinder.ui @@ -0,0 +1,89 @@ + + Form + + + + 0 + 0 + 378 + 158 + + + + Find Text + + + + 9 + + + 6 + + + + + 0 + + + 6 + + + + + + + + &Keyword: + + + lineEdit + + + + + + + &Find + + + + + + + + + + + + Qt::Vertical + + + + 20 + 16 + + + + + + + + + + lineEdit + returnPressed() + findButton + animateClick() + + + 261 + 17 + + + 320 + 17 + + + + + -- cgit v1.2.3