On Tue, 2013-02-26 at 01:15 -0300, Olivier Hallot wrote:
1) On the Page format tab page there is a difference between pages
formats for Writer+Calc and Draw.
RID_SVXSTRARY_PAPERSIZE_STD and RID_SVXSTRARY_PAPERSIZE_DRAW (found in
cui/source/tabpages/page.src)
Can we swap ListStores used in ListBoxes through VCL?
Hmm, at the moment anyway no, because the "ListStores" only exist as
glue code in the builder, on the other hand what you can do is make
*two* listboxes, each connected to a different liststore, set both to
visible false and get + show the correct one in the dialog ctor, e.g.
something like
if (bDraw || bImpress)
get(m_pListBox, "drawpages")
else
get(m_pListBox, "normalpages")
m_pListBox->Show();
2) Is there a special trick to make
m_pWidget->Show();
m_pWidget->Hide();
work?
Not sure what you mean ? Do you mean is it possible to set a widget in
glade to invisible ?, then sure, common: set visible to No (and set No
show all to No)
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.