| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I990d4c4630ee293ac6a1ac234066194ed81c709e
Reviewed-by: Anselmo L. S. Melo <anselmolsm@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I79502de94325d339be182be391e4298f31c72d1b
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
|
|
|
|
|
| |
Change-Id: I42ae44e974c9dba78e6c2d5441424896f0204d77
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
|
|
|
|
|
|
|
| |
It is in QtGui, so no need to duplicate it here.
Change-Id: I241f638f358af49a68163c71071bec5165e20445
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I0e3541073eb0a8d6e5b5a1a0bbd0355721e0300c
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
| |
Change-Id: Ia9bef443b37f0c942447002bde7f31791718d2d8
Reviewed-by: Murilo Belluzzo <murilo.belluzzo@openbossa.org>
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Using models in array and list format.
Change-Id: I89e55e2727c00c9a5a2c4eb15ea86efa90a3286d
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
|
| |
Using UiProxyQmlModel to convert Qml model to
UiQuickCompletionModel model format.
Change-Id: Id7a5565a55b0508d096f58c2f3bfd420685bf9e6
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
|
|
| |
This model will convert a QML model to
QStandardItemModel format.
Change-Id: I61c44d5e20b0302c408be23be1f97cd04b2745fa
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
| |
Change-Id: Ic5fab9572351ae361a719c5034164d993e63c052
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
| |
Change-Id: Ia746d79677a23ceb9d8de774f3bbc5fca4d38f87
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
Change-Id: I8423bab8e6a97fafb5f6811cc4fe902804be6503
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I6f39c848129fab8c50b600cab62c1ae587fdbf0e
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: Id17345398e586c75712ce6285f6f663777589de8
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Change-Id: I0bda4c1fc086ec3f10e6de7a4aa818a814421b42
Reviewed-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
- 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 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>
|
|
|
|
|
| |
Change-Id: Id669bd91d3824306b9489bf3bbb32833bd30da4b
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I90eb59c77be0053351768da0445f309b9ad38022
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: I264d91aaa572a270c8ee32230764efb22f89d4af
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
| |
The model wasn't updating the result row count.
Change-Id: I47a4da2d550458f24228bbbd4d52e6205c667a8d
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
|
|
| |
Fixed #ifndef and class declaration
Change-Id: I67d0c5304504c093e2b142023372633d50af5ffe
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: Ief1e1b509e97f59b1fc7c3b0e55a8864ff4387d2
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: Iace0e738689bff25c0760b188a9a57d40cacdd1e
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
| |
Change-Id: Iba5b293e5359958e418c4248f5acb894e16c9fb9
Reviewed-by: Luis Gabriel Lima <luis.gabriel@openbossa.org>
|
|
|
|
|
| |
Change-Id: Ifa13440662abebba1e3f163b07bc8884c78eceb6
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: I359a97f601a149e4e1fcbfb22e57c489b8c42f72
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: I69f04c3316e47bd58dc494d2e4c77bcd15b5117c
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: I6d354a400d45af335a232d1f9c6e9f94b1fd7e4c
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: Iabfd90ad2d1960de38844d6c185c9755516bedc6
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: I65e77d3486a71ee3ca5396c28dc98fb0512a6806
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: Iad1abf0392107b8ebd8505bcd1a8d7127036c655
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|
|
|
|
|
| |
Change-Id: I3086e083cfdb69495a3a2bb963b3cf784c719ed6
Reviewed-by: Anselmo L. S. Melo <anselmo.melo@openbossa.org>
|