diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-11-06 10:17:10 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-11-06 10:37:47 +0200 |
commit | d6cd273c59c976c085d68e9f171a09bf018b0039 (patch) | |
tree | 49b7b17bbd7f807a2b67e727ccdf95d908714b96 /sfx2 | |
parent | de016544e7fd243d7f922b06c7fd11aadd9f0324 (diff) |
Add function to map custom widget name to its function to native-code.py
Use that function in the dialog builder instead of having explicit
code in there to check the names.
For now this simply uses a manually curated list of custom widgets. I
used some command line tools to extract the names of custom widgets
used in our .ui files, and then filtered out some I guess (hope) will
not be needed in a mobile app.
For this to work the custom widgets need to have unique names.
Currently that is not the case. Unless I did some mistake, there is
just one case of duplicate name, NotebookbarTabControl, which exists
both in the sfx and vcl libraries. (I simply filtered out that one,
too, for now.)
Change-Id: I29bbf6dfef2b3bde03acfc322495d051a7f275a8
Diffstat (limited to 'sfx2')
0 files changed, 0 insertions, 0 deletions