18#if QT_CONFIG(accessibility)
29 if (!
state.disabled) {
41 if (
state.checkStateMixed)
46 if (
state.defaultButton)
73 if (
state.multiSelectable)
75 if (
state.extSelectable)
102 case QAccessible::Label:
103 return ATSPI_RELATION_LABELLED_BY;
104 case QAccessible::Labelled:
105 return ATSPI_RELATION_LABEL_FOR;
106 case QAccessible::Controller:
107 return ATSPI_RELATION_CONTROLLED_BY;
108 case QAccessible::Controlled:
109 return ATSPI_RELATION_CONTROLLER_FOR;
110 case QAccessible::DescriptionFor:
111 return ATSPI_RELATION_DESCRIBED_BY;
112 case QAccessible::Described:
113 return ATSPI_RELATION_DESCRIPTION_FOR;
114 case QAccessible::FlowsFrom:
115 return ATSPI_RELATION_FLOWS_TO;
116 case QAccessible::FlowsTo:
117 return ATSPI_RELATION_FLOWS_FROM;
119 qWarning() <<
"Cannot return AT-SPI relation for:" << relation;
121 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