Struct qt_gui::q_accessible::Event

source ·
pub struct Event(/* private fields */);
Expand description

This enum type defines accessible event types.

C++ enum: QAccessible::Event.

C++ documentation:

This enum type defines accessible event types.

Internal: Used when creating subclasses of QAccessibleEvent.

The values for this enum are defined to be the same as those defined in the IAccessible2 and MSAA specifications.

Implementations§

source§

impl Event

source

pub fn to_int(&self) -> c_int

source§

impl Event

source

pub const SoundPlayed: Event = _

A sound has been played by an object The QAccessible::State of an object has changed. This value is used internally for the QAccessibleStateChangeEvent. (C++ enum variant: SoundPlayed = 1)

source

pub const Alert: Event = _

A system alert (e.g., a message from a QMessageBox) (C++ enum variant: Alert = 2)

source

pub const ForegroundChanged: Event = _

A window has been activated (i.e., a new window has gained focus on the desktop). (C++ enum variant: ForegroundChanged = 3)

source

pub const MenuStart: Event = _

A menu has been opened on the menubar (Qt uses PopupMenuStart for all menus). (C++ enum variant: MenuStart = 4)

source

pub const MenuEnd: Event = _

A menu has been closed (Qt uses PopupMenuEnd for all menus). (C++ enum variant: MenuEnd = 5)

source

pub const PopupMenuStart: Event = _

A pop-up menu has opened. (C++ enum variant: PopupMenuStart = 6)

source

pub const PopupMenuEnd: Event = _

A pop-up menu has closed. (C++ enum variant: PopupMenuEnd = 7)

source

pub const ContextHelpStart: Event = _

Context help (QWhatsThis) for an object is initiated. (C++ enum variant: ContextHelpStart = 12)

source

pub const ContextHelpEnd: Event = _

Context help (QWhatsThis) for an object is finished. (C++ enum variant: ContextHelpEnd = 13)

source

pub const DragDropStart: Event = _

A drag and drop operation is about to be initiated. (C++ enum variant: DragDropStart = 14)

source

pub const DragDropEnd: Event = _

A drag and drop operation is about to finished. (C++ enum variant: DragDropEnd = 15)

source

pub const DialogStart: Event = _

A dialog (QDialog) has been set visible. (C++ enum variant: DialogStart = 16)

source

pub const DialogEnd: Event = _

A dialog (QDialog) has been hidden (C++ enum variant: DialogEnd = 17)

source

pub const ScrollingStart: Event = _

A scrollbar scroll operation is about to start; this may be caused by a mouse press on the slider handle, for example. (C++ enum variant: ScrollingStart = 18)

source

pub const ScrollingEnd: Event = _

A scrollbar scroll operation has ended (the mouse has released the slider handle). (C++ enum variant: ScrollingEnd = 19)

source

pub const MenuCommand: Event = _

A menu item is triggered. (C++ enum variant: MenuCommand = 24)

source

pub const ActionChanged: Event = _

An action has been changed. (C++ enum variant: ActionChanged = 257)

source

pub const ActiveDescendantChanged: Event = _

  (C++ enum variant: ActiveDescendantChanged = 258)

source

pub const AttributeChanged: Event = _

  (C++ enum variant: AttributeChanged = 259)

source

pub const DocumentContentChanged: Event = _

The contents of a text document have changed. (C++ enum variant: DocumentContentChanged = 260)

source

pub const DocumentLoadComplete: Event = _

A document has been loaded. (C++ enum variant: DocumentLoadComplete = 261)

source

pub const DocumentLoadStopped: Event = _

A document load has been stopped. (C++ enum variant: DocumentLoadStopped = 262)

source

pub const DocumentReload: Event = _

A document reload has been initiated. (C++ enum variant: DocumentReload = 263)

source

pub const HyperlinkEndIndexChanged: Event = _

The end position of the display text for a hypertext link has changed. (C++ enum variant: HyperlinkEndIndexChanged = 264)

source

pub const HyperlinkNumberOfAnchorsChanged: Event = _

The number of anchors in a hypertext link has changed, perhaps because the display text has been split to provide more than one link. (C++ enum variant: HyperlinkNumberOfAnchorsChanged = 265)

source

pub const HyperlinkSelectedLinkChanged: Event = _

The link for the selected hypertext link has changed. (C++ enum variant: HyperlinkSelectedLinkChanged = 266)

source

pub const HypertextLinkActivated: Event = _

A hypertext link has been activated, perhaps by being clicked or via a key press. (C++ enum variant: HypertextLinkActivated = 267)

source

pub const HypertextLinkSelected: Event = _

A hypertext link has been selected. (C++ enum variant: HypertextLinkSelected = 268)

source

pub const HyperlinkStartIndexChanged: Event = _

The start position of the display text for a hypertext link has changed. (C++ enum variant: HyperlinkStartIndexChanged = 269)

source

pub const HypertextChanged: Event = _

The display text for a hypertext link has changed. (C++ enum variant: HypertextChanged = 270)

source

pub const HypertextNLinksChanged: Event = _

  (C++ enum variant: HypertextNLinksChanged = 271)

source

pub const ObjectAttributeChanged: Event = _

  (C++ enum variant: ObjectAttributeChanged = 272)

source

pub const PageChanged: Event = _

  (C++ enum variant: PageChanged = 273)

source

pub const SectionChanged: Event = _

  (C++ enum variant: SectionChanged = 274)

source

pub const TableCaptionChanged: Event = _

A table caption has been changed. (C++ enum variant: TableCaptionChanged = 275)

source

pub const TableColumnDescriptionChanged: Event = _

The description of a table column, typically found in the column’s header, has been changed. (C++ enum variant: TableColumnDescriptionChanged = 276)

source

pub const TableColumnHeaderChanged: Event = _

A table column header has been changed. The model providing data for a table has been changed. (C++ enum variant: TableColumnHeaderChanged = 277)

source

pub const TableModelChanged: Event = _

C++ enum variant: TableModelChanged = 278

source

pub const TableRowDescriptionChanged: Event = _

The description of a table row, typically found in the row’s header, has been changed. (C++ enum variant: TableRowDescriptionChanged = 279)

source

pub const TableRowHeaderChanged: Event = _

A table row header has been changed. (C++ enum variant: TableRowHeaderChanged = 280)

source

pub const TableSummaryChanged: Event = _

The summary of a table has been changed. The caret has moved in an editable widget. The caret represents the cursor position in an editable widget with the input focus. (C++ enum variant: TableSummaryChanged = 281)

source

pub const TextAttributeChanged: Event = _

C++ enum variant: TextAttributeChanged = 282

source

pub const TextCaretMoved: Event = _

C++ enum variant: TextCaretMoved = 283

source

pub const TextColumnChanged: Event = _

A text column has been changed. Text has been inserted into an editable widget. Text has been removed from an editable widget. The selected text has changed in an editable widget. The text has been update in an editable widget. The QAccessible::Value of an object has changed. (C++ enum variant: TextColumnChanged = 285)

source

pub const TextInserted: Event = _

C++ enum variant: TextInserted = 286

source

pub const TextRemoved: Event = _

C++ enum variant: TextRemoved = 287

source

pub const TextUpdated: Event = _

C++ enum variant: TextUpdated = 288

source

pub const TextSelectionChanged: Event = _

C++ enum variant: TextSelectionChanged = 289

source

pub const VisibleDataChanged: Event = _

  (C++ enum variant: VisibleDataChanged = 290)

source

pub const ObjectCreated: Event = _

A new object is created. (C++ enum variant: ObjectCreated = 32768)

source

pub const ObjectDestroyed: Event = _

An object is deleted. (C++ enum variant: ObjectDestroyed = 32769)

source

pub const ObjectShow: Event = _

An object is displayed; for example, with QWidget::show(). (C++ enum variant: ObjectShow = 32770)

source

pub const ObjectHide: Event = _

An object is hidden; for example, with QWidget::hide(). Any children the object that is hidden has do not send this event. It is not sent when an object is hidden as it is being obcured by others. (C++ enum variant: ObjectHide = 32771)

source

pub const ObjectReorder: Event = _

A layout or item view has added, removed, or moved an object (Qt does not use this event). (C++ enum variant: ObjectReorder = 32772)

source

pub const Focus: Event = _

An object has gained keyboard focus. (C++ enum variant: Focus = 32773)

source

pub const Selection: Event = _

The selection has changed in a menu or item view. (C++ enum variant: Selection = 32774)

source

pub const SelectionAdd: Event = _

An item has been added to the selection in an item view. (C++ enum variant: SelectionAdd = 32775)

source

pub const SelectionRemove: Event = _

An item has been removed from an item view selection. (C++ enum variant: SelectionRemove = 32776)

source

pub const SelectionWithin: Event = _

Several changes to a selection has occurred in an item view. (C++ enum variant: SelectionWithin = 32777)

source

pub const StateChanged: Event = _

C++ enum variant: StateChanged = 32778

source

pub const LocationChanged: Event = _

An object’s location on the screen has changed. (C++ enum variant: LocationChanged = 32779)

source

pub const NameChanged: Event = _

The QAccessible::Name property of an object has changed. (C++ enum variant: NameChanged = 32780)

source

pub const DescriptionChanged: Event = _

The object’s QAccessible::Description changed. (C++ enum variant: DescriptionChanged = 32781)

source

pub const ValueChanged: Event = _

C++ enum variant: ValueChanged = 32782

source

pub const ParentChanged: Event = _

An object’s parent object changed. (C++ enum variant: ParentChanged = 32783)

source

pub const HelpChanged: Event = _

The QAccessible::Help text property of an object has changed. (C++ enum variant: HelpChanged = 32928)

source

pub const DefaultActionChanged: Event = _

The default QAccessible::Action for the accessible object has changed. (C++ enum variant: DefaultActionChanged = 32944)

source

pub const AcceleratorChanged: Event = _

The keyboard accelerator for an action has been changed. (C++ enum variant: AcceleratorChanged = 32960)

source

pub const InvalidEvent: Event = _

C++ enum variant: InvalidEvent = 32961

Trait Implementations§

source§

impl Clone for Event

source§

fn clone(&self) -> Event

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Event

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl From<Event> for c_int

source§

fn from(value: Event) -> Self

Converts to this type from the input type.
source§

impl From<i32> for Event

source§

fn from(value: c_int) -> Self

Converts to this type from the input type.
source§

impl PartialEq for Event

source§

fn eq(&self, other: &Event) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for Event

source§

impl Eq for Event

source§

impl StructuralEq for Event

source§

impl StructuralPartialEq for Event

Auto Trait Implementations§

§

impl RefUnwindSafe for Event

§

impl Send for Event

§

impl Sync for Event

§

impl Unpin for Event

§

impl UnwindSafe for Event

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T, U> CastInto<U> for T
where U: CastFrom<T>,

source§

unsafe fn cast_into(self) -> U

Performs the conversion. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> StaticUpcast<T> for T

source§

unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>

Convert type of a const pointer. Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.