diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-07 21:18:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-08 13:42:32 +0000 |
commit | 6df8417b98a74f58638b5fce7459c64f18ddedb4 (patch) | |
tree | 61dad6b61b3b77e04ba0513abba809c81b0ebcac /vcl/inc | |
parent | update sizegroup (diff) | |
download | core-6df8417b98a74f58638b5fce7459c64f18ddedb4.tar.gz core-6df8417b98a74f58638b5fce7459c64f18ddedb4.zip |
set action and content area via their internal-child ids
rather than based on their names, which changes if
there are more than one dialog in a .ui
set them explicitly in the manual-build-dialog
case of the SfxTabDialogs
Change-Id: I293c77df05d9e11e3f1cf3b358a9dd27fe668b0f
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/vcl/dialog.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/inc/vcl/dialog.hxx b/vcl/inc/vcl/dialog.hxx index 1f14ae144948..4c7149a5493b 100644 --- a/vcl/inc/vcl/dialog.hxx +++ b/vcl/inc/vcl/dialog.hxx @@ -54,6 +54,8 @@ private: bool mbIsDefferedInit; bool mbIsCalculatingInitialLayoutSize; Timer maLayoutTimer; + VclButtonBox* mpActionArea; + VclBox* mpContentArea; SAL_DLLPRIVATE void ImplInitDialogData(); SAL_DLLPRIVATE void ImplInitSettings(); @@ -83,6 +85,11 @@ protected: Dialog( Window* pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription, WindowType nType ); virtual void Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags ); +protected: + friend class VclBuilder; + void set_action_area(VclButtonBox *pBox); + void set_content_area(VclBox *pBox); + public: Dialog( Window* pParent, WinBits nStyle = WB_STDDIALOG ); Dialog( Window* pParent, const rtl::OString& rID, const rtl::OUString& rUIXMLDescription ); |