[][src]Struct qt_gui::q_accessible::Event

#[repr(transparent)]
pub struct Event(_);

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.

Methods

impl Event[src]

pub fn to_int(&self) -> c_int[src]

impl Event[src]

pub const SoundPlayed: Event[src]

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)

pub const Alert: Event[src]

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

pub const ForegroundChanged: Event[src]

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

pub const MenuStart: Event[src]

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

pub const MenuEnd: Event[src]

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

pub const PopupMenuStart: Event[src]

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

pub const PopupMenuEnd: Event[src]

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

pub const ContextHelpStart: Event[src]

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

pub const ContextHelpEnd: Event[src]

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

pub const DragDropStart: Event[src]

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

pub const DragDropEnd: Event[src]

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

pub const DialogStart: Event[src]

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

pub const DialogEnd: Event[src]

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

pub const ScrollingStart: Event[src]

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)

pub const ScrollingEnd: Event[src]

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

pub const MenuCommand: Event[src]

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

pub const ActionChanged: Event[src]

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

pub const ActiveDescendantChanged: Event[src]

  (C++ enum variant: ActiveDescendantChanged = 258)

pub const AttributeChanged: Event[src]

  (C++ enum variant: AttributeChanged = 259)

pub const DocumentContentChanged: Event[src]

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

pub const DocumentLoadComplete: Event[src]

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

pub const DocumentLoadStopped: Event[src]

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

pub const DocumentReload: Event[src]

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

pub const HyperlinkEndIndexChanged: Event[src]

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

pub const HyperlinkNumberOfAnchorsChanged: Event[src]

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)

pub const HyperlinkSelectedLinkChanged: Event[src]

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

pub const HypertextLinkActivated: Event[src]

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

pub const HypertextLinkSelected: Event[src]

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

pub const HyperlinkStartIndexChanged: Event[src]

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

pub const HypertextChanged: Event[src]

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

pub const HypertextNLinksChanged: Event[src]

  (C++ enum variant: HypertextNLinksChanged = 271)

pub const ObjectAttributeChanged: Event[src]

  (C++ enum variant: ObjectAttributeChanged = 272)

pub const PageChanged: Event[src]

  (C++ enum variant: PageChanged = 273)

pub const SectionChanged: Event[src]

  (C++ enum variant: SectionChanged = 274)

pub const TableCaptionChanged: Event[src]

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

pub const TableColumnDescriptionChanged: Event[src]

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

pub const TableColumnHeaderChanged: Event[src]

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

pub const TableModelChanged: Event[src]

C++ enum variant: TableModelChanged = 278

pub const TableRowDescriptionChanged: Event[src]

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

pub const TableRowHeaderChanged: Event[src]

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

pub const TableSummaryChanged: Event[src]

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)

pub const TextAttributeChanged: Event[src]

C++ enum variant: TextAttributeChanged = 282

pub const TextCaretMoved: Event[src]

C++ enum variant: TextCaretMoved = 283

pub const TextColumnChanged: Event[src]

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)

pub const TextInserted: Event[src]

C++ enum variant: TextInserted = 286

pub const TextRemoved: Event[src]

C++ enum variant: TextRemoved = 287

pub const TextUpdated: Event[src]

C++ enum variant: TextUpdated = 288

pub const TextSelectionChanged: Event[src]

C++ enum variant: TextSelectionChanged = 289

pub const VisibleDataChanged: Event[src]

  (C++ enum variant: VisibleDataChanged = 290)

pub const ObjectCreated: Event[src]

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

pub const ObjectDestroyed: Event[src]

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

pub const ObjectShow: Event[src]

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

pub const ObjectHide: Event[src]

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)

pub const ObjectReorder: Event[src]

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

pub const Focus: Event[src]

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

pub const Selection: Event[src]

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

pub const SelectionAdd: Event[src]

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

pub const SelectionRemove: Event[src]

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

pub const SelectionWithin: Event[src]

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

pub const StateChanged: Event[src]

C++ enum variant: StateChanged = 32778

pub const LocationChanged: Event[src]

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

pub const NameChanged: Event[src]

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

pub const DescriptionChanged: Event[src]

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

pub const ValueChanged: Event[src]

C++ enum variant: ValueChanged = 32782

pub const ParentChanged: Event[src]

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

pub const HelpChanged: Event[src]

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

pub const DefaultActionChanged: Event[src]

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

pub const AcceleratorChanged: Event[src]

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

pub const InvalidEvent: Event[src]

C++ enum variant: InvalidEvent = 32961

Trait Implementations

impl Clone for Event[src]

impl Copy for Event[src]

impl Debug for Event[src]

impl Eq for Event[src]

impl From<Event> for c_int[src]

impl From<i32> for Event[src]

impl PartialEq<Event> for Event[src]

impl StructuralEq for Event[src]

impl StructuralPartialEq for Event[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.