On Wed, 2014-07-02 at 15:47 +0200, Mihály Palenik wrote:
Hello!
I'm making RID_CONDFORMAT conversion to .ui. It contains a
Control(http://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/dlg/CondFormat.src#25).
I'd like to convert this
Control(http://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/dlg/Condition.hxx#64) to
.ui. It was inherited VclBuilderContainer and I allocate memory for m_pUIBuilder in ctor and use
'get' function to connect variable with ui file's widgets. It compiled but not work. I see my
dialog but don't draw converted control. Did I miss out something?
Hard to tell without seeing the code in question. Probably its a missing
implementation of ::Resize etc to trigger the request of size allocation
from the contents of the window and to apply the size to the tree.
You might get away with replacing "public Control" with "public VclHBox"
like SwTokenWindow does in order to reuse the hbox implementations of
those.
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.