diff options
author | Adriano Melo <adriano.melo@openbossa.org> | 2012-04-16 16:36:50 -0300 |
---|---|---|
committer | Luis Gabriel Lima <luis.gabriel@openbossa.org> | 2012-04-27 01:21:46 +0200 |
commit | 569d2cddfa5cee740972e0e781190a9cf32d3ee8 (patch) | |
tree | 962bd15bcd2a887e44cbe0c61a802db7d16cd1da /examples/models/textfilemodel/resources.qrc | |
parent | 63d13a671f230fb534fc8245d39a5427ab23461c (diff) |
Added UiTextFileModel
Creates a QStandardItemModel from a file. It supports separators like line feed and commas.
- UiTextFileModel header and class created
- Example using UiCompletionModel
- UiTextFileModel added to UiHelpers QML registered types
- Simple QML example
- Tests with some separators
Change-Id: Ie996817f6ed03a83c278eb964233f4668a8f6767
Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
Diffstat (limited to 'examples/models/textfilemodel/resources.qrc')
-rw-r--r-- | examples/models/textfilemodel/resources.qrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/models/textfilemodel/resources.qrc b/examples/models/textfilemodel/resources.qrc new file mode 100644 index 0000000..24d92c7 --- /dev/null +++ b/examples/models/textfilemodel/resources.qrc @@ -0,0 +1,6 @@ +<!DOCTYPE RCC><RCC version="1.0"> +<qresource prefix="/"> + <file alias="main.qml">main.qml</file> + <file alias="countries.txt">../../shared/countries.txt</file> +</qresource> +</RCC> |