Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QInputMethodEvent::Attribute Class Reference

\inmodule QtGui More...

#include <qevent.h>

+ Collaboration diagram for QInputMethodEvent::Attribute:

Public Member Functions

 Attribute (AttributeType typ, int s, int l, QVariant val)
 Constructs an input method attribute.
 
 Attribute (AttributeType typ, int s, int l)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
 

Public Attributes

AttributeType type
 
int start
 
int length
 
QVariant value
 

Detailed Description

\inmodule QtGui

The QInputMethodEvent::Attribute class stores an input method attribute.

Definition at line 634 of file qevent.h.

Constructor & Destructor Documentation

◆ Attribute() [1/2]

QInputMethodEvent::Attribute::Attribute ( AttributeType  type,
int  start,
int  length,
QVariant  value 
)
inline

Constructs an input method attribute.

type specifies the type of attribute, start and length the position of the attribute, and value the value of the attribute.

Definition at line 636 of file qevent.h.

◆ Attribute() [2/2]

QInputMethodEvent::Attribute::Attribute ( AttributeType  type,
int  start,
int  length 
)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Since
5.7

Constructs an input method attribute with no value. type specifies the type of attribute, and start and length the position of the attribute.

Definition at line 637 of file qevent.h.

Member Data Documentation

◆ length

int QInputMethodEvent::Attribute::length

Definition at line 641 of file qevent.h.

Referenced by operator<<().

◆ start

int QInputMethodEvent::Attribute::start

Definition at line 640 of file qevent.h.

Referenced by operator<<().

◆ type

AttributeType QInputMethodEvent::Attribute::type

Definition at line 639 of file qevent.h.

Referenced by operator<<().

◆ value

QVariant QInputMethodEvent::Attribute::value

Definition at line 642 of file qevent.h.

Referenced by operator<<().


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