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

#include <Qt5Widget.hxx>

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

Public Member Functions

 Qt5Widget (Qt5Frame &rFrame, Qt::WindowFlags f=Qt::WindowFlags())
 
Qt5FramegetFrame () const
 
void startDrag (sal_Int8 nSourceActions)
 
void endExtTextInput ()
 

Static Public Member Functions

static bool handleEvent (Qt5Frame &, const QWidget &, QEvent *)
 
static bool handleKeyReleaseEvent (Qt5Frame &, const QWidget &, QKeyEvent *)
 
static void handleMousePressEvent (const Qt5Frame &, QMouseEvent *)
 
static void handleMouseReleaseEvent (const Qt5Frame &, QMouseEvent *)
 

Private Types

enum  ButtonKeyState {
  ButtonKeyState::Pressed,
  ButtonKeyState::Released
}
 

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 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 wheelEvent (QWheelEvent *) override
 
virtual void closeEvent (QCloseEvent *) override
 
virtual void changeEvent (QEvent *) override
 
void inputMethodEvent (QInputMethodEvent *) override
 
QVariant inputMethodQuery (Qt::InputMethodQuery) const override
 

Static Private Member Functions

static void commitText (Qt5Frame &, const QString &aText)
 
static bool handleKeyEvent (Qt5Frame &, const QWidget &, QKeyEvent *, const ButtonKeyState)
 
static void handleMouseButtonEvent (const Qt5Frame &, QMouseEvent *, const ButtonKeyState)
 

Private Attributes

Qt5Framem_rFrame
 
bool m_bNonEmptyIMPreeditSeen
 
int m_nDeltaX
 
int m_nDeltaY
 

Detailed Description

Definition at line 31 of file Qt5Widget.hxx.

Member Enumeration Documentation

enum Qt5Widget::ButtonKeyState
strongprivate
Enumerator
Pressed 
Released 

Definition at line 40 of file Qt5Widget.hxx.

Constructor & Destructor Documentation

Qt5Widget::Qt5Widget ( Qt5Frame rFrame,
Qt::WindowFlags  f = Qt::WindowFlags() 
)

Member Function Documentation

virtual void Qt5Widget::changeEvent ( QEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::closeEvent ( QCloseEvent *  )
overrideprivatevirtual
static void Qt5Widget::commitText ( Qt5Frame ,
const QString &  aText 
)
staticprivate
virtual void Qt5Widget::dragEnterEvent ( QDragEnterEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::dragMoveEvent ( QDragMoveEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::dropEvent ( QDropEvent *  )
overrideprivatevirtual
void Qt5Widget::endExtTextInput ( )
virtual bool Qt5Widget::event ( QEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::focusInEvent ( QFocusEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::focusOutEvent ( QFocusEvent *  )
overrideprivatevirtual
Qt5Frame& Qt5Widget::getFrame ( ) const
inline

Definition at line 76 of file Qt5Widget.hxx.

References m_rFrame.

static bool Qt5Widget::handleEvent ( Qt5Frame ,
const QWidget &  ,
QEvent *   
)
static
static bool Qt5Widget::handleKeyEvent ( Qt5Frame ,
const QWidget &  ,
QKeyEvent *  ,
const ButtonKeyState   
)
staticprivate

Referenced by handleKeyReleaseEvent().

bool Qt5Widget::handleKeyReleaseEvent ( Qt5Frame rFrame,
const QWidget &  rWidget,
QKeyEvent *  pEvent 
)
inlinestatic

Definition at line 88 of file Qt5Widget.hxx.

References handleKeyEvent(), and Released.

static void Qt5Widget::handleMouseButtonEvent ( const Qt5Frame ,
QMouseEvent *  ,
const ButtonKeyState   
)
staticprivate
void Qt5Widget::handleMousePressEvent ( const Qt5Frame rFrame,
QMouseEvent *  pEvent 
)
inlinestatic

Definition at line 93 of file Qt5Widget.hxx.

References handleMouseButtonEvent(), and Pressed.

void Qt5Widget::handleMouseReleaseEvent ( const Qt5Frame rFrame,
QMouseEvent *  pEvent 
)
inlinestatic

Definition at line 98 of file Qt5Widget.hxx.

References handleMouseButtonEvent(), and Released.

void Qt5Widget::inputMethodEvent ( QInputMethodEvent *  )
overrideprivate
QVariant Qt5Widget::inputMethodQuery ( Qt::InputMethodQuery  ) const
overrideprivate
virtual void Qt5Widget::keyReleaseEvent ( QKeyEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::mouseMoveEvent ( QMouseEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::mousePressEvent ( QMouseEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::mouseReleaseEvent ( QMouseEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::moveEvent ( QMoveEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::paintEvent ( QPaintEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::resizeEvent ( QResizeEvent *  )
overrideprivatevirtual
virtual void Qt5Widget::showEvent ( QShowEvent *  )
overrideprivatevirtual
void Qt5Widget::startDrag ( sal_Int8  nSourceActions)
virtual void Qt5Widget::wheelEvent ( QWheelEvent *  )
overrideprivatevirtual

Member Data Documentation

bool Qt5Widget::m_bNonEmptyIMPreeditSeen
private

Definition at line 36 of file Qt5Widget.hxx.

int Qt5Widget::m_nDeltaX
private

Definition at line 37 of file Qt5Widget.hxx.

int Qt5Widget::m_nDeltaY
private

Definition at line 38 of file Qt5Widget.hxx.

Qt5Frame& Qt5Widget::m_rFrame
private

Definition at line 35 of file Qt5Widget.hxx.

Referenced by getFrame().


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