add capability to load FloatingWindows from .ui

in theory anyway

Change-Id: I8230462bdb05e4a71e366c1a92ba388a8ea12c82
This commit is contained in:
Caolán McNamara
2014-08-30 20:55:59 +01:00
parent e1bf8fff0d
commit 835ca0a10d
2 changed files with 6 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ public:
public:
explicit FloatingWindow( Window* pParent, WinBits nStyle = WB_STDFLOATWIN );
explicit FloatingWindow(Window* pParent, const OString& rID, const OUString& rUIXMLDescription);
explicit FloatingWindow( Window* pParent, const ResId& );
virtual ~FloatingWindow();

View File

@@ -164,6 +164,11 @@ FloatingWindow::FloatingWindow( Window* pParent, const ResId& rResId ) :
Show();
}
FloatingWindow::FloatingWindow(Window* pParent, const OString& rID, const OUString& rUIXMLDescription)
: SystemWindow(pParent, rID, rUIXMLDescription, WINDOW_FLOATINGWINDOW)
{
}
void FloatingWindow::ImplLoadRes( const ResId& rResId )
{
SystemWindow::ImplLoadRes( rResId );