Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQuickVisualTestUtils::MnemonicKeySimulator Class Reference

#include <visualtestutils_p.h>

+ Collaboration diagram for QQuickVisualTestUtils::MnemonicKeySimulator:

Public Member Functions

 MnemonicKeySimulator (QWindow *window)
 
void press (Qt::Key key)
 
void release (Qt::Key key)
 
void click (Qt::Key key)
 

Detailed Description

Definition at line 204 of file visualtestutils_p.h.

Constructor & Destructor Documentation

◆ MnemonicKeySimulator()

QQuickVisualTestUtils::MnemonicKeySimulator::MnemonicKeySimulator ( QWindow window)
explicit

Definition at line 229 of file visualtestutils.cpp.

Member Function Documentation

◆ click()

void QQuickVisualTestUtils::MnemonicKeySimulator::click ( Qt::Key  key)

Definition at line 250 of file visualtestutils.cpp.

References release().

+ Here is the call graph for this function:

◆ press()

void QQuickVisualTestUtils::MnemonicKeySimulator::press ( Qt::Key  key)

Definition at line 234 of file visualtestutils.cpp.

References Qt::AltModifier, Qt::Key_Alt, and QTest::simulateEvent().

+ Here is the call graph for this function:

◆ release()

void QQuickVisualTestUtils::MnemonicKeySimulator::release ( Qt::Key  key)

Definition at line 242 of file visualtestutils.cpp.

References Qt::Key_Alt, and QTest::simulateEvent().

+ Here is the call graph for this function:

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