summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor/regtab.h (follow)
Commit message (Collapse)AuthorAge
* regtoosl/qeditor: port to the new description formatAmaury Pouly2016-02-06
| | | | | | | | | | | 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
* qeditor: message widget now supports IDs, useful to clear messagesAmaury Pouly2014-12-15
| | | | | | Change-Id: Ibe0a8909128469a71a25415761860e06fc9f1e67 Reviewed-on: http://gerrit.rockbox.org/1006 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: introduce a message widget to display non-interactive messagesAmaury Pouly2014-12-15
| | | | | | Change-Id: Iad43efa1f09428389fbd09403c1ae20d2805f1c5 Reviewed-on: http://gerrit.rockbox.org/987 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: add copyrightAmaury Pouly2014-12-15
| | | | | | Change-Id: I7834bc09b21f2a2d84b1c9edbbe1188372809c63 Reviewed-on: http://gerrit.rockbox.org/983 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: rework modified indicator, register tab names depend on contentAmaury Pouly2014-09-19
| | | | | | | | | | | | Because Qt doesn't support QObject multiple inherance, it is a bit tricky to have a base class which interact with the UI. The register tab name now display: - file dump name (for dumps) - hwstub device path (for hwstub) And the register editor display the filename Change-Id: If2579992098c02627c67d560c824f1668e73bc45 Reviewed-on: http://gerrit.rockbox.org/979 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: fix UI to update register/analyser view on each tree/list clickAmaury Pouly2014-09-19
| | | | | | Change-Id: Idaceb7ffaf33c2184a43353dd9d7dee20ac807a9 Reviewed-on: http://gerrit.rockbox.org/972 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: when switching type tab, automagically switch view, implement reloadAmaury Pouly2014-09-19
| | | | | | Change-Id: I7360af3b5dd7380151732687d6d8de3dbd503f20 Reviewed-on: http://gerrit.rockbox.org/976 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: move backend selector to its own class, that's cleanerAmaury Pouly2014-09-19
| | | | | | Change-Id: I7f3fa66a8f67639b4b64cf9f6acc5fb10e227653 Reviewed-on: http://gerrit.rockbox.org/974 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: add soc panel, to display soc informationAmaury Pouly2014-09-07
| | | | Change-Id: Ie442b82d96fb150c7466f1a274240f9b111fd91e
* qeditor: many enhancementAmaury Pouly2014-05-11
| | | | | | | | | | 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
* regtools: completely rework qeditor, improve soc desc library and toolsAmaury Pouly2014-05-01
| | | | | | | | | | 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
* regtools/qeditor: implement UI code to write registersAmaury Pouly2014-02-10
| | | | | | | | | | The UI now has a "read-only" check box to prevent accidently changes: once unchecked, the UI can do write to register (only full register writes are supported for now). If the register supports it, the UI provides SCT writes as well. The display register panel was moved to its own class to cleanup things a bit. Change-Id: I0fc6aab3b351f9080076102ee6fad0037ab5353b
* regtools/qeditor: clean-upAmaury Pouly2014-02-10
| | | | | | | Free the backend when closing a tab to release some memory. Implement about dialogs. Change-Id: Ic8c500a23d38e6c3dd4de6a4ba862012925968be
* regtools/qeditor: prepare support for register writingAmaury Pouly2014-02-10
| | | | Change-Id: Ifef36a3ddb1604db63ec974da2d6a77a5540ff42
* regtools/qeditor: rewrite soc handlingAmaury Pouly2014-02-10
| | | | | | | | | The code was a mess with respect to soc handling: some code just plain copied the SoC descriptor which are big objects, some was using indexes. The new soc factor out everything in a few classes which hide these ugly details so that descriptors are never copied. Change-Id: I17af8b47f997a528b58221621389d42d24fded93
* utils/regtools: slight rework of tab management in qeditorAmaury Pouly2014-02-10
| | | | Change-Id: Iaf41defb79bb76010f3ff5269c28e4bad991ebc3
* utils/regtools: make qeditor able to poke directly at a hwstub deviceAmaury Pouly2014-02-10
| | | | | | | | | | | | | | | This commit add the very handy feature of being able to read registers directly from a device using hwstub. This is mostly trivial using the hwstub library and the biggest change here is actually: - being able to read registers by name and/or addresses - being able to enumerate devives The UI code currently doesn't handle hotplug but the backend does so it should be trivial to add in the future. It also opens up the possibility the write registers from hwstub or save the register values to a file. Since it relies on both hwstub and libusb, a switch has been introduced in qmake to disable it (use -config nohwstub). Change-Id: I5d7d7a2a7c97ecd7407227357c8553c2773ea6cc
* regtools: add graphical register explorer + analyserAmaury Pouly2013-08-21
This tool allows one to explore any register map. Register dumps (like produced by hwstub tools) can be loaded and decoded by the tool. Finally some analysers are provided for specific soc analysis like clock tree and emi on imx233 for example. Change-Id: Iaf81bd52d15f3e44ab4fe9bc039153fcf60cf92a