Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
mapviz_plugins::PlaceableWindowProxy Class Reference

#include <placeable_window_proxy.h>

List of all members.

Public Slots

void setRect (const QRect &)
void setVisible (bool visible)

Signals

void rectChanged (const QRect &)

Public Member Functions

 PlaceableWindowProxy ()
QRect rect () const
void setContainer (QWidget *)
 ~PlaceableWindowProxy ()

Protected Member Functions

bool eventFilter (QObject *object, QEvent *event)
bool handleMouseMove (QMouseEvent *)
bool handleMousePress (QMouseEvent *)
bool handleMouseRelease (QMouseEvent *)
bool handleResize (QResizeEvent *)
void rectResize (int dx, int dy)
QRectF resizeHelper (const QRectF &rect, const QPointF &p1, const QPointF &p2, const QPointF &p3) const
void timerEvent (QTimerEvent *)
void winResize (const QSize &)

Private Types

enum  State {
  INACTIVE = 0, MOVE_ALL, MOVE_TOP_LEFT, MOVE_BOTTOM_LEFT,
  MOVE_BOTTOM_RIGHT, MOVE_TOP_RIGHT
}

Private Member Functions

State getNextState (const QPointF &pt) const

Private Attributes

bool has_cursor_
QRectF rect_
QPoint start_point_
QRectF start_rect_
State state_
QWidget * target_
bool visible_
int win_resize_timer_

Detailed Description

Definition at line 58 of file placeable_window_proxy.h.


Member Enumeration Documentation

Enumerator:
INACTIVE 
MOVE_ALL 
MOVE_TOP_LEFT 
MOVE_BOTTOM_LEFT 
MOVE_BOTTOM_RIGHT 
MOVE_TOP_RIGHT 

Definition at line 98 of file placeable_window_proxy.h.


Constructor & Destructor Documentation

Definition at line 47 of file placeable_window_proxy.cpp.

Definition at line 57 of file placeable_window_proxy.cpp.


Member Function Documentation

bool mapviz_plugins::PlaceableWindowProxy::eventFilter ( QObject *  object,
QEvent *  event 
) [protected]

Definition at line 111 of file placeable_window_proxy.cpp.

Definition at line 354 of file placeable_window_proxy.cpp.

bool mapviz_plugins::PlaceableWindowProxy::handleMouseMove ( QMouseEvent *  event) [protected]

Definition at line 196 of file placeable_window_proxy.cpp.

bool mapviz_plugins::PlaceableWindowProxy::handleMousePress ( QMouseEvent *  event) [protected]

Definition at line 139 of file placeable_window_proxy.cpp.

bool mapviz_plugins::PlaceableWindowProxy::handleMouseRelease ( QMouseEvent *  event) [protected]

Definition at line 175 of file placeable_window_proxy.cpp.

bool mapviz_plugins::PlaceableWindowProxy::handleResize ( QResizeEvent *  event) [protected]

Definition at line 327 of file placeable_window_proxy.cpp.

Definition at line 80 of file placeable_window_proxy.cpp.

void mapviz_plugins::PlaceableWindowProxy::rectChanged ( const QRect &  ) [signal]
void mapviz_plugins::PlaceableWindowProxy::rectResize ( int  dx,
int  dy 
) [protected]

Definition at line 346 of file placeable_window_proxy.cpp.

QRectF mapviz_plugins::PlaceableWindowProxy::resizeHelper ( const QRectF &  rect,
const QPointF &  p1,
const QPointF &  p2,
const QPointF &  p3 
) const [protected]

Definition at line 293 of file placeable_window_proxy.cpp.

Definition at line 65 of file placeable_window_proxy.cpp.

void mapviz_plugins::PlaceableWindowProxy::setRect ( const QRect &  rect) [slot]

Definition at line 85 of file placeable_window_proxy.cpp.

void mapviz_plugins::PlaceableWindowProxy::setVisible ( bool  visible) [slot]

Definition at line 91 of file placeable_window_proxy.cpp.

void mapviz_plugins::PlaceableWindowProxy::timerEvent ( QTimerEvent *  event) [protected]

Definition at line 333 of file placeable_window_proxy.cpp.

void mapviz_plugins::PlaceableWindowProxy::winResize ( const QSize &  size) [protected]

Definition at line 350 of file placeable_window_proxy.cpp.


Member Data Documentation

Definition at line 110 of file placeable_window_proxy.h.

Definition at line 112 of file placeable_window_proxy.h.

Definition at line 115 of file placeable_window_proxy.h.

Definition at line 114 of file placeable_window_proxy.h.

Definition at line 111 of file placeable_window_proxy.h.

Definition at line 107 of file placeable_window_proxy.h.

Definition at line 108 of file placeable_window_proxy.h.

Definition at line 117 of file placeable_window_proxy.h.


The documentation for this class was generated from the following files:


mapviz_plugins
Author(s): Marc Alban
autogenerated on Thu Aug 24 2017 02:46:09