18#if QT_CONFIG(accessibility)
29 if (!
state.disabled) {
43 if (
state.checkStateMixed)
48 if (
state.defaultButton)
75 if (
state.multiSelectable)
77 if (
state.extSelectable)
105 case QAccessible::Label:
106 return ATSPI_RELATION_LABELLED_BY;
107 case QAccessible::Labelled:
108 return ATSPI_RELATION_LABEL_FOR;
109 case QAccessible::Controller:
110 return ATSPI_RELATION_CONTROLLED_BY;
111 case QAccessible::Controlled:
112 return ATSPI_RELATION_CONTROLLER_FOR;
113 case QAccessible::DescriptionFor:
114 return ATSPI_RELATION_DESCRIBED_BY;
115 case QAccessible::Described:
116 return ATSPI_RELATION_DESCRIPTION_FOR;
117 case QAccessible::FlowsFrom:
118 return ATSPI_RELATION_FLOWS_TO;
119 case QAccessible::FlowsTo:
120 return ATSPI_RELATION_FLOWS_FROM;
122 qWarning() <<
"Cannot return AT-SPI relation for:" << relation;
124 return ATSPI_RELATION_NULL;
void append(parameter_type t)
Combined button and popup list for selecting options.
AtspiRelationType qAccessibleRelationToAtSpiRelation(QAccessible::Relation relation)
quint64 spiStatesFromQState(QAccessible::State state)
void setSpiStateBit(quint64 *state, AtspiStateType spiState)
QSpiUIntList spiStateSetFromSpiStates(quint64 states)
unsigned long long quint64