LibreOffice Module vcl (master) 1
|
#include <QtFrame.hxx>
Public Member Functions | |
QtFrame (QtFrame *pParent, SalFrameStyleFlags nSalFrameStyle, bool bUseCairo) | |
virtual | ~QtFrame () override |
QWidget * | GetQWidget () const |
QtMainWindow * | GetTopLevelWindow () const |
QWidget * | asChild () const |
qreal | devicePixelRatioF () const |
int | menuBarOffset () const |
void | Damage (sal_Int32 nExtentsX, sal_Int32 nExtentsY, sal_Int32 nExtentsWidth, sal_Int32 nExtentsHeight) const |
virtual SalGraphics * | AcquireGraphics () override |
virtual void | ReleaseGraphics (SalGraphics *pGraphics) override |
virtual bool | PostEvent (std::unique_ptr< ImplSVEvent > pData) override |
virtual void | SetTitle (const OUString &rTitle) override |
virtual void | SetIcon (sal_uInt16 nIcon) override |
virtual void | SetMenu (SalMenu *pMenu) override |
virtual void | registerDragSource (QtDragSource *pDragSource) |
virtual void | deregisterDragSource (QtDragSource const *pDragSource) |
virtual void | registerDropTarget (QtDropTarget *pDropTarget) |
virtual void | deregisterDropTarget (QtDropTarget const *pDropTarget) |
void | handleDragLeave () |
void | handleDragMove (QDragMoveEvent *pEvent) |
void | handleDrop (QDropEvent *pEvent) |
virtual void | SetExtendedFrameStyle (SalExtStyle nExtStyle) override |
virtual void | Show (bool bVisible, bool bNoActivate=false) override |
virtual void | SetMinClientSize (tools::Long nWidth, tools::Long nHeight) override |
virtual void | SetMaxClientSize (tools::Long nWidth, tools::Long nHeight) override |
virtual void | SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) override |
virtual void | GetClientSize (tools::Long &rWidth, tools::Long &rHeight) override |
virtual void | GetWorkArea (tools::Rectangle &rRect) override |
virtual SalFrame * | GetParent () const override |
virtual void | SetModal (bool bModal) override |
virtual bool | GetModal () const override |
virtual void | SetWindowState (const vcl::WindowData *) override |
virtual bool | GetWindowState (vcl::WindowData *) override |
virtual void | ShowFullScreen (bool bFullScreen, sal_Int32 nDisplay) override |
virtual void | StartPresentation (bool bStart) override |
virtual void | SetAlwaysOnTop (bool bOnTop) override |
virtual void | ToTop (SalFrameToTop nFlags) override |
virtual void | SetPointer (PointerStyle ePointerStyle) override |
virtual void | CaptureMouse (bool bMouse) override |
virtual void | SetPointerPos (tools::Long nX, tools::Long nY) override |
virtual bool | ShowTooltip (const OUString &rText, const tools::Rectangle &rHelpArea) override |
virtual void | Flush () override |
virtual void | SetInputContext (SalInputContext *pContext) override |
virtual void | EndExtTextInput (EndExtTextInputFlags nFlags) override |
virtual OUString | GetKeyName (sal_uInt16 nKeyCode) override |
virtual bool | MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode) override |
virtual LanguageType | GetInputLanguage () override |
virtual void | UpdateSettings (AllSettings &rSettings) override |
virtual void | Beep () override |
virtual const SystemEnvData * | GetSystemData () const override |
virtual SalPointerState | GetPointerState () override |
virtual KeyIndicatorState | GetIndicatorState () override |
virtual void | SimulateKeyPress (sal_uInt16 nKeyCode) override |
virtual void | SetParent (SalFrame *pNewParent) override |
virtual void | SetPluginParent (SystemParentData *pNewParent) override |
virtual void | ResetClipRegion () override |
virtual void | BeginSetClipRegion (sal_uInt32 nRects) override |
virtual void | UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override |
virtual void | EndSetClipRegion () override |
virtual void | SetScreenNumber (unsigned int) override |
virtual void | SetApplicationID (const OUString &) override |
virtual void | ResolveWindowHandle (SystemEnvData &rData) const override |
virtual bool | GetUseReducedAnimation () const override |
bool | CallCallback (SalEvent nEvent, const void *pEvent) const |
void | setInputLanguage (LanguageType) |
bool | isPopup () const |
virtual void | Flush ()=0 |
virtual void | Flush (const tools::Rectangle &) |
Public Member Functions inherited from SalFrame | |
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 void | FillSystemEnvData (SystemEnvData &, sal_IntPtr pWindow, QWidget *pWidget) |
Static Public Member Functions inherited from SalFrame | |
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) |
Private Slots | |
void | screenChanged (QScreen *) |
Private Member Functions | |
void | SetDefaultPos () |
Size | CalcDefaultSize () |
void | SetDefaultSize () |
bool | isChild (bool bPlug=true, bool bSysChild=true) const |
bool | isWindow () const |
QWindow * | windowHandle () const |
QScreen * | screen () const |
bool | isMinimized () const |
bool | isMaximized () const |
void | SetWindowStateImpl (Qt::WindowStates eState) |
void | fixICCCMwindowGroup () |
Private Attributes | |
QtWidget * | m_pQWidget |
QtMainWindow * | m_pTopLevel |
const bool | m_bUseCairo |
std::unique_ptr< QImage > | m_pQImage |
std::unique_ptr< QtGraphics > | m_pQtGraphics |
UniqueCairoSurface | m_pSurface |
std::unique_ptr< QtSvpGraphics > | m_pSvpGraphics |
DamageHandler | m_aDamageHandler |
QRegion | m_aRegion |
bool | m_bNullRegion |
bool | m_bGraphicsInUse |
SalFrameStyleFlags | m_nStyle |
QtFrame * | m_pParent |
PointerStyle | m_ePointerStyle |
SystemEnvData | m_aSystemData |
QtDragSource * | m_pDragSource |
QtDropTarget * | m_pDropTarget |
bool | m_bInDrag |
bool | m_bDefaultSize |
bool | m_bDefaultPos |
bool | m_bFullScreen |
bool | m_bFullScreenSpanAll |
sal_uInt32 | m_nRestoreScreen |
QRect | m_aRestoreGeometry |
LanguageType | m_nInputLanguage |
OUString | m_aTooltipText |
QRect | m_aTooltipArea |
Friends | |
class | QtWidget |
Additional Inherited Members | |
Public Attributes inherited from SalFrame | |
SalFrameGeometry | maGeometry |
absolute, unmirrored values More... | |
Protected Member Functions inherited from vcl::DeletionNotifier | |
DeletionNotifier () | |
~DeletionNotifier () | |
void | notifyDelete () |
Protected Attributes inherited from SalFrame | |
std::unique_ptr< weld::Window > | m_xFrameWeld |
Definition at line 68 of file qt5/QtFrame.hxx.
QtFrame::QtFrame | ( | QtFrame * | pParent, |
SalFrameStyleFlags | nSalFrameStyle, | ||
bool | bUseCairo | ||
) |
|
overridevirtual |
|
overridevirtual |
Implements SalFrame.
QWidget * QtFrame::asChild | ( | ) | const |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
inline |
Definition at line 226 of file qt5/QtFrame.hxx.
References SalFrame::CallCallback().
|
overridevirtual |
Implements SalFrame.
void QtFrame::Damage | ( | sal_Int32 | nExtentsX, |
sal_Int32 | nExtentsY, | ||
sal_Int32 | nExtentsWidth, | ||
sal_Int32 | nExtentsHeight | ||
) | const |
|
virtual |
|
virtual |
qreal QtFrame::devicePixelRatioF | ( | ) | const |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
static |
|
private |
|
overridevirtual |
Implements SalFrame.
|
virtual |
Implements SalFrame.
|
virtual |
Reimplemented from SalFrame.
Definition at line 194 of file salvtables.cxx.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
inline |
Definition at line 144 of file qt5/QtFrame.hxx.
Referenced by QtPainter::update(), and QtPainter::~QtPainter().
|
inlineoverridevirtual |
Implements SalFrame.
Definition at line 202 of file qt5/QtFrame.hxx.
|
inline |
Definition at line 145 of file qt5/QtFrame.hxx.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
void QtFrame::handleDragLeave | ( | ) |
void QtFrame::handleDragMove | ( | QDragMoveEvent * | pEvent | ) |
void QtFrame::handleDrop | ( | QDropEvent * | pEvent | ) |
|
inlineprivate |
Definition at line 118 of file qt5/QtFrame.hxx.
References NONE, PLUG, and SYSTEMCHILD.
|
private |
|
private |
|
inline |
Definition at line 232 of file qt5/QtFrame.hxx.
References FLOAT, m_nStyle, and OWNERDRAWDECORATION.
|
private |
|
overridevirtual |
Implements SalFrame.
int QtFrame::menuBarOffset | ( | ) | const |
|
overridevirtual |
Implements SalFrame.
|
virtual |
|
virtual |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
private |
|
privateslot |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
void QtFrame::setInputLanguage | ( | LanguageType | ) |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Reimplemented from SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
overridevirtual |
Implements SalFrame.
|
private |
|
friend |
Definition at line 72 of file qt5/QtFrame.hxx.
|
private |
Definition at line 82 of file qt5/QtFrame.hxx.
|
private |
Definition at line 83 of file qt5/QtFrame.hxx.
|
private |
Definition at line 102 of file qt5/QtFrame.hxx.
|
private |
Definition at line 91 of file qt5/QtFrame.hxx.
|
private |
Definition at line 112 of file qt5/QtFrame.hxx.
|
private |
Definition at line 111 of file qt5/QtFrame.hxx.
|
private |
Definition at line 98 of file qt5/QtFrame.hxx.
|
private |
Definition at line 97 of file qt5/QtFrame.hxx.
|
private |
Definition at line 99 of file qt5/QtFrame.hxx.
|
private |
Definition at line 100 of file qt5/QtFrame.hxx.
|
private |
Definition at line 86 of file qt5/QtFrame.hxx.
|
private |
Definition at line 95 of file qt5/QtFrame.hxx.
|
private |
Definition at line 84 of file qt5/QtFrame.hxx.
|
private |
Definition at line 77 of file qt5/QtFrame.hxx.
|
private |
Definition at line 89 of file qt5/QtFrame.hxx.
|
private |
Definition at line 109 of file qt5/QtFrame.hxx.
|
private |
Definition at line 101 of file qt5/QtFrame.hxx.
|
private |
Definition at line 87 of file qt5/QtFrame.hxx.
Referenced by isPopup().
|
private |
Definition at line 93 of file qt5/QtFrame.hxx.
|
private |
Definition at line 94 of file qt5/QtFrame.hxx.
|
private |
Definition at line 88 of file qt5/QtFrame.hxx.
|
private |
Definition at line 78 of file qt5/QtFrame.hxx.
|
private |
Definition at line 79 of file qt5/QtFrame.hxx.
|
private |
Definition at line 74 of file qt5/QtFrame.hxx.
|
private |
Definition at line 80 of file qt5/QtFrame.hxx.
|
private |
Definition at line 81 of file qt5/QtFrame.hxx.
|
private |
Definition at line 75 of file qt5/QtFrame.hxx.