Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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 639 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 641 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 642 of file qevent.h.

Member Data Documentation

◆ length

int QInputMethodEvent::Attribute::length

Definition at line 646 of file qevent.h.

Referenced by testing.tools.encode_pdf_filter._PngIdatPdfStream::write().

◆ start

int QInputMethodEvent::Attribute::start

Definition at line 645 of file qevent.h.

◆ type

AttributeType QInputMethodEvent::Attribute::type

Definition at line 644 of file qevent.h.

◆ value

QVariant QInputMethodEvent::Attribute::value

Definition at line 647 of file qevent.h.


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