QtBase  v6.3.1
Public Member Functions | Public Attributes | List of all members
QInputMethodEvent::Attribute Class Reference

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

#include <qevent.h>

Collaboration diagram for QInputMethodEvent::Attribute:
Collaboration graph
[legend]

Public Member Functions

 Attribute (AttributeType typ, int s, int l, QVariant val)
 
 Attribute (AttributeType typ, int s, int l)
 

Public Attributes

AttributeType type
 
int start
 
int length
 
QVariant value
 

Detailed Description

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

\inmodule QtGui

Definition at line 706 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 708 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 709 of file qevent.h.

Member Data Documentation

◆ length

int QInputMethodEvent::Attribute::length

Definition at line 713 of file qevent.h.

◆ start

int QInputMethodEvent::Attribute::start

Definition at line 712 of file qevent.h.

◆ type

AttributeType QInputMethodEvent::Attribute::type

Definition at line 711 of file qevent.h.

◆ value

QVariant QInputMethodEvent::Attribute::value

Definition at line 714 of file qevent.h.


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