summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* API updatesHEADmasterAnselmo L. S. Melo2014-05-0911-24/+29
| | | | | | | | This project was developed before the release of Qt 5.0, so some of the APIs had to be updated in order to build again. Change-Id: I579d7170ea0d80bd33aee29ec807461af603b0d3 Reviewed-by: Anselmo L. S. Melo <anselmolsm@gmail.com>
* Remove remaining references to QStandardItemModelsAnselmo L. S. Melo2014-05-094-1372/+0
| | | | | | | | ae68129a5f3727e1b74c6de1dbc5871a8bd0a54e removed this class from UiHelpers, because it was moved to QtGui. These tests aren't needed here anymore. Change-Id: I4cc8fbc42377e44306ab6c58661f524a1b854a24 Reviewed-by: Anselmo L. S. Melo <anselmolsm@gmail.com>
* Fix the build system. Updated pro files.Anselmo L. S. Melo2014-05-0922-30/+9
| | | | | Change-Id: I990d4c4630ee293ac6a1ac234066194ed81c709e Reviewed-by: Anselmo L. S. Melo <anselmolsm@gmail.com>
* Replaced Nokia copyrightsTeemu Kaukoranta2013-05-2330-30/+30
| | | | | | | | | | | | | | | | | | Replaced Nokia copyrights with Digia copyrights Did NOT touch contact details This command also ignores INdT Copyrights and removes trailing whitespace from removed "all rights reserved" lines. find . -path '*/3rdparty/*' -prune -o -exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; | tee >(xargs sed -i -r '1,10 { /INdT/ !{ s/([ \t#*]*)(.*Copyright.*Nokia.*)/ \1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I } }') >(xargs sed -i -r '1,10 s/(^[ \t]*)([#*]*)([ \t]*) (all rights reserved.*)/\1\2/I') Change-Id: I998c8269bd8b37ec38d4fec26ba1a9b104f5180c Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Fixed licensesTeemu Kaukoranta2013-05-2064-1379/+1379
| | | | | | | | | Updated licenses using replace-licenses.zsh from mkdist repo. Possible copyright and contact changes will come later. Change-Id: Iac01c2ef65771427d98fe364e4b7125d0b77fc43 Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Fix build. QQuickListModel inherits QAbstractItemModel now.Stephen Kelly2012-08-211-6/+2
| | | | | Change-Id: I79502de94325d339be182be391e4298f31c72d1b Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Add a copy of QProxyModel, which is now removed from qtbase.Stephen Kelly2012-08-214-2/+806
| | | | | Change-Id: I42ae44e974c9dba78e6c2d5441424896f0204d77 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Remove copy of QStandardItemModel.Stephen Kelly2012-08-208-3060/+9
| | | | | | | It is in QtGui, so no need to duplicate it here. Change-Id: I241f638f358af49a68163c71071bec5165e20445 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Update plugins declarationAnselmo L. S. Melo2012-06-224-3/+5
| | | | | | | | Q_EXPORT_PLUGIN2 is now deprecated. Q_PLUGIN_METADATA must be used now. The json files are empty yet. Change-Id: I6fbec87c9724d04c79fec09281fa8e1e31a2173a Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Ignore .app and dylib filesAnselmo L. S. Melo2012-05-301-0/+2
| | | | | Change-Id: I0e3541073eb0a8d6e5b5a1a0bbd0355721e0300c Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Added UiProxyQmlModel testsCidorvan Leite2012-05-254-1/+158
| | | | | | Change-Id: Ia9bef443b37f0c942447002bde7f31791718d2d8 Reviewed-by: Murilo Belluzzo <murilo.belluzzo@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Added role name property to QuickCompletionModelCidorvan Leite2012-05-245-35/+79
| | | | | | | | | This property is needed to select which role from QML ListModel we use in QuickCompletionModel. Change-Id: I3ca346cfc7d21373109e8750a0fc60ffd1c5503c Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Updated quick CompletionModel exampleCidorvan Leite2012-05-221-2/+43
| | | | | | | Using models in array and list format. Change-Id: I89e55e2727c00c9a5a2c4eb15ea86efa90a3286d Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Updated UiQuickCompletionModel model supportCidorvan Leite2012-05-211-41/+10
| | | | | | | | Using UiProxyQmlModel to convert Qml model to UiQuickCompletionModel model format. Change-Id: Id7a5565a55b0508d096f58c2f3bfd420685bf9e6 Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Added proxy model from QML modelCidorvan Leite2012-05-215-3/+190
| | | | | | | | This model will convert a QML model to QStandardItemModel format. Change-Id: I61c44d5e20b0302c408be23be1f97cd04b2745fa Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Added signal for properties changed in UiCompletionModelCidorvan Leite2012-05-172-5/+15
| | | | | | Change-Id: Ic5fab9572351ae361a719c5034164d993e63c052 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Fixed include headers in UiCompletionModelCidorvan Leite2012-05-172-3/+3
| | | | | | Change-Id: Ia746d79677a23ceb9d8de774f3bbc5fca4d38f87 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* UiTextFileModel separator now is a regular expressionAdriano Melo2012-04-276-7/+75
| | | | | | | | | - Separator property changed from QString to QRegExp - CaseSensitivity property added - QML UiTextFileModel example modified to use a regular expression Change-Id: I36e288ea87955c219bac1872ffde2fca17eb65fa Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
* Completion Model example modified to use a shared resourceAdriano Melo2012-04-272-243/+2
| | | | | Change-Id: I8423bab8e6a97fafb5f6811cc4fe902804be6503 Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Added UiTextFileModelAdriano Melo2012-04-2718-4/+952
| | | | | | | | | | | | 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>
* README++Anselmo L. S. Melo2012-04-111-1/+6
| | | | | | | | | Added wiki url, contact info. Change-Id: I02071334286324cf5c5a48e30683a236e2571cec Reviewed-by: Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org> Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
* Add and fix copyright header messagesAnselmo L. S. Melo2012-04-1026-10/+467
| | | | | | | | | The code copied from QtWidgets remains (C) Nokia only. Our contributions now have "(C) Instituto Nokia de Tecnologia (INdT)". Change-Id: Id0fccfc35120316b5a617c812998d6549746ef7c Reviewed-by: Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Completion model QML API bootstrapLuis Gabriel Lima2012-04-109-2/+386
| | | | | | | | | | | | | | This patch introduces a QML-friendy API to the UiCompletionModel. For now it is accepting just JS lists as models. Each element in the JS list is converted to string and then passed to the completion model. The plan is to make this element accept also other kind of models such as ListModel, XMLListModel and C++ models in general. There is an example in 'examples/models/quickcompletionmodel'. Change-Id: Ia2c77fe778b6356cacf80bac78fabb2edd350f6e Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Removing compile warnings from UiHelpersThiago de Barros Lacerda2012-04-085-34/+13
| | | | | | Change-Id: I6f39c848129fab8c50b600cab62c1ae587fdbf0e Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Polish UiStandardItemModelMailson Menezes2012-04-054-1144/+38
| | | | | | | | | Remove code related to widgets and uncomment some useful properties such as enabled and editable. Change-Id: I984966e9f3a25b67b4fd32e38e08f729b42bf010 Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Adding error notifications to UndoStack QML elementLuis Gabriel Lima2012-04-051-2/+9
| | | | | Change-Id: Id17345398e586c75712ce6285f6f663777589de8 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Remove unnecessary code from UiActionMailson Menezes2012-04-047-673/+7
| | | | | | | | Since UiAction will no longer depend on QWidget, anything related to it was removed Change-Id: I599f248971a14997eaae2b670b38b5a341267ebb Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Uncomment some useful properties of UiActionMailson Menezes2012-04-047-216/+211
| | | | | | | | Some properties such as 'visible', 'tooltip' and 'whatsThis' were previously commented out but they're actually still useful for UiAction. Change-Id: I57ae6fe0f4ab60292dc1dc868685061477feebe4 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Adding new features to UndoStack componentLuis Gabriel Lima2012-04-033-21/+126
| | | | | | | | | | | | | | | | | The private class impl. was moved to the .cpp file and the example also was changed to use the new properties. Exposed properties: - undoLimit - canUndo/canRedo (read-only) - count (read-only) Exposed functions: - clear() Change-Id: Ic647322afaa4926549e5826e7a593a583f7cc1c7 Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Remove unused code from UiFileSystemModelMailson Menezes2012-04-036-118/+1
| | | | | | Change-Id: I0bda4c1fc086ec3f10e6de7a4aa818a814421b42 Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Added d-pointer to UiQuickUndoPropertyCommand impl.Daker Fernandes Pinheiro2012-04-022-5/+29
| | | | | | | | Also fixed some minor code style and redundant typedefs. Change-Id: I9dd32769ea9c3f9a5c7081cfa9643ead9ded0382 Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Organized UndoCommand plugin code and files structureDaker Fernandes Pinheiro2012-04-029-140/+359
| | | | | | | | | | | - Splitted UiQuickCommands in a different file set. - Created a BaseUndoCommand to use polimorphism instead of the cast approach to check if the command will be directly pushed into the stack. Change-Id: I35cf88dba8c7a8639a9813ae0bf53c2a9f5da5df Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Using d-pointer in UiQuickUndoStackLuis Gabriel Lima2012-03-272-30/+37
| | | | | | | | Using this pattern in order to follow the Qt code style/guidelines. Change-Id: I52e1b305f4f1d1283e2a2934d0984f1e8c7ce19f Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org> Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* More files to gitignoreAnselmo L. S. Melo2012-03-271-1/+6
| | | | | Change-Id: Id669bd91d3824306b9489bf3bbb32833bd30da4b Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Add Undo Framework QML APILuis Gabriel Lima2012-03-2712-0/+675
| | | | | | | | | | | | | | | | | | | | | This commit introduces an initial implementation of a QML API for the Undo Framework. The QML plugin for this API exports three new QML elements: UndoStack, UndoCommand and UndoPropertyCommand. The API for both the first and the second are very similar to the QUndoStack and QUndoCommand C++ APIs. The thrid use the declarative nature of the QML elements to undo/redo based on the values of a group of properties specified by the user. This commit also adds an example in 'examples/undo/quickundo' to show how this API could be used. Other patchs are expected soon to improve this API and also add more examples/docs. Change-Id: I9d290f514b360c721116c3937bd0e03d5f0eacbb Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Fixing example header (QtDeclarative -> QtQml)Luis Gabriel Lima2012-03-241-1/+1
| | | | | Change-Id: I90eb59c77be0053351768da0445f309b9ad38022 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Added UiCompletionModel exampleCidorvan Leite2012-03-226-1/+339
| | | | | Change-Id: I264d91aaa572a270c8ee32230764efb22f89d4af Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Fixed UiCompletionModel filter resultCidorvan Leite2012-03-221-14/+11
| | | | | | | The model wasn't updating the result row count. Change-Id: I47a4da2d550458f24228bbbd4d52e6205c667a8d Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Fixed UiCompletionModel headersCidorvan Leite2012-03-223-9/+11
| | | | | | | Fixed #ifndef and class declaration Change-Id: I67d0c5304504c093e2b142023372633d50af5ffe Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Added UiCompletionModelCidorvan Leite2012-03-165-0/+1138
| | | | | Change-Id: Ief1e1b509e97f59b1fc7c3b0e55a8864ff4387d2 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Integrate examples buildAnselmo L. S. Melo2012-03-154-0/+14
| | | | | Change-Id: Iace0e738689bff25c0760b188a9a57d40cacdd1e Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* Use UiAction in UiUndo* classesAnselmo L. S. Melo2012-03-156-23/+33
| | | | | Change-Id: Iba5b293e5359958e418c4248f5acb894e16c9fb9 Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
* UiActionGroup testsMailson Menezes2012-03-154-1/+258
| | | | | Change-Id: Ifa13440662abebba1e3f163b07bc8884c78eceb6 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* UiAction testsMailson Menezes2012-03-152-169/+241
| | | | | Change-Id: I359a97f601a149e4e1fcbfb22e57c489b8c42f72 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Rename QAction to UiAction and move it to utilsMailson Menezes2012-03-1515-227/+237
| | | | | Change-Id: I69f04c3316e47bd58dc494d2e4c77bcd15b5117c Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Drop QAction shortcut for a whileMailson Menezes2012-03-153-2/+4
| | | | | Change-Id: I6d354a400d45af335a232d1f9c6e9f94b1fd7e4c Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Remove unused APIMailson Menezes2012-03-156-279/+285
| | | | | Change-Id: Iabfd90ad2d1960de38844d6c185c9755516bedc6 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* UiHelpers namespace for QActionMailson Menezes2012-03-154-10/+16
| | | | | Change-Id: I65e77d3486a71ee3ca5396c28dc98fb0512a6806 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* Remove QIcon from QActionMailson Menezes2012-03-153-82/+82
| | | | | Change-Id: Iad1abf0392107b8ebd8505bcd1a8d7127036c655 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
* QAction testsMailson Menezes2012-03-155-1/+395
| | | | | Change-Id: I3086e083cfdb69495a3a2bb963b3cf784c719ed6 Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>