Logo Search packages:      
Sourcecode: ktechlab version File versions

RectangularOverlay Class Reference

#include <resizeoverlay.h>

Inheritance diagram for RectangularOverlay:

ResizeOverlay

List of all members.


Detailed Description

Author:
David Saxton

Definition at line 219 of file resizeoverlay.h.


Public Slots

void slotMoveAllResizeHandles (double dx, double dy)
void slotUpdateResizeHandles ()

Public Member Functions

QRect getSizeRect (bool *ok=0l, bool *widthOk=0l, bool *heightOk=0l) const
virtual bool isValidXPos (ResizeHandle *rh)
virtual bool isValidYPos (ResizeHandle *rh)
ItemparentItem () const
 RectangularOverlay (Item *item, int xsnap=1, int ysnap=1)
void removeBotMiddle ()
void removeTopMiddle ()
void setVisible (bool visible)
void showResizeHandles (bool show)

Protected Slots

virtual void slotResizeHandleMoved (int id, double dx, double dy)

Protected Member Functions

ResizeHandlecreateResizeHandle (int id, ResizeHandle::DrawType drawType, int xsnap=1, int ysnap=1)
void removeResizeHandle (int id)
ResizeHandleresizeHandle (int id)
void syncX (ResizeHandle *rh1, ResizeHandle *rh2, ResizeHandle *rh3)
void syncX (ResizeHandle *rh1, ResizeHandle *rh2)
void syncY (ResizeHandle *rh1, ResizeHandle *rh2, ResizeHandle *rh3)
void syncY (ResizeHandle *rh1, ResizeHandle *rh2)

Protected Attributes

bool b_showResizeHandles
bool b_visible
ResizeHandlem_bl
ResizeHandlem_bm
ResizeHandlem_br
ResizeHandlem_ml
ResizeHandlem_mr
ResizeHandleMap m_resizeHandleMap
ResizeHandlem_tl
ResizeHandlem_tm
ResizeHandlem_tr
Itemp_item

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

Generated by  Doxygen 1.6.0   Back to index