summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor/utils.cpp (unfollow)
Commit message (Collapse)Author
2017-02-04regtools/qeditor: replace deprecated QStyleOptionViewItemV4Amaury Pouly
...by QStyleOptionViewItem. Yes Qt got it right, in 5.7 they deprecated QStyleOptionViewItemV4 and recommend using QStyleOptionViewItem which contains less fields except on newer Qt where it contains all fields. Hopefully it still works on Qt>4.x for a large enough value of x. Change-Id: I013c383d2424b04c1c0745f0d7b1d5e62a29d324
2016-04-08qeditor: port to the new hwstub library and add featuresAmaury Pouly
This commit adds support for the version of the hwstub library, which requires a lot of changes. It also adds some editing features, such as register access and much better editing of fields using the mouse (double click on a field to be able to resize and move it). Change-Id: I3c4e4cc855cb44911c72bc8127bad841b68efe52
2016-02-06regtoosl/qeditor: port to the new description formatAmaury Pouly
This big commit port qeditor from v1 to v2 register file format. Although the display code was much simplified, the edit code had to be rewritten. The new code also brings many improvement to the register display widget. The new code also compiles with both Qt4 and Qt5, although it is recommended to use Qt5 to get some improvements, especially in the layout of editor. Change-Id: I24633ac37a144f25d9e705b565654269ec9cfbd3
2015-10-03qeditor: fix uninitialised variableAmaury Pouly
Change-Id: I12a785e554b7d598b91e526af1b7ebc1fc44f610
2015-09-11soc_desc: new version of the desc file formatAmaury Pouly
Fix qeditor to use the old soc_desc_v1. Port hwstub_shell to the new description format. Change-Id: I9fefbff534bfaa5c3603bb3dd8307a2b76e88cfc
2015-09-11qeditor: introduce new "sexy register display"Amaury Pouly
Change-Id: Ib938b4be71d2c7623851dbc3c211f96105077d7d
2015-09-10qeditor: use delegate to show bit range informationAmaury Pouly
Change-Id: I314365c3a2cb9d230c412f24d2a8034a12c43444
2014-12-15regtools/qeditor: use the new model, drop unused codeAmaury Pouly
Change-Id: Ic4e2e201f6d055c85d52b7fe15d25980386df5b8 Reviewed-on: http://gerrit.rockbox.org/1023 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15regtools/qeditor: introduce custom table model for reg fieldsAmaury Pouly
This one is much more efficient than using a generic table widget. Change-Id: I3578964eead746e656f6b0a8dcec0f8442deb13d Reviewed-on: http://gerrit.rockbox.org/1022 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15regtoosl/qeditor: remove unused codeAmaury Pouly
Change-Id: I79ad3151d6a500903786b3467c271b43741f8fee Reviewed-on: http://gerrit.rockbox.org/1021 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15regtools/qeditor: fix field editor not updating the validator on changeAmaury Pouly
Change-Id: Ib8df47c8b7cfe0beb486e45542e3fcc9187bcc54 Reviewed-on: http://gerrit.rockbox.org/1020 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: message widget now supports IDs, useful to clear messagesAmaury Pouly
Change-Id: Ibe0a8909128469a71a25415761860e06fc9f1e67 Reviewed-on: http://gerrit.rockbox.org/1006 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: change setting names, they were inconsistentAmaury Pouly
Change-Id: I47c94520749d0cef1e602c7c62c685a8a3703258 Reviewed-on: http://gerrit.rockbox.org/1000 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: display message on "Nothing" backend selectionAmaury Pouly
Change-Id: I071c79500f55afe0b6342cbb5a26a9fddba35d94 Reviewed-on: http://gerrit.rockbox.org/996 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: introduce a message widget to display non-interactive messagesAmaury Pouly
Change-Id: Iad43efa1f09428389fbd09403c1ae20d2805f1c5 Reviewed-on: http://gerrit.rockbox.org/987 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15qeditor: add copyrightAmaury Pouly
Change-Id: I7834bc09b21f2a2d84b1c9edbbe1188372809c63 Reviewed-on: http://gerrit.rockbox.org/983 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-12-15Revert "regtools/qeditor: use the new model, drop unused code"Amaury Pouly
This reverts commit 3b3d9bf725a5b04e4cd9bc4254fbd2594b518e89. Gerrit did crap on this one.
2014-12-15regtools/qeditor: use the new model, drop unused codeAmaury Pouly
Change-Id: Ic4e2e201f6d055c85d52b7fe15d25980386df5b8 Reviewed-on: http://gerrit.rockbox.org/1023 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19qeditor: implement usb device list refresh (if supported)Amaury Pouly
Change-Id: Iaf05cad0e057f767dcde963d194027b2e290dbea Reviewed-on: http://gerrit.rockbox.org/978 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-09-19qeditor: move backend selector to its own class, that's cleanerAmaury Pouly
Change-Id: I7f3fa66a8f67639b4b64cf9f6acc5fb10e227653 Reviewed-on: http://gerrit.rockbox.org/974 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-05-12qeditor: on Windows it’s not impossible to create a file with AUXDmitry Gamza
Change-Id: Ic7ef01328eccbed4afddb0a09d2afbb6c1f6a28f Reviewed-on: http://gerrit.rockbox.org/811 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-05-11qeditor: many enhancementAmaury Pouly
Qeditor has been improved in many ways: - it can now dump all registers, just like the lua DUMPER.dump_all() command - several crash were fixed - when connected to a hwstub command, one can correctly edit individual fields - the code was simplified in several places Change-Id: I092b99ce3a12ff6417552de61d62c65f706bcff0
2014-05-01regtools: completely rework qeditor, improve soc desc library and toolsAmaury Pouly
The graphical editor can now display and editor description files. The library has been improved to provide more useful function. The XML format has been slightly changed: only one soc is allowed per file (this is was already de facto the case since <soc> was the root tag). Also introduce a DTD to validate the files. Change-Id: If70ba35b6dc0242bdb87411cf4baee9597798aac