LibreOffice Module vcl (master) 1
|
A SalFrame is a system window (e.g. an X11 window). More...
#include <salframe.hxx>
Classes | |
struct | SalPointerState |
Public Member Functions | |
SalFrame () | |
virtual | ~SalFrame () override |
virtual tools::Long | GetWidth () const override |
virtual tools::Long | GetHeight () const override |
virtual bool | IsOffScreen () const override |
virtual SalGraphics * | AcquireGraphics ()=0 |
virtual void | ReleaseGraphics (SalGraphics *pGraphics)=0 |
virtual bool | PostEvent (std::unique_ptr< ImplSVEvent > pData)=0 |
virtual void | SetTitle (const OUString &rTitle)=0 |
virtual void | SetIcon (sal_uInt16 nIcon)=0 |
virtual void | SetRepresentedURL (const OUString &) |
virtual void | SetMenu (SalMenu *pSalMenu)=0 |
virtual void | SetExtendedFrameStyle (SalExtStyle nExtStyle)=0 |
virtual void | Show (bool bVisible, bool bNoActivate=false)=0 |
virtual void | SetMinClientSize (tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | SetMaxClientSize (tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags)=0 |
virtual void | GetClientSize (tools::Long &rWidth, tools::Long &rHeight)=0 |
virtual void | GetWorkArea (tools::Rectangle &rRect)=0 |
virtual SalFrame * | GetParent () const =0 |
SalFrameGeometry | GetGeometry () const |
const SalFrameGeometry & | GetUnmirroredGeometry () const |
virtual void | SetWindowState (const vcl::WindowData *)=0 |
virtual bool | GetWindowState (vcl::WindowData *)=0 |
virtual void | ShowFullScreen (bool bFullScreen, sal_Int32 nDisplay)=0 |
virtual void | PositionByToolkit (const tools::Rectangle &, FloatWinPopupFlags) |
virtual void | StartPresentation (bool bStart)=0 |
virtual void | SetAlwaysOnTop (bool bOnTop)=0 |
virtual void | ToTop (SalFrameToTop nFlags)=0 |
virtual void | GrabFocus () |
virtual void | SetPointer (PointerStyle ePointerStyle)=0 |
virtual void | CaptureMouse (bool bMouse)=0 |
virtual void | SetPointerPos (tools::Long nX, tools::Long nY)=0 |
virtual void | Flush ()=0 |
virtual void | Flush (const tools::Rectangle &) |
virtual void | SetInputContext (SalInputContext *pContext)=0 |
virtual void | EndExtTextInput (EndExtTextInputFlags nFlags)=0 |
virtual OUString | GetKeyName (sal_uInt16 nKeyCode)=0 |
virtual bool | MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode)=0 |
virtual LanguageType | GetInputLanguage ()=0 |
virtual void | UpdateSettings (AllSettings &rSettings)=0 |
virtual void | Beep ()=0 |
virtual const SystemEnvData * | GetSystemData () const =0 |
virtual void | ResolveWindowHandle (SystemEnvData &) const |
virtual SalPointerState | GetPointerState ()=0 |
virtual KeyIndicatorState | GetIndicatorState ()=0 |
virtual void | SimulateKeyPress (sal_uInt16 nKeyCode)=0 |
virtual void | SetParent (SalFrame *pNewParent)=0 |
virtual void | SetPluginParent (SystemParentData *pNewParent)=0 |
virtual void | SetScreenNumber (unsigned int nScreen)=0 |
virtual void | SetApplicationID (const OUString &rApplicationID)=0 |
virtual void | ResetClipRegion ()=0 |
virtual void | BeginSetClipRegion (sal_uInt32 nRects)=0 |
virtual void | UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0 |
virtual void | EndSetClipRegion ()=0 |
virtual void | SetModal (bool) |
virtual bool | GetModal () const |
virtual bool | ShowTooltip (const OUString &, const tools::Rectangle &) |
virtual void * | ShowPopover (const OUString &, vcl::Window *, const tools::Rectangle &, QuickHelpFlags) |
virtual bool | UpdatePopover (void *, const OUString &, vcl::Window *, const tools::Rectangle &) |
virtual bool | HidePopover (void *) |
virtual weld::Window * | GetFrameWeld () const |
void | SetCallback (vcl::Window *pWindow, SALFRAMEPROC pProc) |
vcl::Window * | GetWindow () const |
void | SetModalHierarchyHdl (const Link< bool, void > &rLink) |
void | NotifyModalHierarchy (bool bModal) |
virtual void | UpdateDarkMode () |
virtual bool | GetUseDarkMode () const |
virtual bool | GetUseReducedAnimation () const |
bool | CallCallback (SalEvent nEvent, const void *pEvent) const |
Public Member Functions inherited from vcl::DeletionNotifier | |
void | addDel (DeletionListener *pListener) |
void | removeDel (DeletionListener *pListener) |
Public Member Functions inherited from SalGeometryProvider | |
virtual | ~SalGeometryProvider () |
virtual tools::Long | GetWidth () const =0 |
virtual tools::Long | GetHeight () const =0 |
virtual bool | IsOffScreen () const =0 |
Static Public Member Functions | |
static OUString | DumpSetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) |
static Selection | CalcDeleteSurroundingSelection (const OUString &rSurroundingText, sal_Int32 nCursorIndex, int nOffset, int nChars) |
Public Attributes | |
SalFrameGeometry | maGeometry |
absolute, unmirrored values More... | |
Protected Attributes | |
std::unique_ptr< weld::Window > | m_xFrameWeld |
Private Attributes | |
VclPtr< vcl::Window > | m_pWindow |
SALFRAMEPROC | m_pProc |
Link< bool, void > | m_aModalHierarchyHdl |
Additional Inherited Members | |
Protected Member Functions inherited from vcl::DeletionNotifier | |
DeletionNotifier () | |
~DeletionNotifier () | |
void | notifyDelete () |
A SalFrame is a system window (e.g. an X11 window).
Definition at line 112 of file salframe.hxx.
SalFrame::SalFrame | ( | ) |
Definition at line 86 of file salvtables.cxx.
|
overridevirtual |
Definition at line 95 of file salvtables.cxx.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by Sound::Beep().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
static |
Definition at line 7524 of file salvtables.cxx.
References nCount, SAL_MAX_UINT32, and SAL_WARN.
|
inline |
Definition at line 309 of file salframe.hxx.
Referenced by QtFrame::CallCallback(), and X11SalFrame::Close().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
static |
Definition at line 112 of file salvtables.cxx.
References aBuffer, SAL_FRAME_POSSIZE_HEIGHT, SAL_FRAME_POSSIZE_WIDTH, SAL_FRAME_POSSIZE_X, and SAL_FRAME_POSSIZE_Y.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by vcl::Window::EndExtTextInput().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, QtFrame, GtkSalFrame, X11SalFrame, WinSalFrame, SvpSalFrame, QtFrame, GtkSalFrame, X11SalFrame, WinSalFrame, and AquaSalFrame.
Referenced by Flush().
|
virtual |
Reimplemented in SvpSalFrame, QtFrame, GtkSalFrame, X11SalFrame, WinSalFrame, and AquaSalFrame.
Definition at line 105 of file salvtables.cxx.
References Flush().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by ImplWindowFrameProc().
|
virtual |
Reimplemented in GtkSalFrame.
Definition at line 7510 of file salvtables.cxx.
References vcl::Window::GetFrameWindow(), GetWindow(), and m_xFrameWeld.
Referenced by vcl::Window::GetFrameWeld().
SalFrameGeometry SalFrame::GetGeometry | ( | ) | const |
Definition at line 37 of file salgdilayout.cxx.
References AllSettings::GetLayoutRTL(), GetParent(), maGeometry, vcl::WindowPosSize::setX(), vcl::WindowPosSize::width(), and vcl::WindowPosSize::x().
Referenced by vcl::Window::ImplCallMove(), and ImplWindowFrameProc().
|
inlineoverridevirtual |
Implements SalGeometryProvider.
Definition at line 131 of file salframe.hxx.
References vcl::WindowPosSize::height().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by vcl::KeyCode::GetName().
|
inlinevirtual |
Reimplemented in QtFrame, and GtkSalFrame.
Definition at line 261 of file salframe.hxx.
Referenced by SalInstanceWindow::get_modal().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by GetGeometry().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
inline |
Definition at line 165 of file salframe.hxx.
|
inlinevirtual |
Reimplemented in AquaSalFrame, GtkSalFrame, and WinSalFrame.
Definition at line 303 of file salframe.hxx.
Referenced by MiscSettings::GetUseDarkMode().
|
inlinevirtual |
Reimplemented in AquaSalFrame, QtFrame, GtkSalFrame, and WinSalFrame.
Definition at line 304 of file salframe.hxx.
Referenced by MiscSettings::GetUseReducedAnimation().
|
inlineoverridevirtual |
Implements SalGeometryProvider.
Definition at line 130 of file salframe.hxx.
References vcl::WindowPosSize::width().
|
inline |
Definition at line 297 of file salframe.hxx.
Referenced by GetFrameWeld(), and vcl::Window::GetFrameWindow().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
inlinevirtual |
Reimplemented in GtkSalFrame.
Definition at line 184 of file salframe.hxx.
|
inlinevirtual |
Reimplemented in GtkSalFrame.
Definition at line 285 of file salframe.hxx.
Referenced by Help::HidePopover().
|
inlineoverridevirtual |
Implements SalGeometryProvider.
Definition at line 132 of file salframe.hxx.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by MenuItemList::GetItemCount(), and MenuItemList::SearchItem().
|
inline |
Definition at line 300 of file salframe.hxx.
References Link< typename Arg, typename Ret >::Call().
Referenced by Dialog::SetModalInputMode().
|
inlinevirtual |
Reimplemented in GtkSalFrame.
Definition at line 173 of file salframe.hxx.
Referenced by FloatingWindow::StartPopupMode().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by Application::PostUserEvent().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
inlinevirtual |
Reimplemented in QtFrame, and GtkSalFrame.
Definition at line 220 of file salframe.hxx.
Referenced by SystemEnvData::GetWindowHandle().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, QtFrame, AquaSalFrame, WinSalFrame, GtkSalFrame, and X11SalFrame.
void SalFrame::SetCallback | ( | vcl::Window * | pWindow, |
SALFRAMEPROC | pProc | ||
) |
Definition at line 97 of file salvtables.cxx.
References m_pProc, and m_pWindow.
Referenced by vcl::Window::ImplInit().
|
pure virtual |
Implemented in SvpSalFrame, QtFrame, GtkSalFrame, X11SalFrame, WinSalFrame, and AquaSalFrame.
Referenced by vcl::Window::SetExtendedStyle().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by vcl::Window::ImplNewInputContext().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, QtFrame, X11SalFrame, AquaSalFrame, GtkSalFrame, and WinSalFrame.
Referenced by MenuBarWindow::SetMenu().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
inlinevirtual |
Reimplemented in QtFrame, and GtkSalFrame.
Definition at line 257 of file salframe.hxx.
Referenced by SalInstanceWindow::set_modal(), and Dialog::SetModalInputMode().
|
inline |
Definition at line 299 of file salframe.hxx.
Referenced by vcl::Window::SetModalHierarchyHdl().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by ImplHandleMouseFloatMode(), and ImplSetMousePointer().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
virtual |
Reimplemented in AquaSalFrame.
Definition at line 107 of file salvtables.cxx.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, WinSalFrame, and X11SalFrame.
Referenced by WorkWindow::ShowFullScreenMode().
|
inlinevirtual |
Reimplemented in GtkSalFrame.
Definition at line 273 of file salframe.hxx.
Referenced by Help::ShowPopover().
|
inlinevirtual |
Reimplemented in GtkSalFrame, and QtFrame.
Definition at line 267 of file salframe.hxx.
Referenced by ImplShowHelpWindow().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
|
inlinevirtual |
Reimplemented in AquaSalFrame, GtkSalFrame, and WinSalFrame.
Definition at line 302 of file salframe.hxx.
Referenced by MiscSettings::SetDarkMode().
|
inlinevirtual |
Reimplemented in GtkSalFrame.
Definition at line 279 of file salframe.hxx.
Referenced by Help::UpdatePopover().
|
pure virtual |
Implemented in SvpSalFrame, AquaSalFrame, QtFrame, GtkSalFrame, X11SalFrame, and WinSalFrame.
Referenced by MenuFloatingWindow::ApplySettings(), MenuBarWindow::ImplInitStyleSettings(), and vcl::Window::ImplUpdateGlobalSettings().
|
private |
Definition at line 120 of file salframe.hxx.
|
private |
Definition at line 119 of file salframe.hxx.
Referenced by SetCallback().
|
private |
Definition at line 118 of file salframe.hxx.
Referenced by SetCallback().
|
mutableprotected |
Definition at line 122 of file salframe.hxx.
Referenced by GetFrameWeld().
SalFrameGeometry SalFrame::maGeometry |
absolute, unmirrored values
Definition at line 127 of file salframe.hxx.
Referenced by GtkSalFrame::GetDisplayScreen(), GetGeometry(), Menu::ImplCalcSize(), and ImplWindowFrameProc().