LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
QtWidget Class Reference

#include <QtWidget.hxx>

Inheritance diagram for QtWidget:
[legend]
Collaboration diagram for QtWidget:
[legend]

Public Member Functions

 QtWidget (QtFrame &rFrame, Qt::WindowFlags f=Qt::WindowFlags())
 
QtFrameframe () const
 
void endExtTextInput ()
 
void fakeResize ()
 

Static Public Member Functions

static bool handleEvent (QtFrame &, QWidget &, QEvent *)
 
static bool handleKeyReleaseEvent (QtFrame &, const QWidget &, QKeyEvent *)
 
static void handleMouseButtonEvent (const QtFrame &, const QMouseEvent *)
 

Private Member Functions

virtual bool event (QEvent *) override
 
virtual void focusInEvent (QFocusEvent *) override
 
virtual void focusOutEvent (QFocusEvent *) override
 
virtual void keyReleaseEvent (QKeyEvent *) override
 
virtual void mouseMoveEvent (QMouseEvent *) override
 
virtual void mousePressEvent (QMouseEvent *) override
 
virtual void mouseReleaseEvent (QMouseEvent *) override
 
virtual void dragEnterEvent (QDragEnterEvent *) override
 
virtual void dragLeaveEvent (QDragLeaveEvent *) override
 
virtual void dragMoveEvent (QDragMoveEvent *) override
 
virtual void dropEvent (QDropEvent *) override
 
virtual void moveEvent (QMoveEvent *) override
 
virtual void paintEvent (QPaintEvent *) override
 
virtual void resizeEvent (QResizeEvent *) override
 
virtual void showEvent (QShowEvent *) override
 
virtual void hideEvent (QHideEvent *) override
 
virtual void wheelEvent (QWheelEvent *) override
 
virtual void closeEvent (QCloseEvent *) override
 
virtual void changeEvent (QEvent *) override
 
virtual void leaveEvent (QEvent *) override
 
virtual void enterEvent (QEnterEvent *) override
 
void inputMethodEvent (QInputMethodEvent *) override
 
QVariant inputMethodQuery (Qt::InputMethodQuery) const override
 

Static Private Member Functions

static void commitText (QtFrame &, const QString &aText)
 
static void deleteReplacementText (QtFrame &rFrame, int nReplacementStart, int nReplacementLength)
 
static bool handleKeyEvent (QtFrame &, const QWidget &, QKeyEvent *)
 
static void handleMouseEnterLeaveEvents (const QtFrame &, QEvent *)
 
static void fillSalAbstractMouseEvent (const QtFrame &rFrame, const QInputEvent *pQEvent, const QPoint &rPos, Qt::MouseButtons eButtons, int nWidth, SalAbstractMouseEvent &aSalEvent)
 
static void closePopup ()
 

Private Attributes

QtFramem_rFrame
 
bool m_bNonEmptyIMPreeditSeen
 
bool m_bInInputMethodQueryCursorRectangle
 
QRect m_aImCursorRectangle
 
int m_nDeltaX
 
int m_nDeltaY
 

Detailed Description

Definition at line 34 of file qt5/QtWidget.hxx.

Constructor & Destructor Documentation

◆ QtWidget()

QtWidget::QtWidget ( QtFrame rFrame,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

Member Function Documentation

◆ changeEvent()

virtual void QtWidget::changeEvent ( QEvent *  )
overrideprivatevirtual

◆ closeEvent()

virtual void QtWidget::closeEvent ( QCloseEvent *  )
overrideprivatevirtual

◆ closePopup()

static void QtWidget::closePopup ( )
staticprivate

◆ commitText()

static void QtWidget::commitText ( QtFrame ,
const QString &  aText 
)
staticprivate

◆ deleteReplacementText()

static void QtWidget::deleteReplacementText ( QtFrame rFrame,
int  nReplacementStart,
int  nReplacementLength 
)
staticprivate

◆ dragEnterEvent()

virtual void QtWidget::dragEnterEvent ( QDragEnterEvent *  )
overrideprivatevirtual

◆ dragLeaveEvent()

virtual void QtWidget::dragLeaveEvent ( QDragLeaveEvent *  )
overrideprivatevirtual

◆ dragMoveEvent()

virtual void QtWidget::dragMoveEvent ( QDragMoveEvent *  )
overrideprivatevirtual

◆ dropEvent()

virtual void QtWidget::dropEvent ( QDropEvent *  )
overrideprivatevirtual

◆ endExtTextInput()

void QtWidget::endExtTextInput ( )

◆ enterEvent()

virtual void QtWidget::enterEvent ( QEnterEvent *  )
overrideprivatevirtual

◆ event()

virtual bool QtWidget::event ( QEvent *  )
overrideprivatevirtual

◆ fakeResize()

void QtWidget::fakeResize ( )

◆ fillSalAbstractMouseEvent()

static void QtWidget::fillSalAbstractMouseEvent ( const QtFrame rFrame,
const QInputEvent *  pQEvent,
const QPoint &  rPos,
Qt::MouseButtons  eButtons,
int  nWidth,
SalAbstractMouseEvent aSalEvent 
)
staticprivate

◆ focusInEvent()

virtual void QtWidget::focusInEvent ( QFocusEvent *  )
overrideprivatevirtual

◆ focusOutEvent()

virtual void QtWidget::focusOutEvent ( QFocusEvent *  )
overrideprivatevirtual

◆ frame()

QtFrame & QtWidget::frame ( ) const
inline

Definition at line 89 of file qt5/QtWidget.hxx.

References m_rFrame.

◆ handleEvent()

static bool QtWidget::handleEvent ( QtFrame ,
QWidget &  ,
QEvent *   
)
static

◆ handleKeyEvent()

static bool QtWidget::handleKeyEvent ( QtFrame ,
const QWidget &  ,
QKeyEvent *   
)
staticprivate

Referenced by handleKeyReleaseEvent().

◆ handleKeyReleaseEvent()

bool QtWidget::handleKeyReleaseEvent ( QtFrame rFrame,
const QWidget &  rWidget,
QKeyEvent *  pEvent 
)
inlinestatic

Definition at line 100 of file qt5/QtWidget.hxx.

References handleKeyEvent().

◆ handleMouseButtonEvent()

static void QtWidget::handleMouseButtonEvent ( const QtFrame ,
const QMouseEvent *   
)
static

◆ handleMouseEnterLeaveEvents()

static void QtWidget::handleMouseEnterLeaveEvents ( const QtFrame ,
QEvent *   
)
staticprivate

◆ hideEvent()

virtual void QtWidget::hideEvent ( QHideEvent *  )
overrideprivatevirtual

◆ inputMethodEvent()

void QtWidget::inputMethodEvent ( QInputMethodEvent *  )
overrideprivate

◆ inputMethodQuery()

QVariant QtWidget::inputMethodQuery ( Qt::InputMethodQuery  ) const
overrideprivate

◆ keyReleaseEvent()

virtual void QtWidget::keyReleaseEvent ( QKeyEvent *  )
overrideprivatevirtual

◆ leaveEvent()

virtual void QtWidget::leaveEvent ( QEvent *  )
overrideprivatevirtual

◆ mouseMoveEvent()

virtual void QtWidget::mouseMoveEvent ( QMouseEvent *  )
overrideprivatevirtual

◆ mousePressEvent()

virtual void QtWidget::mousePressEvent ( QMouseEvent *  )
overrideprivatevirtual

◆ mouseReleaseEvent()

virtual void QtWidget::mouseReleaseEvent ( QMouseEvent *  )
overrideprivatevirtual

◆ moveEvent()

virtual void QtWidget::moveEvent ( QMoveEvent *  )
overrideprivatevirtual

◆ paintEvent()

virtual void QtWidget::paintEvent ( QPaintEvent *  )
overrideprivatevirtual

◆ resizeEvent()

virtual void QtWidget::resizeEvent ( QResizeEvent *  )
overrideprivatevirtual

◆ showEvent()

virtual void QtWidget::showEvent ( QShowEvent *  )
overrideprivatevirtual

◆ wheelEvent()

virtual void QtWidget::wheelEvent ( QWheelEvent *  )
overrideprivatevirtual

Member Data Documentation

◆ m_aImCursorRectangle

QRect QtWidget::m_aImCursorRectangle
mutableprivate

Definition at line 41 of file qt5/QtWidget.hxx.

◆ m_bInInputMethodQueryCursorRectangle

bool QtWidget::m_bInInputMethodQueryCursorRectangle
mutableprivate

Definition at line 40 of file qt5/QtWidget.hxx.

◆ m_bNonEmptyIMPreeditSeen

bool QtWidget::m_bNonEmptyIMPreeditSeen
private

Definition at line 39 of file qt5/QtWidget.hxx.

◆ m_nDeltaX

int QtWidget::m_nDeltaX
private

Definition at line 42 of file qt5/QtWidget.hxx.

◆ m_nDeltaY

int QtWidget::m_nDeltaY
private

Definition at line 43 of file qt5/QtWidget.hxx.

◆ m_rFrame

QtFrame& QtWidget::m_rFrame
private

Definition at line 38 of file qt5/QtWidget.hxx.

Referenced by frame().


The documentation for this class was generated from the following file: