On Wed, 2013-06-26 at 16:36 +0200, Jan Holesovsky wrote:
Hi Manal,
Manal M. Alhassoun píše v St 26. 06. 2013 v 11:30 +0000:
I'm trying to convert FontTypeDialog into .ui format
However, I get the following error:
warn:vcl.layout:14483:1:include/vcl/builder.hxx:255: .ui widget
"variableCB" needs to correspond to vcl type 17SmFontPickListBox
what type of GTK should I use ? or How I can fix this error ?
This SmFontPickListBox has to be treated as a custom widget. Please see
https://wiki.documentfoundation.org/Development/WidgetLayout#Custom_Widgets
how to enable it for .ui. You can see an example of such a conversion
here:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=07b0ad4fa63e2a5606587370da4b60e6b1dd
kendy, there's a little bug in those examples in the sense that the
second argument, the editable map of widget properties, is missing.
It'll work alright without it, but best to have that in there too.
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.