[−][src]Struct qt_widgets::q_graphics_view::DragMode
This enum describes the default action for the view when pressing and dragging the mouse over the viewport.
C++ enum: QGraphicsView::DragMode
.
This enum describes the default action for the view when pressing and dragging the mouse over the viewport.
See also dragMode and QGraphicsScene::setSelectionArea().
Methods
impl DragMode
[src]
impl DragMode
[src]
pub const NoDrag: DragMode
[src]
Nothing happens; the mouse event is ignored. (C++ enum variant: NoDrag = 0
)
pub const ScrollHandDrag: DragMode
[src]
The cursor changes into a pointing hand, and dragging the mouse around will scroll the scrolbars. This mode works both in interactive and non-interactive mode. (C++ enum variant: ScrollHandDrag = 1
)
pub const RubberBandDrag: DragMode
[src]
A rubber band will appear. Dragging the mouse will set the rubber band geometry, and all items covered by the rubber band are selected. This mode is disabled for non-interactive views. (C++ enum variant: RubberBandDrag = 2
)
Trait Implementations
impl Clone for DragMode
[src]
impl Copy for DragMode
[src]
impl Debug for DragMode
[src]
impl Eq for DragMode
[src]
impl From<DragMode> for c_int
[src]
impl From<i32> for DragMode
[src]
impl PartialEq<DragMode> for DragMode
[src]
impl StructuralEq for DragMode
[src]
impl StructuralPartialEq for DragMode
[src]
Auto Trait Implementations
impl RefUnwindSafe for DragMode
impl Send for DragMode
impl Sync for DragMode
impl Unpin for DragMode
impl UnwindSafe for DragMode
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,