MIRA
Public Types | Signals | Public Member Functions | Protected Member Functions | List of all members
WidgetResizeHandler Class Reference

#include <rcp/WidgetResizeHandler.h>

Inheritance diagram for WidgetResizeHandler:
Inheritance graph
[legend]

Public Types

enum  Action { Move = 0x01, Resize = 0x02, Any = Move|Resize }
 

Signals

void activate ()
 

Public Member Functions

 WidgetResizeHandler (QWidget *parent, QWidget *cw=0)
 
void setActive (bool b)
 
void setActive (Action ac, bool b)
 
bool isActive () const
 
bool isActive (Action ac) const
 
void setMovingEnabled (bool b)
 
bool isMovingEnabled () const
 
bool isButtonDown () const
 
void setExtraHeight (int h)
 
void setSizeProtection (bool b)
 
void setFrameWidth (int w)
 
void doResize ()
 
void doMove ()
 

Protected Member Functions

bool eventFilter (QObject *o, QEvent *e)
 
void mouseMoveEvent (QMouseEvent *e)
 
void keyPressEvent (QKeyEvent *e)
 

Member Enumeration Documentation

◆ Action

enum Action
Enumerator
Move 
Resize 
Any 

Constructor & Destructor Documentation

◆ WidgetResizeHandler()

WidgetResizeHandler ( QWidget *  parent,
QWidget *  cw = 0 
)
explicit

Member Function Documentation

◆ setActive() [1/2]

void setActive ( bool  b)
inline

◆ setActive() [2/2]

void setActive ( Action  ac,
bool  b 
)

◆ isActive() [1/2]

bool isActive ( ) const
inline

◆ isActive() [2/2]

bool isActive ( Action  ac) const

◆ setMovingEnabled()

void setMovingEnabled ( bool  b)
inline

◆ isMovingEnabled()

bool isMovingEnabled ( ) const
inline

◆ isButtonDown()

bool isButtonDown ( ) const
inline

◆ setExtraHeight()

void setExtraHeight ( int  h)
inline

◆ setSizeProtection()

void setSizeProtection ( bool  b)
inline

◆ setFrameWidth()

void setFrameWidth ( int  w)
inline

◆ doResize()

void doResize ( )

◆ doMove()

void doMove ( )

◆ activate

void activate ( )
signal

◆ eventFilter()

bool eventFilter ( QObject *  o,
QEvent *  e 
)
protected

◆ mouseMoveEvent()

void mouseMoveEvent ( QMouseEvent *  e)
protected

◆ keyPressEvent()

void keyPressEvent ( QKeyEvent *  e)
protected

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